Home
last modified time | relevance | path

Searched refs:hintType (Results 1 - 25 of 57) sorted by relevance

123

/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/
H A Drenderer_capture_interrupt_unit_test.cpp47 AudioRendererCapturerUnitTest::CaptureinterruptEventTest_.hintType = interruptEvent.hintType; in OnInterrupt()
96 EXPECT_EQ(AudioRendererCapturerUnitTest::CaptureinterruptEventTest_.hintType, INTERRUPT_HINT_NONE); in AudioInterruptUnitTestFunc()
97 AudioRendererCapturerUnitTest::CaptureinterruptEventTest_.hintType = INTERRUPT_HINT_NONE; in AudioInterruptUnitTestFunc()
126 EXPECT_EQ(AudioRendererCapturerUnitTest::CaptureinterruptEventTest_.hintType, INTERRUPT_HINT_STOP); in AudioInterruptDenyIncomingUnitTestFunc()
127 AudioRendererCapturerUnitTest::CaptureinterruptEventTest_.hintType = INTERRUPT_HINT_NONE; in AudioInterruptDenyIncomingUnitTestFunc()
H A Dcapture_renderer_interrupt_unit_test.cpp47 AudioCaptureRendererUnitTest::RendererinterruptEventTest_.hintType = interruptEvent.hintType; in OnInterrupt()
96 EXPECT_EQ(AudioCaptureRendererUnitTest::RendererinterruptEventTest_.hintType, INTERRUPT_HINT_NONE); in AudioInterruptUnitTestFunc()
97 AudioCaptureRendererUnitTest::RendererinterruptEventTest_.hintType = INTERRUPT_HINT_NONE; in AudioInterruptUnitTestFunc()
/foundation/communication/dsoftbus/core/bus_center/utils/include/
H A Dlnn_connection_addr_utils.h32 bool LnnConvertOptionToAddr(ConnectionAddr *addr, const ConnectOption *option, ConnectionAddrType hintType);
36 bool LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType);
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/interrupt/
H A Daudio_interrupt_service.cpp400 if (focusEntry.hintType == INTERRUPT_HINT_PAUSE || in IsIncomingStreamLowPriority()
401 focusEntry.hintType == INTERRUPT_HINT_STOP || in IsIncomingStreamLowPriority()
402 focusEntry.hintType == INTERRUPT_HINT_DUCK) { in IsIncomingStreamLowPriority()
412 if (focusEntry.hintType == INTERRUPT_HINT_PAUSE || in IsActiveStreamLowPriority()
413 focusEntry.hintType == INTERRUPT_HINT_STOP || in IsActiveStreamLowPriority()
414 focusEntry.hintType == INTERRUPT_HINT_DUCK) { in IsActiveStreamLowPriority()
909 interruptEvent.hintType = INTERRUPT_HINT_NONE; in NotifyFocusGranted()
931 interruptEvent.hintType = INTERRUPT_HINT_STOP; in NotifyFocusAbandoned()
988 if (focusEntry.hintType == INTERRUPT_HINT_DUCK || in UpdateHintTypeForExistingSession()
989 focusEntry.hintType in UpdateHintTypeForExistingSession()
1867 ShouldCallbackToClient(uint32_t uid, int32_t sessionId, InterruptHint hintType) ShouldCallbackToClient() argument
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_interrupt_test.cpp68 AUDIO_DEBUG_LOG("AudioInterruptTest: interrupt hintType: %{public}d", interruptEvent.hintType); in OnInterrupt()
71 switch (interruptEvent.hintType) { in OnInterrupt()
91 switch (interruptEvent.hintType) { in OnInterrupt()
H A Dinterrupt_multi_renderer_test.cpp77 AUDIO_DEBUG_LOG("InterruptMultiRendererTest: interrupt hintType: %{public}d", interruptEvent.hintType); in OnInterrupt()
80 switch (interruptEvent.hintType) { in OnInterrupt()
100 switch (interruptEvent.hintType) { in OnInterrupt()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h99 InterruptHint hintType; member
106 InterruptHint hintType; member
131 InterruptHint hintType; 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/native/audiocapturer/test/unittest/multiple_capturer_test/src/
H A Dmultiple_audio_capturer_unit_test.cpp76 EXPECT_EQ(INTERRUPT_HINT_STOP, cb2->GetInterruptEvent().hintType); in TestUnitFunc()
80 EXPECT_EQ(INTERRUPT_HINT_STOP, cb1->GetInterruptEvent().hintType); in TestUnitFunc()
91 EXPECT_EQ(INTERRUPT_HINT_STOP, cb3->GetInterruptEvent().hintType); in TestUnitFunc()
95 EXPECT_EQ(INTERRUPT_HINT_STOP, cb1->GetInterruptEvent().hintType); in TestUnitFunc()
99 EXPECT_EQ(INTERRUPT_HINT_STOP, cb2->GetInterruptEvent().hintType); in TestUnitFunc()
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_capturer_callback.cpp27 event.hintType = interruptEvent.hintType; in OnInterrupt()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/
H A Dringtone_player_callback_napi.cpp88 SetValueInt32(env, "hintType", static_cast<int32_t>(interruptEvent.hintType), jsObj); in NativeInterruptEventToJsObj()
95 MEDIA_LOGI("RingtonePlayerCallbackNapi: hintType: %{public}d", interruptEvent.hintType); in OnInterrupt()
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_interrupt_service_test/src/
H A Daudio_interrupt_unit_test.cpp421 entry.hintType = INTERRUPT_HINT_PAUSE; in HWTEST()
424 entry.hintType = INTERRUPT_HINT_STOP; in HWTEST()
427 entry.hintType = INTERRUPT_HINT_DUCK; in HWTEST()
431 entry.hintType = INTERRUPT_HINT_UNDUCK; in HWTEST()
443 entry.hintType = INTERRUPT_HINT_PAUSE; in HWTEST()
446 entry.hintType = INTERRUPT_HINT_STOP; in HWTEST()
449 entry.hintType = INTERRUPT_HINT_DUCK; in HWTEST()
452 entry.hintType = INTERRUPT_HINT_NONE; in HWTEST()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_focus_parser.cpp256 rejectedFocusEntry.hintType = INTERRUPT_HINT_STOP; in AddRejectedFocusEntry()
262 AUDIO_DEBUG_LOG("actionOn: %d, hintType: %d, forceType: %d isReject: %d", in AddRejectedFocusEntry()
263 rejectedFocusEntry.actionOn, rejectedFocusEntry.hintType, in AddRejectedFocusEntry()
310 allowedFocusEntry.hintType = actionMap[aTypeStr]; in AddAllowedFocusEntry()
316 AUDIO_DEBUG_LOG("actionOn: %d, hintType: %d, forceType: %d isReject: %d", in AddAllowedFocusEntry()
317 allowedFocusEntry.actionOn, allowedFocusEntry.hintType, in AddAllowedFocusEntry()
/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_connection_addr_utils.c110 ConnectionAddrType hintType) in LnnConvertOptionToAddr()
144 addr->type = hintType; in LnnConvertOptionToAddr()
228 ConnectionAddrType hintType) in LnnConvertAuthConnInfoToAddr()
253 addr->type = hintType; in LnnConvertAuthConnInfoToAddr()
109 LnnConvertOptionToAddr(ConnectionAddr *addr, const ConnectOption *option, ConnectionAddrType hintType) LnnConvertOptionToAddr() argument
227 LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType) LnnConvertAuthConnInfoToAddr() argument
/foundation/multimedia/player_framework/frameworks/js/player/
H A Dplayer_callback_napi.cpp266 int32_t hintType = 0; in OnAudioInterruptCb() local
269 (void)infoBody.GetIntValue(PlayerKeys::AUDIO_INTERRUPT_HINT, hintType); in OnAudioInterruptCb()
272 cb->interruptEvent.hintType = AudioStandard::InterruptHint(hintType); in OnAudioInterruptCb()
621 CommonNapi::SetPropertyInt32(ref->env_, args[0], "hintType", in OnJsCallBackInterrupt()
622 static_cast<int32_t>(event->interruptEvent.hintType)); in OnJsCallBackInterrupt()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_manager_listener_proxy.cpp40 data.WriteInt32(static_cast<int32_t>(interruptEvent.hintType)); in WriteInterruptEventParams()
/foundation/multimedia/audio_framework/services/audio_policy/client/src/
H A Daudio_policy_manager_listener_stub.cpp42 interruptEvent.hintType = static_cast<InterruptHint>(data.ReadInt32()); in ReadInterruptEventParams()
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/audio_haptic_player/
H A Daudio_haptic_player_callback_napi.cpp94 SetValueInt32(env, "hintType", static_cast<int32_t>(interruptEvent.hintType), jsObj); in NativeInterruptEventToJsObj()
100 MEDIA_LOGI("OnInterrupt: hintType: %{public}d for js", interruptEvent.hintType); in OnInterrupt()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/src/
H A Dcast_stream_player.cpp188 auto hintType = AudioStandard::InterruptHint(hintTypeInt32); in HandleInterruptEvent() local
189 CLOGI("HandleInterruptEvent, InterruptHintType = %{public}d", static_cast<int32_t>(hintType)); in HandleInterruptEvent()
195 if (hintType == AudioStandard::InterruptHint::INTERRUPT_HINT_PAUSE) { in HandleInterruptEvent()
200 } else if (hintType == AudioStandard::InterruptHint::INTERRUPT_HINT_RESUME) { in HandleInterruptEvent()
205 } else if (hintType == AudioStandard::InterruptHint::INTERRUPT_HINT_STOP) { in HandleInterruptEvent()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/src/
H A Dcast_stream_player.cpp188 auto hintType = AudioStandard::InterruptHint(hintTypeInt32); in HandleInterruptEvent() local
189 CLOGI("HandleInterruptEvent, InterruptHintType = %{public}d", static_cast<int32_t>(hintType)); in HandleInterruptEvent()
195 if (hintType == AudioStandard::InterruptHint::INTERRUPT_HINT_PAUSE) { in HandleInterruptEvent()
200 } else if (hintType == AudioStandard::InterruptHint::INTERRUPT_HINT_RESUME) { in HandleInterruptEvent()
205 } else if (hintType == AudioStandard::InterruptHint::INTERRUPT_HINT_STOP) { in HandleInterruptEvent()
/foundation/graphic/graphic_surface/surface/test/fuzztest/surface_fuzzer/
H A Dsurface_fuzzer.cpp159 GraphicTransformType hintType = GetData<GraphicTransformType>(); in SurfaceFuzzTest3() local
160 cSurface->SetTransformHint(hintType); in SurfaceFuzzTest3()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Daudio_capturer_extra_plus_unit_test.cpp51 state_ = interruptEvent.hintType;
/foundation/multimedia/audio_framework/frameworks/cj/include/
H A Dmultimedia_audio_ffi.h86 int32_t hintType; 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/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_builder_deps_mock.cpp190 bool LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType) in LnnConvertAuthConnInfoToAddr() argument
192 return GetNetBuilderDepsInterface()->LnnConvertAuthConnInfoToAddr(addr, connInfo, hintType); in LnnConvertAuthConnInfoToAddr()

Completed in 23 milliseconds

123