Searched refs:package1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | DashboardCategory.java | 120 final String package1 = tile1.getPackageName(); in sortTiles() 122 final int packageCompare = CASE_INSENSITIVE_ORDER.compare(package1, package2); in sortTiles() 124 if (TextUtils.equals(package1, skipPackageName)) { in sortTiles()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 953 final String package1 = "p1"; in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() local 956 settingsState.insertSettingLocked(testKey1, testValue1, null, false, package1); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 963 assertEquals(expectedMemUsageForPackage1, settingsState.getMemoryUsage(package1)); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 969 assertEquals(expectedMemUsageForPackage1, settingsState.getMemoryUsage(package1)); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 977 settingsState.insertSettingLocked(testKey1, testValue1, null, true, package1); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 981 assertEquals(expectedMemUsageForPackage1, settingsState.getMemoryUsage(package1)); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 3453 final String package1 = "package1"; 3460 quotaReserve.replenishQuota(package1, user1, quotaToFill, startTime); 3463 assertTrue(quotaReserve.hasQuota(package1, user1, time)); 3465 assertFalse(quotaReserve.hasQuota(package1, 321, time)); 3468 assertFalse(quotaReserve.hasQuota(package1, user1, startTime + quotaDuration + 1)); 3469 assertFalse(quotaReserve.hasQuota(package1, user1, startTime + quotaDuration + 435421)); 3474 quotaReserve.recordUsage(package1, user1, startTime + i); 3475 quotaReserve.recordUsage(package1, user1, startTime + i); 3476 quotaReserve.recordUsage(package1, user1, startTime + i); 3477 quotaReserve.recordUsage(package1, user1, startTime + i); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2856 final String package1 = "com.example.one"; in testSetGetMeteredDataDisabledPackages() local 2858 pkgsToRestrict.add(package1); in testSetGetMeteredDataDisabledPackages() 2860 setupPackageInPackageManager(package1, CALLER_USER_HANDLE, 123, 0); in testSetGetMeteredDataDisabledPackages() 2872 pkgsToRestrict.remove(package1); in testSetGetMeteredDataDisabledPackages() 2902 final String package1 = "com.example.one"; in testIsMeteredDataDisabledForUserPackage() local 2905 pkgsToRestrict.add(package1); in testIsMeteredDataDisabledForUserPackage() 2907 setupPackageInPackageManager(package1, CALLER_USER_HANDLE, 123, 0); in testIsMeteredDataDisabledForUserPackage() 2914 assertWithMessage("%s should be restricted", package1) in testIsMeteredDataDisabledForUserPackage() 2915 .that(dpm.isMeteredDataDisabledPackageForUser(admin1, package1, CALLER_USER_HANDLE)) in testIsMeteredDataDisabledForUserPackage()
|