Searched refs:valueInt (Results 1 – 2 of 2) sorted by relevance
615 int valueInt = static_cast<int>(reinterpret_cast<uintptr_t>(value)); in setParameter() local624 static_cast<audio_channel_mask_t>(valueInt); in setParameter()645 audio_format_t format = static_cast<audio_format_t>(valueInt); in setParameter()659 audio_format_t format = static_cast<audio_format_t>(valueInt); in setParameter()667 static_cast<audio_channel_mask_t>(valueInt); in setParameter()681 ALOG_ASSERT(valueInt > 0, "bad sample rate %d", valueInt); in setParameter()682 if (track.setResampler(uint32_t(valueInt), mSampleRate)) { in setParameter()684 uint32_t(valueInt)); in setParameter()
3749 int valueInt; in AudioPolicyManager() local3758 if (param.getInt(String8("test_cmd_policy"), valueInt) == NO_ERROR && in AudioPolicyManager()3759 valueInt != 0) { in AudioPolicyManager()3765 if (param.getInt(String8("test_cmd_policy_output"), valueInt) == NO_ERROR) { in AudioPolicyManager()3767 mCurOutput = valueInt; in AudioPolicyManager()3777 if (param.getInt(String8("test_cmd_policy_input"), valueInt) == NO_ERROR) { in AudioPolicyManager()3779 mTestInput = valueInt; in AudioPolicyManager()3821 if (param.getInt(String8("test_cmd_policy_sampleRate"), valueInt) == NO_ERROR) { in AudioPolicyManager()3823 if (valueInt >= 0 && valueInt <= 96000) { in AudioPolicyManager()3824 int samplingRate = valueInt; in AudioPolicyManager()