Searched refs:TEST_CREATOR_UID (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 161 private static final int TEST_CREATOR_UID = 1234; field in PasspointManagerTest 272 mManager.getProviderConfigs(TEST_CREATOR_UID, true); in verifyInstalledConfig() 287 lenient().when(provider.getCreatorUid()).thenReturn(TEST_CREATOR_UID); in createMockProvider() 354 eq(mSimAccessor), anyLong(), eq(TEST_CREATOR_UID), eq(TEST_PACKAGE))).thenReturn( in addTestProvider() 357 assertTrue(mManager.addOrUpdateProvider(config, TEST_CREATOR_UID, TEST_PACKAGE)); in addTestProvider() 371 eq(mSimAccessor), anyLong(), eq(TEST_CREATOR_UID), eq(TEST_PACKAGE))).thenReturn( in addTestCarrierProvider() 374 assertTrue(mManager.addOrUpdateProvider(config, TEST_CREATOR_UID, TEST_PACKAGE)); in addTestCarrierProvider() 590 assertFalse(mManager.addOrUpdateProvider(null, TEST_CREATOR_UID, TEST_PACKAGE)); in addProviderWithNullConfig() 602 assertFalse(mManager.addOrUpdateProvider(new PasspointConfiguration(), TEST_CREATOR_UID, in addProviderWithEmptyConfig() 620 assertFalse(mManager.addOrUpdateProvider(config, TEST_CREATOR_UID, TEST_PACKAGE)); in addProviderWithInvalidCredential() [all …]
|
D | PasspointConfigUserStoreDataTest.java | 69 private static final int TEST_CREATOR_UID = 1234; field in PasspointConfigUserStoreDataTest 248 mKeyStore, mSimAccessor, TEST_PROVIDER_ID, TEST_CREATOR_UID, TEST_CREATOR_PACKAGE, in serializeAndDeserializeUserStoreData() 252 mKeyStore, mSimAccessor, TEST_PROVIDER_ID_2, TEST_CREATOR_UID, TEST_CREATOR_PACKAGE, in serializeAndDeserializeUserStoreData()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 94 private static final int TEST_CREATOR_UID = WifiConfigurationTestUtil.TEST_UID; field in WifiConfigManagerTest 187 if (uid == TEST_CREATOR_UID) { in setUp() 287 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore() 493 assertTrue(mWifiConfigManager.removeNetwork(openNetwork.networkId, TEST_CREATOR_UID)); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore() 497 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore() 705 .removeNetwork(suggestionNetwork.networkId, TEST_CREATOR_UID)); in testAddSingleSuggestionNetwork() 775 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID() 1202 result.getNetworkId(), false, TEST_CREATOR_UID)); in testEnableDisableNetwork() local 1211 assertTrue(mWifiConfigManager.disableNetwork(result.getNetworkId(), TEST_CREATOR_UID)); in testEnableDisableNetwork() local 1260 result.getNetworkId(), true, TEST_CREATOR_UID)); in testDisableNetworkFailedDueToPermissionDenied() local [all …]
|