Home
last modified time | relevance | path

Searched refs:uidObj (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryAppListPreferenceControllerTest.java99 mNormalBatterySipper.uidObj = mock(BatteryStats.Uid.class); in setUp()
109 mNormalBatterySipper.uidObj = null; in testExtractKeyFromSipper_typeAPPUidObjectNull_returnPackageNames()
118 mNormalBatterySipper.uidObj = null; in testExtractKeyFromSipper_typeOther_returnDrainType()
127 mNormalBatterySipper.uidObj = null; in testExtractKeyFromSipper_typeUser_returnDrainTypeWithUserId()
137 mNormalBatterySipper.uidObj = new BatteryStatsImpl.Uid(new BatteryStatsImpl(), UID); in testExtractKeyFromSipper_typeAPPUidObjectNotNull_returnUid()
DPowerUsageFeatureProviderImplTest.java66 mBatterySipper.uidObj = new FakeUid(UID_OTHER); in setUp()
128 mBatterySipper.uidObj = null; in testIsTypeSystem_uidObjNull_returnFalse()
DAdvancedPowerUsageDetailTest.java182 mBatterySipper.uidObj = mUid; in setUp()
DBatteryUtilsTest.java515 sipper.uidObj = uid; in createTestSmearBatterySipper()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryEntry.java172 sipper.mPackages = pm.getPackagesForUid(sipper.uidObj.getUid()); in BatteryEntry()
177 defaultPackageName = pm.getPackagesForUid(sipper.uidObj.getUid())[0]; in BatteryEntry()
220 if ((name == null || iconId == 0) && this.sipper.uidObj != null) { in BatteryEntry()
221 getQuickNameIconForUid(this.sipper.uidObj.getUid()); in BatteryEntry()
278 if (sipper.uidObj == null) { in loadNameAndIcon()
283 final int uid = sipper.uidObj.getUid(); in loadNameAndIcon()
DBatteryAppListPreferenceController.java91 Integer.toString(entry.sipper.uidObj.getUid()));
233 BatteryUtils.StatusType.FOREGROUND, sipper.uidObj, STATS_TYPE); in refreshAppListGroup()
368 if (sipper.uidObj != null) { in extractKeyFromSipper()
DPowerUsageFeatureProviderImpl.java51 final int uid = sipper.uidObj == null ? -1 : sipper.getUid(); in isTypeSystem()
DAdvancedPowerUsageDetail.java113 final BatteryStats.Uid uid = sipper.uidObj; in startBatteryDetailPage()
DBatteryUtils.java213 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java172 sipper.mPackages = pm.getPackagesForUid(sipper.uidObj.getUid()); in BatteryEntry()
177 defaultPackageName = pm.getPackagesForUid(sipper.uidObj.getUid())[0]; in BatteryEntry()
220 if ((name == null || iconId == 0) && this.sipper.uidObj != null) { in BatteryEntry()
221 getQuickNameIconForUid(this.sipper.uidObj.getUid()); in BatteryEntry()
278 if (sipper.uidObj == null) { in loadNameAndIcon()
283 final int uid = sipper.uidObj.getUid(); in loadNameAndIcon()
DBatteryAppListPreferenceController.java91 Integer.toString(entry.sipper.uidObj.getUid()));
233 BatteryUtils.StatusType.FOREGROUND, sipper.uidObj, STATS_TYPE); in refreshAppListGroup()
363 if (sipper.uidObj != null) { in extractKeyFromSipper()
DPowerUsageFeatureProviderImpl.java52 final int uid = sipper.uidObj == null ? -1 : sipper.getUid(); in isTypeSystem()
DBatteryUtils.java220 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper()
267 if (sipper.uidObj == null) { in isHiddenSystemModule()
DAdvancedPowerUsageDetail.java113 final BatteryStats.Uid uid = sipper.uidObj; in startBatteryDetailPage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DHighUsageDetectorTest.java93 mHighBatterySipper.uidObj = mock(BatteryStats.Uid.class); in setUp()
96 mLowBatterySipper.uidObj = mock(BatteryStats.Uid.class); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/
DHighUsageDetector.java80 BatteryUtils.StatusType.FOREGROUND, batterySipper.uidObj, in detect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceControllerTest.java100 mBatterySipper.uidObj = mUid; in setUp()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp435 ScopedLocalRef<jobject> uidObj( in energy_info_recv_callback() local
441 sCallbackEnv->SetObjectArrayElement(array.get(), i++, uidObj.get()); in energy_info_recv_callback()