Searched refs:surroundFormat (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioManagerShellCommand.java | 85 int surroundFormat = -1; in setSurroundFormatEnabled() local 88 surroundFormat = Integer.parseInt(surroundFormatText); in setSurroundFormatEnabled() 94 if (surroundFormat < 0) { in setSurroundFormatEnabled() 101 am.setSurroundFormatEnabled(surroundFormat, isSurroundFormatEnabled); in setSurroundFormatEnabled() 113 int surroundFormat = -1; in getIsSurroundFormatEnabled() local 115 surroundFormat = Integer.parseInt(surroundFormatText); in getIsSurroundFormatEnabled() 121 if (surroundFormat < 0) { in getIsSurroundFormatEnabled() 127 getOutPrintWriter().println("Value of enabled for " + surroundFormat + " is: " in getIsSurroundFormatEnabled() 128 + am.isSurroundFormatEnabled(surroundFormat)); in getIsSurroundFormatEnabled()
|
H A D | AudioService.java | 2608 for (int surroundFormat : AudioFormat.SURROUND_SOUND_ENCODING) { in onEnableSurroundFormats() 2609 boolean enabled = enabledSurroundFormats.contains(surroundFormat); in onEnableSurroundFormats() 2610 int ret = AudioSystem.setSurroundFormatEnabled(surroundFormat, enabled); in onEnableSurroundFormats() 2611 Log.i(TAG, "enable surround format:" + surroundFormat + " " + enabled + " " + ret); in onEnableSurroundFormats()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 2517 jobject surroundFormat = env->NewObject(gIntegerClass, gIntegerCstor, audioFormat); in android_media_AudioSystem_getSurroundFormats() local 2519 env->CallObjectMethod(jSurroundFormats, gMapPut, surroundFormat, enabled); in android_media_AudioSystem_getSurroundFormats() 2520 env->DeleteLocalRef(surroundFormat); in android_media_AudioSystem_getSurroundFormats() 2563 jobject surroundFormat = env->NewObject(gIntegerClass, gIntegerCstor, audioFormat); in android_media_AudioSystem_getReportedSurroundFormats() local 2564 env->CallObjectMethod(jSurroundFormats, gArrayListMethods.add, surroundFormat); in android_media_AudioSystem_getReportedSurroundFormats() 2565 env->DeleteLocalRef(surroundFormat); in android_media_AudioSystem_getReportedSurroundFormats()
|