/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/ |
H A D | renderer_capture_interrupt_unit_test.cpp | 47 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 D | capture_renderer_interrupt_unit_test.cpp | 47 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 D | lnn_connection_addr_utils.h | 32 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 D | audio_interrupt_service.cpp | 400 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 D | audio_interrupt_test.cpp | 68 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 D | interrupt_multi_renderer_test.cpp | 77 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 D | audio_interrupt_info.h | 99 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 D | multiple_audio_capturer_unit_test.h | 37 forceType: %{public}d", interruptEvent.hintType, interruptEvent.eventType, interruptEvent.forceType);
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/multiple_capturer_test/src/ |
H A D | multiple_audio_capturer_unit_test.cpp | 76 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 D | multimedia_audio_capturer_callback.cpp | 27 event.hintType = interruptEvent.hintType; in OnInterrupt()
|
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/ |
H A D | ringtone_player_callback_napi.cpp | 88 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 D | audio_interrupt_unit_test.cpp | 421 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 D | audio_focus_parser.cpp | 256 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 D | lnn_connection_addr_utils.c | 110 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 D | player_callback_napi.cpp | 266 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 D | audio_policy_manager_listener_proxy.cpp | 40 data.WriteInt32(static_cast<int32_t>(interruptEvent.hintType)); in WriteInterruptEventParams()
|
/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_policy_manager_listener_stub.cpp | 42 interruptEvent.hintType = static_cast<InterruptHint>(data.ReadInt32()); in ReadInterruptEventParams()
|
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/audio_haptic_player/ |
H A D | audio_haptic_player_callback_napi.cpp | 94 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 D | cast_stream_player.cpp | 188 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 D | cast_stream_player.cpp | 188 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 D | surface_fuzzer.cpp | 159 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 D | audio_capturer_extra_plus_unit_test.cpp | 51 state_ = interruptEvent.hintType;
|
/foundation/multimedia/audio_framework/frameworks/cj/include/ |
H A D | multimedia_audio_ffi.h | 86 int32_t hintType; member
|
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/example/ |
H A D | audio_capturer_test.cpp | 52 forceType : %{public}d", interruptEvent.hintType, interruptEvent.eventType, interruptEvent.forceType);
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder_deps_mock.cpp | 190 bool LnnConvertAuthConnInfoToAddr(ConnectionAddr *addr, const AuthConnInfo *connInfo, ConnectionAddrType hintType) in LnnConvertAuthConnInfoToAddr() argument 192 return GetNetBuilderDepsInterface()->LnnConvertAuthConnInfoToAddr(addr, connInfo, hintType); in LnnConvertAuthConnInfoToAddr()
|