/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_event_target.cpp | 203 sptr<JsUtil::CallbackInfo> cb(static_cast<JsUtil::CallbackInfo *>(work->data)); in CallIdsAsyncWork() 205 cb->DecStrongRef(nullptr); in CallIdsAsyncWork() 206 CHKPV(cb->env); in CallIdsAsyncWork() 208 napi_open_handle_scope(cb->env, &scope); in CallIdsAsyncWork() 211 CHKRV_SCOPE(cb->env, napi_get_undefined(cb->env, &arr[0]), GET_UNDEFINED, scope); in CallIdsAsyncWork() 212 CHKRV_SCOPE(cb->env, napi_create_array(cb->env, &arr[1]), CREATE_ARRAY, scope); in CallIdsAsyncWork() 215 for (const auto &item : cb->data.ids) { in CallIdsAsyncWork() 216 CHKRV_SCOPE(cb in CallIdsAsyncWork() 259 EmitJsIds(sptr<JsUtil::CallbackInfo> cb, std::vector<int32_t> &ids) EmitJsIds() argument 362 EmitJsDev(sptr<JsUtil::CallbackInfo> cb, std::shared_ptr<InputDevice> device) EmitJsDev() argument 521 EmitSupportKeys(sptr<JsUtil::CallbackInfo> cb, std::vector<bool> &keystrokeAbility) EmitSupportKeys() argument 556 EmitJsKeyboardType(sptr<JsUtil::CallbackInfo> cb, int32_t keyboardType) EmitJsKeyboardType() argument 887 EmitJsSetKeyboardRepeatDelay(sptr<JsUtil::CallbackInfo> cb, int32_t errCode) EmitJsSetKeyboardRepeatDelay() argument 923 EmitJsKeyboardRepeatDelay(sptr<JsUtil::CallbackInfo> cb, int32_t delay) EmitJsKeyboardRepeatDelay() argument 1058 EmitJsSetKeyboardRepeatRate(sptr<JsUtil::CallbackInfo> cb, int32_t errCode) EmitJsSetKeyboardRepeatRate() argument 1094 EmitJsKeyboardRepeatRate(sptr<JsUtil::CallbackInfo> cb, int32_t rate) EmitJsKeyboardRepeatRate() argument 1306 CreateCallbackInfo(napi_env env, napi_value handle, sptr<JsUtil::CallbackInfo> cb) CreateCallbackInfo() argument 1320 EmitJsGetIntervalSinceLastInput(sptr<JsUtil::CallbackInfo> cb, int64_t timeInterval) EmitJsGetIntervalSinceLastInput() argument [all...] |
H A D | js_util.cpp | 77 napi_value JsUtil::GetDeviceInfo(sptr<CallbackInfo> cb) in GetDeviceInfo() argument 79 CHKPP(cb); in GetDeviceInfo() 80 CHKPP(cb->env); in GetDeviceInfo() 81 CHKPP(cb->data.device); in GetDeviceInfo() 83 CHKRP(napi_create_object(cb->env, &object), CREATE_OBJECT); in GetDeviceInfo() 85 CHKRP(napi_create_int32(cb->env, cb->data.device->GetId(), &id), CREATE_INT32); in GetDeviceInfo() 87 CHKRP(napi_create_string_utf8(cb->env, (cb->data.device->GetName()).c_str(), in GetDeviceInfo() 89 CHKRP(napi_set_named_property(cb in GetDeviceInfo() 123 GetDeviceAxisInfo(sptr<CallbackInfo> cb, napi_value &object) GetDeviceAxisInfo() argument 180 GetDeviceSourceType(sptr<CallbackInfo> cb, napi_value &object) GetDeviceSourceType() argument [all...] |
H A D | js_input_device_manager.cpp | 42 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDeviceIds() local 43 CHKPP(cb); in GetDeviceIds() 44 napi_value ret = CreateCallbackInfo(env, handle, cb); in GetDeviceIds() 45 auto callback = [cb] (std::vector<int32_t> &ids) { return EmitJsIds(cb, ids); }; in GetDeviceIds() 53 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); in GetDevice() local 54 CHKPP(cb); in GetDevice() 55 napi_value ret = CreateCallbackInfo(env, handle, cb); in GetDevice() 56 auto callback = [cb] (std::shared_ptr<InputDevice> device) { return EmitJsDev(cb, devic in GetDevice() 65 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); SupportKeys() local 104 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetKeyboardType() local 141 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetDeviceList() local 152 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetDeviceInfo() local 163 GetDeviceInfoSyncCallback(napi_env env, napi_value* result, sptr<JsUtil::CallbackInfo> cb, std::shared_ptr<InputDevice> inputDevice) GetDeviceInfoSyncCallback() argument 183 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetDeviceInfoSync() local 200 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); SetKeyboardRepeatDelay() local 214 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); SetKeyboardRepeatRate() local 228 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetKeyboardRepeatDelay() local 242 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetKeyboardRepeatRate() local 256 sptr<JsUtil::CallbackInfo> cb = new (std::nothrow) JsUtil::CallbackInfo(); GetIntervalSinceLastInput() local [all...] |
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | mdns_manager.cpp | 46 int32_t MDnsManager::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService() argument 49 if (cb == nullptr || cb->AsObject() == nullptr) { in RegisterService() 60 impl.AddTask([this, cb, serviceInfo, err]() { in RegisterService() 61 cb->HandleRegisterResult(serviceInfo, err); in RegisterService() 67 registerMap_.emplace(cb, serviceInfo.name + MDNS_DOMAIN_SPLITER_STR + serviceInfo.type); in RegisterService() 72 int32_t MDnsManager::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService() argument 75 if (cb == nullptr || cb->AsObject() == nullptr) { in UnRegisterService() 81 auto itr = registerMap_.find(cb); in UnRegisterService() 94 StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) StartDiscoverService() argument 120 StopDiscoverService(const sptr<IDiscoveryCallback> &cb) StopDiscoverService() argument 145 auto cb = it.first; RestartDiscoverService() local 156 ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb) ResolveService() argument 180 IsAvailableCallback(const sptr<IDiscoveryCallback> &cb) IsAvailableCallback() argument [all...] |
/foundation/multimedia/player_framework/frameworks/native/video_editor/test/unittest/codec/video/decoder/ |
H A D | video_decoder_engine_impl_test.cpp | 56 auto cb = std::make_shared<VideoDecodeCallbackTester>(); in HWTEST_F() local 57 auto engine = std::make_shared<VideoDecoderEngineImpl>(12345, 50, cb); in HWTEST_F() 60 EXPECT_EQ(engine->cb_.lock(), cb); in HWTEST_F() 66 auto cb = std::make_shared<VideoDecodeCallbackTester>(); in HWTEST_F() local 67 auto engine = std::make_shared<VideoDecoderEngineImpl>(12345, 50, cb); in HWTEST_F() 74 auto cb = std::make_shared<VideoDecodeCallbackTester>(); in HWTEST_F() local 75 auto engine = std::make_shared<VideoDecoderEngineImpl>(12345, 50, cb); in HWTEST_F() 82 auto cb = std::make_shared<VideoDecodeCallbackTester>(); in HWTEST_F() local 83 auto engine = std::make_shared<VideoDecoderEngineImpl>(12345, 50, cb); in HWTEST_F() 90 auto cb in HWTEST_F() local 98 auto cb = std::make_shared<VideoDecodeCallbackTester>(); HWTEST_F() local 106 auto cb = std::make_shared<VideoDecodeCallbackTester>(); HWTEST_F() local 116 auto cb = std::make_shared<VideoDecodeCallbackTester>(); HWTEST_F() local 126 auto cb = std::make_shared<VideoDecodeCallbackTester>(); HWTEST_F() local 136 auto cb = std::make_shared<VideoDecodeCallbackTester>(); HWTEST_F() local [all...] |
/foundation/multimedia/player_framework/test/unittest/soundpool_test/src/ |
H A D | soundpool_unit_test.cpp | 123 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); in HWTEST_F() local 124 int32_t ret = soundPool_->SetSoundPoolCallback(cb); in HWTEST_F() 136 if (cb == nullptr) { in HWTEST_F() 137 cout << "Invalid cb to get loaded sound num." << endl; in HWTEST_F() 141 if (cb->GetHaveLoadedSoundNum() == 4) { in HWTEST_F() 142 cout << "All sound loaded url break. loaded sound num = " << cb->GetHaveLoadedSoundNum() << endl; in HWTEST_F() 143 cb->ResetHaveLoadedSoundNum(); in HWTEST_F() 161 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); in HWTEST_F() local 162 int32_t ret = soundPool_->SetSoundPoolCallback(cb); in HWTEST_F() 176 if (cb in HWTEST_F() 221 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 268 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 306 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 366 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 416 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 458 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 514 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 539 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 589 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 643 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 672 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 701 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 747 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 797 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 851 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 908 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 942 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 993 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1043 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1093 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1143 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1198 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1253 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1306 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1360 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1415 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1465 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1517 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1566 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1615 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1672 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1726 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1781 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1860 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1893 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local 1944 std::shared_ptr<SoundPoolCallbackTest> cb = std::make_shared<SoundPoolCallbackTest>(soundPool_); HWTEST_F() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/ |
H A D | l2cap_le_if.c | 30 void (*cb)(uint16_t lpsm, int result); member 41 if (ctx->cb != NULL) { in L2cifLeRegisterService() 42 ctx->cb(ctx->lpsm, result); in L2cifLeRegisterService() 50 uint16_t lpsm, const L2capLeService *svc, void *context, void (*cb)(uint16_t lpsm, int result)) in L2CIF_LeRegisterService() 66 ctx->cb = cb; in L2CIF_LeRegisterService() 74 void (*cb)(uint16_t lpsm, int result); member 85 if (ctx->cb != NULL) { in L2cifLeDeregisterService() 86 ctx->cb(ctx->lpsm, result); in L2cifLeDeregisterService() 93 void L2CIF_LeDeregisterService(uint16_t lpsm, void (*cb)(uint16_ 115 void (*cb)(const BtAddr *addr, uint16_t lcid, int result); global() member 164 void (*cb)(uint16_t lcid, int result); global() member 209 void (*cb)(uint16_t lcid, int result); global() member 248 void (*cb)(uint16_t lcid, int result); global() member 288 void (*cb)(uint16_t lcid, int result); global() member 342 void (*cb)(uint16_t cid, int result); global() member 384 void (*cb)(uint16_t cid, int result); global() member 423 void (*cb)(const BtAddr *addr, int result); global() member 503 void (*cb)(uint16_t aclHandle, int result); global() member 543 void (*cb)(uint16_t aclHandle, int result); global() member 601 L2capLeConnectionParameterUpdate cb; global() member 617 L2CIF_LeRegisterConnectionParameterUpdate(const L2capLeConnectionParameterUpdate *cb, void *context) L2CIF_LeRegisterConnectionParameterUpdate() argument 652 void (*cb)(uint16_t aclHandle, int result); global() member 696 void (*cb)(uint16_t aclHandle, int result); global() member [all...] |
H A D | l2cap_if.c | 34 void (*cb)(uint16_t lpsm, int result); member 45 if (ctx->cb != NULL) { in L2cifRegisterService() 46 ctx->cb(ctx->lpsm, result); in L2cifRegisterService() 53 int L2CIF_RegisterService(uint16_t lpsm, const L2capService *svc, void *context, void (*cb)(uint16_t lpsm, int result)) in L2CIF_RegisterService() 69 ctx->cb = cb; in L2CIF_RegisterService() 77 void (*cb)(uint16_t lpsm, int result); member 88 if (ctx->cb != NULL) { in L2cifDeregisterService() 89 ctx->cb(ctx->lpsm, result); in L2cifDeregisterService() 96 void L2CIF_DeregisterService(uint16_t lpsm, void (*cb)(uint16_ 118 void (*cb)(const BtAddr *addr, uint16_t lcid, int result, void *context); global() member 167 void (*cb)(uint16_t lcid, int result); global() member 210 void (*cb)(uint16_t lcid, int result); global() member 255 void (*cb)(uint16_t lcid, int result); global() member 300 void (*cb)(uint16_t lcid, int result); global() member 339 void (*cb)(uint16_t lcid, int result); global() member 379 void (*cb)(uint16_t lcid, int result); global() member 419 void (*cb)(uint16_t lcid, int result); global() member 523 void (*cb)(uint16_t aclHandle, int result); global() member 590 void (*cb)(uint16_t aclHandle, int result); global() member [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_client_tracker_callback_stub.cpp | 124 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in MuteStreamImpl() local 125 if (cb != nullptr) { in MuteStreamImpl() 126 cb->MuteStreamImpl(streamSetStateEventInternal); in MuteStreamImpl() 135 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in UnmuteStreamImpl() local 136 if (cb != nullptr) { in UnmuteStreamImpl() 137 cb->UnmuteStreamImpl(streamSetStateEventInternal); in UnmuteStreamImpl() 146 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); in PausedStreamImpl() local 147 if (cb != nullptr) { in PausedStreamImpl() 148 cb->PausedStreamImpl(streamSetStateEventInternal); in PausedStreamImpl() 156 std::shared_ptr<AudioClientTracker> cb in SetLowPowerVolumeImpl() local 167 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); ResumeStreamImpl() local 177 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); SetOffloadModeImpl() local 187 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); UnsetOffloadModeImpl() local 197 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); GetLowPowerVolumeImpl() local 207 std::shared_ptr<AudioClientTracker> cb = callback_.lock(); GetSingleStreamVolumeImpl() local [all...] |
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/ |
H A D | videodec_hevcdec_unit_test.cpp | 339 struct OH_AVCodecAsyncCallback cb; in HWMTEST_F() local 340 cb.onError = OnErrorVoid; in HWMTEST_F() 341 cb.onStreamChanged = OnStreamChangedVoid; in HWMTEST_F() 342 cb.onNeedInputData = InDataHandle; in HWMTEST_F() 343 cb.onNeedOutputData = OutDataHandle; in HWMTEST_F() 345 EXPECT_EQ(vdec->SetCallback(cb, signal), AV_ERR_OK) << SAMPLE_ID; in HWMTEST_F() 370 struct OH_AVCodecCallback cb; in HWMTEST_F() local 371 cb.onError = OnErrorVoid; in HWMTEST_F() 372 cb.onStreamChanged = OnStreamChangedVoid; in HWMTEST_F() 373 cb in HWMTEST_F() 401 struct OH_AVCodecCallback cb; HWMTEST_F() local 433 struct OH_AVCodecCallback cb; HWMTEST_F() local 464 struct OH_AVCodecCallback cb; HWMTEST_F() local 497 struct OH_AVCodecCallback cb; HWMTEST_F() local 530 struct OH_AVCodecCallback cb; HWMTEST_F() local 563 struct OH_AVCodecCallback cb; HWMTEST_F() local 595 struct OH_AVCodecCallback cb; HWMTEST_F() local 629 struct OH_AVCodecCallback cb; HWMTEST_F() local 663 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 695 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 726 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 758 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 792 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 825 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 858 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 890 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 923 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 958 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 991 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1026 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1060 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1095 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1132 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1167 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1203 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1238 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1274 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1312 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 1345 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1377 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1408 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1440 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1474 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1508 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1542 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1575 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1609 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1645 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1678 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1713 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1747 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1782 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1819 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1854 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1890 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1925 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1961 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1999 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local [all...] |
H A D | videoenc_stable_unit_test.cpp | 347 struct OH_AVCodecAsyncCallback cb; in HWMTEST_F() local 348 cb.onError = OnErrorVoid; in HWMTEST_F() 349 cb.onStreamChanged = OnStreamChangedVoid; in HWMTEST_F() 350 cb.onNeedInputData = InDataHandle; in HWMTEST_F() 351 cb.onNeedOutputData = OutDataHandle; in HWMTEST_F() 353 EXPECT_EQ(venc->SetCallback(cb, signal), AV_ERR_OK) << SAMPLE_ID; in HWMTEST_F() 376 struct OH_AVCodecCallback cb; in HWMTEST_F() local 377 cb.onError = OnErrorVoid; in HWMTEST_F() 378 cb.onStreamChanged = OnStreamChangedVoid; in HWMTEST_F() 379 cb in HWMTEST_F() 406 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 436 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 464 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 493 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 526 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 556 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 590 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 622 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 655 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 688 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 718 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 746 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 775 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 807 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 837 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 871 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 903 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 936 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local [all...] |
H A D | videodec_stable_unit_test.cpp | 343 struct OH_AVCodecAsyncCallback cb; in HWMTEST_F() local 344 cb.onError = OnErrorVoid; in HWMTEST_F() 345 cb.onStreamChanged = OnStreamChangedVoid; in HWMTEST_F() 346 cb.onNeedInputData = InDataHandle; in HWMTEST_F() 347 cb.onNeedOutputData = OutDataHandle; in HWMTEST_F() 349 EXPECT_EQ(vdec->SetCallback(cb, signal), AV_ERR_OK) << SAMPLE_ID; in HWMTEST_F() 372 struct OH_AVCodecCallback cb; in HWMTEST_F() local 373 cb.onError = OnErrorVoid; in HWMTEST_F() 374 cb.onStreamChanged = OnStreamChangedVoid; in HWMTEST_F() 375 cb in HWMTEST_F() 399 struct OH_AVCodecCallback cb; HWMTEST_F() local 430 struct OH_AVCodecAsyncCallback cb; HWMTEST_F() local 459 struct OH_AVCodecCallback cb; HWMTEST_F() local 490 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 520 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 549 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 579 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 611 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 642 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 675 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 707 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 740 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 775 struct OH_AVCodecAsyncCallback cb; AVCODEC_MTEST_P() local 806 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 836 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 865 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 895 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 927 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 958 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 991 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1023 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1056 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local 1091 struct OH_AVCodecCallback cb; AVCODEC_MTEST_P() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_cmd.h | 31 int SMP_SendPairingRequest(uint16_t handle, const SMP_PairParam *pairReqParam, SMP_SendDataCb cb); 32 int SMP_SendPairingResponse(uint16_t handle, const SMP_PairParam *pairRspParam, SMP_SendDataCb cb); 33 int SMP_SendPairingConfirm(uint16_t handle, const uint8_t *confirm, SMP_SendDataCb cb); 34 int SMP_SendPairingRandom(uint16_t handle, const uint8_t *random, SMP_SendDataCb cb); 35 int SMP_SendPairingFailed(uint16_t handle, uint8_t reason, SMP_SendDataCb cb); 36 int SMP_SendPairingPublicKey(uint16_t handle, const uint8_t *publicKey, SMP_SendDataCb cb); 37 int SMP_SendPairingDHKeyCheck(uint16_t handle, const uint8_t *dhKeyCheck, SMP_SendDataCb cb); 38 int SMP_SendEncryptionInformation(uint16_t handle, const uint8_t *ltk, SMP_SendDataCb cb); 39 int SMP_SendMasterIdentification(uint16_t handle, uint16_t ediv, const uint8_t *rand, SMP_SendDataCb cb); 40 int SMP_SendIdentityInformation(uint16_t handle, const uint8_t *irk, SMP_SendDataCb cb); [all...] |
/foundation/multimedia/player_framework/frameworks/native/video_editor/test/unittest/codec/video/encoder/ |
H A D | video_encoder_engine_impl_test.cpp | 56 auto cb = std::make_shared<VideoEncodeCallbackTester>(); in HWTEST_F() local 57 auto engine = std::make_shared<VideoEncoderEngineImpl>(888, 20, cb); in HWTEST_F() 60 EXPECT_EQ(engine->cb_.lock(), cb); in HWTEST_F() 66 auto cb = std::make_shared<VideoEncodeCallbackTester>(); in HWTEST_F() local 67 auto engine = std::make_shared<VideoEncoderEngineImpl>(888, 20, cb); in HWTEST_F() 74 auto cb = std::make_shared<VideoEncodeCallbackTester>(); in HWTEST_F() local 75 auto engine = std::make_shared<VideoEncoderEngineImpl>(888, 20, cb); in HWTEST_F() 82 auto cb = std::make_shared<VideoEncodeCallbackTester>(); in HWTEST_F() local 83 auto engine = std::make_shared<VideoEncoderEngineImpl>(888, 20, cb); in HWTEST_F() 90 auto cb in HWTEST_F() local 99 auto cb = std::make_shared<VideoEncodeCallbackTester>(); HWTEST_F() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | l2cap_le_if.h | 40 uint16_t lpsm, const L2capLeService *svc, void *context, void (*cb)(uint16_t lpsm, int result)); 48 void BTSTACK_API L2CIF_LeDeregisterService(uint16_t lpsm, void (*cb)(uint16_t lpsm, int result)); 59 const L2capLeConfigInfo *cfg, void (*cb)(const BtAddr *addr, uint16_t lcid, int result)); 71 uint16_t lcid, uint8_t id, const L2capLeConfigInfo *cfg, uint16_t result, void (*cb)(uint16_t lcid, int result)); 79 void BTSTACK_API L2CIF_LeDisconnectionReq(uint16_t lcid, void (*cb)(uint16_t lcid, int result)); 88 void BTSTACK_API L2CIF_LeDisconnectionRsp(uint16_t lcid, uint8_t id, void (*cb)(uint16_t lcid, int result)); 97 int BTSTACK_API L2CIF_LeSendData(uint16_t lcid, const Packet *pkt, void (*cb)(uint16_t lcid, int result)); 107 uint16_t cid, const L2capLeFixChannel *chan, void (*cb)(uint16_t cid, int result)); 115 void BTSTACK_API L2CIF_LeDeregisterFixChannel(uint16_t cid, void (*cb)(uint16_t cid, int result)); 125 const BtAddr *addr, const L2capLeConnectionParameter *param, void (*cb)(cons [all...] |
H A D | l2cap_if.h | 54 uint16_t lpsm, const L2capService *svc, void *context, void (*cb)(uint16_t lpsm, int result)); 61 void BTSTACK_API L2CIF_DeregisterService(uint16_t lpsm, void (*cb)(uint16_t lpsm, int result)); 73 void (*cb)(const BtAddr *addr, uint16_t lcid, int result, void *context)); 84 uint16_t lcid, uint8_t id, uint16_t result, uint16_t status, void (*cb)(uint16_t lcid, int result)); 93 int BTSTACK_API L2CIF_ConfigReq(uint16_t lcid, const L2capConfigInfo *cfg, void (*cb)(uint16_t lcid, int result)); 105 uint16_t lcid, uint8_t id, const L2capConfigInfo *cfg, uint16_t result, void (*cb)(uint16_t lcid, int result)); 112 void BTSTACK_API L2CIF_DisconnectionReq(uint16_t lcid, void (*cb)(uint16_t lcid, int result)); 120 void BTSTACK_API L2CIF_DisconnectionRsp(uint16_t lcid, uint8_t id, void (*cb)(uint16_t lcid, int result)); 128 void BTSTACK_API L2CIF_LocalBusy(uint16_t lcid, uint8_t isBusy, void (*cb)(uint16_t lcid, int result)); 137 int BTSTACK_API L2CIF_SendData(uint16_t lcid, const Packet *pkt, void (*cb)(uint16_ [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_event.h | 29 explicit AsyncEventData(const std::shared_ptr<BluetoothCallbackInfo> &cb, std::function<napi_value ()> p) in AsyncEventData() argument 31 this->env_ = cb->env_; in AsyncEventData() 32 this->callback_ = cb->callback_; in AsyncEventData() 33 this->state_ = cb->state_; in AsyncEventData() 34 this->deviceId_ = cb->deviceId_; in AsyncEventData() 35 this->info_ = cb->info_; in AsyncEventData() 50 static napi_value CreateResult(const std::shared_ptr<BluetoothCallbackInfo> &cb, int value); 51 static napi_value CreateResult(const std::shared_ptr<BluetoothCallbackInfo> &cb, 60 static void CheckAndNotify(const std::shared_ptr<BluetoothCallbackInfo> &cb, const T& obj) in CheckAndNotify() argument 62 if (cb in CheckAndNotify() [all...] |
/foundation/ai/ai_engine/services/client/client_executor/source/ |
H A D | async_handler.cpp | 28 int AsyncHandler::RegisterCb(int sessionId, IClientCb *cb) in RegisterCb() argument 30 if (cb != nullptr) { in RegisterCb() 31 mapCbMsg_.insert(std::make_pair(sessionId, cb)); in RegisterCb() 48 int AsyncHandler::RegisterDeadCb(int sessionId, IServiceDeadCb *cb) in RegisterDeadCb() argument 50 if (cb != nullptr) { in RegisterDeadCb() 51 deadCbs_.insert(std::make_pair(sessionId, cb)); in RegisterDeadCb() 65 IClientCb *cb = nullptr; in OnResult() local 66 FindCb(sessionId, cb); in OnResult() 67 if (cb == nullptr) { in OnResult() 71 cb in OnResult() 85 FindCb(int sessionId, IClientCb *&cb) FindCb() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/ |
H A D | napi_renderer_data_request_callback.cpp | 51 std::shared_ptr<AutoRef> cb = std::make_shared<AutoRef>(env_, callback); in SaveCallbackReference() local 53 rendererDataRequestCallback_ = cb; in SaveCallbackReference() 65 std::unique_ptr<RendererDataRequestJsCallback> cb = std::make_unique<RendererDataRequestJsCallback>(); in OnWriteData() local 66 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnWriteData() 67 cb->callback = rendererDataRequestCallback_; in OnWriteData() 68 cb->callbackName = DATA_REQUEST_CALLBACK_NAME; in OnWriteData() 70 cb->bufDesc_.buffer = nullptr; in OnWriteData() 71 cb->rendererNapiObj = napiRenderer_; in OnWriteData() 72 napiRenderer_->audioRenderer_->GetBufferDesc(cb->bufDesc_); in OnWriteData() 73 if (cb in OnWriteData() [all...] |
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_callback.cpp | 506 NapiCallback::Base *cb = reinterpret_cast<NapiCallback::Base *>(work->data); in CompleteCallback() 507 if (cb != nullptr) { in CompleteCallback() 508 MEDIA_LOGD("JsCallBack %{public}s, uv_queue_work_with_qos start", cb->callbackName.c_str()); in CompleteCallback() 509 cb->UvWork(); in CompleteCallback() 510 delete cb; in CompleteCallback() 726 NapiCallback::DeviceChangeNapi *cb = new(std::nothrow) NapiCallback::DeviceChangeNapi(); in OnAudioDeviceChangeCb() local 727 CHECK_AND_RETURN_LOG(cb != nullptr, "failed to new DeviceChangeNapi"); in OnAudioDeviceChangeCb() 729 cb->callback = refMap_.at(AVPlayerEvent::EVENT_AUDIO_DEVICE_CHANGE); in OnAudioDeviceChangeCb() 730 cb->callbackName = AVPlayerEvent::EVENT_AUDIO_DEVICE_CHANGE; in OnAudioDeviceChangeCb() 743 cb in OnAudioDeviceChangeCb() 793 NapiCallback::Error *cb = new(std::nothrow) NapiCallback::Error(); OnErrorCb() local 877 NapiCallback::StateChange *cb = new(std::nothrow) NapiCallback::StateChange(); OnStateChangeCb() local 907 NapiCallback::Double *cb = new(std::nothrow) NapiCallback::Double(); OnVolumeChangeCb() local 925 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); OnSeekDoneCb() local 945 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); OnSpeedDoneCb() local 965 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); OnBitRateDoneCb() local 989 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); OnPositionUpdateCb() local 1014 NapiCallback::Int *cb = new(std::nothrow) NapiCallback::Int(); OnDurationUpdateCb() local 1030 NapiCallback::SubtitleProperty *cb = new(std::nothrow) NapiCallback::SubtitleProperty(); OnSubtitleUpdateCb() local 1068 NapiCallback::IntVec *cb = new(std::nothrow) NapiCallback::IntVec(); OnBufferingUpdateCb() local 1097 NapiCallback::Base *cb = new(std::nothrow) NapiCallback::Base(); OnStartRenderFrameCb() local 1123 NapiCallback::IntVec *cb = new(std::nothrow) NapiCallback::IntVec(); OnVideoSizeChangedCb() local 1142 NapiCallback::PropertyInt *cb = new(std::nothrow) NapiCallback::PropertyInt(); OnAudioInterruptCb() local 1192 NapiCallback::IntArray *cb = new(std::nothrow) NapiCallback::IntArray(); OnBitRateCollectedCb() local 1231 NapiCallback::FloatArray *cb = new(std::nothrow) NapiCallback::FloatArray(); OnMaxAmplitudeCollectedCb() local 1291 NapiCallback::ObjectArray *cb = new(std::nothrow) NapiCallback::ObjectArray(); OnDrmInfoUpdatedCb() local 1308 NapiCallback::Base *cb = new(std::nothrow) NapiCallback::Base(); OnSetDecryptConfigDoneCb() local 1330 NapiCallback::SubtitleInfo *cb = new(std::nothrow) NapiCallback::SubtitleInfo(); OnSubtitleInfoCb() local 1353 NapiCallback::Base *cb = new(std::nothrow) NapiCallback::Base(); OnEosCb() local 1373 NapiCallback::TrackChange *cb = new(std::nothrow) NapiCallback::TrackChange(); OnTrackChangedCb() local 1393 NapiCallback::TrackInfoUpdate *cb = new(std::nothrow) NapiCallback::TrackInfoUpdate(); OnTrackInfoUpdate() local [all...] |
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/clienttranstcpdirectlistener_fuzzer/ |
H A D | clienttranstcpdirectlistener_fuzzer.cpp | 166 static void ClientFillSessionCallBack(IClientSessionCallBack *cb) in ClientFillSessionCallBack() argument 168 cb->OnSessionOpened = TransOnSessionOpened; in ClientFillSessionCallBack() 169 cb->OnSessionClosed = TransOnSessionClosed; in ClientFillSessionCallBack() 170 cb->OnSessionOpenFailed = TransOnSessionOpenFailed; in ClientFillSessionCallBack() 171 cb->OnDataReceived = TransOnDataReceived; in ClientFillSessionCallBack() 172 cb->OnStreamReceived = TransOnOnStreamRecevied; in ClientFillSessionCallBack() 173 cb->OnGetSessionId = NULL; in ClientFillSessionCallBack() 174 cb->OnQosEvent = NULL; in ClientFillSessionCallBack() 186 IClientSessionCallBack cb; in ClientTransTdcOnSessionOpenedTest() local 187 ClientFillSessionCallBack(&cb); in ClientTransTdcOnSessionOpenedTest() 199 IClientSessionCallBack cb; ClientTransTdcOnSessionClosedTest() local 212 IClientSessionCallBack cb; ClientTransTdcOnSessionOpenFailedTest() local 230 IClientSessionCallBack cb; ClientTransTdcOnDataReceivedTest() local [all...] |
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/ |
H A D | mdns_client.cpp | 61 int32_t MDnsClient::RegisterService(const MDnsServiceInfo &serviceInfo, const sptr<IRegistrationCallback> &cb) in RegisterService() argument 67 if (cb == nullptr) { in RegisterService() 77 int32_t ret = proxy->RegisterService(serviceInfo, cb); in RegisterService() 81 MDnsClientResume::GetInstance().SaveRegisterService(serviceInfo, cb); in RegisterService() 86 int32_t MDnsClient::UnRegisterService(const sptr<IRegistrationCallback> &cb) in UnRegisterService() argument 88 if (cb == nullptr) { in UnRegisterService() 98 int32_t ret = proxy->UnRegisterService(cb); in UnRegisterService() 102 MDnsClientResume::GetInstance().RemoveRegisterService(cb); in UnRegisterService() 107 int32_t MDnsClient::StartDiscoverService(const std::string &serviceType, const sptr<IDiscoveryCallback> &cb) in StartDiscoverService() argument 113 if (cb in StartDiscoverService() 132 StopDiscoverService(const sptr<IDiscoveryCallback> &cb) StopDiscoverService() argument 153 ResolveService(const MDnsServiceInfo &serviceInfo, const sptr<IResolveCallback> &cb) ResolveService() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/ |
H A D | napi_audio_spatialization_manager_callback.cpp | 62 std::shared_ptr<AutoRef> cb = std::make_shared<AutoRef>(env_, callback); in SaveSpatializationEnabledChangeCallbackReference() local 63 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioSpatializationEnabledChangeCallback: creating callback failed"); in SaveSpatializationEnabledChangeCallbackReference() 64 spatializationEnabledChangeCbList_.push_back(cb); in SaveSpatializationEnabledChangeCallbackReference() 76 std::shared_ptr<AutoRef> cb = std::make_shared<AutoRef>(env_, callback); in SaveSpatializationEnabledChangeCallbackReference() local 77 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioSpatializationEnabledChangeCallback: creating callback failed"); in SaveSpatializationEnabledChangeCallbackReference() 78 spatializationEnabledChangeCbForAnyDeviceList_.push_back(cb); in SaveSpatializationEnabledChangeCallbackReference() 136 std::unique_ptr<AudioSpatializationEnabledJsCallback> cb = in OnSpatializationEnabledChange() local 138 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChange() 139 cb->callback = (*it); in OnSpatializationEnabledChange() 140 cb in OnSpatializationEnabledChange() 154 std::unique_ptr<AudioSpatializationEnabledJsCallback> cb = OnSpatializationEnabledChangeForAnyDevice() local 164 std::unique_ptr<AudioSpatializationEnabledJsCallback> cb = OnSpatializationEnabledChangeForAnyDevice() local 276 std::shared_ptr<AutoRef> cb = std::make_shared<AutoRef>(env_, callback); SaveHeadTrackingEnabledChangeCallbackReference() local 291 std::shared_ptr<AutoRef> cb = std::make_shared<AutoRef>(env_, callback); SaveHeadTrackingEnabledChangeCallbackReference() local 350 std::unique_ptr<AudioHeadTrackingEnabledJsCallback> cb = OnHeadTrackingEnabledChange() local 369 std::unique_ptr<AudioHeadTrackingEnabledJsCallback> cb = OnHeadTrackingEnabledChangeForAnyDevice() local 379 std::unique_ptr<AudioHeadTrackingEnabledJsCallback> cb = OnHeadTrackingEnabledChangeForAnyDevice() local [all...] |
/foundation/arkui/ace_engine/test/mock/core/animation/ |
H A D | mock_implicit_animation.cpp | 28 auto cb = prop->GetUpdateCallback(); in UpdateProp() local 29 if (cb) { in UpdateProp() 30 cb(NG::MockAnimationProxy<float>::GetInstance().GetStagingValue(prop)); in UpdateProp() 35 auto cb = prop->GetUpdateCallback(); in UpdateProp() local 36 if (cb) { in UpdateProp() 37 cb(NG::MockAnimationProxy<NG::OffsetF>::GetInstance().GetStagingValue(prop)); in UpdateProp() 65 auto cb = prop->GetUpdateCallback(); in ForceUpdate() local 66 if (cb) { in ForceUpdate() 67 cb(NG::MockAnimationProxy<float>::GetInstance().GetStagingValue(prop)); in ForceUpdate()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_manager_listener_stub.cpp | 76 std::shared_ptr<AudioParameterCallback> cb = callback_.lock(); in OnAudioParameterChange() local 77 if (cb != nullptr) { in OnAudioParameterChange() 78 cb->OnAudioParameterChange(networkId, key, condition, value); in OnAudioParameterChange() 86 std::shared_ptr<WakeUpSourceCallback> cb = wakeUpCallback_.lock(); in OnCapturerState() local 87 if (cb != nullptr) { in OnCapturerState() 88 cb->OnCapturerState(isActive); in OnCapturerState() 96 std::shared_ptr<WakeUpSourceCallback> cb = wakeUpCallback_.lock(); in OnWakeupClose() local 97 if (cb != nullptr) { in OnWakeupClose() 98 cb->OnWakeupClose(); in OnWakeupClose()
|