Home
last modified time | relevance | path

Searched refs:mmi (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1019 ImsPhoneMmiCode mmi = in dialInternal() local
1021 if (DBG) logd("dialInternal: dialing w/ mmi '" + mmi + "'..."); in dialInternal()
1023 if (mmi == null) { in dialInternal()
1025 } else if (mmi.isTemporaryModeCLIR()) { in dialInternal()
1026 imsDialArgsBuilder.setClirMode(mmi.getCLIRMode()); in dialInternal()
1027 return mCT.dial(mmi.getDialingNumber(), imsDialArgsBuilder.build()); in dialInternal()
1028 } else if (!mmi.isSupportedOverImsPhone()) { in dialInternal()
1037 mPendingMMIs.add(mmi); in dialInternal()
1038 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null)); in dialInternal()
1041 mmi.processCode(); in dialInternal()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1723 GsmMmiCode mmi = GsmMmiCode.newFromDialString(networkPortion, this, in dialInternal() local
1725 if (DBG) logd("dialInternal: dialing w/ mmi '" + mmi + "'..."); in dialInternal()
1727 if (mmi == null) { in dialInternal()
1729 } else if (mmi.isTemporaryModeCLIR()) { in dialInternal()
1730 return mCT.dialGsm(mmi.mDialingNumber, mmi.getCLIRMode(), dialArgs.uusInfo, in dialInternal()
1733 mPendingMMIs.add(mmi); in dialInternal()
1734 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null)); in dialInternal()
1735 mmi.processCode(); in dialInternal()
1745 MmiCode mmi; in handlePinMmi() local
1747 mmi = GsmMmiCode.newFromDialString(dialString, this, mUiccApplication.get()); in handlePinMmi()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneMmiCodeTest.java116 ImsPhoneMmiCode mmi = ImsPhoneMmiCode.newNetworkInitiatedUssd(null, true, mImsPhoneUT); in testNoCrashOnEmptyMessage() local
118 mmi.onUssdFinishedError(); in testNoCrashOnEmptyMessage()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java928 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId in onBluetoothDeviceConfigChange() local
935 mmi.set(MediaMetrics.Property.EARLY_RETURN, "btDevice null").record(); in onBluetoothDeviceConfigChange()
956 mmi.set(MediaMetrics.Property.EARLY_RETURN, "A2dp config change ignored") in onBluetoothDeviceConfigChange()
965 mmi.set(MediaMetrics.Property.EARLY_RETURN, "null DeviceInfo").record(); in onBluetoothDeviceConfigChange()
969 mmi.set(MediaMetrics.Property.ADDRESS, address) in onBluetoothDeviceConfigChange()
1010 mmi.record(); in onBluetoothDeviceConfigChange()
1110 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId in onSetWiredDeviceConnectionState() local
1140 mmi.set(MediaMetrics.Property.EARLY_RETURN, "change of connection state failed") in onSetWiredDeviceConnectionState()
1169 mmi.record(); in onSetWiredDeviceConnectionState()
1173 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId + "onToggleHdmi") in onToggleHdmi() local
[all …]
DAudioService.java5488 MediaMetrics.Item mmi = new MediaMetrics.Item(MediaMetrics.Name.AUDIO_MIC) in setMicrophoneMute() local
5498 mmi.set(MediaMetrics.Property.EARLY_RETURN, "disallow unmuting").record(); in setMicrophoneMute()
5502 mmi.set(MediaMetrics.Property.EARLY_RETURN, "!checkAudioSettingsPermission").record(); in setMicrophoneMute()
5508 mmi.set(MediaMetrics.Property.EARLY_RETURN, "permission").record(); in setMicrophoneMute()
5512 mmi.record(); // record now, the no caller check will set the mute state. in setMicrophoneMute()
6854 MediaMetrics.Item mmi = new MediaMetrics.Item(MediaMetrics.Name.AUDIO_BLUETOOTH) in startBluetoothScoInt() local
6861 mmi.set(MediaMetrics.Property.EARLY_RETURN, "permission or systemReady").record(); in startBluetoothScoInt()
6873 mmi.record(); in startBluetoothScoInt()
10292 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId + "focus") in requestAudioFocus() local
10304 mmi.set(MediaMetrics.Property.EARLY_RETURN, reason) in requestAudioFocus()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmMmiCodeTest.java113 GsmMmiCode mmi = GsmMmiCode.newNetworkInitiatedUssd(null, true, mGsmCdmaPhoneUT, null); in testNoCrashOnEmptyMessage() local
115 mmi.onUssdFinishedError(); in testNoCrashOnEmptyMessage()