Home
last modified time | relevance | path

Searched refs:InterruptForceType (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h76 enum InterruptForceType { enum
95 InterruptForceType forceType;
111 InterruptForceType forceType;
137 InterruptForceType forceType;
/ohos5.0/docs/zh-cn/application-dev/media/audio/
H A Daudio-playback-concurrency.md117 在音频焦点事件中,应用应重点关注两个信息:打断类型(InterruptForceType)和打断提示(InterruptHint)。
119 - 打断类型([InterruptForceType](../../reference/apis-audio-kit/js-apis-audio.md#interruptforcetype9)):
121 InterruptForceType参数提示应用该焦点变化是否已由系统强制操作:
138 此操作无法由系统强制执行,其对应的InterruptForceType一定为INTERRUPT_SHARE类型。
166 if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_FORCE) {
190 } else if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_SHARE) {
/ohos5.0/docs/zh-cn/application-dev/reference/apis-audio-kit/
H A Djs-apis-audioHaptic.md546 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
572 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
619 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
645 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
H A Djs-apis-inner-multimedia-ringtonePlayer-sys.md462 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
488 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
H A Djs-apis-audio.md622 ## InterruptForceType<sup>9+</sup>
647 可以结合InterruptEvent中的[InterruptForceType](#interruptforcetype9)信息,判断该操作是否已由系统强制执行。关于音频打断策略的详细说明可参考文档…
656 … | 1 | 提示音频恢复,应用可主动触发开始渲染或开始采集的相关操作。<br>此操作无法由系统强制执行,其对应的[InterruptForceType](#interruptf…
720 | forceType | [InterruptForceType](#interruptforcetype9) | 是 | 操作是由系统执行或是由应用程序执行。 |
7522 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
7549 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
8776 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
8793 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/
H A Daudio_focus_parser.h44 static std::map<std::string, InterruptForceType> forceMap;
/ohos5.0/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()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_focus_parser.cpp117 std::map<std::string, InterruptForceType> AudioFocusParser::forceMap = {
305 std::map<std::string, InterruptForceType>::iterator it4 = forceMap.find(isForcedStr); in AddAllowedFocusEntry()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-multimedia_api-9-canary.md12 | ohos.multimedia.audio | InterruptEvent | forceType: InterruptForceType; | 新增 |
14 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_SHARE | 新增 |
15 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_FORCE = 0 | 新增 |
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta1/
H A Djs-apidiff-multimedia.md11 | ohos.multimedia.audio | InterruptEvent | forceType: InterruptForceType; | 新增 |
13 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_SHARE | 新增 |
14 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_FORCE = 0 | 新增 |
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audioclient/test/unittest/spkclient/src/
H A Ddspeaker_client_test.cpp234 … static_cast<AudioStandard::InterruptForceType>(0), static_cast<AudioStandard::InterruptHint>(0)};
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta1/
H A Djs-apidiff-multimedia.md11 | ohos.multimedia.audio | InterruptEvent | forceType: InterruptForceType; | Added|
13 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_SHARE | Added|
14 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_FORCE = 0 | Added|
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/
H A Djs-apis-audioHaptic.md546 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
572 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
619 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
645 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
H A Djs-apis-inner-multimedia-ringtonePlayer-sys.md462 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
488 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
H A Djs-apis-audio.md623 ## InterruptForceType<sup>9+</sup>
648 …hether the operation is forcibly performed by the system based on [InterruptForceType](#interruptf…
657 …cannot be forcibly performed by the system, and the corresponding [InterruptForceType](#interruptf…
721 | forceType | [InterruptForceType](#interruptforcetype9) | Yes | Whether the interruption is taken…
7525 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
7552 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
8781 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) {
8798 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
/ohos5.0/docs/en/application-dev/media/audio/
H A Daudio-playback-concurrency.md117 …lications should pay attention to two key pieces of information: **InterruptForceType** and **Inte…
119 - [InterruptForceType](../../reference/apis-audio-kit/js-apis-audio.md#interruptforcetype9):
139 …annot be forcibly performed by the system, and the corresponding **InterruptForceType** must be **…
167 if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_FORCE) {
191 } else if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_SHARE) {
/ohos5.0/foundation/multimedia/audio_framework/test/fuzztest/audiointerruptservice_fuzzer/
H A Daudio_interrupt_service_fuzzer.cpp192 interruptEvent.forceType = *reinterpret_cast<const InterruptForceType *>(rawData); in DispatchInterruptEventWithSessionIdFuzzTest()
/ohos5.0/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyanother_fuzzer/
H A Daudio_policy_another_fuzzer.cpp261 event.forceType = *reinterpret_cast<const InterruptForceType *>(rawData); in AudioPolicyOtherFuzzTest()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_sound_normal_impl.cpp414 interruptEvent.forceType = static_cast<AudioStandard::InterruptForceType>(forceTypeValue); in HandleAudioInterruptEvent()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/player/
H A Dplayer_callback_napi.cpp271 cb->interruptEvent.forceType = AudioStandard::InterruptForceType(forceType); in OnAudioInterruptCb()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp747 InterruptForceType forceType = interruptEvent.forceType; in OnInterrupt()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp1021 InterruptForceType forceType = interruptEvent.forceType; in OnInterrupt()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_manager_stub.cpp2031 event.forceType = static_cast<InterruptForceType>(data.ReadInt32()); in InjectInterruptionInternal()
H A Daudio_policy_server.cpp1896 InterruptForceType forceType = INTERRUPT_SHARE; in InterruptOnChange()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-multimedia.md119 |新增|NA|类名:InterruptForceType;<br>方法or属性:INTERRUPT_FORCE = 0|@ohos.multimedia.audio.d.ts|
120 |新增|NA|类名:InterruptForceType;<br>方法or属性:INTERRUPT_SHARE = 1|@ohos.multimedia.audio.d.ts|
122 |新增|NA|类名:InterruptEvent;<br>方法or属性:forceType: InterruptForceType;|@ohos.multimedia.audio.d.ts|

12