Home
last modified time | relevance | path

Searched refs:UID_NULL (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java61 static final int UID_NULL = -1; field in AnomalyDetectionJobService
196 return UID_NULL; in extractUidFromStatsDimensionsValue()
207 if (uid != UID_NULL) { in extractUidFromStatsDimensionsValue()
213 return UID_NULL; in extractUidFromStatsDimensionsValue()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java66 public static final int UID_NULL = -1; field in BatteryUtils
322 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid()
325 return UID_NULL; in getPackageUid()
359 if (uid != UID_NULL && isForceAppStandbyEnabled(uid, packageName)) { in clearForceAppStandby()
DBatteryOptimizeUtils.java99 return mBatteryUtils.getPackageUid(mPackageName) != BatteryUtils.UID_NULL; in isValidPackageName()
DBatteryDiffEntry.java241 != BatteryUtils.UID_NULL; in updateRestrictionFlagState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java203 doReturn(AnomalyDetectionJobService.UID_NULL).when( in saveAnomalyToDatabase_uidNull_doNotSave()
294 floatValue)).isEqualTo(AnomalyDetectionJobService.UID_NULL); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDiffEntryTest.java355 doReturn(BatteryUtils.UID_NULL).when(mockPackageManager).getPackageUid( in testUpdateRestrictionFlagState_updateFlagAsExpected()
DBatteryUtilsTest.java481 when(mBatteryUtils.getPackageUid(PACKAGE_NAME)).thenReturn(BatteryUtils.UID_NULL); in clearForceAppStandby_appInvalid_returnFalse()