Home
last modified time | relevance | path

Searched refs:forceType (Results 1 - 25 of 36) sorted by relevance

12

/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h94 InterruptForceType forceType; member
105 InterruptForceType forceType; member
130 InterruptForceType forceType; member
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/multiple_capturer_test/include/
H A Dmultiple_audio_capturer_unit_test.h37 forceType: %{public}d", interruptEvent.hintType, interruptEvent.eventType, interruptEvent.forceType);
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_capturer_callback.cpp26 event.forceType = interruptEvent.forceType; in OnInterrupt()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_focus_parser.cpp257 rejectedFocusEntry.forceType = INTERRUPT_FORCE; in AddRejectedFocusEntry()
262 AUDIO_DEBUG_LOG("actionOn: %d, hintType: %d, forceType: %d isReject: %d", in AddRejectedFocusEntry()
264 rejectedFocusEntry.forceType, rejectedFocusEntry.isReject); in AddRejectedFocusEntry()
311 allowedFocusEntry.forceType = forceMap[isForcedStr]; in AddAllowedFocusEntry()
316 AUDIO_DEBUG_LOG("actionOn: %d, hintType: %d, forceType: %d isReject: %d", in AddAllowedFocusEntry()
318 allowedFocusEntry.forceType, allowedFocusEntry.isReject); in AddAllowedFocusEntry()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_interrupt_test.cpp70 if (interruptEvent.forceType == INTERRUPT_FORCE) { in OnInterrupt()
90 } else if (interruptEvent.forceType == INTERRUPT_SHARE) { in OnInterrupt()
H A Dinterrupt_multi_renderer_test.cpp79 if (interruptEvent.forceType == INTERRUPT_FORCE) { in OnInterrupt()
99 } else if (interruptEvent.forceType == INTERRUPT_SHARE) { in OnInterrupt()
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetsys_net_diag_data.cpp67 uint8_t forceType = FORCE_TYPE_IPV4; in Unmarshalling() local
68 if (!parcel.ReadUint8(forceType)) { in Unmarshalling()
71 pingOption.forceType_ = static_cast<NetDiagForceType>(forceType); in Unmarshalling()
/foundation/multimedia/player_framework/frameworks/js/player/
H A Dplayer_callback_napi.cpp265 int32_t forceType = 0; in OnAudioInterruptCb() local
268 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_FORCE, forceType); in OnAudioInterruptCb()
271 cb->interruptEvent.forceType = AudioStandard::InterruptForceType(forceType); in OnAudioInterruptCb()
619 CommonNapi::SetPropertyInt32(ref->env_, args[0], "forceType", in OnJsCallBackInterrupt()
620 static_cast<int32_t>(event->interruptEvent.forceType)); in OnJsCallBackInterrupt()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_manager_listener_proxy.cpp39 data.WriteInt32(static_cast<int32_t>(interruptEvent.forceType)); in WriteInterruptEventParams()
/foundation/multimedia/audio_framework/services/audio_policy/client/src/
H A Daudio_policy_manager_listener_stub.cpp41 interruptEvent.forceType = static_cast<InterruptForceType>(data.ReadInt32()); in ReadInterruptEventParams()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/
H A Dringtone_player_callback_napi.cpp87 SetValueInt32(env, "forceType", static_cast<int32_t>(interruptEvent.forceType), jsObj); in NativeInterruptEventToJsObj()
/foundation/multimedia/audio_framework/frameworks/cj/include/
H A Dmultimedia_audio_ffi.h85 int32_t forceType; member
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/example/
H A Daudio_capturer_test.cpp52 forceType : %{public}d", interruptEvent.hintType, interruptEvent.eventType, interruptEvent.forceType);
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp728 InterruptEvent interruptEventForced {interruptEvent.eventType, interruptEvent.forceType, interruptEvent.hintType}; in HandleAndNotifyForcedEvent()
737 InterruptForceType forceType = interruptEvent.forceType; in OnInterrupt() local
738 AUDIO_INFO_LOG("InterruptForceType: %{public}d", forceType); in OnInterrupt()
740 if (forceType != INTERRUPT_FORCE) { // INTERRUPT_SHARE in OnInterrupt()
742 InterruptEvent interruptEventShared {interruptEvent.eventType, interruptEvent.forceType, in OnInterrupt()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp1072 InterruptEvent interruptEventForced {interruptEvent.eventType, interruptEvent.forceType, interruptEvent.hintType}; in HandleAndNotifyForcedEvent()
1081 InterruptForceType forceType = interruptEvent.forceType; in OnInterrupt() local
1086 AUDIO_INFO_LOG("sessionId: %{public}u, forceType: %{public}d, hintType: %{public}d", in OnInterrupt()
1087 sessionID_, forceType, interruptEvent.hintType); in OnInterrupt()
1089 if (forceType != INTERRUPT_FORCE) { // INTERRUPT_SHARE in OnInterrupt()
1091 InterruptEvent interruptEventShared {interruptEvent.eventType, interruptEvent.forceType, in OnInterrupt()
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/audio_haptic_player/
H A Daudio_haptic_player_callback_napi.cpp93 SetValueInt32(env, "forceType", static_cast<int32_t>(interruptEvent.forceType), jsObj); in NativeInterruptEventToJsObj()
/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp1148 int32_t forceType = 0; in OnAudioInterruptCb() local
1151 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_FORCE, forceType); in OnAudioInterruptCb()
1153 MEDIA_LOGI("OnAudioInterruptCb is called, eventType = %{public}d, forceType = %{public}d, hintType = %{public}d", in OnAudioInterruptCb()
1154 eventType, forceType, hintType); in OnAudioInterruptCb()
1157 cb->valueMap["forceType"] = forceType; in OnAudioInterruptCb()
/foundation/multimedia/player_framework/frameworks/native/capi/player/
H A Dnative_avplayer.cpp766 int32_t forceType = 0; in OnAudioInterruptCb() local
769 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_FORCE, forceType); in OnAudioInterruptCb()
771 MEDIA_LOGI("OnAudioInterruptCb is called, eventType: %{public}d, forceType: %{public}d, hintType: %{public}d", in OnAudioInterruptCb()
772 eventType, forceType, hintType); in OnAudioInterruptCb()
777 avFormat->format_.PutIntValue(OH_PLAYER_AUDIO_INTERRUPT_FORCE, forceType); in OnAudioInterruptCb()
/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyanother_fuzzer/
H A Daudio_policy_another_fuzzer.cpp261 event.forceType = *reinterpret_cast<const InterruptForceType *>(rawData); in AudioPolicyOtherFuzzTest()
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioCapturer.cpp411 OH_AudioInterrupt_ForceType type = (OH_AudioInterrupt_ForceType)(interruptEvent.forceType); in OnInterrupt()
/foundation/multimedia/av_codec/services/media_engine/modules/source/audio_capture/
H A Daudio_capture_module.cpp51 MEDIA_LOG_E("AudioCapture OnInterrupt Hint: " PUBLIC_LOG_D32 ", EventType: " PUBLIC_LOG_D32 ", forceType: "
52 PUBLIC_LOG_D32, interruptEvent.hintType, interruptEvent.eventType, interruptEvent.forceType);
/foundation/multimedia/audio_framework/test/fuzztest/audiointerruptservice_fuzzer/
H A Daudio_interrupt_service_fuzzer.cpp209 interruptEvent.forceType = *reinterpret_cast<const InterruptForceType *>(rawData); in DispatchInterruptEventWithSessionIdFuzzTest()
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_sound_normal_impl.cpp412 interruptEvent.forceType = static_cast<AudioStandard::InterruptForceType>(forceTypeValue); in HandleAudioInterruptEvent()
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Daudio_capturer_wrapper.cpp33 MEDIA_LOGI("AudioCapturerCallbackImpl OnInterrupt hintType:%{public}d, eventType:%{public}d, forceType:%{public}d", in OnInterrupt()
34 interruptEvent.hintType, interruptEvent.eventType, interruptEvent.forceType); in OnInterrupt()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/interrupt/
H A Daudio_interrupt_service.cpp908 interruptEvent.forceType = INTERRUPT_SHARE; in NotifyFocusGranted()
930 interruptEvent.forceType = INTERRUPT_SHARE; in NotifyFocusAbandoned()
1082 focusEntry.forceType = INTERRUPT_FORCE; in ProcessActiveInterrupt()
1086 InterruptEventInternal interruptEvent {INTERRUPT_TYPE_BEGIN, focusEntry.forceType, INTERRUPT_HINT_NONE, 1.0f}; in ProcessActiveInterrupt()

Completed in 29 milliseconds

12