Home
last modified time | relevance | path

Searched refs:valueInt (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware_legacy/audio/
DAudioDumpInterface.cpp193 int valueInt; in setParameters() local
354 int valueInt; in setParameters() local
357 if (param.getInt(String8("set_id"), valueInt) == NO_ERROR) { in setParameters()
358 mId = valueInt; in setParameters()
361 if (param.getInt(String8("format"), valueInt) == NO_ERROR) { in setParameters()
363 mFormat = valueInt; in setParameters()
368 if (param.getInt(String8("channels"), valueInt) == NO_ERROR) { in setParameters()
369 … if (valueInt == AudioSystem::CHANNEL_OUT_STEREO || valueInt == AudioSystem::CHANNEL_OUT_MONO) { in setParameters()
370 mChannels = valueInt; in setParameters()
375 if (param.getInt(String8("sampling_rate"), valueInt) == NO_ERROR) { in setParameters()
[all …]
DAudioPolicyManagerBase.cpp1684 int valueInt; in threadLoop() local
1693 if (param.getInt(String8("test_cmd_policy"), valueInt) == NO_ERROR && in threadLoop()
1694 valueInt != 0) { in threadLoop()
1700 if (param.getInt(String8("test_cmd_policy_output"), valueInt) == NO_ERROR) { in threadLoop()
1702 mCurOutput = valueInt; in threadLoop()
1712 if (param.getInt(String8("test_cmd_policy_input"), valueInt) == NO_ERROR) { in threadLoop()
1714 mTestInput = valueInt; in threadLoop()
1756 if (param.getInt(String8("test_cmd_policy_sampleRate"), valueInt) == NO_ERROR) { in threadLoop()
1758 if (valueInt >= 0 && valueInt <= 96000) { in threadLoop()
1759 int samplingRate = valueInt; in threadLoop()