Home
last modified time | relevance | path

Searched refs:scoAudioMode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java159 public static String scoAudioModeToString(int scoAudioMode) { in scoAudioModeToString() argument
160 switch (scoAudioMode) { in scoAudioModeToString()
168 return "SCO_MODE_(" + scoAudioMode + ")"; in scoAudioModeToString()
493 /*package*/ synchronized boolean startBluetoothSco(int scoAudioMode, in startBluetoothSco() argument
496 return requestScoState(BluetoothHeadset.STATE_AUDIO_CONNECTED, scoAudioMode); in startBluetoothSco()
1004 private boolean requestScoState(int state, int scoAudioMode) { in requestScoState() argument
1014 mScoAudioMode = scoAudioMode; in requestScoState()
1015 if (scoAudioMode == SCO_MODE_UNDEFINED) { in requestScoState()
1080 + mScoAudioState + ", scoAudioMode=" + scoAudioMode); in requestScoState()
1121 + mScoAudioState + ", scoAudioMode=" + scoAudioMode); in requestScoState()
[all …]
DAudioDeviceBroker.java380 int scoAudioMode, boolean isPrivileged, String eventSource) { in setCommunicationRouteForClient() argument
418 if (!mBtHelper.startBluetoothSco(scoAudioMode, eventSource)) { in setCommunicationRouteForClient()
1259 /*package*/ void startBluetoothScoForClient(IBinder cb, int uid, int scoAudioMode, in startBluetoothScoForClient() argument
1267 true, scoAudioMode, eventSource, isPrivileged)); in startBluetoothScoForClient()
1552 @Nullable AudioDeviceAttributes device, boolean on, int scoAudioMode, in CommunicationDeviceInfo() argument
1558 mScoAudioMode = scoAudioMode; in CommunicationDeviceInfo()
DAudioService.java6813 final int scoAudioMode = in startBluetoothSco() local
6825 BtHelper.scoAudioModeToString(scoAudioMode)) in startBluetoothSco()
6827 startBluetoothScoInt(cb, uid, scoAudioMode, eventSource); in startBluetoothSco()
6853 void startBluetoothScoInt(IBinder cb, int uid, int scoAudioMode, @NonNull String eventSource) { in startBluetoothScoInt() argument
6857 BtHelper.scoAudioModeToString(scoAudioMode)); in startBluetoothScoInt()
6869 cb, uid, scoAudioMode, isPrivileged, eventSource); in startBluetoothScoInt()