Home
last modified time | relevance | path

Searched refs:TEST_PACKAGE_1 (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java137 private static final String TEST_PACKAGE_1 = "com.test12345"; field in WifiNetworkSuggestionsManagerTest
287 when(mFrameworkFacade.getAppName(any(), eq(TEST_PACKAGE_1), eq(TEST_UID_1))) in setUp()
372 TEST_PACKAGE_1, TEST_FEATURE)); in testAddNetworkSuggestionsSuccess()
428 TEST_PACKAGE_1, TEST_FEATURE)); in testRemoveNetworkSuggestionsSuccess()
436 TEST_PACKAGE_1, ACTION_REMOVE_SUGGESTION_DISCONNECT)); in testRemoveNetworkSuggestionsSuccess()
472 TEST_PACKAGE_1, TEST_FEATURE)); in testAddRemoveSuggestionBeforeUserDataLoaded()
475 TEST_PACKAGE_1, ACTION_REMOVE_SUGGESTION_DISCONNECT)); in testAddRemoveSuggestionBeforeUserDataLoaded()
498 TEST_PACKAGE_1, TEST_FEATURE)); in testAddRemoveEnterpriseNetworkSuggestion()
511 TEST_UID_1, TEST_PACKAGE_1, in testAddRemoveEnterpriseNetworkSuggestion()
537 TEST_PACKAGE_1, TEST_FEATURE)); in testAddNetworkSuggestionWithInvalidKeyChainKeyAlias()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailCleanupTest.java31 private static final String TEST_PACKAGE_1 = "package1"; field in VoicemailCleanupTest
45 insertDataForPackage(TEST_PACKAGE_1); in testCleanupVoicemail()
50 checkDataExistsForPackage(TEST_PACKAGE_1); in testCleanupVoicemail()
53 ContactsPackageMonitor.cleanupVoicemail(getMockContext(), TEST_PACKAGE_1); in testCleanupVoicemail() local
55 checkDataDoesNotExistForPackage(TEST_PACKAGE_1); in testCleanupVoicemail()
61 checkDataDoesNotExistForPackage(TEST_PACKAGE_1); in testCleanupVoicemail()
68 checkDataDoesNotExistForPackage(TEST_PACKAGE_1); in testCleanupVoicemail()
105 insertDataForPackage(TEST_PACKAGE_1); in testRemoveStalePackagesAtStartUp()
109 mPackageManager.addPackage(10001, TEST_PACKAGE_1); in testRemoveStalePackagesAtStartUp()
112 checkDataExistsForPackage(TEST_PACKAGE_1); in testRemoveStalePackagesAtStartUp()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWorkSourceHelperTest.java54 private static final String TEST_PACKAGE_1 = "com.android.test.1"; field in WorkSourceHelperTest
78 ws.add(new WorkSource(TEST_UID_1, TEST_PACKAGE_1)); in testGetRequestorWsPriority()
80 when(mActivityManager.getPackageImportance(TEST_PACKAGE_1)).thenReturn(IMPORTANCE_CACHED); in testGetRequestorWsPriority()
85 when(mActivityManager.getPackageImportance(TEST_PACKAGE_1)) in testGetRequestorWsPriority()
90 when(mActivityManager.getPackageImportance(TEST_PACKAGE_1)) in testGetRequestorWsPriority()
95 when(mActivityManager.getPackageImportance(TEST_PACKAGE_1)) in testGetRequestorWsPriority()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppStateAppBatteryUsageBridgeTest.java25 private static final String TEST_PACKAGE_1 = "com.example.test.pkg1"; field in AppStateAppBatteryUsageBridgeTest
48 when(mPowerAllowlistBackend.isAllowlisted(TEST_PACKAGE_1, UID_1)).thenReturn(false); in updateExtraInfo_updatesRestricted()
50 UID_1, TEST_PACKAGE_1)).thenReturn(AppOpsManager.MODE_IGNORED); in updateExtraInfo_updatesRestricted()
57 bridge.updateExtraInfo(entry, TEST_PACKAGE_1, UID_1); in updateExtraInfo_updatesRestricted()