Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 43) sorted by relevance

12

/system/media/opensles/tests/examples/
DslesTestVirtualizerPath.cpp213 SLboolean enabled = SL_BOOLEAN_TRUE; in TestVirtualizerPathFromFD() local
214 result = (*virtItf)->SetEnabled(virtItf, enabled); in TestVirtualizerPathFromFD()
218 result = (*virtItf)->IsEnabled(virtItf, &enabled); in TestVirtualizerPathFromFD()
220 enabled = enabled == SL_BOOLEAN_TRUE ? SL_BOOLEAN_FALSE : SL_BOOLEAN_TRUE; in TestVirtualizerPathFromFD()
221 result = (*virtItf)->SetEnabled(virtItf, enabled); in TestVirtualizerPathFromFD()
222 if (SL_BOOLEAN_TRUE == enabled) { in TestVirtualizerPathFromFD()
DslesTestBassBoostPath.cpp212 SLboolean enabled = SL_BOOLEAN_TRUE; in TestBassBoostPathFromFD() local
213 result = (*bbItf)->SetEnabled(bbItf, enabled); in TestBassBoostPathFromFD()
217 result = (*bbItf)->IsEnabled(bbItf, &enabled); in TestBassBoostPathFromFD()
219 enabled = enabled == SL_BOOLEAN_TRUE ? SL_BOOLEAN_FALSE : SL_BOOLEAN_TRUE; in TestBassBoostPathFromFD()
220 result = (*bbItf)->SetEnabled(bbItf, enabled); in TestBassBoostPathFromFD()
221 if (SL_BOOLEAN_TRUE == enabled) { in TestBassBoostPathFromFD()
DslesTestEqOutputPath.cpp244 SLboolean enabled = SL_BOOLEAN_TRUE; in TestEQPathFromFD() local
245 result = (*eqOutputItf)->SetEnabled(eqOutputItf, enabled); in TestEQPathFromFD()
249 result = (*eqOutputItf)->IsEnabled(eqOutputItf, &enabled); in TestEQPathFromFD()
251 enabled = enabled == SL_BOOLEAN_TRUE ? SL_BOOLEAN_FALSE : SL_BOOLEAN_TRUE; in TestEQPathFromFD()
252 result = (*eqOutputItf)->SetEnabled(eqOutputItf, enabled); in TestEQPathFromFD()
253 if (SL_BOOLEAN_TRUE == enabled) { in TestEQPathFromFD()
DslesTestEqFdPath.cpp240 SLboolean enabled = SL_BOOLEAN_TRUE; in TestEQPathFromFD() local
241 result = (*eqItf)->SetEnabled(eqItf, enabled); in TestEQPathFromFD()
245 result = (*eqItf)->IsEnabled(eqItf, &enabled); in TestEQPathFromFD()
247 enabled = enabled == SL_BOOLEAN_TRUE ? SL_BOOLEAN_FALSE : SL_BOOLEAN_TRUE; in TestEQPathFromFD()
248 result = (*eqItf)->SetEnabled(eqItf, enabled); in TestEQPathFromFD()
249 if (SL_BOOLEAN_TRUE == enabled) { in TestEQPathFromFD()
DslesTestSendToPresetReverb.cpp220 SLboolean enabled = SL_BOOLEAN_TRUE; in TestSendToPresetReverb() local
222 enabled = !enabled; in TestSendToPresetReverb()
223 result = (*reverbItf)->SetPreset(reverbItf, enabled ? preset : SL_REVERBPRESET_NONE); in TestSendToPresetReverb()
224 if (enabled) { in TestSendToPresetReverb()
/system/media/opensles/libopensles/
Dtrace.c27 void slTraceSetEnabled(unsigned enabled) in slTraceSetEnabled() argument
29 slTraceEnabled = enabled; in slTraceSetEnabled()
150 void slTraceSetEnabled(unsigned enabled) in slTraceSetEnabled() argument
DIVirtualizer.c35 static SLresult IVirtualizer_SetEnabled(SLVirtualizerItf self, SLboolean enabled) in IVirtualizer_SetEnabled() argument
41 this->mEnabled = (SLboolean) enabled; in IVirtualizer_SetEnabled()
69 SLboolean enabled = this->mEnabled; in IVirtualizer_IsEnabled() local
71 *pEnabled = enabled; in IVirtualizer_IsEnabled()
DIBassBoost.c35 static SLresult IBassBoost_SetEnabled(SLBassBoostItf self, SLboolean enabled) in IBassBoost_SetEnabled() argument
41 this->mEnabled = (SLboolean) enabled; in IBassBoost_SetEnabled()
67 SLboolean enabled = this->mEnabled; in IBassBoost_IsEnabled() local
69 *pEnabled = enabled; in IBassBoost_IsEnabled()
DIAndroidEffect.c61 SLInterfaceID effectImplementationId, SLboolean enabled) { in IAndroidEffect_SetEnabled() argument
66 result = android_genericFx_setEnabled(this, effectImplementationId, enabled); in IAndroidEffect_SetEnabled()
DIEqualizer.c52 static SLresult IEqualizer_SetEnabled(SLEqualizerItf self, SLboolean enabled) in IEqualizer_SetEnabled() argument
58 this->mEnabled = (SLboolean) enabled; in IEqualizer_SetEnabled()
85 SLboolean enabled = this->mEnabled; in IEqualizer_IsEnabled() local
87 *pEnabled = enabled; in IEqualizer_IsEnabled()
Dandroid_Effect.h85 SLboolean enabled);
DIObject.c664 SLint16 numInterfaces, SLInterfaceID *pInterfaceIDs, SLboolean enabled) in IObject_SetLossOfControlInterfaces() argument
695 if (enabled) { in IObject_SetLossOfControlInterfaces()
/system/netd/
DTetherController.cpp79 char enabled; in getIpFwdEnabled() local
80 if (read(fd, &enabled, 1) != 1) { in getIpFwdEnabled()
87 return (enabled == '1' ? true : false); in getIpFwdEnabled()
/system/core/nexus/
DSupplicant.h64 int enableNetwork(int networkId, bool enabled);
DWifiNetwork.cpp452 int WifiNetwork::setEnabled(bool enabled) { in setEnabled() argument
454 if (enabled) { in setEnabled()
467 if (mSuppl->enableNetwork(mNetid, enabled)) in setEnabled()
470 mEnabled = enabled; in setEnabled()
DSupplicant.cpp530 int Supplicant::enableNetwork(int networkId, bool enabled) { in enableNetwork() argument
533 if (enabled) in enableNetwork()
DWifiNetwork.h328 int setEnabled(bool enabled);
/system/vold/
DVolumeManager.cpp193 const char *enabled = evt->findParam("ENABLED"); in handleUsbCompositeEvent() local
195 if (!function || !enabled) { in handleUsbCompositeEvent()
202 mUsbMassStorageEnabled = !strcmp(enabled, "1"); in handleUsbCompositeEvent()
976 int VolumeManager::shareEnabled(const char *label, const char *method, bool *enabled) { in shareEnabled() argument
990 *enabled = false; in shareEnabled()
992 *enabled = true; in shareEnabled()
DCommandListener.cpp170 bool enabled = false; in runCommand() local
177 if (vm->shareEnabled(argv[2], argv[3], &enabled)) { in runCommand()
182 (enabled ? "Share enabled" : "Share disabled"), false); in runCommand()
DVolumeManager.h88 int shareEnabled(const char *path, const char *method, bool *enabled);
/system/media/opensles/include/SLES/
DOpenSLES_Android.h52 SLboolean enabled);
/system/wlan/ti/wilink_6_1/stad/src/Data_link/
Drx.c102 static TI_STATUS rxData_enableDisableRxDataFilters(TI_HANDLE hRxData, TI_BOOL enabled);
527 static TI_STATUS rxData_enableDisableRxDataFilters(TI_HANDLE hRxData, TI_BOOL enabled) in rxData_enableDisableRxDataFilters() argument
532 if (enabled != TI_FALSE) in rxData_enableDisableRxDataFilters()
533 enabled = 1; in rxData_enableDisableRxDataFilters()
535 if (enabled == pRxData->filteringEnabled) in rxData_enableDisableRxDataFilters()
538 pRxData->filteringEnabled = enabled; in rxData_enableDisableRxDataFilters()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Rx/
Drx.c88 static TI_STATUS rxData_enableDisableRxDataFilters(TI_HANDLE hRxData, BOOL enabled);
550 static TI_STATUS rxData_enableDisableRxDataFilters(TI_HANDLE hRxData, BOOL enabled) in rxData_enableDisableRxDataFilters() argument
555 if (enabled != 0) in rxData_enableDisableRxDataFilters()
556 enabled = 1; in rxData_enableDisableRxDataFilters()
558 if (enabled == pRxData->filteringEnabled) in rxData_enableDisableRxDataFilters()
561 pRxData->filteringEnabled = enabled; in rxData_enableDisableRxDataFilters()
/system/wlan/ti/wilink_6_1/wpa_supplicant_lib/
Ddriver_ti.c1009 static int wpa_driver_tista_set_wpa(void *priv, int enabled) in wpa_driver_tista_set_wpa() argument
1016 enabled); in wpa_driver_tista_set_wpa()
1043 static int wpa_driver_tista_set_countermeasures(void *priv, int enabled) in wpa_driver_tista_set_countermeasures() argument
1052 enabled); in wpa_driver_tista_set_countermeasures()
1057 int enabled) in wpa_driver_tista_set_drop_unencrypted() argument
1066 enabled); in wpa_driver_tista_set_drop_unencrypted()
/system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib/
Ddriver_ti.c269 static int wpa_driver_tista_set_wpa(void *priv, int enabled) in wpa_driver_tista_set_wpa() argument
273 wpa_printf(MSG_DEBUG,"wpa_driver_tista_set_wpa called: %d",enabled); in wpa_driver_tista_set_wpa()
633 static int wpa_driver_tista_set_countermeasures(void *priv, int enabled) in wpa_driver_tista_set_countermeasures() argument
637 wpa_printf(MSG_DEBUG,"wpa_driver_tista_set_countermeasures called: %d", enabled); in wpa_driver_tista_set_countermeasures()
649 static int wpa_driver_tista_set_drop_unencrypted(void *priv, int enabled) in wpa_driver_tista_set_drop_unencrypted() argument
653 …rintf(MSG_DEBUG,"TI: wpa_driver_tista_set_drop_unencrypted called: %d - not implemented", enabled); in wpa_driver_tista_set_drop_unencrypted()

12