Searched refs:package2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | DashboardCategory.java | 121 final String package2 = tile2.getPackageName(); in sortTiles() 122 final int packageCompare = CASE_INSENSITIVE_ORDER.compare(package1, package2); in sortTiles() 127 if (TextUtils.equals(package2, skipPackageName)) { in sortTiles()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 954 final String package2 = "p2"; in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() local 957 settingsState.insertSettingLocked(testKey2, testValue1, null, true, package2); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 964 assertEquals(expectedMemUsageForPackage2, settingsState.getMemoryUsage(package2)); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 966 settingsState.insertSettingLocked(testKey1, testValue2, null, false, package2); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 975 assertEquals(expectedMemUsageForPackage2, settingsState.getMemoryUsage(package2)); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages() 985 assertEquals(expectedMemUsageForPackage2, settingsState.getMemoryUsage(package2)); in testMemoryUsagePerPackage_SameSettingUsedByDifferentPackages()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 3809 final String package2 = "test.package.2"; 3813 getNewMockPendingIntent(uid2, package2)); 3818 assertTrue(mService.lookForPackageLocked(package2, uid2)); 3824 assertTrue(mService.lookForPackageLocked(package2, uid2)); 3831 assertTrue(mService.lookForPackageLocked(package2, uid2)); 3837 assertFalse(mService.lookForPackageLocked(package2, uid2));
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 1560 for (auto& package2 : package_group.packages_) { in GetAssignedPackageId() local 1561 if (package2.loaded_package_ == package) { in GetAssignedPackageId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2857 final String package2 = "com.example.two"; in testSetGetMeteredDataDisabledPackages() local 2859 pkgsToRestrict.add(package2); in testSetGetMeteredDataDisabledPackages() 2861 setupPackageInPackageManager(package2, CALLER_USER_HANDLE, 456, 0); in testSetGetMeteredDataDisabledPackages() 2903 final String package2 = "com.example.two"; in testIsMeteredDataDisabledForUserPackage() local 2906 pkgsToRestrict.add(package2); in testIsMeteredDataDisabledForUserPackage() 2908 setupPackageInPackageManager(package2, CALLER_USER_HANDLE, 456, 0); in testIsMeteredDataDisabledForUserPackage() 2917 assertWithMessage("%s should be restricted", package2) in testIsMeteredDataDisabledForUserPackage() 2918 .that(dpm.isMeteredDataDisabledPackageForUser(admin1, package2, CALLER_USER_HANDLE)) in testIsMeteredDataDisabledForUserPackage()
|