Lines Matching defs:state
78 status_t AudioSystem::muteMicrophone(bool state) {
81 return af->setMicMute(state);
84 status_t AudioSystem::isMicrophoneMuted(bool* state) {
87 *state = af->getMicMute();
540 audio_policy_dev_state_t state,
552 return aps->setDeviceConnectionState(device, state, address);
564 status_t AudioSystem::setPhoneState(audio_mode_t state)
566 if (uint32_t(state) >= AUDIO_MODE_CNT) return BAD_VALUE;
570 return aps->setPhoneState(state);
729 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs)
733 if (state == NULL) return BAD_VALUE;
734 *state = aps->isStreamActive(stream, inPastMs);
738 status_t AudioSystem::isSourceActive(audio_source_t stream, bool* state)
742 if (state == NULL) return BAD_VALUE;
743 *state = aps->isSourceActive(stream);