Searched refs:package2 (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | AppStatePremiumSmsBridgeTest.java | 60 String package2 = "test.package2"; in loadExtraInfo() local 61 ApplicationsState.AppEntry appEntry2 = createAppEntry(package2); in loadExtraInfo() 63 when(mSmsManager.getPremiumSmsConsent(package2)).thenReturn(value2); in loadExtraInfo()
|
/packages/modules/StatsD/statsd/tests/ |
D | ConfigManager_test.cpp | 183 const string package1 = "pkg1", package2 = "pkg2", package3 = "pkg3"; in TEST() local 221 manager->SetRestrictedMetricsChangedReceiver(package2, configId, callingUid2, pir2); in TEST() 223 manager->SetRestrictedMetricsChangedReceiver(package2, configId, callingUid1, pir4); in TEST() 227 manager->SendRestrictedMetricsBroadcast({package1, package2}, configId, in TEST() 232 manager->SendRestrictedMetricsBroadcast({package1, package2}, configId, {callingUid1}, in TEST()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 629 final String package2 = "com.test2"; in testDataPathMetrics() local 658 package2, ndi0, null); in testDataPathMetrics() 659 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics() 667 addNetworkInfoToCache(networkRequestCache, 12, uid2, package2, ndi1, in testDataPathMetrics() 669 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics() 677 addNetworkInfoToCache(networkRequestCache, 13, uid2, package2, ndi0, in testDataPathMetrics() 679 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics() 690 addNetworkInfoToCache(networkRequestCache, 14, uid2, package2, ndi0, null); in testDataPathMetrics() 691 mDut.recordNdpCreation(uid2, package2, networkRequestCache); in testDataPathMetrics()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchConsentManagerTest.java | 132 String package2 = result.get(1).getPackageName(); in testKnownAppsWithConsent() local 133 assertThat(package1.equals(PACKAGE_NAME1) || package2.equals(PACKAGE_NAME1)).isTrue(); in testKnownAppsWithConsent() 134 assertThat(package1.equals(PACKAGE_NAME2) || package2.equals(PACKAGE_NAME2)).isTrue(); in testKnownAppsWithConsent() 146 String package2 = result.get(1).getPackageName(); in testAppsWithRevokedConsent() local 147 assertThat(package1.equals(PACKAGE_NAME1) || package2.equals(PACKAGE_NAME1)).isTrue(); in testAppsWithRevokedConsent() 148 assertThat(package1.equals(PACKAGE_NAME2) || package2.equals(PACKAGE_NAME2)).isTrue(); in testAppsWithRevokedConsent()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ExtraSettingsLoader.java | 125 String package2 = r2.activityInfo.packageName; in loadPreferences() 126 return CASE_INSENSITIVE_ORDER.compare(package1, package2); in loadPreferences()
|