Searched refs:package2 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/storage/ |
D | TertiaryKeysTableTest.java | 132 String package2 = "generic.package.two"; in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() local 133 TertiaryKey key2 = generateTertiaryKey(SECONDARY_ALIAS, package2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() 144 assertThat(keysByPackageName).containsKey(package2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() 145 assertTertiaryKeysEqual(keysByPackageName.get(package2), key2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary()
|
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 471 final String package2 = "com.test2"; in testDataPathMetrics() local 488 package2, ndi0, null); in testDataPathMetrics() 489 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics() 494 addNetworkInfoToCache(networkRequestCache, 12, uid2, package2, ndi1, in testDataPathMetrics() 496 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics() 501 addNetworkInfoToCache(networkRequestCache, 13, uid2, package2, ndi0, in testDataPathMetrics() 503 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics() 511 addNetworkInfoToCache(networkRequestCache, 14, uid2, package2, ndi0, null); in testDataPathMetrics() 512 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyStoreTest.java | 171 String package2 = "com.anndroid.example1"; in getAll_returnsAllKeysSaved() local 176 mTertiaryKeyStore.save(package2, key2); in getAll_returnsAllKeysSaved() 181 assertThat(keys).containsExactly(package1, key1, package2, key2, package3, key3); in getAll_returnsAllKeysSaved()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 2521 final String package2 = "com.example.two"; in testSetGetMeteredDataDisabledPackages() local 2523 pkgsToRestrict.add(package2); in testSetGetMeteredDataDisabledPackages() 2525 setupPackageInPackageManager(package2, CALLER_USER_HANDLE, 456, 0); in testSetGetMeteredDataDisabledPackages() 2566 final String package2 = "com.example.two"; in testIsMeteredDataDisabledForUserPackage() local 2569 pkgsToRestrict.add(package2); in testIsMeteredDataDisabledForUserPackage() 2571 setupPackageInPackageManager(package2, CALLER_USER_HANDLE, 456, 0); in testIsMeteredDataDisabledForUserPackage() 2579 assertTrue(package2 + "should be restricted", in testIsMeteredDataDisabledForUserPackage() 2580 dpm.isMeteredDataDisabledPackageForUser(admin1, package2, CALLER_USER_HANDLE)); in testIsMeteredDataDisabledForUserPackage()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 1315 for (auto& package2 : package_group.packages_) { in GetAssignedPackageId() local 1316 if (package2.loaded_package_ == package) { in GetAssignedPackageId()
|