Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java527 final String[] deviceAddresses = new String[devices.size()]; in setUserIdDeviceAffinity() local
536 deviceAddresses[i] = device.getAddress(); in setUserIdDeviceAffinity()
542 userId, deviceTypes, deviceAddresses); in setUserIdDeviceAffinity()
/frameworks/base/media/java/android/media/
DIAudioService.aidl289 in String[] deviceAddresses); in setUidDeviceAffinity() argument
294 in String[] deviceAddresses); in setUserIdDeviceAffinity() argument
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp343 jobjectArray deviceAddresses, in getVectorOfAudioDeviceTypeAddr() argument
345 if (deviceTypes == nullptr || deviceAddresses == nullptr) { in getVectorOfAudioDeviceTypeAddr()
349 if (deviceCount == 0 || deviceCount != env->GetArrayLength(deviceAddresses)) { in getVectorOfAudioDeviceTypeAddr()
365 jobject addrJobj = env->GetObjectArrayElement(deviceAddresses, i); in getVectorOfAudioDeviceTypeAddr()
2171 jint uid, jintArray deviceTypes, jobjectArray deviceAddresses) { in android_media_AudioSystem_setUidDeviceAffinities() argument
2173 jint results = getVectorOfAudioDeviceTypeAddr(env, deviceTypes, deviceAddresses, deviceVector); in android_media_AudioSystem_setUidDeviceAffinities()
2189 jobjectArray deviceAddresses) { in android_media_AudioSystem_setUserIdDeviceAffinities() argument
2191 jint results = getVectorOfAudioDeviceTypeAddr(env, deviceTypes, deviceAddresses, deviceVector); in android_media_AudioSystem_setUserIdDeviceAffinities()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java9467 @NonNull int[] deviceTypes, @NonNull String[] deviceAddresses) { in setUidDeviceAffinity() argument
9477 if (!app.hasMixRoutedToDevices(deviceTypes, deviceAddresses)) { in setUidDeviceAffinity()
9480 return app.setUidDeviceAffinities(uid, deviceTypes, deviceAddresses); in setUidDeviceAffinity()
9486 @NonNull int[] deviceTypes, @NonNull String[] deviceAddresses) { in setUserIdDeviceAffinity() argument
9497 if (!app.hasMixRoutedToDevices(deviceTypes, deviceAddresses)) { in setUserIdDeviceAffinity()
9500 return app.setUserIdDeviceAffinities(userId, deviceTypes, deviceAddresses); in setUserIdDeviceAffinity()
9940 @NonNull String[] deviceAddresses) { in hasMixRoutedToDevices() argument
9946 if (mix.isRoutedToDevice(deviceTypes[i], deviceAddresses[i])) { in hasMixRoutedToDevices()