Home
last modified time | relevance | path

Searched refs:sourceID (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/
H A Daudio_haptic_manager_impl.cpp168 int32_t AudioHapticManagerImpl::UnregisterSource(const int32_t &sourceID) in UnregisterSource() argument
172 if (audioHapticPlayerMap_.count(sourceID) == 0 || audioHapticPlayerMap_[sourceID] == nullptr) { in UnregisterSource()
173 MEDIA_LOGE("UnregisterSource failed sourceID: %{public}d", sourceID); in UnregisterSource()
191 audioHapticPlayerMap_[sourceID] = nullptr; in UnregisterSource()
192 audioHapticPlayerMap_.erase(sourceID); in UnregisterSource()
194 MEDIA_LOGI("Finish to UnregisterSource. sourceId: %{public}d", sourceID); in UnregisterSource()
260 if (audioHapticPlayerMap_.count(sourceID) == 0 || audioHapticPlayerMap_[sourceID] == nullptr) { in SetStreamUsage()
268 audioHapticPlayerMap_[sourceID]->streamUsage_ = streamUsage; in SetStreamUsage()
276 if (audioHapticPlayerMap_.count(sourceID) == 0 || audioHapticPlayerMap_[sourceID] == nullptr) { in CreatePlayer()
277 MEDIA_LOGE("CreatePlayer failed for sourceID: %{public}d", sourceID); in CreatePlayer()
[all …]
H A Daudio_haptic_manager_impl.h48 int32_t UnregisterSource(const int32_t &sourceID) override;
52 …int32_t SetStreamUsage(const int32_t &sourceID, const AudioStandard::StreamUsage &streamUsage) ove…
54 std::shared_ptr<AudioHapticPlayer> CreatePlayer(const int32_t &sourceID,
/ohos5.0/foundation/multimedia/player_framework/interfaces/inner_api/native/audio_haptic/include/
H A Daudio_haptic_manager.h36 virtual int32_t UnregisterSource(const int32_t &sourceID) = 0;
38 …virtual int32_t SetAudioLatencyMode(const int32_t &sourceID, const AudioLatencyMode &latencyMode) …
40 …virtual int32_t SetStreamUsage(const int32_t &sourceID, const AudioStandard::StreamUsage &streamUs…
42 virtual std::shared_ptr<AudioHapticPlayer> CreatePlayer(const int32_t &sourceID,
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/
H A Daudio_haptic_manager_napi.cpp279 context->sourceID = context->objectInfo->audioHapticMgrClient_-> in AsyncRegisterSource()
292 napi_create_int32(env, context->sourceID, &result[PARAM1]); in RegisterSourceAsyncCallbackComp()
338 napi_get_value_int32(env, argv[PARAM0], &asyncContext->sourceID); in UnregisterSource()
424 int32_t sourceID = 0; in SetAudioLatencyMode() local
425 napi_get_value_int32(env, argv[PARAM0], &sourceID); in SetAudioLatencyMode()
442 SetAudioLatencyMode(sourceID, static_cast<AudioLatencyMode>(latencyMode)); in SetAudioLatencyMode()
493 int32_t sourceID = 0; in SetStreamUsage() local
494 napi_get_value_int32(env, argv[PARAM0], &sourceID); in SetStreamUsage()
512 SetStreamUsage(sourceID, static_cast<AudioStandard::StreamUsage>(streamUsage)); in SetStreamUsage()
572 napi_get_value_int32(env, argv[i], &asyncContext->sourceID); in CreatePlayer()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/
H A Dintercepted_data.h45 using PushDataInterceptor = std::function<int(InterceptedData &data, const std::string &sourceID,
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_general_store.cpp705 …[this, storeType](DBInterceptedData &data, const std::string &sourceID, const std::string &targetI… in SetDBPushDataInterceptor() argument
720 auto newKey = GetNewKey(oriKey, sourceID); in SetDBPushDataInterceptor()
735 …[this, storeType](DBInterceptedData &data, const std::string &sourceID, const std::string &targetI… in SetDBReceiveDataInterceptor() argument
737 …(storeType != KvStoreType::DEVICE_COLLABORATION || DMAdapter::GetInstance().IsOHOSType(sourceID)) { in SetDBReceiveDataInterceptor()
740 if (sourceID.empty()) { in SetDBReceiveDataInterceptor()
750 auto networkId = DMAdapter::GetInstance().ToNetworkID(sourceID); in SetDBReceiveDataInterceptor()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/audio_haptic/include/
H A Daudio_haptic_manager_napi.h92 int32_t sourceID; member
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/nbdelegate_fuzzer/
H A Dnbdelegate_fuzzer.cpp129 [](InterceptedData &data, const std::string &sourceID, const std::string &targetID) { in FuzzSetInterceptorTest() argument
147 [](InterceptedData &data, const std::string &sourceID, const std::string &targetID) { in FuzzSetInterceptorTest() argument
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Dsync_generic_interface.h113 virtual int InterceptData(std::vector<SingleVerKvEntry *> &entries, const std::string &sourceID, in InterceptData() argument
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_relational_ver_sync_db_interface.h93 const std::string &sourceID, const std::string &targetID, bool isPush) const override in InterceptData() argument
H A Dvirtual_single_ver_sync_db_Interface.h121 int InterceptData(std::vector<SingleVerKvEntry *> &entries, const std::string &sourceID,
H A Dvirtual_single_ver_sync_db_Interface.cpp482 const std::string &sourceID, const std::string &targetID, bool isPush) const in InterceptData() argument
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp1985 [](InterceptedData &data, const std::string &sourceID, const std::string &targetID) { in __anonb4f3bed91702() argument
2033 [](InterceptedData &data, const std::string &sourceID, const std::string &targetID) { in __anonb4f3bed91802() argument
2080 [](InterceptedData &data, const std::string &sourceID, const std::string &targetID) { in __anonb4f3bed91902() argument
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store_extend.cpp359 …rNaturalStore::InterceptData(std::vector<SingleVerKvEntry *> &entries, const std::string &sourceID, in InterceptData() argument
378 int errCode = interceptor(data, sourceID, targetID); in InterceptData()
H A Dsqlite_single_ver_natural_store.h180 int InterceptData(std::vector<SingleVerKvEntry *> &entries, const std::string &sourceID,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_sync_able_storage.h104 int InterceptData(std::vector<SingleVerKvEntry *> &entries, const std::string &sourceID,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_database_rd_kernel_test.cpp876 auto interceptorCallback = [] (InterceptedData &data, const std::string &sourceID,
H A Ddistributeddb_interfaces_database_test.cpp1487 [](InterceptedData &data, const std::string &sourceID, const std::string &targetID) { in __anonf9df31ef0502() argument
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp648 …ncAbleStorage::InterceptData(std::vector<SingleVerKvEntry *> &entries, const std::string &sourceID, in InterceptData() argument