Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.c27 const SLchar *configKey, in IAndroidConfiguration_SetConfiguration() argument
34 if (NULL == configKey || NULL == pConfigValue || valueSize == 0) { in IAndroidConfiguration_SetConfiguration()
45 configKey, valueSize); in IAndroidConfiguration_SetConfiguration()
46 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey, in IAndroidConfiguration_SetConfiguration()
51 configKey, valueSize); in IAndroidConfiguration_SetConfiguration()
52 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey, in IAndroidConfiguration_SetConfiguration()
68 const SLchar *configKey, in IAndroidConfiguration_GetConfiguration() argument
76 if (NULL == configKey || NULL == pValueSize) { in IAndroidConfiguration_GetConfiguration()
85 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz->mThis, configKey, in IAndroidConfiguration_GetConfiguration()
89 result = android_audioPlayer_getConfig((CAudioPlayer *) thiz->mThis, configKey, in IAndroidConfiguration_GetConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java459 && pskMap.containsKey(config.configKey(true))) { in getSavedNetworks()
460 newConfig.preSharedKey = pskMap.get(config.configKey(true)); in getSavedNetworks()
612 + " " + config.configKey()); in updateConfiguration()
1183 if (config.configKey().equals(mLastSelectedConfiguration)) { in removeConfigWithoutBroadcast()
1195 String key = config.configKey(); in removeConfigAndSendBroadcastIfNeeded()
1208 private void removeUserSelectionPreference(String configKey) { in removeUserSelectionPreference() argument
1210 Log.d(TAG, "removeUserSelectionPreference: key is " + configKey); in removeUserSelectionPreference()
1212 if (configKey == null) { in removeUserSelectionPreference()
1218 if (connectChoice != null && connectChoice.equals(configKey)) { in removeUserSelectionPreference()
1370 localLog("Enable network:" + config.configKey()); in updateNetworkSelectionStatus()
[all …]
DConfigurationMap.java40 mPerConfigKey.put(config.configKey().hashCode(), config); // This is ridiculous... in put()
59 mPerConfigKey.remove(config.configKey().hashCode()); in remove()
144 if (config.configKey().equals(key)) { in getByConfigKeyForCurrentUser()
DWifiConfigStore.java429 String configKey = extras.get(ID_STRING_KEY_CONFIG_KEY); in loadNetworks() local
430 if (configKey == null) { in loadNetworks()
435 configKey = config.configKey(); in loadNetworks()
438 final WifiConfiguration duplicateConfig = configs.put(configKey, config); in loadNetworks()
591 metadata.put(ID_STRING_KEY_CONFIG_KEY, config.configKey()); in saveNetworkMetadata()
1035 String configKey = null; in readNetworkVariablesFromReader() local
1040 configKey = null; in readNetworkVariablesFromReader()
1044 configKey = null; in readNetworkVariablesFromReader()
1060 configKey = (String) configKeyFromJson; in readNetworkVariablesFromReader()
1073 if (configKey != null && value != null) { in readNetworkVariablesFromReader()
[all …]
DWifiNetworkHistory.java163 logd("saving network history: " + config.configKey() + " gw: " in writeKnownNetworkHistory()
185 logv("writeKnownNetworkHistory write config " + config.configKey()); in writeKnownNetworkHistory()
187 out.writeUTF(CONFIG_KEY + SEPARATOR + config.configKey() + NL); in writeKnownNetworkHistory()
DWifiStateMachine.java431 logd("autoRoamSetBSSID " + bssid + " key=" + config.configKey()); in autoRoamSetBSSID()
2452 sb.append(" ").append(lastSavedConfigurationAttempt.configKey()); in getLogRecString()
2477 sb.append(" ").append(lastForgetConfigurationAttempt.configKey()); in getLogRecString()
2540 sb.append(" ").append(config.configKey()); in getLogRecString()
2588 sb.append(" cur=").append(config.configKey()); in getLogRecString()
2654 sb.append(" ").append(config.configKey()); in getLogRecString()
2665 sb.append(config.configKey()); in getLogRecString()
2702 sb.append(" ").append(config.configKey()); in getLogRecString()
2710 if (curConfig.configKey().equals(config.configKey())) { in getLogRecString()
2713 sb.append(" current=").append(curConfig.configKey()); in getLogRecString()
[all …]
DWifiConnectivityManager.java648 localLog("No scan channels for " + config.configKey() + ". Perform full band scan"); in setScanChannels()
DWifiQualifiedNetworkSelector.java482 String key = selected.configKey(); in userSelectNetwork()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.h31 extern SLresult android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey,
43 extern SLresult android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey,
DAudioPlayer_to_android.h52 extern SLresult android_audioPlayer_setConfig(CAudioPlayer *pAudioPlayer, const SLchar *configKey,
64 extern SLresult android_audioPlayer_getConfig(CAudioPlayer *pAudioPlayer, const SLchar *configKey,
DAudioRecorder_to_android.cpp365 SLresult android_audioRecorder_setConfig(CAudioRecorder* ar, const SLchar *configKey, in android_audioRecorder_setConfig() argument
370 assert(NULL != ar && NULL != configKey && NULL != pConfigValue); in android_audioRecorder_setConfig()
371 if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_RECORDING_PRESET) == 0) { in android_audioRecorder_setConfig()
391 SLresult android_audioRecorder_getConfig(CAudioRecorder* ar, const SLchar *configKey, in android_audioRecorder_getConfig() argument
396 assert(NULL != ar && NULL != configKey && NULL != pValueSize); in android_audioRecorder_getConfig()
397 if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_RECORDING_PRESET) == 0) { in android_audioRecorder_getConfig()
DAudioPlayer_to_android.cpp1324 SLresult android_audioPlayer_setConfig(CAudioPlayer *ap, const SLchar *configKey, in android_audioPlayer_setConfig() argument
1329 assert(NULL != ap && NULL != configKey && NULL != pConfigValue); in android_audioPlayer_setConfig()
1330 if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_STREAM_TYPE) == 0) { in android_audioPlayer_setConfig()
1350 SLresult android_audioPlayer_getConfig(CAudioPlayer* ap, const SLchar *configKey, in android_audioPlayer_getConfig() argument
1355 assert(NULL != ap && NULL != configKey && NULL != pValueSize); in android_audioPlayer_getConfig()
1356 if (strcmp((const char*)configKey, (const char*)SL_ANDROID_KEY_STREAM_TYPE) == 0) { in android_audioPlayer_getConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java129 mConfigs.getByConfigKeyIDForAllUsers(config.configKey().hashCode())); in verifyGetters()
139 assertEquals(config, mConfigs.getByConfigKeyForCurrentUser(config.configKey())); in verifyGetters()
155 assertNull(mConfigs.getByConfigKeyForCurrentUser(config.configKey())); in verifyGetters()
DWifiConfigManagerTest.java269 assertEquals(expectedConfig.configKey(), actualConfig.configKey(false)); in verifyNetworkConfig()
349 mWifiConfigManager.getWifiConfiguration(expectedConfig.configKey()); in testGetWifiConfigurationByConfigKey()
476 metadata.put(WifiConfigStore.ID_STRING_KEY_CONFIG_KEY, CONFIGS.get(network).configKey()); in verifySaveNetwork()
515 assertEquals(CONFIGS.get(network).configKey(), values.get(0)); in verifySaveNetwork()
588 metadata.put(WifiConfigStore.ID_STRING_KEY_CONFIG_KEY, CONFIGS.get(2).configKey()); in testLoadConfiguredNetworks()
596 metadata.put(WifiConfigStore.ID_STRING_KEY_CONFIG_KEY, CONFIGS.get(3).configKey()); in testLoadConfiguredNetworks()
613 stream.writeUTF(WifiNetworkHistory.CONFIG_KEY + ": " + config.configKey() + '\n'); in testLoadConfiguredNetworks()
664 metadata.put(WifiConfigStore.ID_STRING_KEY_CONFIG_KEY, config.configKey()); in testLoadConfiguredNetworksEliminatesDuplicates()
705 lastSelectedConfigurationField.set(mWifiConfigManager, config.configKey()); in verifyHandleUserSwitch()
DWifiQualifiedNetworkSelectorTest.java663 String key = configs[configs.length - 1].configKey(); in userSelectsNetworkForFirstTime()
716 when(mWifiConfigManager.getWifiConfiguration(configs[2].configKey())) in chooseUserPreferredNetwork()
1547 savedConfigs[0].linkedConfigurations.put(savedConfigs[1].configKey(), 1); in currentBssidStayDueToSameBSSIDBonus()
1548 savedConfigs[1].linkedConfigurations.put(savedConfigs[0].configKey(), 1); in currentBssidStayDueToSameBSSIDBonus()
1598 savedConfigs[0].linkedConfigurations.put(savedConfigs[1].configKey(), 1); in swithBssidDueToLowRssi()
1599 savedConfigs[1].linkedConfigurations.put(savedConfigs[0].configKey(), 1); in swithBssidDueToLowRssi()
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h205 const SLchar *configKey,
210 const SLchar *configKey,
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java70 private boolean writeConfig(DataOutputStream out, int configKey, in writeConfig() argument
152 out.writeInt(configKey); in writeConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1372 if (config.linkedConfigurations.get(configKey()) != null in isLinked()
1373 && linkedConfigurations.get(config.configKey()) != null) { in isLinked()
1723 public String configKey(boolean allowCached) { in configKey() method in WifiConfiguration
1754 public String configKey() { in configKey() method in WifiConfiguration
1755 return configKey(false); in configKey()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java242 public String configKey() { in configKey() method in SettingsBackupAgent.Network
315 final String netConfigKey = net.configKey(); in networkInWhitelist()
318 if (Objects.equals(netConfigKey, whitelist.get(i).configKey(true))) { in networkInWhitelist()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java1128 Key<StreamConfiguration[]> configKey = in testOverrideStreamConfigurationMap() local
1130 mMetadata.writeValues(configKey.getTag(), in testOverrideStreamConfigurationMap()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h222 const XAchar * configKey,
228 const XAchar * configKey,