Home
last modified time | relevance | path

Searched refs:codecConfigArray (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpCodecConfig.java116 BluetoothCodecConfig[] codecConfigArray = new BluetoothCodecConfig[1]; in setCodecConfigPreference() local
117 codecConfigArray[0] = newCodecConfig; in setCodecConfigPreference()
118 mA2dpNativeInterface.setCodecConfigPreference(device, codecConfigArray); in setCodecConfigPreference()
130 BluetoothCodecConfig[] codecConfigArray = assignCodecConfigPriorities(); in enableOptionalCodecs() local
131 if (codecConfigArray == null) { in enableOptionalCodecs()
136 for (int i = 0; i < codecConfigArray.length; i++) { in enableOptionalCodecs()
137 BluetoothCodecConfig codecConfig = codecConfigArray[i]; in enableOptionalCodecs()
139 codecConfigArray[i] = null; in enableOptionalCodecs()
143 mA2dpNativeInterface.setCodecConfigPreference(device, codecConfigArray); in enableOptionalCodecs()
152 BluetoothCodecConfig[] codecConfigArray = assignCodecConfigPriorities(); in disableOptionalCodecs() local
[all …]
DA2dpNativeInterface.java160 BluetoothDevice device, BluetoothCodecConfig[] codecConfigArray) { in setCodecConfigPreference() argument
161 return setCodecConfigPreferenceNative(getByteAddress(device), codecConfigArray); in setCodecConfigPreference()
259 byte[] address, BluetoothCodecConfig[] codecConfigArray); in setCodecConfigPreferenceNative() argument
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_a2dp.cpp201 JNIEnv* env, jobject /* object */, jobjectArray codecConfigArray) { in prepareCodecPreferences() argument
204 int numConfigs = env->GetArrayLength(codecConfigArray); in prepareCodecPreferences()
206 jobject jcodecConfig = env->GetObjectArrayElement(codecConfigArray, i); in prepareCodecPreferences()
253 jobjectArray codecConfigArray, in initNative() argument
297 prepareCodecPreferences(env, object, codecConfigArray); in initNative()
485 jobjectArray codecConfigArray) { in setCodecConfigPreferenceNative() argument
501 prepareCodecPreferences(env, object, codecConfigArray); in setCodecConfigPreferenceNative()
Dcom_android_bluetooth_le_audio.cpp382 JNIEnv* env, jobject /* object */, jobjectArray codecConfigArray) { in prepareCodecPreferences() argument
385 int numConfigs = env->GetArrayLength(codecConfigArray); in prepareCodecPreferences()
387 jobject jcodecConfig = env->GetObjectArrayElement(codecConfigArray, i); in prepareCodecPreferences()