Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java427 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId in onBluetoothA2dpActiveDeviceChange() local
433 mmi.set(MediaMetrics.Property.EARLY_RETURN, "btDevice null").record(); in onBluetoothA2dpActiveDeviceChange()
455 mmi.set(MediaMetrics.Property.EARLY_RETURN, "A2dp config change ignored") in onBluetoothA2dpActiveDeviceChange()
464 mmi.set(MediaMetrics.Property.EARLY_RETURN, "null DeviceInfo").record(); in onBluetoothA2dpActiveDeviceChange()
468 mmi.set(MediaMetrics.Property.ADDRESS, address) in onBluetoothA2dpActiveDeviceChange()
513 mmi.record(); in onBluetoothA2dpActiveDeviceChange()
557 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId in onSetWiredDeviceConnectionState() local
574 mmi.set(MediaMetrics.Property.EARLY_RETURN, "change of connection state failed") in onSetWiredDeviceConnectionState()
591 mmi.record(); in onSetWiredDeviceConnectionState()
595 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId + "onToggleHdmi") in onToggleHdmi() local
[all …]
DAudioService.java4110 MediaMetrics.Item mmi = new MediaMetrics.Item(MediaMetrics.Name.AUDIO_MIC) in setMicrophoneMute() local
4120 mmi.set(MediaMetrics.Property.EARLY_RETURN, "disallow unmuting").record(); in setMicrophoneMute()
4124 mmi.set(MediaMetrics.Property.EARLY_RETURN, "!checkAudioSettingsPermission").record(); in setMicrophoneMute()
4131 mmi.set(MediaMetrics.Property.EARLY_RETURN, "permission").record(); in setMicrophoneMute()
4135 mmi.record(); // record now, the no caller check will set the mute state. in setMicrophoneMute()
5362 MediaMetrics.Item mmi = new MediaMetrics.Item(MediaMetrics.Name.AUDIO_BLUETOOTH) in startBluetoothScoInt() local
5369 mmi.set(MediaMetrics.Property.EARLY_RETURN, "permission or systemReady").record(); in startBluetoothScoInt()
5375 mmi.record(); in startBluetoothScoInt()
8092 MediaMetrics.Item mmi = new MediaMetrics.Item(mMetricsId + "focus") in requestAudioFocus() local
8104 mmi.set(MediaMetrics.Property.EARLY_RETURN, reason) in requestAudioFocus()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java953 ImsPhoneMmiCode mmi = in dialInternal() local
955 if (DBG) logd("dialInternal: dialing w/ mmi '" + mmi + "'..."); in dialInternal()
957 if (mmi == null) { in dialInternal()
959 } else if (mmi.isTemporaryModeCLIR()) { in dialInternal()
960 imsDialArgsBuilder.setClirMode(mmi.getCLIRMode()); in dialInternal()
961 return mCT.dial(mmi.getDialingNumber(), imsDialArgsBuilder.build()); in dialInternal()
962 } else if (!mmi.isSupportedOverImsPhone()) { in dialInternal()
971 mPendingMMIs.add(mmi); in dialInternal()
972 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null)); in dialInternal()
975 mmi.processCode(); in dialInternal()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1533 GsmMmiCode mmi = GsmMmiCode.newFromDialString(networkPortion, this, in dialInternal() local
1535 if (DBG) logd("dialInternal: dialing w/ mmi '" + mmi + "'..."); in dialInternal()
1537 if (mmi == null) { in dialInternal()
1539 } else if (mmi.isTemporaryModeCLIR()) { in dialInternal()
1540 return mCT.dialGsm(mmi.mDialingNumber, mmi.getCLIRMode(), dialArgs.uusInfo, in dialInternal()
1543 mPendingMMIs.add(mmi); in dialInternal()
1544 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null)); in dialInternal()
1545 mmi.processCode(); in dialInternal()
1555 MmiCode mmi; in handlePinMmi() local
1557 mmi = GsmMmiCode.newFromDialString(dialString, this, mUiccApplication.get()); in handlePinMmi()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmMmiCodeTest.java102 GsmMmiCode mmi = GsmMmiCode.newNetworkInitiatedUssd(null, true, mGsmCdmaPhoneUT, null); in testNoCrashOnEmptyMessage() local
104 mmi.onUssdFinishedError(); in testNoCrashOnEmptyMessage()
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 …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneMmiCodeTest.java108 ImsPhoneMmiCode mmi = ImsPhoneMmiCode.newNetworkInitiatedUssd(null, true, mImsPhoneUT); in testNoCrashOnEmptyMessage() local
110 mmi.onUssdFinishedError(); in testNoCrashOnEmptyMessage()