Home
last modified time | relevance | path

Searched refs:scheduler (Results 1 – 25 of 133) sorted by relevance

123456

/foundation/ability/ability_lite/frameworks/ability_lite/src/
Dability_scheduler.cpp29 AbilityScheduler::AbilityScheduler(AbilityEventHandler &eventHandler, Scheduler &scheduler) in AbilityScheduler() argument
30 : eventHandler_(eventHandler), scheduler_(scheduler) in AbilityScheduler()
36 auto scheduler = static_cast<AbilityScheduler *>(option.args); in AmsCallback() local
37 if (scheduler == nullptr) { in AmsCallback()
69 scheduler->PerformAppInit(appInfo); in AmsCallback()
84 scheduler->PerformTransactAbilityState(want, state, token, abilityType); in AmsCallback()
95 scheduler->PerformConnectAbility(want, token); in AmsCallback()
106 scheduler->PerformDisconnectAbility(want, token); in AmsCallback()
110 scheduler->PerformAppExit(); in AmsCallback()
122 scheduler->PerformDumpAbility(want, token); in AmsCallback()
/foundation/ability/ability_runtime/services/abilitymgr/include/
Ddata_ability_manager.h40 …int Release(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &client, bool isNo…
41 …int AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &token…
48 …d::shared_ptr<AbilityRecord> GetAbilityRecordByScheduler(const sptr<IAbilityScheduler> &scheduler);
52 bool ContainsDataAbility(const sptr<IAbilityScheduler> &scheduler);
Dlifecycle_deal.h42 void SetScheduler(const sptr<IAbilityScheduler> &scheduler);
/foundation/arkui/ace_engine/frameworks/core/animation/
Dinterpolator.h66 auto scheduler = weakScheduler.Upgrade();
67 if (scheduler == nullptr) {
76 return scheduler->Animate(
Dkeyframe_animation.h105 auto scheduler = weakScheduler.Upgrade(); in RunAsync() local
106 if (scheduler == nullptr) { in RunAsync()
111 scheduler->OpenImplicitAnimation(option, Curves::EASE, finishCallback); in RunAsync()
120 scheduler->AddKeyFrame( in RunAsync()
136 return scheduler->CloseImplicitAnimation(); in RunAsync()
/foundation/ability/ability_runtime/test/fuzztest/dataabilitymanager_fuzzer/
Ddataabilitymanager_fuzzer.cpp83 sptr<IAbilityScheduler> scheduler; in DoSomethingInterestingWithMyAPI() local
84 dataAbilityManager->Release(scheduler, client, boolParam); in DoSomethingInterestingWithMyAPI()
85 dataAbilityManager->ContainsDataAbility(scheduler); in DoSomethingInterestingWithMyAPI()
86 dataAbilityManager->AttachAbilityThread(scheduler, token); in DoSomethingInterestingWithMyAPI()
94 dataAbilityManager->GetAbilityRecordByScheduler(scheduler); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/
DREADME.md14 …me performance, such as data learning when the device is idle, the work scheduler can be used. Whe…
53 2. The api of work scheduler for starting, stopping and querying.
57 …function startWork(work: WorkInfo): void; | work scheduler application …
58 …function stopWork(work: WorkInfo, needCancel?: boolean): void; | work scheduler cancel …
67 3. Callback api of work scheduler
76 When an application needs to perform tasks with low real-time performance, work scheduler can be us…
80 Adhere to the following constraints and rules when using work scheduler:
83 …ontrol on the work scheduler according to the bundle activity of the application, and limit the ex…
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/
Ddistributeddb_communicator_deep_test.cpp200 static int CreateBufferThenAddIntoScheduler(SendTaskScheduler &scheduler, const std::string &dstTar… in CreateBufferThenAddIntoScheduler() argument
213 errCode = scheduler.AddSendTaskIntoSchedule(task, inPrio); in CreateBufferThenAddIntoScheduler()
232 SendTaskScheduler scheduler; variable
233 scheduler.Initialize();
238 int errCode = CreateBufferThenAddIntoScheduler(scheduler, DEVICE_NAME_A, Priority::LOW);
244 errCode = CreateBufferThenAddIntoScheduler(scheduler, DEVICE_NAME_B, Priority::LOW);
250 errCode = CreateBufferThenAddIntoScheduler(scheduler, DEVICE_NAME_B, Priority::NORMAL);
256 errCode = CreateBufferThenAddIntoScheduler(scheduler, DEVICE_NAME_C, Priority::NORMAL);
262 errCode = CreateBufferThenAddIntoScheduler(scheduler, DEVICE_NAME_C, Priority::HIGH);
268 errCode = CreateBufferThenAddIntoScheduler(scheduler, DEVICE_NAME_A, Priority::HIGH);
[all …]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/data/
Dtemplate_data.cpp22 ret = ret && SetValue(node[GET_NAME(scheduler)], scheduler); in Marshal()
29 return ret && GetValue(node, GET_NAME(scheduler), scheduler); in Unmarshal()
32 TemplateNode::TemplateNode(const Template &tpl) : scheduler(tpl.scheduler_) in TemplateNode()
45 return Template(nodes, scheduler); in ToTemplate()
/foundation/ability/ability_runtime/services/abilitymgr/src/
Ddata_ability_manager.cpp98 auto scheduler = dataAbilityRecord->GetScheduler(); in Acquire() local
99 if (!scheduler) { in Acquire()
120 return scheduler; in Acquire()
124 const sptr<IAbilityScheduler> &scheduler, const sptr<IRemoteObject> &client, bool isNotHap) in Release() argument
128 CHECK_POINTER_AND_RETURN(scheduler, ERR_NULL_OBJECT); in Release()
141 it->second->GetScheduler()->AsObject() == scheduler->AsObject()) { in Release()
179 bool DataAbilityManager::ContainsDataAbility(const sptr<IAbilityScheduler> &scheduler) in ContainsDataAbility() argument
183 CHECK_POINTER_AND_RETURN(scheduler, ERR_NULL_OBJECT); in ContainsDataAbility()
188 it->second->GetScheduler()->AsObject() == scheduler->AsObject()) { in ContainsDataAbility()
196 int DataAbilityManager::AttachAbilityThread(const sptr<IAbilityScheduler> &scheduler, const sptr<IR… in AttachAbilityThread() argument
[all …]
Ddata_ability_record.cpp111 int DataAbilityRecord::Attach(const sptr<IAbilityScheduler> &scheduler) in Attach() argument
115 if (!scheduler) { in Attach()
138 ability_->SetScheduler(scheduler); in Attach()
139 scheduler_ = scheduler; in Attach()
150 scheduler->ScheduleAbilityTransaction(ability_->GetWant(), state); in Attach()
Dlifecycle_deal.cpp30 void LifecycleDeal::SetScheduler(const sptr<IAbilityScheduler> &scheduler) in SetScheduler() argument
33 abilityScheduler_ = scheduler; in SetScheduler()
/foundation/ability/ability_runtime/test/unittest/ability_record_test/
Dability_record_test_call.cpp191 OHOS::sptr<AbilitySchedulerMockFunction> scheduler = new AbilitySchedulerMockFunction(); variable
192 sptr<IRemoteObject> object = scheduler->CallRequestModify();
297 OHOS::sptr<AbilitySchedulerMockFunction> scheduler = new AbilitySchedulerMockFunction(); variable
300 abilityRecord_->SetScheduler(scheduler);
319 OHOS::sptr<AbilitySchedulerMock> scheduler = new AbilitySchedulerMock(); variable
322 abilityRecord_->SetScheduler(scheduler);
/foundation/ability/ability_runtime/test/fuzztest/releasedataability_fuzzer/
Dreleasedataability_fuzzer.cpp50 sptr<IAbilityScheduler> scheduler; in DoSomethingInterestingWithMyAPI() local
62 if (abilitymgr->ReleaseDataAbility(scheduler, token) != 0) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/attachabilitythread_fuzzer/
Dattachabilitythread_fuzzer.cpp183 sptr<IAbilityScheduler> scheduler = new AbilitySchedulerFuzzTest(); in DoSomethingInterestingWithMyAPI() local
210 connectManager->AttachAbilityThreadLocked(scheduler, serviceToken); in DoSomethingInterestingWithMyAPI()
214 dataManager->AttachAbilityThread(scheduler, dataToken); in DoSomethingInterestingWithMyAPI()
217 if (abilitymgr->AttachAbilityThread(scheduler, token) != 0) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicethird_fuzzer/
Dabilitymanagerservicethird_fuzzer.cpp73 sptr<IAbilityScheduler> scheduler; in DoSomethingInterestingWithMyAPI() local
74 abilityms->GetDataAbilityManager(scheduler); in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/kv_store/frameworks/common/
Dexecutor_pool.h59 std::shared_ptr<Executor> scheduler; in ~ExecutorPool() local
62 scheduler = std::move(scheduler_); in ~ExecutorPool()
64 if (scheduler != nullptr) { in ~ExecutorPool()
65 scheduler->Stop(true); in ~ExecutorPool()
/foundation/distributeddatamgr/preferences/frameworks/native/include/
Dexecutor_pool.h62 std::shared_ptr<Executor> scheduler; in ~ExecutorPool() local
65 scheduler = std::move(scheduler_); in ~ExecutorPool()
67 if (scheduler != nullptr) { in ~ExecutorPool()
68 scheduler->Stop(true); in ~ExecutorPool()
/foundation/ability/ability_runtime/test/unittest/call_container_test/
Dcall_container_test.cpp154 OHOS::sptr<IAbilityScheduler> scheduler = new AbilitySchedulerMock(); variable
155 abilityRecord_->SetScheduler(scheduler);
156 scheduler->CallRequest();
177 auto scheduler = new AbilitySchedulerMockFunction(); variable
178 sptr<IRemoteObject> object = scheduler->CallRequestModify();
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/
Ddatashare_template.h44 const std::string &scheduler) : predicates_(predicates), scheduler_(scheduler) {} in Template()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
Dmock_ability_manager_service.cpp102 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() argument
104 abilityScheduler_ = scheduler; in AttachAbilityThread()
/foundation/ability/ability_runtime/test/unittest/sys_mgr_client_test/
Dmock_ability_manager_service.cpp121 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() argument
123 abilityScheduler_ = scheduler; in AttachAbilityThread()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/
Dmock_ability_manager_service.cpp127 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() argument
129 abilityScheduler_ = scheduler; in AttachAbilityThread()
Dmock_serviceability_manager_service.cpp105 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() argument
107 abilityScheduler_ = scheduler; in AttachAbilityThread()
/foundation/ability/ability_lite/frameworks/ability_lite/include/
Dability_scheduler.h48 AbilityScheduler(AbilityEventHandler &eventHandler, Scheduler &scheduler);

123456