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/ |
D | ScanRequestProxyTest.java | 61 private static final String TEST_PACKAGE_NAME_1 = "com.test.1"; field in ScanRequestProxyTest 175 assertFalse(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanFailWithoutScanner() 176 validateScanResultsFailureBroadcastSent(TEST_PACKAGE_NAME_1); in testStartScanFailWithoutScanner() 184 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccess() 189 new WorkSource(TEST_UID, TEST_PACKAGE_NAME_1))); in testStartScanSuccess() 201 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSettings() 206 new WorkSource(TEST_UID, TEST_PACKAGE_NAME_1))); in testStartScanSuccessFromAppWithNetworkSettings() 216 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSetupWizard() 221 new WorkSource(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSetupWizard() 235 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanWithHiddenNetworkScanningDisabled() [all …]
|
D | NetworkSuggestionStoreDataTest.java | 55 private static final String TEST_PACKAGE_NAME_1 = "com.android.test.1"; field in NetworkSuggestionStoreDataTest 156 PerAppInfo appInfo = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 163 TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 167 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 172 deserializedPerAppInfoMap.get(TEST_PACKAGE_NAME_1).extNetworkSuggestions.stream() in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 190 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 193 TEST_PACKAGE_NAME_1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 197 networkSuggestionsMap.put(TEST_PACKAGE_NAME_1, appInfo1); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 218 PerAppInfo appInfo1 = new PerAppInfo(TEST_PACKAGE_NAME_1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 221 TEST_PACKAGE_NAME_1); in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() [all …]
|
D | WifiNetworkFactoryTest.java | 105 private static final String TEST_PACKAGE_NAME_1 = "com.test.networkrequest.1"; field in WifiNetworkFactoryTest 176 when(mPackageManager.getNameForUid(TEST_UID_1)).thenReturn(TEST_PACKAGE_NAME_1); in setUp() 181 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in setUp() 278 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInvalidSpecifier() 297 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromWithInternetCapability() 316 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier() 333 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifier() 348 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier() 365 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc() 388 when(mActivityManager.getPackageImportance(TEST_PACKAGE_NAME_1)) in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc() [all …]
|
D | NetworkRequestStoreDataTest.java | 54 private static final String TEST_PACKAGE_NAME_1 = "com.android.test.1"; field in NetworkRequestStoreDataTest 123 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_1, accessPoints); in serializeDeserializeSingleNetworkRequestFromSingleApp() 141 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_1, accessPoints1); in serializeDeserializeSingleNetworkRequestFromMultipleApps() 171 approvedAccessPointsMap.put(TEST_PACKAGE_NAME_1, accessPoints1); in serializeDeserializeMultipleNetworkRequestFromMultipleApps()
|