Update FakeUid with new methods
BatterystatsImpl has new methods for background accounting for Wifi and Bluetooth scanning. These methods are added to FakeUid.java here. Bug: 35679958 Bug: 35677312 Bug: 35673525 Test: see ag/2010580 Change-Id: I706f28ba8faaf89e9fde25814e9c583c4731d3de
This commit is contained in:
@@ -141,6 +141,21 @@ public class FakeUid extends Uid {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getWifiScanBackgroundCount(int which) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getWifiScanActualTime(long elapsedRealtimeUs) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getWifiScanBackgroundTime(long elapsedRealtimeUs) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which) {
|
||||
return 0;
|
||||
@@ -275,6 +290,11 @@ public class FakeUid extends Uid {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Timer getBluetoothScanBackgroundTimer() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getWifiRadioApWakeupCount(int which) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user