Home
last modified time | relevance | path

Searched refs:Batch (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/base/time/time_service/services/timer/src/
H A Dbatch.cpp22 Batch::Batch() in Batch() function in OHOS::MiscServices::Batch
29 Batch::Batch(const TimerInfo &seed) in Batch() function in OHOS::MiscServices::Batch
37 size_t Batch::Size() const in Size()
42 std::shared_ptr<TimerInfo> Batch::Get(size_t index) const in Get()
53 bool Batch::Add(const std::shared_ptr<TimerInfo> &alarm) in Add()
77 bool Batch::Remove(const TimerInfo &alarm) in Remove()
112 bool Batch::HasPackage(const std::string &package_name) in HasPackage()
121 bool Batch::HasWakeups() const in HasWakeups()
129 std::chrono::steady_clock::time_point Batch::GetStart() const in GetStart()
134 std::chrono::steady_clock::time_point Batch::GetEnd() const in GetEnd()
[all …]
H A Dtimer_manager.cpp95 extern bool AddBatchLocked(std::vector<std::shared_ptr<Batch>> &list, const std::shared_ptr<Batch> …
806 std::shared_ptr<Batch> TimerManager::FindFirstWakeupBatchLocked() in FindFirstWakeupBatchLocked()
810 [](const std::shared_ptr<Batch> &batch) { in FindFirstWakeupBatchLocked()
832 AddBatchLocked(alarmBatches_, std::make_shared<Batch>(*alarm)); in InsertAndBatchTimerLocked()
847 [whenElapsed, maxWhen](const std::shared_ptr<Batch> &batch) { in AttemptCoalesceLocked()
1190 bool AddBatchLocked(std::vector<std::shared_ptr<Batch>> &list, const std::shared_ptr<Batch> &newBat… in AddBatchLocked()
1195 … [](const std::shared_ptr<Batch> &first, const std::shared_ptr<Batch> &second) { in AddBatchLocked()
1339 void TimerManager::HandleRunningLock(const std::shared_ptr<Batch> &firstWakeup) in HandleRunningLock()
/ohos5.0/base/time/time_service/services/timer/include/
H A Dbatch.h27 class Batch {
29 Batch();
30 explicit Batch(const TimerInfo &seed);
31 virtual ~Batch() = default;
H A Dtimer_manager.h117 std::shared_ptr<Batch> FindFirstWakeupBatchLocked();
130 void HandleRunningLock(const std::shared_ptr<Batch> &firstWakeup);
149 std::vector<std::shared_ptr<Batch>> alarmBatches_;
/ohos5.0/foundation/multimodalinput/input/service/event_resample/include/
H A Devent_resample.h146 struct Batch { struct
149 std::vector<Batch> batches_; argument
251 ErrCode ConsumeSamples(Batch& batch, size_t count, MotionEvent** outEvent);
259 bool CanAddSample(const Batch &batch, MotionEvent &event);
261 ssize_t FindSampleNoLaterThan(const Batch& batch, int64_t time);
/ohos5.0/foundation/multimodalinput/input/service/event_resample/src/
H A Devent_resample.cpp154 Batch& batch = batches_.at(batchIndex); in UpdateBatch()
165 Batch batch; in UpdateBatch()
240 Batch& batch = batches_.at(i); in ConsumeBatch()
273 ErrCode EventResample::ConsumeSamples(Batch& batch, size_t count, MotionEvent** outEvent) in ConsumeSamples()
466 bool EventResample::CanAddSample(const Batch &batch, MotionEvent &event) in CanAddSample()
494 ssize_t EventResample::FindSampleNoLaterThan(const Batch& batch, int64_t time) in FindSampleNoLaterThan()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-distributedKVStore.md2706 console.info('Succeeded in putting Batch');
2782 console.info('Succeeded in putting Batch');
2980 console.info('Succeeded in putting Batch');
3055 console.info('Succeeded in putting Batch');
3359 console.info('Succeeded in putting Batch');
3429 console.info('Succeeded in putting Batch');
3493 console.info('Succeeded in putting Batch');
3565 console.info('Succeeded in putting Batch');
5694 console.info('Succeeded in putting Batch');
5763 console.info('Succeeded in putting Batch');
[all …]
H A Djs-apis-data-dataShare-sys.md1621 console.error(`Batch update error: code: ${err.code}, message: ${err.message} `);
1627 console.error(`Batch update error: code: ${code}, message: ${message} `);
/ohos5.0/docs/en/application-dev/arkts-utils/
H A DReadme-EN.md60 - [Batch Data Writing to the Database](batch-database-operations-guide.md)
H A Dtaskpool-vs-worker.md45 …**TaskPool** is recommended. For details about the scenario example, see [Batch Data Writing to th…
H A Dbatch-database-operations-guide.md1 # Batch Data Writing to the Database
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Djs-apis-application-dataShareExtensionAbility-sys.md168 Batch updates data into the database. This API is called by the server and can be overridden as req…
297 Batch inserts data into the database. This API is called by the server and can be overridden as req…
H A Djs-apis-distributedKVStore.md2706 console.info('Succeeded in putting Batch');
2782 console.info('Succeeded in putting Batch');
2980 console.info('Succeeded in putting Batch');
3055 console.info('Succeeded in putting Batch');
3359 console.info('Succeeded in putting Batch');
3429 console.info('Succeeded in putting Batch');
3493 console.info('Succeeded in putting Batch');
3565 console.info('Succeeded in putting Batch');
5694 console.info('Succeeded in putting Batch');
5763 console.info('Succeeded in putting Batch');
[all …]
H A Djs-apis-data-dataShare-sys.md1617 console.error(`Batch update error: code: ${err.code}, message: ${err.message} `);
1623 console.error(`Batch update error: code: ${code}, message: ${message} `);
1631 Batch inserts data into the database. This API uses an asynchronous callback to return the result. …
1692 Batch inserts data into the database. This API uses a promise to return the result. Silent access i…
H A Djs-apis-data-rdb.md1281 Batch inserts data into a table. This API uses an asynchronous callback to return the result.
1347 Batch inserts data into a table. This API uses a promise to return the result.
H A Djs-apis-data-relationalStore.md7 …ension. In this case, you can perform batch operations. For details, see [Batch Database Operation…
2649 Batch inserts data into a table. This API uses an asynchronous callback to return the result.
2740 Batch inserts data into a table. This API uses a promise to return the result.
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/
H A Dasset-store-kit-overview.md35 * Batch asset query
/ohos5.0/docs/en/application-dev/database/
H A Dshare-data-by-datashareextensionability.md42 - **batchUpdate**: called to update batch data upon the request of the client. Batch data update mu…
45 - **batchInsert**: called to batch insert data upon the request of the client. Batch data insertion…
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Dc-apis-scan.md351 | batchMode | Batch processing mode.|
/ohos5.0/base/time/time_service/test/unittest/service_test/src/
H A Dtime_proxy_test.cpp185 std::shared_ptr<Batch> batch = timerManagerHandler_->alarmBatches_.at(0);
312 std::shared_ptr<Batch> batch = timerManagerHandler_->alarmBatches_.at(0);
H A Dtime_service_test.cpp1051 Batch batch;
/ohos5.0/foundation/multimodalinput/input/service/event_resample/test/
H A Devent_resample_test.cpp909 EventResample::Batch batch;
/ohos5.0/docs/en/release-notes/
H A DOpenHarmony-v4.1-beta1.md19 - Batch URI authorization is supported during the launch of the UIAbility and UIExtensionAbility.
/ohos5.0/docs/en/application-dev/
H A Dwebsite.md361 - [Batch Data Writing to the Database](arkts-utils/batch-database-operations-guide.md)