Home
last modified time | relevance | path

Searched refs:onOrOff (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsNrSaModeHandler.java283 private void requestIsVonrEnabled(boolean onOrOff) { in requestIsVonrEnabled() argument
284 Message msg = obtainMessage(MSG_REQUEST_IS_VONR_ENABLED, onOrOff); in requestIsVonrEnabled()
288 private void setNrSaMode(boolean onOrOff) { in setNrSaMode() argument
290 mPhone.getDefaultPhone().setN1ModeEnabled(onOrOff, null); in setNrSaMode()
291 Log.i(TAG, "setNrSaMode : " + onOrOff); in setNrSaMode()
293 setNrSaDisabledForWfc(!onOrOff); in setNrSaMode()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalAidl.cpp1198 [&scoConfig](const String8& onOrOff) { in filterAndUpdateBtScoParameters() argument
1199 if (onOrOff == AudioParameter::valueOn) { in filterAndUpdateBtScoParameters()
1202 } else if (onOrOff == AudioParameter::valueOff) { in filterAndUpdateBtScoParameters()
1207 AudioParameter::keyBtSco, onOrOff.c_str()); in filterAndUpdateBtScoParameters()
1218 [&scoConfig](const String8& onOrOff) { in filterAndUpdateBtScoParameters() argument
1219 if (onOrOff == AudioParameter::valueOn) { in filterAndUpdateBtScoParameters()
1222 } else if (onOrOff == AudioParameter::valueOff) { in filterAndUpdateBtScoParameters()
1227 AudioParameter::keyBtNrec, onOrOff.c_str()); in filterAndUpdateBtScoParameters()
1232 [&scoConfig](const String8& onOrOff) { in filterAndUpdateBtScoParameters() argument
1233 if (onOrOff == AudioParameter::valueOn) { in filterAndUpdateBtScoParameters()
[all …]