Home
last modified time | relevance | path

Searched refs:TEST_PACKAGE_NAME_2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java56 private static final String TEST_PACKAGE_NAME_2 = "com.android.test.2"; field in NetworkSuggestionStoreDataTest
199 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_NAME_2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
202 TEST_PACKAGE_NAME_2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
206 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
232 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
235 TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
238 TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
244 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DScanRequestProxyTest.java62 private static final String TEST_PACKAGE_NAME_2 = "com.test.2"; field in ScanRequestProxyTest
326 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testScanSuccessOverwritesPreviousResults()
357 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testScanFailureDoesNotOverwritePreviousResults()
389 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testNewScanRequestAfterPreviousScanSucceeds()
423 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas()
456 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testNewScanRequestAfterPreviousScanFailure()
516 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testSuccessiveScanRequestsDontUseSameListener()
672 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testSuccessiveScanRequestFromDifferentFgAppsNotThrottled()
678 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testSuccessiveScanRequestFromDifferentFgAppsNotThrottled()
753 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testSuccessiveScanRequestFromBgAppsThrottled()
[all …]
DNetworkRequestStoreDataTest.java55 private static final String TEST_PACKAGE_NAME_2 = "com.android.test.2"; field in NetworkRequestStoreDataTest
149 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_2, accessPoints2); in serializeDeserializeSingleNetworkRequestFromMultipleApps()
183 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_2, accessPoints2); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DWifiNetworkFactoryTest.java106 private static final String TEST_PACKAGE_NAME_2 = "com.test.networkrequest.2"; field in WifiNetworkFactoryTest
177 when(mPackageManager.getNameForUid(TEST_UID_2)).thenReturn(TEST_PACKAGE_NAME_2); in setUp()
183 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in setUp()
367 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
390 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
413 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgApp()
437 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgApp()
464 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp()
491 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp()
2724 packageName = TEST_PACKAGE_NAME_2; in createWifiNetworkSpecifier()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java98 private static final String TEST_PACKAGE_NAME_2 = "com.test.package2"; field in LockTaskControllerTest
499 String[] whitelist1 = {TEST_PACKAGE_NAME, TEST_PACKAGE_NAME_2}; in testUpdateLockTaskPackages()
527 assertFalse("Package should no longer be whitelisted: " + TEST_PACKAGE_NAME_2, in testUpdateLockTaskPackages()
528 mLockTaskController.isPackageWhitelisted(TEST_USER_ID, TEST_PACKAGE_NAME_2)); in testUpdateLockTaskPackages()
535 TaskRecord tr2 = getTaskRecordForUpdate(TEST_PACKAGE_NAME_2, false); in testUpdateLockTaskPackages_taskRemoved()
536 String[] whitelist = {TEST_PACKAGE_NAME, TEST_PACKAGE_NAME_2}; in testUpdateLockTaskPackages_taskRemoved()