Home
last modified time | relevance | path

Searched refs:capturerState (Results 1 - 15 of 15) sorted by relevance

/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_stream_tracker.cpp54 streamChangeInfo.audioCapturerChangeInfo.capturerState = static_cast<CapturerState>(registerTrackerInfo.state); in RegisterTracker()
87 streamChangeInfo.audioCapturerChangeInfo.capturerState = static_cast<CapturerState>(state); in UpdateTracker()
118 streamChangeInfo.audioCapturerChangeInfo.capturerState = static_cast<CapturerState>(state); in FetchInputDeviceForTrack()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_stream_collector.cpp216 streamChangeInfo.audioCapturerChangeInfo.capturerState}); in AddCapturerStream()
230 capturerChangeInfo->capturerState = streamChangeInfo.audioCapturerChangeInfo.capturerState; in AddCapturerStream()
331 capturerChangeInfo->capturerState = streamChangeInfo.audioCapturerChangeInfo.capturerState; in SetCapturerStreamParam()
358 (*it)->capturerState != CAPTURER_RUNNING) { in ResetCapturerStreamDeviceInfo()
477 streamChangeInfo.audioCapturerChangeInfo.clientUID, streamChangeInfo.audioCapturerChangeInfo.capturerState, in UpdateCapturerStream()
482 if (streamChangeInfo.audioCapturerChangeInfo.capturerState == in UpdateCapturerStream()
496 streamChangeInfo.audioCapturerChangeInfo.capturerState; in UpdateCapturerStream()
515 if (streamChangeInfo.audioCapturerChangeInfo.capturerState in UpdateCapturerStream()
[all...]
H A Daudio_policy_server.cpp2077 if (info->appTokenId == targetTokenId && info->capturerState == CAPTURER_RUNNING) {
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/stream_manager_test/src/
H A Daudio_stream_manager_unit_test.cpp984 EXPECT_EQ(1, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1031 EXPECT_EQ(2, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1070 EXPECT_EQ(5, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1104 EXPECT_EQ(3, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1172 EXPECT_EQ(2, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1216 AUDIO_DEBUG_LOG("capturerState = %{public}d", audioCapturerChangeInfo.capturerState); in HWTEST_F()
1247 EXPECT_EQ(2, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1283 EXPECT_EQ(2, audioCapturerChangeInfos[0]->capturerState); in HWTEST_F()
1336 EXPECT_EQ(1, g_audioCapturerChangeInfosRcvd[0]->capturerState); in HWTEST_F()
[all...]
/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Drecorder.h385 int32_t capturerState; member in OHOS::Media::AudioRecorderChangeInfo
402 && parcel.WriteInt32(capturerState) in Marshalling()
413 capturerState = parcel.ReadInt32(); in Unmarshalling()
/foundation/multimedia/audio_framework/frameworks/native/opensles/src/adapter/
H A Daudiocapturer_adapter.cpp117 CapturerState capturerState = audioCapturer->GetStatus(); in GetCaptureStateAdapter() local
118 switch (capturerState) { in GetCaptureStateAdapter()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_info.h862 CapturerState capturerState; member in OHOS::AudioStandard::AudioCapturerChangeInfo
881 && parcel.WriteInt32(static_cast<int32_t>(capturerState)) in Marshalling()
895 && parcel.WriteInt32(hasSystemPermission ? static_cast<int32_t>(capturerState) : CAPTURER_INVALID) in Marshalling()
909 capturerState = static_cast<CapturerState>(parcel.ReadInt32()); in Unmarshalling()
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioCapturer.cpp97 OHOS::AudioStandard::CapturerState capturerState = audioCapturer->GetCurrentState(); in OH_AudioCapturer_GetCurrentState() local
98 *state = (OH_AudioStream_State)capturerState; in OH_AudioCapturer_GetCurrentState()
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/
H A Dhirecorder_impl.cpp891 audioRecorderChangeInfo.capturerState = capturerChangeInfo.capturerState; in ConvertCapturerChangeInfo()
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyservicemore_fuzzer/
H A Daudio_policy_service_more_fuzzer.cpp340 capturerChangeInfo->capturerState = CAPTURER_PREPARED; in AudioPolicyServiceTestII()
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_mock.cpp89 cout<< "AudioCaptureChange" << audioRecorderChangeInfo.capturerState << endl; in OnAudioCaptureChange()
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_callback.cpp444 setRet = CommonNapi::SetPropertyInt32(env, result, "capturerState", value_.capturerState); in GetJsResult()
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/
H A Dnapi_audio_capturer.cpp784 int32_t capturerState = napiAudioCapturer->audioCapturer_->GetStatus(); in GetState() local
786 napi_status status = NapiParamUtils::SetValueInt32(env, capturerState, result); in GetState()
787 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "SetValueInt32 capturerState fail"); in GetState()
/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_param_utils.cpp639 SetValueInt32(env, "capturerState", static_cast<int32_t>(changeInfo.capturerState), result); in SetAudioCapturerChangeInfoDescriptors()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp3054 (sourceType != SOURCE_TYPE_VIRTUAL_CAPTURE && capturerChangeInfo->capturerState != CAPTURER_RUNNING)) { in FetchInputDevice()
4149 if ((*it)->capturerState == CAPTURER_RUNNING) { in OnBlockedStatusUpdated()
5490 audioCapturerChangeInfos->capturerState = CAPTURER_INVALID; in UpdateCapturerInfoWhenNoPermission()
5622 (streamChangeInfo.audioCapturerChangeInfo.capturerState == CAPTURER_RELEASED || in HandleAudioCaptureState()
5623 streamChangeInfo.audioCapturerChangeInfo.capturerState == CAPTURER_STOPPED)) { in HandleAudioCaptureState()

Completed in 38 milliseconds