Searched refs:soundId (Results 1 - 10 of 10) sorted by relevance
/foundation/multimedia/player_framework/frameworks/js/soundpool/include/ |
H A D | soundpool_callback_napi.h | 42 void SendLoadCompletedCallback(int32_t soundId); 46 void OnLoadCompleted(int32_t soundId) override;
|
/foundation/multimedia/player_framework/test/unittest/soundpool_test/src/ |
H A D | soundpool_mock.cpp | 28 void SoundPoolCallbackTest::OnLoadCompleted(int32_t soundId) in OnLoadCompleted() argument 30 cout << "OnLoadCompleted soundId:" << soundId << ", haveLoadedSoundNumInner_: "<< haveLoadedSoundNumInner_ << endl; in OnLoadCompleted()
|
H A D | soundpool_unit_test.cpp | 47 for (auto soundId : soundIDs_) { in TearDown() 48 if (soundId != 0) { in TearDown() 49 soundId = 0; in TearDown() 247 cout << "Get soundId failed, please try to get soundId: " << soundIDs_[loadNum_] << endl; in HWTEST_F() 395 cout << "Get soundId failed, please try to get soundId: " << soundIDs_[loadNum_] << endl; in HWTEST_F() 495 // test UnLoad a invalid-path return soundId in HWTEST_F() 622 cout << "Get soundId failed, please try to get soundId in HWTEST_F() [all...] |
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_callback_napi.cpp | 34 void SoundPoolCallBackNapi::OnLoadCompleted(int32_t soundId) in OnLoadCompleted() argument 36 MEDIA_LOGI("OnLoadCompleted recived soundId:%{public}d", soundId); in OnLoadCompleted() 37 SendLoadCompletedCallback(soundId); in OnLoadCompleted() 102 void SoundPoolCallBackNapi::SendLoadCompletedCallback(int32_t soundId) in SendLoadCompletedCallback() argument 114 cb->loadSoundId = soundId; in SendLoadCompletedCallback()
|
H A D | soundpool_napi.cpp | 195 int32_t soundId; in JsLoad() 197 soundId = asyncCtx->soundPool_->Load(asyncCtx->fd_, asyncCtx->offset_, asyncCtx->length_); in JsLoad() 199 soundId = asyncCtx->soundPool_->Load(asyncCtx->url_); in JsLoad() 201 if (soundId < 0) { in JsLoad() 204 asyncCtx->JsResult = std::make_unique<MediaJsResultInt>(soundId); in JsLoad() 206 MEDIA_LOGI("The js thread of load finishes execution and returns, soundId: %{public}d", soundId); in JsLoad() 745 (asyncCtx->SoundPoolAsyncSignError(MSERR_INVALID_VAL, "getplaysoundId", "soundId"), MSERR_INVALID_VAL)); in ParserPlayOptionFromJs()
|
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolplaystop_fuzzer/ |
H A D | soundpoolplaystop_fuzzer.cpp | 72 cout << "Get soundId failed, please try to get soundId." << endl;
in FuzzSoundPoolPlay() 74 int32_t soundId = *reinterpret_cast<int32_t *>(data);
in FuzzSoundPoolPlay() local 75 TestSoundPool::Play(soundId, playParameters);
in FuzzSoundPoolPlay() 127 cout << "Get soundId failed, please try to get soundId." << endl;
in FuzzSoundPoolStop()
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/soundpool/include/ |
H A D | isoundpool.h | 178 * @param result used to listen for loaded soundId event 182 virtual void OnLoadCompleted(int32_t soundId) = 0;
|
/foundation/multimedia/player_framework/frameworks/native/audio_haptic/ |
H A D | audio_haptic_sound_low_latency_impl.h | 83 void OnLoadCompleted(int32_t soundId) override;
|
H A D | audio_haptic_sound_low_latency_impl.cpp | 310 void AHSoundLowLatencyCallback::OnLoadCompleted(int32_t soundId) in OnLoadCompleted() argument
|
/foundation/multimedia/player_framework/test/unittest/soundpool_test/include/ |
H A D | soundpool_mock.h | 94 void OnLoadCompleted(int32_t soundId) override;
|
Completed in 6 milliseconds