Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java64 public static final int UID_NULL = -1; field in BatteryUtils
388 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid()
391 return UID_NULL; in getPackageUid()
425 if (uid != UID_NULL && isForceAppStandbyEnabled(uid, packageName)) { in clearForceAppStandby()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java69 public static final int UID_NULL = -1; field in BatteryUtils
415 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid()
418 return UID_NULL; in getPackageUid()
452 if (uid != UID_NULL && isForceAppStandbyEnabled(uid, packageName)) { in clearForceAppStandby()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java198 doReturn(AnomalyDetectionJobService.UID_NULL).when( in saveAnomalyToDatabase_uidNull_doNotSave()
289 floatValue)).isEqualTo(AnomalyDetectionJobService.UID_NULL); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java713 when(mBatteryUtils.getPackageUid(PACKAGE_NAME)).thenReturn(BatteryUtils.UID_NULL); in clearForceAppStandby_appInvalid_returnFalse()