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.java55 private static final String TEST_PACKAGE_NAME_2 = "com.android.test.2"; field in NetworkSuggestionStoreDataTest
196 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_NAME_2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
199 TEST_PACKAGE_NAME_2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
203 networkSuggestionsMap.put(TEST_PACKAGE_NAME_2, appInfo2); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
229 PerAppInfo appInfo2 = new PerAppInfo(TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
232 TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
235 TEST_PACKAGE_NAME_2); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
241 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
311 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testScanSuccessOverwritesPreviousResults()
342 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testScanFailureDoesNotOverwritePreviousResults()
374 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testNewScanRequestAfterPreviousScanSucceeds()
408 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas()
441 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testNewScanRequestAfterPreviousScanFailure()
501 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testSuccessiveScanRequestsDontUseSameListener()
657 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testSuccessiveScanRequestFromDifferentFgAppsNotThrottled()
663 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_2)); in testSuccessiveScanRequestFromDifferentFgAppsNotThrottled()
738 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testSuccessiveScanRequestFromBgAppsThrottled()
[all …]
DNetworkRequestStoreDataTest.java54 private static final String TEST_PACKAGE_NAME_2 = "com.android.test.2"; field in NetworkRequestStoreDataTest
146 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_2, accessPoints2); in serializeDeserializeSingleNetworkRequestFromMultipleApps()
180 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_2, accessPoints2); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
DWifiNetworkFactoryTest.java96 private static final String TEST_PACKAGE_NAME_2 = "com.test.networkrequest.2"; field in WifiNetworkFactoryTest
166 when(mPackageManager.getNameForUid(TEST_UID_2)).thenReturn(TEST_PACKAGE_NAME_2); in setUp()
171 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in setUp()
356 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
379 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
402 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgApp()
426 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgApp()
453 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithConnectedRequestFromFgApp()
480 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_2)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithConnectedRequestFromFgApp()
2458 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()