/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
DumpsysBatteryStatsParserTest.java | 88 DumpsysBatteryStatsItem batteryStats = new DumpsysBatteryStatsParser().parse(inputBlock); 89 assertNotNull(batteryStats.getBatteryStatsSummaryItem()); 90 assertNotNull(batteryStats.getDetailedBatteryStatsItem()); 148 DumpsysBatteryStatsItem batteryStats = new DumpsysBatteryStatsParser().parse(inputBlock); 149 assertNotNull(batteryStats.getBatteryStatsSummaryItem()); 150 assertNotNull(batteryStats.getDetailedBatteryStatsItem());
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
DumpsysItem.java | 47 public void setBatteryInfo(DumpsysBatteryStatsItem batteryStats) { 48 setAttribute(BATTERY_STATS, batteryStats);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryPreference.java | 49 public void setStats(BatteryStatsHelper batteryStats) { 51 mBatteryInfo = BatteryInfo.getBatteryInfo(getContext(), batteryStats.getBatteryBroadcast(), 52 batteryStats.getStats(), elapsedRealtimeUs);
|
/frameworks/base/core/java/android/os/health/ |
SystemHealthManager.java | 21 import android.os.BatteryStats; 53 this(IBatteryStats.Stub.asInterface(ServiceManager.getService(BatteryStats.SERVICE_NAME))); 57 public SystemHealthManager(IBatteryStats batteryStats) { 58 mBatteryStats = batteryStats;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
AppScanStats.java | 48 IBatteryStats batteryStats; 82 WorkSource workSource; // Used for BatteryStats 99 batteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService("batterystats")); 116 batteryStats.noteBleScanResults(workSource, 100); 150 batteryStats.noteBleScanStarted(workSource, isUnoptimized); 186 batteryStats.noteBleScanResults(workSource, curr.results % 100); 187 batteryStats.noteBleScanStopped(workSource);
|
/frameworks/base/core/java/android/os/ |
BatteryManager.java | 227 ServiceManager.getService(BatteryStats.SERVICE_NAME)); 233 public BatteryManager(IBatteryStats batteryStats, 235 mBatteryStats = batteryStats;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiMulticastLockManager.java | 54 public WifiMulticastLockManager(FilterController filterController, IBatteryStats batteryStats) { 55 mBatteryStats = batteryStats;
|
WifiLockManager.java | 52 WifiLockManager(Context context, IBatteryStats batteryStats) { 54 mBatteryStats = batteryStats;
|
/frameworks/base/services/core/java/com/android/server/job/ |
JobServiceContext.java | 167 JobServiceContext(JobSchedulerService service, IBatteryStats batteryStats, 169 this(service.getContext(), service.getLock(), batteryStats, tracker, service, looper); 173 JobServiceContext(Context context, Object lock, IBatteryStats batteryStats, 177 mBatteryStats = batteryStats;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
BatteryInfo.java | 23 import android.os.BatteryStats; 24 import android.os.BatteryStats.HistoryItem; 42 private BatteryStats mStats; 104 new AsyncTask<Void, Void, BatteryStats>() { 106 protected BatteryStats doInBackground(Void... params) { 113 protected void onPostExecute(BatteryStats batteryStats) { 118 batteryStats, elapsedRealtimeUs, shortString); 125 BatteryStats stats, long elapsedRealtimeUs) { 131 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
Notifier.java | 39 import android.os.BatteryStats; 132 public Notifier(Looper looper, Context context, IBatteryStats batteryStats, 136 mBatteryStats = batteryStats; 311 return BatteryStats.WAKE_TYPE_PARTIAL; 315 return BatteryStats.WAKE_TYPE_FULL; 321 return BatteryStats.WAKE_TYPE_PARTIAL; 324 return BatteryStats.WAKE_TYPE_DRAW;
|
/frameworks/base/core/java/com/android/internal/os/ |
ProcessCpuTracker.java | 195 public BatteryStatsImpl.Uid.Proc batteryStats; [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
WifiScanningServiceImpl.java | 277 WifiScannerImpl.WifiScannerImplFactory scannerImplFactory, IBatteryStats batteryStats, 282 mBatteryStats = batteryStats; [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | 290 import android.os.BatteryStats; [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-6.0.0_r1-robolectric-0.jar | |