Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java649 assertFalse(mWifiKeyStore.validateKeyChainAlias(KEYCHAIN_ALIAS, TEST_UID)); in testValidateKeyChainAliasNotGranted()
659 assertFalse(mWifiKeyStore.validateKeyChainAlias("", TEST_UID)); in testValidateKeyChainAliasEmpty()
669 assertTrue(mWifiKeyStore.validateKeyChainAlias(KEYCHAIN_ALIAS, TEST_UID)); in testValidateKeyChainAliasGranted()
DWifiNetworkSuggestionsManagerTest.java508 when(mWifiKeyStore.validateKeyChainAlias(any(String.class), anyInt())).thenReturn(false); in testAddNetworkSuggestionWithInvalidKeyChainKeyAlias()
529 when(mWifiKeyStore.validateKeyChainAlias(any(String.class), anyInt())).thenReturn(true); in testAddNetworkSuggestionWithValidKeyChainKeyAlias()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java442 public boolean validateKeyChainAlias(String alias, int uid) { in validateKeyChainAlias() method in WifiKeyStore
DWifiNetworkSuggestionsManager.java1095 if (alias != null && !mWifiKeyStore.validateKeyChainAlias(alias, uid)) { in validateNetworkSuggestions()