Home
last modified time | relevance | path

Searched refs:WIFI_UID (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java101 ret = mKeyStore.importKey(privKeyName, privKeyData, Process.WIFI_UID, in installKeys()
111 mKeyStore.delete(privKeyName, Process.WIFI_UID); in installKeys()
134 mKeyStore.delete(privKeyName, Process.WIFI_UID); in installKeys()
135 mKeyStore.delete(userCertName, Process.WIFI_UID); in installKeys()
139 mKeyStore.delete(Credentials.CA_CERTIFICATE + addedAlias, Process.WIFI_UID); in installKeys()
149 mKeyStore.delete(Credentials.CA_CERTIFICATE + oldAlias, Process.WIFI_UID); in installKeys()
190 return mKeyStore.put(name, certData, Process.WIFI_UID, KeyStore.FLAG_NONE); in putCertsInKeyStore()
207 return mKeyStore.importKey(name, privKeyData, Process.WIFI_UID, KeyStore.FLAG_NONE); in putKeyInKeyStore()
217 return mKeyStore.delete(name, Process.WIFI_UID); in removeEntryFromKeyStore()
234 mKeyStore.delete(Credentials.USER_PRIVATE_KEY + client, Process.WIFI_UID); in removeKeys()
[all …]
DCarrierNetworkEvaluator.java139 Process.WIFI_UID); in evaluateNetworks()
144 if (!mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID)) { in evaluateNetworks()
DWifiConfigManager.java501 WifiConfigurationUtil.obtainMacRandHashFunction(Process.WIFI_UID)); in getPersistentMacAddress()
504 WifiConfigurationUtil.obtainMacRandHashFunction(Process.WIFI_UID)); in getPersistentMacAddress()
606 if (targetUid != Process.WIFI_UID && targetUid != Process.SYSTEM_UID in createExternalWifiConfiguration()
644 return getConfiguredNetworks(false, true, Process.WIFI_UID); in getConfiguredNetworks()
657 return getConfiguredNetworks(false, false, Process.WIFI_UID); in getConfiguredNetworksWithPasswords()
683 return createExternalWifiConfiguration(config, true, Process.WIFI_UID); in getConfiguredNetwork()
700 return createExternalWifiConfiguration(config, true, Process.WIFI_UID); in getConfiguredNetwork()
720 return createExternalWifiConfiguration(config, false, Process.WIFI_UID); in getConfiguredNetworkWithPassword()
845 if (config.isPasspoint() && uid == Process.WIFI_UID) { in canModifyNetwork()
853 && uid == Process.WIFI_UID in canModifyNetwork()
[all …]
DWakeupController.java320 Process.WIFI_UID); in getGoodSavedNetworksAndSuggestions()
DScoredNetworkEvaluator.java304 Process.WIFI_UID); in getCandidateConfiguration()
DAvailableNetworkNotifier.java438 NetworkUpdateResult result = mConfigManager.addOrUpdateNetwork(network, Process.WIFI_UID); in handleConnectToNetworkAction()
DWifiConnectivityManager.java778 mStateMachine.startConnectToNetwork(candidate.networkId, Process.WIFI_UID, targetBssid); in connectToNetwork()
DClientModeImpl.java725 public static final WorkSource WIFI_WORK_SOURCE = new WorkSource(Process.WIFI_UID);
2121 if (msg.sendingUid > 0 && msg.sendingUid != Process.WIFI_UID) { in getLogRecString()
4467 mWifiConfigManager.addOrUpdateNetwork(config, Process.WIFI_UID); in processMessage()
6143 mWifiMetrics.updateSavedNetworks(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID)); in updateWifiMetrics()
DWifiServiceImpl.java1841 targetConfigUid = Process.WIFI_UID; // expose all MAC addresses in getConfiguredNetworks()
2947 Binder.getCallingUid(), mClientModeImplChannel, Process.WIFI_UID); in factoryReset()
DSupplicantStaIfaceHal.java2994 .getNameForUid(Process.WIFI_UID); in onDppSuccessConfigReceived()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java102 verify(mKeyStore).delete(Credentials.USER_PRIVATE_KEY + USER_CERT_ALIAS, Process.WIFI_UID); in testRemoveKeysForAppInstalledCerts()
103 verify(mKeyStore).delete(Credentials.USER_CERTIFICATE + USER_CERT_ALIAS, Process.WIFI_UID); in testRemoveKeysForAppInstalledCerts()
105 Process.WIFI_UID); in testRemoveKeysForAppInstalledCerts()
107 Process.WIFI_UID); in testRemoveKeysForAppInstalledCerts()
121 verify(mKeyStore).delete(Credentials.USER_PRIVATE_KEY + USER_CERT_ALIAS, Process.WIFI_UID); in testRemoveKeysForMixedInstalledCerts1()
122 verify(mKeyStore).delete(Credentials.USER_CERTIFICATE + USER_CERT_ALIAS, Process.WIFI_UID); in testRemoveKeysForMixedInstalledCerts1()
138 Process.WIFI_UID); in testRemoveKeysForMixedInstalledCerts2()
140 Process.WIFI_UID); in testRemoveKeysForMixedInstalledCerts2()
DWifiConnectivityManagerTest.java345 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in enterWifiDisconnectedStateWhenScreenOn()
365 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in enterWifiConnectedStateWhenScreenOn()
385 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in turnScreenOnWhenWifiInDisconnectedState()
405 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in turnScreenOnWhenWifiInConnectedState()
433 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in turnScreenOnWhenWifiInConnectedStateRoamingDisabled()
471 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in connectionAttemptRateLimitedWhenScreenOff()
512 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in connectionAttemptNotRateLimitedWhenScreenOff()
556 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection()
1432 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in listenToAllSingleScanResults()
1458 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in waitForFullBandScanResults()
[all …]
DCarrierNetworkEvaluatorTest.java145 when(mWifiConfigManager.enableNetwork(networkId, false, Process.WIFI_UID)).thenReturn(true); in configureNewSsid()
186 when(mWifiConfigManager.addOrUpdateNetwork(any(), eq(Process.WIFI_UID))).thenAnswer( in setUp()
DWifiConfigManagerTest.java185 } else if (uid == Process.WIFI_UID) { in setUp()
619 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleEphemeralNetwork()
637 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSinglePasspointNetwork()
687 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleSuggestionNetwork()
715 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleSpecifierNetwork()
789 Process.WIFI_UID); in testAddSinglePskNetwork()
814 Process.WIFI_UID); in testAddSingleWepNetwork()
932 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Process.WIFI_UID)); in testRemovePasspointNetworkAddedByOther()
1956 configs = mWifiConfigManager.getSavedNetworks(Process.WIFI_UID); in testGetConfiguredNetworksMasksRandomizedMac()
DClientModeImplTest.java855 Process.WIFI_UID); in addNetworkAndVerifySuccess()
881 Process.WIFI_UID); in getWifiConfigurationForNetwork()
DWifiServiceImplTest.java1289 verify(mClientModeImpl).syncGetConfiguredNetworks(anyInt(), any(), eq(Process.WIFI_UID)); in testConfiguredNetworkListAreVisibleFromPermittedApp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java248 mWifiConfigManager.addOrUpdateNetwork(config, Process.WIFI_UID); in createWifiConfigForProvider()
253 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
DPasspointManager.java610 config, mKeyStore, mSimAccessor, mProviderIndex++, Process.WIFI_UID, null); in installEphemeralPasspointConfigForCarrier()
/frameworks/base/core/java/android/os/
DProcess.java72 public static final int WIFI_UID = 1010; field in Process
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java605 if (uid == Process.WIFI_UID) { in processAppUsage()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java209 Process.WIFI_UID, Process.VPN_UID,