Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioManagerShellCommand.java137 int surroundFormat = -1; in setSurroundFormatEnabled() local
140 surroundFormat = Integer.parseInt(surroundFormatText); in setSurroundFormatEnabled()
146 if (surroundFormat < 0) { in setSurroundFormatEnabled()
153 am.setSurroundFormatEnabled(surroundFormat, isSurroundFormatEnabled); in setSurroundFormatEnabled()
193 int surroundFormat = -1; in getIsSurroundFormatEnabled() local
195 surroundFormat = Integer.parseInt(surroundFormatText); in getIsSurroundFormatEnabled()
201 if (surroundFormat < 0) { in getIsSurroundFormatEnabled()
207 getOutPrintWriter().println("Value of enabled for " + surroundFormat + " is: " in getIsSurroundFormatEnabled()
208 + am.isSurroundFormatEnabled(surroundFormat)); in getIsSurroundFormatEnabled()
DAudioService.java2804 for (int surroundFormat : AudioFormat.SURROUND_SOUND_ENCODING) { in onEnableSurroundFormats()
2805 boolean enabled = enabledSurroundFormats.contains(surroundFormat); in onEnableSurroundFormats()
2806 int ret = AudioSystem.setSurroundFormatEnabled(surroundFormat, enabled); in onEnableSurroundFormats()
2807 Log.i(TAG, "enable surround format:" + surroundFormat + " " + enabled + " " + ret); in onEnableSurroundFormats()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2652 jobject surroundFormat = env->NewObject(gIntegerClass, gIntegerCstor, audioFormat); in android_media_AudioSystem_getSurroundFormats() local
2654 env->CallObjectMethod(jSurroundFormats, gMapPut, surroundFormat, enabled); in android_media_AudioSystem_getSurroundFormats()
2655 env->DeleteLocalRef(surroundFormat); in android_media_AudioSystem_getSurroundFormats()
2698 jobject surroundFormat = env->NewObject(gIntegerClass, gIntegerCstor, audioFormat); in android_media_AudioSystem_getReportedSurroundFormats() local
2699 env->CallObjectMethod(jSurroundFormats, gArrayListMethods.add, surroundFormat); in android_media_AudioSystem_getReportedSurroundFormats()
2700 env->DeleteLocalRef(surroundFormat); in android_media_AudioSystem_getReportedSurroundFormats()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1677 for (const auto &surroundFormat : surroundFormats) { in getReportedSurroundFormatsHelper() local
1678 surroundFormatsVector.push_back(surroundFormat); in getReportedSurroundFormatsHelper()