/foundation/multimedia/audio_framework/frameworks/native/opensles/src/itf/ |
H A D | openharmony_buffer_queue_itf.cpp | 25 IOHBufferQueue *thiz = (IOHBufferQueue *)self;
in Enqueue() local 26 if (thiz->mIid == SL_IID_PLAY) {
in Enqueue() 27 AudioPlayerAdapter::GetInstance()->EnqueueAdapter(thiz->mId, buffer, size);
in Enqueue() 28 } else if (thiz->mIid == SL_IID_RECORD) {
in Enqueue() 29 AudioCapturerAdapter::GetInstance()->EnqueueAdapter(thiz->mId, buffer, size);
in Enqueue() 40 IOHBufferQueue *thiz = (IOHBufferQueue *)self;
in Clear() local 41 if (thiz->mIid == SL_IID_PLAY) {
in Clear() 42 AudioPlayerAdapter::GetInstance()->ClearAdapter(thiz->mId);
in Clear() 43 } else if (thiz->mIid == SL_IID_RECORD) {
in Clear() 44 AudioCapturerAdapter::GetInstance()->ClearAdapter(thiz in Clear() 55 IOHBufferQueue *thiz = (IOHBufferQueue *)self; GetState() local 70 IOHBufferQueue *thiz = (IOHBufferQueue *)self; GetBuffer() local 84 IOHBufferQueue *thiz = (IOHBufferQueue *)self; RegisterCallback() local 103 IOHBufferQueue *thiz = (IOHBufferQueue *) self; IOHBufferQueueInit() local [all...] |
H A D | engine_itf.cpp | 46 CAudioPlayer *thiz = (CAudioPlayer *) Construct(audioPlayerClass, self);
in CreateAudioPlayer() local 47 if (thiz == nullptr) {
in CreateAudioPlayer() 51 thiz->mId = audioPlayerId++;
in CreateAudioPlayer() 53 IObjectInit(&thiz->mObject);
in CreateAudioPlayer() 54 IPlayInit(&thiz->mPlay, audioPlayerId);
in CreateAudioPlayer() 55 IVolumeInit(&thiz->mVolume, audioPlayerId);
in CreateAudioPlayer() 56 IOHBufferQueueInit(&thiz->mBufferQueue, SL_IID_PLAY, audioPlayerId);
in CreateAudioPlayer() 57 *pPlayer = &thiz->mObject.mItf;
in CreateAudioPlayer() 75 CAudioRecorder *thiz = (CAudioRecorder *) Construct(audioRecorderClass, self);
in CreateAudioRecorder() local 76 if (thiz in CreateAudioRecorder() 124 COutputMix *thiz = (COutputMix *) Construct(outputMixClass, self); CreateOutputMix() local 194 IEngine *thiz = (IEngine *) self; IEngineInit() local [all...] |
H A D | volume_itf.cpp | 25 IVolume *thiz = (IVolume *)self;
in SetVolumeLevel() local 26 AudioPlayerAdapter::GetInstance()->SetVolumeLevelAdapter(thiz->mId, level);
in SetVolumeLevel() 35 IVolume *thiz = (IVolume *)self;
in GetVolumeLevel() local 36 AudioPlayerAdapter::GetInstance()->GetVolumeLevelAdapter(thiz->mId, level);
in GetVolumeLevel() 45 IVolume *thiz = (IVolume *)self;
in GetMaxVolumeLevel() local 46 AudioPlayerAdapter::GetInstance()->GetMaxVolumeLevelAdapter(thiz->mId, maxLevel);
in GetMaxVolumeLevel() 94 IVolume *thiz = (IVolume *) self;
in IVolumeInit() local 95 thiz->mItf = &VolumeItf;
in IVolumeInit() 96 thiz->mId = id;
in IVolumeInit()
|
H A D | record_itf.cpp | 25 IRecord *thiz = (IRecord *)self; in SetRecordState() local 26 AudioCapturerAdapter::GetInstance()->SetCaptureStateAdapter(thiz->mId, state); in SetRecordState() 35 IRecord *thiz = (IRecord *)self; in GetRecordState() local 36 AudioCapturerAdapter::GetInstance()->GetCaptureStateAdapter(thiz->mId, pState); in GetRecordState() 107 IRecord *thiz = (IRecord *)self; in IRecordInit() local 108 thiz->mItf = &RecordItf; in IRecordInit() 109 thiz->mState = SL_RECORDSTATE_STOPPED; in IRecordInit() 110 thiz->mId = id; in IRecordInit()
|
H A D | play_itf.cpp | 27 IPlay *thiz = (IPlay *)self;
in SetPlayState() local 28 AudioPlayerAdapter::GetInstance()->SetPlayStateAdapter(thiz->mId, state);
in SetPlayState() 37 IPlay *thiz = (IPlay *)self;
in GetPlayState() local 38 AudioPlayerAdapter::GetInstance()->GetPlayStateAdapter(thiz->mId, state);
in GetPlayState() 109 IPlay *thiz = (IPlay *)self;
in IPlayInit() local 110 thiz->mItf = &PlayItf;
in IPlayInit() 111 thiz->mState = SL_PLAYSTATE_STOPPED;
in IPlayInit() 112 thiz->mId = id;
in IPlayInit()
|
H A D | object_itf.cpp | 28 IObject *thiz = (IObject *) self;
in Realize() local 29 thiz->mState = SL_OBJECT_STATE_REALIZED;
in Realize() 43 IObject *thiz = (IObject *) self;
in GetState() local 44 *state = thiz->mState;
in GetState() 155 IObject *thiz = (IObject *) self;
in IObjectInit() local 156 thiz->mItf = &ObjectItf;
in IObjectInit() 157 thiz->mState = SL_OBJECT_STATE_UNREALIZED;
in IObjectInit()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_predicates.cpp | 98 napi_value thiz = nullptr; in New() local 99 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in New() 112 napi_status status = napi_wrap(env, thiz, proxy, RdbPredicatesProxy::Destructor, nullptr, nullptr); in New() 119 return thiz; in New() 182 RdbPredicatesProxy *RdbPredicatesProxy::GetNativePredicates(napi_env env, napi_callback_info info, napi_value &thiz) in GetNativePredicates() argument 184 auto status = napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr); in GetNativePredicates() 185 RDB_NAPI_ASSERT(env, status == napi_ok && thiz != nullptr, std::make_shared<ParamError>("predicates", "null")); in GetNativePredicates() 187 status = napi_unwrap(env, thiz, reinterpret_cast<void **>(&proxy)); in GetNativePredicates() 193 RdbPredicatesProxy *RdbPredicatesProxy::ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, in ParseFieldArrayByName() argument 198 napi_get_cb_info(env, info, &argc, args, &thiz, nullpt in ParseFieldArrayByName() 216 ParseFieldByName( napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, const std::string fieldName) ParseFieldByName() argument 233 ParseInt32FieldByName( napi_env env, napi_callback_info info, napi_value &thiz, int32_t &field, const std::string fieldName) ParseInt32FieldByName() argument 250 ParseFieldAndValueArray(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, std::vector<ValueObject> &value, const std::string valueType) ParseFieldAndValueArray() argument 271 ParseFieldAndValue(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, ValueObject &value, const std::string valueType) ParseFieldAndValue() argument 293 ParseFieldAndStringValue(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, std::string &value, const std::string valueType) ParseFieldAndStringValue() argument 315 ParseFieldLowAndHigh( napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, ValueObject &low, ValueObject &high) ParseFieldLowAndHigh() argument 344 napi_value thiz = nullptr; EqualTo() local 355 napi_value thiz = nullptr; NotEqualTo() local 366 napi_value thiz = nullptr; BeginWrap() local 375 napi_value thiz = nullptr; EndWrap() local 384 napi_value thiz = nullptr; Or() local 393 napi_value thiz = nullptr; And() local 402 napi_value thiz = nullptr; Contains() local 413 napi_value thiz = nullptr; NotContains() local 424 napi_value thiz = nullptr; BeginsWith() local 435 napi_value thiz = nullptr; EndsWith() local 446 napi_value thiz = nullptr; IsNull() local 456 napi_value thiz = nullptr; IsNotNull() local 466 napi_value thiz = nullptr; Like() local 477 napi_value thiz = nullptr; NotLike() local 489 napi_value thiz = nullptr; Glob() local 500 napi_value thiz = nullptr; Between() local 512 napi_value thiz = nullptr; NotBetween() local 524 napi_value thiz = nullptr; GreaterThan() local 535 napi_value thiz = nullptr; LessThan() local 546 napi_value thiz = nullptr; GreaterThanOrEqualTo() local 557 napi_value thiz = nullptr; LessThanOrEqualTo() local 568 napi_value thiz = nullptr; OrderByAsc() local 578 napi_value thiz = nullptr; OrderByDesc() local 588 napi_value thiz = nullptr; Distinct() local 597 napi_value thiz = nullptr; Limit() local 628 napi_value thiz = nullptr; Offset() local 638 napi_value thiz = nullptr; GroupBy() local 648 napi_value thiz = nullptr; IndexedBy() local 658 napi_value thiz = nullptr; In() local 672 napi_value thiz = nullptr; NotIn() local 686 napi_value thiz = nullptr; Using() local 696 napi_value thiz = nullptr; LeftOuterJoin() local 706 napi_value thiz = nullptr; InnerJoin() local 716 napi_value thiz = nullptr; On() local 726 napi_value thiz = nullptr; GetStatement() local 736 napi_value thiz = nullptr; GetBindArgs() local 746 napi_value thiz = nullptr; Clear() local 755 napi_value thiz = nullptr; CrossJoin() local 765 napi_value thiz = nullptr; GetJoinCount() local 774 napi_value thiz; SetJoinCount() local 784 napi_value thiz = nullptr; GetJoinTypes() local 793 napi_value thiz = nullptr; GetJoinTableNames() local 802 napi_value thiz = nullptr; GetJoinConditions() local 811 napi_value thiz = nullptr; SetJoinConditions() local 821 napi_value thiz = nullptr; SetJoinTableNames() local 831 napi_value thiz = nullptr; SetJoinTypes() local 846 napi_value thiz = nullptr; InDevices() local 856 napi_value thiz = nullptr; InAllDevices() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_predicates.cpp | 123 napi_value thiz = nullptr; in InnerNew() local 124 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in InnerNew() 139 napi_status status = napi_wrap(env, thiz, proxy, RdbPredicatesProxy::Destructor, nullptr, nullptr); in InnerNew() 146 return thiz; in InnerNew() 213 napi_value thiz = nullptr; in GetNativePredicates() local 214 napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr); in GetNativePredicates() 215 napi_unwrap(env, thiz, reinterpret_cast<void **>(&predicatesProxy)); in GetNativePredicates() 222 RdbPredicatesProxy *RdbPredicatesProxy::ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, in ParseFieldArrayByName() argument 227 napi_get_cb_info(env, info, &argc, args, &thiz, nullptr); in ParseFieldArrayByName() 229 napi_unwrap(env, thiz, reinterpret_cas in ParseFieldArrayByName() 249 ParseFieldByName( napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, const std::string fieldName) ParseFieldByName() argument 269 ParseInt32FieldByName( napi_env env, napi_callback_info info, napi_value &thiz, int32_t &field, const std::string fieldName) ParseInt32FieldByName() argument 289 ParseFieldAndValueArray(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, std::vector<ValueObject> &values, const std::string valueType) ParseFieldAndValueArray() argument 314 ParseFieldAndValue(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, ValueObject &value, const std::string valueType) ParseFieldAndValue() argument 343 ParseFieldAndStringValue(napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, std::string &value, const std::string valueType) ParseFieldAndStringValue() argument 367 ParseFieldLowAndHigh( napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, ValueObject &low, ValueObject &high) ParseFieldLowAndHigh() argument 404 napi_value thiz = nullptr; EqualTo() local 416 napi_value thiz = nullptr; NotEqualTo() local 428 napi_value thiz = nullptr; BeginWrap() local 438 napi_value thiz = nullptr; EndWrap() local 448 napi_value thiz = nullptr; Or() local 458 napi_value thiz = nullptr; And() local 468 napi_value thiz = nullptr; Contains() local 480 napi_value thiz = nullptr; BeginsWith() local 492 napi_value thiz = nullptr; EndsWith() local 504 napi_value thiz = nullptr; IsNull() local 515 napi_value thiz = nullptr; IsNotNull() local 526 napi_value thiz = nullptr; Like() local 538 napi_value thiz = nullptr; Glob() local 550 napi_value thiz = nullptr; Between() local 563 napi_value thiz = nullptr; NotBetween() local 576 napi_value thiz = nullptr; GreaterThan() local 588 napi_value thiz = nullptr; LessThan() local 600 napi_value thiz = nullptr; GreaterThanOrEqualTo() local 612 napi_value thiz = nullptr; LessThanOrEqualTo() local 624 napi_value thiz = nullptr; OrderByAsc() local 635 napi_value thiz = nullptr; OrderByDesc() local 646 napi_value thiz = nullptr; Distinct() local 656 napi_value thiz = nullptr; Limit() local 667 napi_value thiz = nullptr; Offset() local 678 napi_value thiz = nullptr; GroupBy() local 690 napi_value thiz = nullptr; IndexedBy() local 701 napi_value thiz = nullptr; In() local 716 napi_value thiz = nullptr; NotIn() local 731 napi_value thiz = nullptr; Using() local 742 napi_value thiz = nullptr; LeftOuterJoin() local 753 napi_value thiz = nullptr; InnerJoin() local 764 napi_value thiz = nullptr; On() local 775 napi_value thiz = nullptr; Clear() local 785 napi_value thiz = nullptr; CrossJoin() local 796 napi_value thiz = nullptr; GetJoinCount() local 806 napi_value thiz = nullptr; SetJoinCount() local 817 napi_value thiz = nullptr; GetJoinTypes() local 827 napi_value thiz = nullptr; GetJoinTableNames() local 838 napi_value thiz = nullptr; GetJoinConditions() local 848 napi_value thiz = nullptr; SetJoinConditions() local 860 napi_value thiz = nullptr; SetJoinTableNames() local 871 napi_value thiz = nullptr; SetJoinTypes() local 888 napi_value thiz = nullptr; InDevices() local 899 napi_value thiz = nullptr; InAllDevices() local [all...] |
H A D | napi_result_set.cpp | 606 napi_value thiz = nullptr; in GetSharedBlockName() local 607 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr)); in GetSharedBlockName() 610 NAPI_CALL(env, napi_unwrap(env, thiz, reinterpret_cast<void **>(&proxy))); in GetSharedBlockName() 619 napi_value thiz = nullptr; in GetSharedBlockAshmemFd() local 620 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr)); in GetSharedBlockAshmemFd() 623 NAPI_CALL(env, napi_unwrap(env, thiz, reinterpret_cast<void **>(&proxy))); in GetSharedBlockAshmemFd()
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/ |
H A D | datashare_predicates_proxy.cpp | 107 napi_value thiz; in New() local 108 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr)); in New() 117 napi_status ret = napi_wrap(env, thiz, proxy, DataSharePredicatesProxy::Destructor, nullptr, nullptr); in New() 123 return thiz; in New() 202 napi_value thiz; in GetNativePredicates() local 203 napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr); in GetNativePredicates() 204 napi_unwrap(env, thiz, reinterpret_cast<void **>(&predicatesProxy)); in GetNativePredicates() 214 napi_value thiz; in EqualTo() local 217 napi_get_cb_info(env, info, &argc, args, &thiz, nullptr); in EqualTo() 224 return thiz; in EqualTo() 257 napi_value thiz; NotEqualTo() local 300 napi_value thiz; BeginWrap() local 313 napi_value thiz; EndWrap() local 326 napi_value thiz; Or() local 339 napi_value thiz; And() local 352 napi_value thiz; Contains() local 371 napi_value thiz; BeginsWith() local 389 napi_value thiz; EndsWith() local 407 napi_value thiz; IsNull() local 424 napi_value thiz; IsNotNull() local 441 napi_value thiz; Like() local 459 napi_value thiz; Unlike() local 477 napi_value thiz; Glob() local 495 napi_value thiz; Between() local 515 napi_value thiz; NotBetween() local 535 napi_value thiz; GreaterThan() local 572 napi_value thiz; LessThan() local 609 napi_value thiz; GreaterThanOrEqualTo() local 646 napi_value thiz; LessThanOrEqualTo() local 683 napi_value thiz; OrderByAsc() local 700 napi_value thiz; OrderByDesc() local 717 napi_value thiz; Distinct() local 730 napi_value thiz; Limit() local 750 napi_value thiz; GroupBy() local 768 napi_value thiz; IndexedBy() local 785 napi_value thiz; In() local 804 napi_value thiz; NotIn() local 823 napi_value thiz; PrefixKey() local 840 napi_value thiz; InKeys() local [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/src/util/ |
H A D | builder.cpp | 26 CEngine *thiz = (CEngine *) Construct(engineClass, nullptr);
in slCreateEngine() local 27 if (thiz == nullptr) {
in slCreateEngine() 30 IObjectInit(&thiz->mObject);
in slCreateEngine() 31 IEngineInit(&thiz->mEngine);
in slCreateEngine() 32 *pEngine = &thiz->mObject.mItf;
in slCreateEngine() 56 IObject *thiz = (IObject *) calloc(1, classTable->mSize);
in Construct() local 57 if (thiz != nullptr) {
in Construct() 60 thiz->mEngine = (CEngine *) thisEngine->mThis;
in Construct() 62 thiz->mEngine = (CEngine *) thiz;
in Construct() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/src/ |
H A D | napi_data_ability_predicates.cpp | 93 napi_value thiz = nullptr; in New() local 94 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr)); in New() 102 napi_status status = napi_wrap(env, thiz, proxy, DataAbilityPredicatesProxy::Destructor, nullptr, nullptr); in New() 109 return thiz; in New() 187 napi_value thiz = nullptr; in GetNativePredicates() local 188 napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr); in GetNativePredicates() 189 napi_unwrap(env, thiz, reinterpret_cast<void **>(&predicatesProxy)); in GetNativePredicates() 198 napi_value thiz = nullptr; in EqualTo() local 201 napi_get_cb_info(env, info, &argc, args, &thiz, nullptr); in EqualTo() 210 return thiz; in EqualTo() 215 napi_value thiz = nullptr; NotEqualTo() local 232 napi_value thiz = nullptr; BeginWrap() local 242 napi_value thiz = nullptr; EndWrap() local 252 napi_value thiz = nullptr; Or() local 262 napi_value thiz = nullptr; And() local 272 napi_value thiz = nullptr; Contains() local 289 napi_value thiz = nullptr; BeginsWith() local 306 napi_value thiz = nullptr; EndsWith() local 323 napi_value thiz = nullptr; IsNull() local 338 napi_value thiz = nullptr; IsNotNull() local 353 napi_value thiz = nullptr; Like() local 370 napi_value thiz = nullptr; Glob() local 387 napi_value thiz = nullptr; Between() local 410 napi_value thiz = nullptr; NotBetween() local 433 napi_value thiz = nullptr; GreaterThan() local 450 napi_value thiz = nullptr; LessThan() local 467 napi_value thiz = nullptr; GreaterThanOrEqualTo() local 484 napi_value thiz = nullptr; LessThanOrEqualTo() local 501 napi_value thiz = nullptr; OrderByAsc() local 518 napi_value thiz = nullptr; OrderByDesc() local 535 napi_value thiz = nullptr; Distinct() local 545 napi_value thiz = nullptr; Limit() local 562 napi_value thiz = nullptr; Offset() local 579 napi_value thiz = nullptr; GroupBy() local 596 napi_value thiz = nullptr; IndexedBy() local 613 napi_value thiz = nullptr; In() local 633 napi_value thiz = nullptr; NotIn() local 653 napi_value thiz = nullptr; Clear() local 663 napi_value thiz = nullptr; IsRawSelection() local 686 napi_value thiz = nullptr; SetWhereClause() local 712 napi_value thiz = nullptr; SetWhereArgs() local 738 napi_value thiz = nullptr; SetOrder() local [all...] |
H A D | napi_predicates_utils.cpp | 33 napi_value thiz = nullptr;
in CreateRdbPredicates() local 34 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr));
in CreateRdbPredicates()
|
/foundation/multimedia/audio_framework/frameworks/native/audioadapter/src/ |
H A D | pulse_audio_service_adapter_impl.cpp | 185 userData->thiz = this; in OpenAudioPort() 260 userData->thiz = this; in SetSinkMute() 337 PulseAudioServiceAdapterImpl *thiz = userData->thiz; in PaGetSinksCb() local 341 pa_threaded_mainloop_signal(thiz->mMainLoop, 0); in PaGetSinksCb() 346 pa_threaded_mainloop_signal(thiz->mMainLoop, 0); in PaGetSinksCb() 376 userData->thiz = this; in GetAllSinks() 443 userData->thiz = this; in MoveSinkInputByIndexOrName() 483 userData->thiz = this; in MoveSourceOutputByIndexOrName() 554 userData->thiz in GetAllSinkInputs() 682 PulseAudioServiceAdapterImpl *thiz = reinterpret_cast<PulseAudioServiceAdapterImpl*>(userdata); PaContextStateCb() local 779 PulseAudioServiceAdapterImpl *thiz = userData->thiz; PaGetAllSinkInputsCb() local 831 PulseAudioServiceAdapterImpl *thiz = userData->thiz; PaGetAllSourceOutputsCb() local 877 PulseAudioServiceAdapterImpl *thiz = reinterpret_cast<PulseAudioServiceAdapterImpl*>(userdata); ProcessSourceOutputEvent() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/mock/include/ |
H A D | napi_rdb_predicates.h | 48 static RdbPredicatesProxy *ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, 51 napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, const std::string fieldName); 53 napi_env env, napi_callback_info info, napi_value &thiz, int32_t &field, const std::string fieldName); 54 static RdbPredicatesProxy *ParseFieldAndValueArray(napi_env env, napi_callback_info info, napi_value &thiz, 56 static RdbPredicatesProxy *ParseFieldAndValue(napi_env env, napi_callback_info info, napi_value &thiz, 58 static RdbPredicatesProxy *ParseFieldAndStringValue(napi_env env, napi_callback_info info, napi_value &thiz, 60 static RdbPredicatesProxy *ParseFieldLowAndHigh(napi_env env, napi_callback_info info, napi_value &thiz,
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/ |
H A D | napi_storage.cpp | 121 napi_value thiz = nullptr; in New() local 122 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in New() 123 if (thiz == nullptr) { in New() 157 NAPI_CALL(env, napi_wrap(env, thiz, obj, StorageProxy::Destructor, nullptr, nullptr)); in New() 158 return thiz; in New() 201 napi_value thiz = nullptr; in GetValueSync() local 205 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in GetValueSync() 217 NAPI_CALL(env, napi_unwrap(env, thiz, reinterpret_cast<void **>(&obj))); in GetValueSync() 396 napi_value thiz = nullptr; in SetValueSync() local 401 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullpt in SetValueSync() 473 napi_value thiz = nullptr; DeleteSync() local 520 napi_value thiz = nullptr; HasKeySync() local 592 napi_value thiz = nullptr; FlushSync() local 605 napi_value thiz = nullptr; ClearSync() local 640 napi_value thiz = nullptr; RegisterObserver() local 665 napi_value thiz = nullptr; UnRegisterObserver() local [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/task_manager/task_group/ |
H A D | base_task_group.cpp | 90 auto thiz = weakThis.lock(); in GetTaskUnlocked() 91 if (thiz) { in GetTaskUnlocked() 92 thiz->func_(std::move(param)); in GetTaskUnlocked() 93 thiz->OnTaskComplete(); in GetTaskUnlocked()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_predicates.h | 43 static RdbPredicatesProxy *GetNativePredicates(napi_env env, napi_callback_info info, napi_value &thiz); 45 static RdbPredicatesProxy *ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, 48 napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, const std::string fieldName); 50 napi_env env, napi_callback_info info, napi_value &thiz, int32_t &field, const std::string fieldName); 51 static RdbPredicatesProxy *ParseFieldAndValueArray(napi_env env, napi_callback_info info, napi_value &thiz, 53 static RdbPredicatesProxy *ParseFieldAndValue(napi_env env, napi_callback_info info, napi_value &thiz, 55 static RdbPredicatesProxy *ParseFieldAndStringValue(napi_env env, napi_callback_info info, napi_value &thiz, 57 static RdbPredicatesProxy *ParseFieldLowAndHigh(napi_env env, napi_callback_info info, napi_value &thiz,
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/ |
H A D | napi_rdb_predicates.h | 48 static RdbPredicatesProxy *ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, 51 napi_env env, napi_callback_info info, napi_value &thiz, std::string &field, const std::string fieldName); 53 napi_env env, napi_callback_info info, napi_value &thiz, int32_t &field, const std::string fieldName); 54 static RdbPredicatesProxy *ParseFieldAndValueArray(napi_env env, napi_callback_info info, napi_value &thiz, 56 static RdbPredicatesProxy *ParseFieldAndValue(napi_env env, napi_callback_info info, napi_value &thiz, 58 static RdbPredicatesProxy *ParseFieldAndStringValue(napi_env env, napi_callback_info info, napi_value &thiz, 60 static RdbPredicatesProxy *ParseFieldLowAndHigh(napi_env env, napi_callback_info info, napi_value &thiz,
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/ |
H A D | napi_preferences.cpp | 133 napi_value thiz = nullptr; in New() local 134 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr)); in New() 135 if (thiz == nullptr) { in New() 139 return thiz; in New() 396 napi_value thiz = nullptr; in RegisterObserver() local 400 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in RegisterObserver() 427 auto [obj, instance] = GetSelfInstance(env, thiz); in RegisterObserver() 438 napi_value thiz = nullptr; in UnregisterObserver() local 442 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in UnregisterObserver() 475 auto [obj, instance] = GetSelfInstance(env, thiz); in UnregisterObserver() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/ |
H A D | napi_preferences.cpp | 137 napi_value thiz = nullptr; in New() local 138 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thiz, nullptr)); in New() 139 if (thiz == nullptr) { in New() 143 return thiz; in New() 410 napi_value thiz = nullptr; in RegisterObserver() local 414 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullptr)); in RegisterObserver() 428 return RegisterDataObserver(env, argc, args, thiz); in RegisterObserver() 436 auto [obj, instance] = GetSelfInstance(env, thiz); in RegisterObserver() 447 napi_value thiz = nullptr; in UnRegisterObserver() local 451 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, &thiz, nullpt in UnRegisterObserver() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/opensles/src/adapter/ |
H A D | audioplayer_adapter.cpp | 245 IOHBufferQueue *thiz = (IOHBufferQueue *)itf;
in RegisterCallbackAdapter() local 246 AudioRenderer *audioRenderer = GetAudioRenderById(thiz->mId);
in RegisterCallbackAdapter() 254 callbackMap_.insert(make_pair(thiz->mId, callbackPtr_));
in RegisterCallbackAdapter()
|
H A D | audiocapturer_adapter.cpp | 190 IOHBufferQueue *thiz = (IOHBufferQueue *)itf; in RegisterCallbackAdapter() local 191 AudioCapturer *audioCapturer = GetAudioCapturerById(thiz->mId); in RegisterCallbackAdapter() 197 callbackMap_.insert(make_pair(thiz->mId, callbackPtr_)); in RegisterCallbackAdapter()
|
/foundation/multimedia/audio_framework/frameworks/native/audioadapter/include/ |
H A D | pulse_audio_service_adapter_impl.h | 67 PulseAudioServiceAdapterImpl *thiz; member
|
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/ |
H A D | audio_adapter_manager.h | 202 AudioAdapterManager *thiz; member
|