/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
D | ability_scheduler.cpp | 29 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/ |
D | data_ability_manager.h | 40 …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);
|
D | lifecycle_deal.h | 42 void SetScheduler(const sptr<IAbilityScheduler> &scheduler);
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
D | interpolator.h | 66 auto scheduler = weakScheduler.Upgrade(); 67 if (scheduler == nullptr) { 76 return scheduler->Animate(
|
D | keyframe_animation.h | 105 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/ |
D | dataabilitymanager_fuzzer.cpp | 83 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/ |
D | README.md | 14 …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/ |
D | distributeddb_communicator_deep_test.cpp | 200 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/ |
D | template_data.cpp | 22 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/ |
D | data_ability_manager.cpp | 98 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 …]
|
D | data_ability_record.cpp | 111 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()
|
D | lifecycle_deal.cpp | 30 void LifecycleDeal::SetScheduler(const sptr<IAbilityScheduler> &scheduler) in SetScheduler() argument 33 abilityScheduler_ = scheduler; in SetScheduler()
|
/foundation/ability/ability_runtime/test/unittest/ability_record_test/ |
D | ability_record_test_call.cpp | 191 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/ |
D | releasedataability_fuzzer.cpp | 50 sptr<IAbilityScheduler> scheduler; in DoSomethingInterestingWithMyAPI() local 62 if (abilitymgr->ReleaseDataAbility(scheduler, token) != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/attachabilitythread_fuzzer/ |
D | attachabilitythread_fuzzer.cpp | 183 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/ |
D | abilitymanagerservicethird_fuzzer.cpp | 73 sptr<IAbilityScheduler> scheduler; in DoSomethingInterestingWithMyAPI() local 74 abilityms->GetDataAbilityManager(scheduler); in DoSomethingInterestingWithMyAPI()
|
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
D | executor_pool.h | 59 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/ |
D | executor_pool.h | 62 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/ |
D | call_container_test.cpp | 154 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/ |
D | datashare_template.h | 44 const std::string &scheduler) : predicates_(predicates), scheduler_(scheduler) {} in Template()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
D | mock_ability_manager_service.cpp | 102 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/ |
D | mock_ability_manager_service.cpp | 121 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/ |
D | mock_ability_manager_service.cpp | 127 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() argument 129 abilityScheduler_ = scheduler; in AttachAbilityThread()
|
D | mock_serviceability_manager_service.cpp | 105 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() argument 107 abilityScheduler_ = scheduler; in AttachAbilityThread()
|
/foundation/ability/ability_lite/frameworks/ability_lite/include/ |
D | ability_scheduler.h | 48 AbilityScheduler(AbilityEventHandler &eventHandler, Scheduler &scheduler);
|