Searched refs:codecConfig (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpCodecConfig.java | 60 BluetoothCodecConfig codecConfig) { in setCodecConfigPreference() argument 72 if (!isCodecConfigSelectable(codecConfig, selectableCodecs)) { in setCodecConfigPreference() 73 Log.w(TAG, "Codec is not selectable: " + codecConfig); in setCodecConfigPreference() 78 int prioritizedCodecType = getPrioitizedCodecType(codecConfig, selectableCodecs); in setCodecConfigPreference() 81 && (currentCodecConfig.getCodecType() != codecConfig.getCodecType() in setCodecConfigPreference() 82 || currentCodecConfig.sameAudioFeedingParameters(codecConfig))) { in setCodecConfigPreference() 89 codecConfigArray[0] = codecConfig; in setCodecConfigPreference() 107 BluetoothCodecConfig codecConfig = codecConfigArray[i]; in enableOptionalCodecs() local 108 if (!codecConfig.isMandatoryCodec()) { in enableOptionalCodecs() 128 BluetoothCodecConfig codecConfig = codecConfigArray[i]; in disableOptionalCodecs() local [all …]
|
D | A2dpService.java | 705 BluetoothCodecConfig codecConfig) { in setCodecConfigPreference() argument 709 + Objects.toString(codecConfig)); in setCodecConfigPreference() 728 mA2dpCodecConfig.setCodecConfigPreference(device, codecStatus, codecConfig); in setCodecConfigPreference() 866 BluetoothCodecConfig codecConfig = codecStatus.getCodecConfig(); in codecConfigUpdated() local 868 mAdapterService.obfuscateAddress(device), codecConfig.getCodecType(), in codecConfigUpdated() 869 codecConfig.getCodecPriority(), codecConfig.getSampleRate(), in codecConfigUpdated() 870 codecConfig.getBitsPerSample(), codecConfig.getChannelMode(), in codecConfigUpdated() 871 codecConfig.getCodecSpecific1(), codecConfig.getCodecSpecific2(), in codecConfigUpdated() 872 codecConfig.getCodecSpecific3(), codecConfig.getCodecSpecific4()); in codecConfigUpdated() 879 codecConfig.getCodecSpecific1(), codecConfig.getCodecSpecific2(), in codecConfigUpdated() [all …]
|
D | A2dpStateMachine.java | 631 for (BluetoothCodecConfig codecConfig : in processCodecConfigEvent() 633 Log.d(TAG, "A2DP Codec Local Capability: " + codecConfig); in processCodecConfigEvent() 635 for (BluetoothCodecConfig codecConfig : in processCodecConfigEvent() 637 Log.d(TAG, "A2DP Codec Selectable Capability: " + codecConfig); in processCodecConfigEvent()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | A2dpReceiver.java | 401 BluetoothCodecConfig codecConfig = null; in getCodecValue() local 408 codecConfig = codecStatus.getCodecConfig(); in getCodecValue() 413 if (codecConfig == null) return null; in getCodecValue() 415 Log.d(TAG, "GetCodecValue: " + codecConfig.toString()); in getCodecValue() 427 return codecConfig; in getCodecValue() 448 BluetoothCodecConfig codecConfig = in setCodecValue() local 469 mBluetoothA2dp.setCodecConfigPreference(null, codecConfig); // Use current active device in setCodecValue() 504 BluetoothCodecConfig codecConfig = null; in verifyCodeConfig() local 505 codecConfig = getCodecValue(false); in verifyCodeConfig() 506 if (codecConfig == null) return false; in verifyCodeConfig() [all …]
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AbstractBluetoothA2dpPreferenceController.java | 83 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange() local 86 setCodecConfigPreference(null, codecConfig); // Use current active device in onPreferenceChange() 109 BluetoothCodecConfig codecConfig; in updateState() local 111 codecConfig = getCodecConfig(null); // Use current active device in updateState() 114 final int index = getCurrentA2dpSettingIndex(codecConfig); in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | AbstractBluetoothA2dpPreferenceController.java | 83 final BluetoothCodecConfig codecConfig = mBluetoothA2dpConfigStore.createCodecConfig(); in onPreferenceChange() local 86 setCodecConfigPreference(null, codecConfig); // Use current active device in onPreferenceChange() 109 BluetoothCodecConfig codecConfig; in updateState() local 111 codecConfig = getCodecConfig(null); // Use current active device in updateState() 114 final int index = getCurrentA2dpSettingIndex(codecConfig); in updateState()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 608 BluetoothCodecConfig codecConfig = codecConfigSbc; in testProcessAudioStateChangedCodecConfigChangedEvents() local 613 BluetoothCodecStatus codecStatus = new BluetoothCodecStatus(codecConfig, in testProcessAudioStateChangedCodecConfigChangedEvents()
|