Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java412 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId in onBluetoothA2dpActiveDeviceChange() local
418 mmi.set(MediaMetrics.Property.EARLY_RETURN, "btDevice null").record(); in onBluetoothA2dpActiveDeviceChange()
440 mmi.set(MediaMetrics.Property.EARLY_RETURN, "A2dp config change ignored") in onBluetoothA2dpActiveDeviceChange()
449 mmi.set(MediaMetrics.Property.EARLY_RETURN, "null DeviceInfo").record(); in onBluetoothA2dpActiveDeviceChange()
453 mmi.set(MediaMetrics.Property.ADDRESS, address) in onBluetoothA2dpActiveDeviceChange()
498 mmi.record(); in onBluetoothA2dpActiveDeviceChange()
542 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId in onSetWiredDeviceConnectionState() local
559 mmi.set(MediaMetrics.Property.EARLY_RETURN, "change of connection state failed") in onSetWiredDeviceConnectionState()
576 mmi.record(); in onSetWiredDeviceConnectionState()
580 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId + "onToggleHdmi") in onToggleHdmi() local
[all …]
DAudioService.java3254 MediaMetrics.Item mmi = new MediaMetrics.Item(MediaMetrics.Name.AUDIO_MIC) in setMicrophoneMute() local
3264 mmi.set(MediaMetrics.Property.EARLY_RETURN, "disallow unmuting").record(); in setMicrophoneMute()
3268 mmi.set(MediaMetrics.Property.EARLY_RETURN, "!checkAudioSettingsPermission").record(); in setMicrophoneMute()
3275 mmi.set(MediaMetrics.Property.EARLY_RETURN, "permission").record(); in setMicrophoneMute()
3279 mmi.record(); // record now, the no caller check will set the mute state. in setMicrophoneMute()
4226 MediaMetrics.Item mmi = new MediaMetrics.Item(MediaMetrics.Name.AUDIO_BLUETOOTH) in startBluetoothScoInt() local
4233 mmi.set(MediaMetrics.Property.EARLY_RETURN, "permission or systemReady").record(); in startBluetoothScoInt()
4239 mmi.record(); in startBluetoothScoInt()
6844 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId + "focus") in requestAudioFocus() local
6856 mmi.set(MediaMetrics.Property.EARLY_RETURN, reason) in requestAudioFocus()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java834 ImsPhoneMmiCode mmi = in dialInternal() local
836 if (DBG) logd("dialInternal: dialing w/ mmi '" + mmi + "'..."); in dialInternal()
838 if (mmi == null) { in dialInternal()
840 } else if (mmi.isTemporaryModeCLIR()) { in dialInternal()
841 imsDialArgsBuilder.setClirMode(mmi.getCLIRMode()); in dialInternal()
842 return mCT.dial(mmi.getDialingNumber(), imsDialArgsBuilder.build()); in dialInternal()
843 } else if (!mmi.isSupportedOverImsPhone()) { in dialInternal()
852 mPendingMMIs.add(mmi); in dialInternal()
853 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null)); in dialInternal()
856 mmi.processCode(); in dialInternal()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1493 GsmMmiCode mmi = GsmMmiCode.newFromDialString(networkPortion, this, in dialInternal() local
1495 if (DBG) logd("dialInternal: dialing w/ mmi '" + mmi + "'..."); in dialInternal()
1497 if (mmi == null) { in dialInternal()
1499 } else if (mmi.isTemporaryModeCLIR()) { in dialInternal()
1500 return mCT.dialGsm(mmi.mDialingNumber, mmi.getCLIRMode(), dialArgs.uusInfo, in dialInternal()
1503 mPendingMMIs.add(mmi); in dialInternal()
1504 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null)); in dialInternal()
1505 mmi.processCode(); in dialInternal()
1515 MmiCode mmi; in handlePinMmi() local
1517 mmi = GsmMmiCode.newFromDialString(dialString, this, mUiccApplication.get()); in handlePinMmi()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken1675 MmiCode mmi;
1682 mmi = (MmiCode) ar.result;
1684 assertFalse(mmi.isUssdRequest());
1691 mmi = (MmiCode) ar.result;
1693 assertTrue(mmi.isUssdRequest());
1699 mmi = (MmiCode) ar.result;
1701 GsmMmiCode gsmMmi = (GsmMmiCode) mmi;
1706 mmi = (MmiCode) ar.result;
1709 assertFalse(mmi.isUssdRequest());
1716 mmi = (MmiCode) ar.result;
[all …]