Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java61 private static final String TEST_PACKAGE_NAME_1 = "com.test.1"; field in ScanRequestProxyTest
163 assertFalse(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanFailWithoutScanner()
164 validateScanResultsFailureBroadcastSent(TEST_PACKAGE_NAME_1); in testStartScanFailWithoutScanner()
172 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccess()
177 new WorkSource(TEST_UID, TEST_PACKAGE_NAME_1))); in testStartScanSuccess()
189 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSettings()
194 new WorkSource(TEST_UID, TEST_PACKAGE_NAME_1))); in testStartScanSuccessFromAppWithNetworkSettings()
204 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSetupWizard()
209 new WorkSource(TEST_UID, TEST_PACKAGE_NAME_1))); in testStartScanSuccessFromAppWithNetworkSetupWizard()
223 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanWithHiddenNetworkScanningDisabled()
[all …]
DNetworkSuggestionStoreDataTest.java54 private static final String TEST_PACKAGE_NAME_1 = "com.android.test.1"; field in NetworkSuggestionStoreDataTest
153 PerAppInfo appInfo = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
160 TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
164 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
169 deserializedPerAppInfoMap.get(TEST_PACKAGE_NAME_1).extNetworkSuggestions.stream() in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
187 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
190 TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
194 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
215 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
218 TEST_PACKAGE_NAME_1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
[all …]
DWifiNetworkFactoryTest.java95 private static final String TEST_PACKAGE_NAME_1 = "com.test.networkrequest.1"; field in WifiNetworkFactoryTest
165 when(mPackageManager.getNameForUid(TEST_UID_1)).thenReturn(TEST_PACKAGE_NAME_1); in setUp()
169 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in setUp()
267 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()
286 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInternetCapability()
305 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()
322 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()
337 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()
354 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
377 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
[all …]
DNetworkRequestStoreDataTest.java53 private static final String TEST_PACKAGE_NAME_1 = "com.android.test.1"; field in NetworkRequestStoreDataTest
120 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_1, accessPoints); in serializeDeserializeSingleNetworkRequestFromSingleApp()
138 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_1, accessPoints1); in serializeDeserializeSingleNetworkRequestFromMultipleApps()
168 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_1, accessPoints1); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()