Home
last modified time | relevance | path

Searched refs:WIFI_UID (Results 1 – 22 of 22) 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.java518 config, mMacAddressUtil.obtainMacRandHashFunction(Process.WIFI_UID)); in getPersistentMacAddress()
521 config, mMacAddressUtil.obtainMacRandHashFunction(Process.WIFI_UID)); in getPersistentMacAddress()
623 if (targetUid != Process.WIFI_UID && targetUid != Process.SYSTEM_UID in createExternalWifiConfiguration()
664 return getConfiguredNetworks(false, true, Process.WIFI_UID); in getConfiguredNetworks()
677 return getConfiguredNetworks(false, false, Process.WIFI_UID); in getConfiguredNetworksWithPasswords()
703 return createExternalWifiConfiguration(config, true, Process.WIFI_UID); in getConfiguredNetwork()
720 return createExternalWifiConfiguration(config, true, Process.WIFI_UID); in getConfiguredNetwork()
740 return createExternalWifiConfiguration(config, false, Process.WIFI_UID); in getConfiguredNetworkWithPassword()
865 if (config.isPasspoint() && uid == Process.WIFI_UID) { in canModifyNetwork()
873 && 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.java732 public static final WorkSource WIFI_WORK_SOURCE = new WorkSource(Process.WIFI_UID);
2142 if (msg.sendingUid > 0 && msg.sendingUid != Process.WIFI_UID) { in getLogRecString()
4497 mWifiConfigManager.addOrUpdateNetwork(config, Process.WIFI_UID); in processMessage()
6235 mWifiMetrics.updateSavedNetworks(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID)); in updateWifiMetrics()
DWifiServiceImpl.java1888 targetConfigUid = Process.WIFI_UID; // expose all MAC addresses in getConfiguredNetworks()
2995 Binder.getCallingUid(), mClientModeImplChannel, Process.WIFI_UID); in factoryReset()
DSupplicantStaIfaceHal.java3018 .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.java350 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in enterWifiDisconnectedStateWhenScreenOn()
370 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in enterWifiConnectedStateWhenScreenOn()
390 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in turnScreenOnWhenWifiInDisconnectedState()
410 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in turnScreenOnWhenWifiInConnectedState()
438 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in turnScreenOnWhenWifiInConnectedStateRoamingDisabled()
476 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in connectionAttemptRateLimitedWhenScreenOff()
517 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in connectionAttemptNotRateLimitedWhenScreenOff()
561 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in connectionAttemptNotRateLimitedWhenScreenOffAfterUserSelection()
1437 CANDIDATE_NETWORK_ID, Process.WIFI_UID, CANDIDATE_BSSID); in listenToAllSingleScanResults()
1463 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.java195 } else if (uid == Process.WIFI_UID) { in setUp()
634 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleEphemeralNetwork()
652 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSinglePasspointNetwork()
702 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleSuggestionNetwork()
730 assertTrue(mWifiConfigManager.getSavedNetworks(Process.WIFI_UID).isEmpty()); in testAddSingleSpecifierNetwork()
804 Process.WIFI_UID); in testAddSinglePskNetwork()
829 Process.WIFI_UID); in testAddSingleWepNetwork()
947 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Process.WIFI_UID)); in testRemovePasspointNetworkAddedByOther()
1971 configs = mWifiConfigManager.getSavedNetworks(Process.WIFI_UID); in testGetConfiguredNetworksMasksRandomizedMac()
2011 List<WifiConfiguration> configs = mWifiConfigManager.getSavedNetworks(Process.WIFI_UID); in testGetConfiguredNetworksNotMaskMacRandomizationSetting()
[all …]
DClientModeImplTest.java866 Process.WIFI_UID); in addNetworkAndVerifySuccess()
892 Process.WIFI_UID); in getWifiConfigurationForNetwork()
DWifiServiceImplTest.java1428 verify(mClientModeImpl).syncGetConfiguredNetworks(anyInt(), any(), eq(Process.WIFI_UID)); in testConfiguredNetworkListAreVisibleFromPermittedApp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java145 KeyStore keyStore = AndroidKeyStoreProvider.getKeyStoreForUid(Process.WIFI_UID); in getOrCreateSecretKey()
165 .setUid(Process.WIFI_UID) in getOrCreateSecretKey()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java244 mWifiConfigManager.addOrUpdateNetwork(config, Process.WIFI_UID); in createWifiConfigForProvider()
249 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, Process.WIFI_UID); in createWifiConfigForProvider()
DPasspointManager.java292 removeProvider(Process.WIFI_UID /* ignored */, true, fqdn); in removePasspointProviderWithPackage()
654 config, mKeyStore, mSimAccessor, mProviderIndex++, Process.WIFI_UID, null); in installEphemeralPasspointConfigForCarrier()
1029 getProviderConfigs(Process.WIFI_UID /* ignored */, true); in getMatchingPasspointConfigsForOsuProviders()
/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.java223 Process.WIFI_UID, Process.VPN_UID,