Home
last modified time | relevance | path

Searched refs:context_ (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dpipeline_context_test_ng.cpp91 context_->Destroy(); in TearDownTestSuite()
92 context_->window_.reset(); in TearDownTestSuite()
208 context_->onShow_ = true;
240 context_->onShow_ = true;
306 context_->FlushFocus();
321 context_->FlushFocus();
340 context_->FlushFocus();
658 context_->OnIdle(0);
688 context_->Finish(false);
722 context_->OnShow();
[all …]
H A Dpipeline_context_test_ng_new.cpp39 ASSERT_NE(context_, nullptr);
116 ASSERT_NE(context_, nullptr);
138 ASSERT_NE(context_, nullptr);
158 ASSERT_NE(context_, nullptr);
162 context_->DumpPipelineInfo();
178 ASSERT_NE(context_, nullptr);
204 ASSERT_NE(context_, nullptr);
847 context_->InspectDrew();
910 context_->OnIdle(1);
923 context_->OnIdle(2);
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/application_context_test/
H A Dapplication_context_test.cpp65 context_->callbacks_.clear();
80 context_->envCallbacks_.clear();
704 context_->SetToken(token);
736 context_->SwitchArea(mode);
837 EXPECT_NE(context_, nullptr);
851 EXPECT_NE(context_, nullptr);
866 EXPECT_NE(context_, nullptr);
881 EXPECT_NE(context_, nullptr);
1513 context_->SetFont("awk");
1524 context_->SetMcc("mcc");
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_container_test.cpp68 context_ = nullptr; in TearDown()
641 ASSERT_NE(context_, nullptr);
909 context_->SetTheme(1);
921 context_->SetTheme(1);
1021 context_->SetColorMode(1);
1033 context_->SetColorMode(1);
1437 context_->SetTheme(0);
1448 context_->SetTheme(0);
1493 context_->SetPattern(0);
1504 context_->SetPattern(0);
[all …]
H A Dcontext_deal_test.cpp177 context_->SetAbilityInfo(info);
193 context_->SetAbilityInfo(info);
298 context_->SetAbilityInfo(info);
312 context_->SetContext(context);
361 context_->SetAbilityInfo(info);
373 context_->SetAbilityInfo(info);
385 context_->SetContext(info);
430 context_->SetAbilityInfo(info);
456 context_->flags_ = 0;
725 context_->SetTheme(themeId);
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/
H A Dability_context_impl_test.cpp215 context_->SetTerminating(true);
218 context_->SetTerminating(false);
219 ret = context_->IsTerminating();
231 ASSERT_TRUE(context_ != nullptr);
254 ASSERT_TRUE(context_ != nullptr);
282 ASSERT_TRUE(context_ != nullptr);
316 ASSERT_TRUE(context_ != nullptr);
646 context_->GetAbilityRecordId();
1049 context_->SwitchArea(mode);
1062 context_->SwitchArea(mode);
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ability_context.cpp27 return context_; in GetAbilityContext()
32 if (context_ == nullptr) { in GetToken()
36 return context_->GetToken(); in GetToken()
41 if (context_ == nullptr) { in GetPreferencesDir()
50 if (context_ == nullptr) { in GetDatabaseDir()
59 if (context_ == nullptr) { in GetBundleName()
68 if (context_ == nullptr) { in GetArea()
77 if (context_ == nullptr) { in GetAbilityInfo()
86 if (context_ == nullptr) { in GetHapModuleInfo()
95 if (context_ == nullptr) { in GetConfiguration()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmock_mtp_operation_utils.cpp90 context_->storageID, context_->format, context_->parent); in GetNumObjects()
119 context_->storageID, context_->format, context_->parent); in GetObjectHandles()
178 context_->property, context_->format); in GetObjectPropDesc()
200 …MtpPacketTool::GetObjectPropName(context_->property).c_str(), context_->property, context_->proper… in GetObjectPropValue()
223 context_->handle, context_->property, context_->properType, in DoSetObjectPropValue()
246context_->handle, context_->format, context_->property, context_->groupCode, context_->depth); in GetObjectPropList()
355 context_->storageID, context_->parent, context_->format, in SendObjectInfo()
356 context_->sendObjectFileSize, context_->name.c_str(), in SendObjectInfo()
377 context_->handle, context_->offset, context_->length); in GetPartialObject()
415 context_->handle, context_->storageID, context_->parent); in MoveObject()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_sync_state_machine.cpp104 : context_(nullptr), in SingleVerSyncStateMachine()
216 context_->SafeExit(); in SyncStepInnerLocked()
260 if (context_->IsKilled()) { in AbortInner()
270 context_->Clear(); in AbortInner()
380 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
385 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
389 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
392 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
558 context_->Clear(); in DoTimeout()
578 context_->Clear(); in DoInnerErr()
[all …]
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_app_event_watcher.cpp155 if (context_ == nullptr) { in ~NapiAppEventWatcher()
164 delete context_; in ~NapiAppEventWatcher()
170 delete context_; in ~NapiAppEventWatcher()
176 delete context_; in ~NapiAppEventWatcher()
197 if (context_ == nullptr) { in InitHolder()
199 if (context_ == nullptr) { in InitHolder()
216 if (context_ == nullptr || context_->triggerContext == nullptr) { in OnTrigger()
240 if (context_ == nullptr) { in InitTrigger()
259 if (context_ == nullptr) { in InitReceiver()
278 if (context_ == nullptr || context_->receiveContext == nullptr || events.empty()) { in OnEvents()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_operation_utils.cpp130 if (context_ == nullptr) { in GetNumObjects()
146 if (context_ == nullptr) { in HasStorage()
179 context_->parent = 0; in GetObjectHandles()
252 if (context_ == nullptr) { in GetObjectPropDesc()
270 if (context_ == nullptr) { in GetObjectPropValue()
299 if (context_ == nullptr) { in DoSetObjectPropValue()
342 if (context_ == nullptr) { in GetObjectPropList()
388 if (context_ == nullptr) { in SetObjectReferences()
604 context_->handle = handle; in SendObjectInfo()
619 if (context_ == nullptr) { in GetPartialObject()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_test/
H A Dability_context_test.cpp98 context_->AttachBaseContext(deal);
124 context_->AttachBaseContext(deal);
149 context_->StartAbility(want, -1);
170 context_->StartAbility(want, -1);
175 context_->AttachBaseContext(deal);
176 context_->TerminateAbility();
199 context_->AttachBaseContext(deal);
200 context_->TerminateAbility();
223 context_->AttachBaseContext(deal);
226 context_->StartAbility(want, -1);
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Dasync_call.cpp35 context_ = new AsyncContext(); in AsyncCall()
57 if (context_ == nullptr) { in ~AsyncCall()
66 if (context_ == nullptr) { in Call()
86 context_->work = work; in Call()
87 context_ = nullptr; in Call()
94 if (context_ == nullptr || context_->ctx == nullptr || queue == nullptr) { in Post()
109 context_->work = work; in Post()
110 context_->queue = queue; in Post()
120 context_ = nullptr; in Post()
126 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/unittest/tone_player_test/src/
H A Dsystem_tone_player_unit_test.cpp37 auto context_ = std::make_shared<ContextImpl>(); variable
53 auto context_ = std::make_shared<ContextImpl>(); variable
71 auto context_ = std::make_shared<ContextImpl>(); variable
89 auto context_ = std::make_shared<ContextImpl>(); variable
107 auto context_ = std::make_shared<ContextImpl>(); variable
125 auto context_ = std::make_shared<ContextImpl>(); variable
145 auto context_ = std::make_shared<ContextImpl>(); variable
177 auto context_ = std::make_shared<ContextImpl>(); variable
193 auto context_ = std::make_shared<ContextImpl>(); variable
209 auto context_ = std::make_shared<ContextImpl>(); variable
[all …]
/ohos5.0/base/request/request/frameworks/js/napi/src/upload/
H A Dasync_call.cpp24 context_ = new AsyncContext(); in AsyncCall()
40 context_->ctx = std::move(context); in AsyncCall()
46 if (context_ == nullptr) { in ~AsyncCall()
50 DeleteContext(env_, context_); in ~AsyncCall()
55 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in Call()
62 if (context_->callback == nullptr) { in Call()
71 context_->work = work; in Call()
72 context_ = nullptr; in Call()
80 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
86 if (context_->callback == nullptr) { in SyncCall()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/unittest/sound_manager_test/src/
H A Dsystem_sound_manager_unit_test.cpp211 systemSoundManager_->SetAlarmToneUri(context_, srcUri);
212 dstUri = systemSoundManager_->GetAlarmToneUri(context_);
230 fd = systemSoundManager_->OpenAlarmTone(context_, uri);
283 int fd = systemSoundManager_->OpenAlarmTone(context_, uri);
759 result = systemSoundManager_->GetRingtonePlayer(context_,
784 result = systemSoundManager_->GetSystemTonePlayer(context_,
813 systemSoundManager_->SetSystemToneUri(context_, uri,
864 int fd = systemSoundManager_->OpenAlarmTone(context_, uri);
902 int fd = systemSoundManager_->OpenAlarmTone(context_, uri);
927 int fd = systemSoundManager_->OpenAlarmTone(context_, uri);
[all …]
/ohos5.0/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dasync_call.cpp25 context_ = new AsyncContext(); in AsyncCall()
26 context_->env = env; in AsyncCall()
27 if (context_ == nullptr) { in AsyncCall()
49 context_->ctx = context; in AsyncCall()
56 if (context_ == nullptr) { in ~AsyncCall()
59 delete context_; in ~AsyncCall()
64 if (context_ == nullptr) { in Call()
85 context_->work = work; in Call()
86 context_ = nullptr; in Call()
94 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dmulti_ver_sync_state_machine.cpp47 : context_(nullptr), in MultiVerSyncStateMachine()
102 RefObject::IncObjRef(context_); in SyncStep()
108 RefObject::DecObjRef(context_); in SyncStep()
116 context_->Clear(); in StepToIdle()
124 if (context_->IsKilled()) { in MessageCallbackCheck()
131 context_->IncSequenceId(); in MessageCallbackCheck()
260 context_->SafeExit(); in SyncStepInnerLocked()
264 RefObject::DecObjRef(context_); in SyncStepInnerLocked()
290 context_->Clear(); in AbortInner()
317 RefObject::DecObjRef(context_); in CommErrAbort()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dgeneric_virtual_device.cpp30 context_(nullptr), in GenericVirtualDevice()
51 if (context_ != nullptr) { in ~GenericVirtualDevice()
67 context_ = nullptr; in ~GenericVirtualDevice()
108 if (context_ == nullptr) { in Initialize()
157 RefObject::IncObjRef(context_); in MessageCallback()
159 SyncTaskContext *context = context_; in MessageCallback()
199 if (context_->IsTargetQueueEmpty()) { in StartResponseTask()
204 context_->MoveToNextTarget(); in StartResponseTask()
206 context_->UnlockObj(); in StartResponseTask()
208 context_->LockObj(); in StartResponseTask()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dget_object_prop_desc_data.cpp43 if (context_ == nullptr) { in Parser()
57 context_->property = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
58 context_->format = MtpPacketTool::GetUInt32(buffer, offset); in Parser()
64 if (context_ == nullptr) { in Maker()
102 switch (context_->property) { in GetPropInt()
104 …return std::make_shared<Property>(context_->property, MTP_TYPE_UINT16_CODE, false, context_->forma… in GetPropInt()
107 return std::make_shared<Property>(context_->property, MTP_TYPE_UINT16_CODE); in GetPropInt()
112 return std::make_shared<Property>(context_->property, MTP_TYPE_UINT32_CODE); in GetPropInt()
114 return std::make_shared<Property>(context_->property, MTP_TYPE_UINT64_CODE); in GetPropInt()
123 switch (context_->property) { in GetPropStr()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp72 context_.Reset(); in TearDown()
85 WifiDirectTestContext<TestContextKey> context_; member in OHOS::SoftBus::P2pV1ProcessorTest
104 context_.Set(TestContextKey::CONNECT_REUSE_ONLY, false); in PrepareContext()
109 context_.Set(TestContextKey::WIFI_5G_CHANNEL_LIST, in PrepareContext()
113 context_.Set(TestContextKey::WIFI_STA_FREQUENCY, int(2417)); in PrepareContext()
115 context_.Set(TestContextKey::WIFI_REQUEST_GC_IP, in PrepareContext()
528 context_.Set(TestContextKey::WIFI_STA_FREQUENCY, int(5180));
530 context_.Set(TestContextKey::WIFI_REQUEST_GC_IP,
845 context_.Set(TestContextKey::WIFI_REQUEST_GC_IP,
910 context_.Set(TestContextKey::WIFI_REQUEST_GC_IP,
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dasync_call.cpp25 context_ = new AsyncContext(); in AsyncCall()
42 context_->ctx = std::move(context); in AsyncCall()
48 if (context_ == nullptr) { in ~AsyncCall()
52 DeleteContext(env_, context_); in ~AsyncCall()
57 if (context_ == nullptr) { in Call()
61 if (context_->ctx == nullptr) { in Call()
68 if (context_->callback == nullptr) { in Call()
77 context_->work = work; in Call()
78 context_ = nullptr; in Call()
86 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_context_test.cpp126 EXPECT_NE(context_, nullptr);
138 context_->TerminateAbility();
139 EXPECT_NE(context_, nullptr);
193 context_->AttachBaseContext(deal);
209 context_->AttachBaseContext(deal);
226 context_->AttachBaseContext(deal);
239 context_->AttachBaseContext(deal);
259 context_->AttachBaseContext(deal);
277 context_->AttachBaseContext(deal);
295 context_->AttachBaseContext(deal);
[all …]
/ohos5.0/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dcall.cpp25 context_ = new CallContext(); in Call()
55 if (context_ == nullptr) { in ~Call()
59 DeleteContext(env_, context_); in ~Call()
64 if (context_ == nullptr) { in AsyncCall()
68 if (context_->ctx == nullptr) { in AsyncCall()
84 context_->work = work; in AsyncCall()
85 context_ = nullptr; in AsyncCall()
92 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
100 JsError::ThrowError(env, context_->ctx->errCode_, context_->ctx->errMsg_); in SyncCall()
103 DeleteContext(env, context_); in SyncCall()
[all …]
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/
H A Dasync_call.cpp25 context_ = new AsyncContext(); in AsyncCall()
40 context_->ctx = std::move(context); in AsyncCall()
46 if (context_ == nullptr) { in ~AsyncCall()
50 DeleteContext(env_, context_); in ~AsyncCall()
51 context_ = nullptr; in ~AsyncCall()
56 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in Call()
62 if (context_->callback == nullptr) { in Call()
71 context_->work = work; in Call()
72 context_ = nullptr; in Call()
79 if ((context_ == nullptr) || (context_->ctx == nullptr)) { in SyncCall()
[all …]

12345678910>>...30