Searched refs:APP_UID (Results 1 – 2 of 2) sorted by relevance
50 private static final int APP_UID = 123; field in BatteryEntryTest72 when(mockPackageManager.getPackagesForUid(APP_UID)) in stubPackageManagerToReturnAppPackageAndName()87 new BatterySipper(DrainType.APP, new FakeUid(APP_UID), 0 /* power use */); in createSipperForApp()125 when(mockPackageManager.getPackagesForUid(APP_UID)).thenReturn(null); in batteryEntryForApp_shouldSetHighestDrainPackage_whenPackagesCannotBeFoundForUid()134 when(mockPackageManager.getPackagesForUid(APP_UID)) in batteryEntryForApp_shouldSetHighestDrainPackage_whenMultiplePackagesFoundForUid()173 BatteryEntry.sUidCache.put(Integer.toString(APP_UID), null); in testUidCache_switchLocale_shouldCleanCache()
65 private static final int APP_UID = 0; field in EnterpriseSetDefaultAppsListPreferenceControllerTest108 final ApplicationInfo appInfo1 = ApplicationTestUtils.buildInfo(APP_UID, APP_1, 0, 0); in testMultipleAppsForOneTypeOfDefault()109 final ApplicationInfo appInfo2 = ApplicationTestUtils.buildInfo(APP_UID, APP_2, 0, 0); in testMultipleAppsForOneTypeOfDefault()