/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_semaphore_gles.cpp | 37 plat_.sync = handle; in GpuSemaphoreGles() 43 if (ownsResources_ && plat_.sync) { in ~GpuSemaphoreGles() 45 GLsync sync = reinterpret_cast<GLsync>(plat_.sync); in ~GpuSemaphoreGles() local 46 glDeleteSync(sync); in ~GpuSemaphoreGles() 48 plat_.sync = 0; in ~GpuSemaphoreGles() 53 return plat_.sync; in GetHandle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_render_display_sync_test.cpp | 153 OHOS::Rosen::RSRenderDisplaySync sync(id); 154 int32_t result = sync.GetNearestFrameRate(30, {}); 157 result = sync.GetNearestFrameRate(60, {30, 60, 90}); 160 result = sync.GetNearestFrameRate(5, {30, 60, 90}); 163 RSRenderDisplaySync sync(id); 164 int32_t result = sync.GetNearestFrameRate(100, {30, 60, 90}); 168 RSRenderDisplaySync sync(id); 169 int32_t result = sync.GetNearestFrameRate(70, {60, 75, 90}); 173 RSRenderDisplaySync sync(id); 174 int32_t result = sync.GetNearestFrameRate(80, {60, 75, 90}); [all …]
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-sync.md | 1 # sync chapter 6 sync命令用于同步缓存数据(文件系统的数据)到sd卡。 11 sync 21 - sync命令用来刷新缓存,当没有sd卡插入时不进行操作。 28 举例:输入sync,有sd卡时同步到sd卡,无sd卡时不操作。
|
/ohos5.0/docs/zh-cn/release-notes/release-definitions/ |
H A D | Release-version-definitions.md | 51 …sync -c<br/>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b… 52 …o sync -c<br/>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git … 53 …sync -c<br/>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b… 54 …sync -c<br/>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b… 55 …sync -c<br/>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b… 56 …sync -c<br/>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b…
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/ |
H A D | Cargo.toml | 13 ….20.1", features = ["io-util", "net", "rt", "rt-multi-thread", "macros", "sync", "time"], optional… 14 …om/openharmony/commonlibrary_rust_ylong_runtime.git", features = ["net", "sync", "fs", "macros", "… 25 "sync", 31 sync = [] # Uses sync interfaces. 69 required-features = ["sync", "http1_1", "__tls"] 84 required-features = ["sync", "http1_1"] 89 required-features = ["sync", "http1_1"] 94 required-features = ["sync", "http1_1"]
|
/ohos5.0/foundation/resourceschedule/ffrt/ |
H A D | BUILD.gn | 163 "src/sync/io_poller.cpp", 164 "src/sync/mutex.cpp", 165 "src/sync/perf_counter.cpp", 166 "src/sync/poller.cpp", 167 "src/sync/poller_api.cpp", 168 "src/sync/shared_mutex.cpp", 169 "src/sync/sleep.cpp", 170 "src/sync/sync.cpp", 171 "src/sync/thread.cpp", 172 "src/sync/timer_api.cpp", [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-cloudsync-sys.md | 18 Enumerates the device-cloud sync states. 39 Enumerates the device-cloud sync errors. 262 console.info("start sync successfully"); 322 > Calling **stop** will stop the sync process. To resume the sync, call [start](#start). 353 console.info("stop sync successfully"); 367 > Calling **stop** will stop the sync process. To resume the sync, call [start](#start). 943 console.info("start sync successfully"); 1002 Calling **stop** will stop the sync process. To resume the sync, call [start](#start). 1034 console.info("stop sync successfully"); 1046 Calling **stop** will stop the sync process. To resume the sync, call [start](#start). [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/manager/src/ |
H A D | hdf_kevent.c | 99 if (sync) { in PrepareEvent() 134 eventBuf = PrepareEvent(&wait, class, event, content, sync); in SendKevent() 140 if (sync) { in SendKevent() 145 if (sync) { in SendKevent() 157 if (sync) { in SendKevent() 181 return SendKevent(keventmodule, eventClass, event, content, sync); in HdfSysEventSend() 218 bool sync = false; in KeventPmNotifierFn() local 228 sync = true; in KeventPmNotifierFn() 238 ret = SendKevent(keventModule, HDF_SYSEVENT_CLASS_POWER, powerEvent, NULL, sync); in KeventPmNotifierFn() 252 bool sync = false; in KeventFbNotifierFn() local [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/ |
H A D | egl_hook_entries.in | 112 HOOK_API_ENTRY(EGLBoolean, eglDestroySync, EGLDisplay dpy, EGLSync sync) 113 CALL_HOOK_API_RET(eglDestroySync, dpy, sync) 116 CALL_HOOK_API_RET(eglClientWaitSync, dpy, sync, flags, timeout) 119 CALL_HOOK_API_RET(eglGetSyncAttrib, dpy, sync, attribute, value) 137 CALL_HOOK_API_RET(eglWaitSync, dpy, sync, flags) 159 CALL_HOOK_API_RET(eglDestroySyncKHR, dpy, sync) 162 CALL_HOOK_API_RET(eglClientWaitSyncKHR, dpy, sync, flags, timeout) 165 CALL_HOOK_API_RET(eglGetSyncAttribKHR, dpy, sync, attribute, value) 169 CALL_HOOK_API_RET(eglSignalSyncKHR, dpy, sync, mode) 214 CALL_HOOK_API_RET(eglWaitSyncKHR, dpy, sync, flags) [all …]
|
H A D | wrapper_hook_entries.in | 112 HOOK_API_ENTRY(EGLBoolean, eglDestroySync, EGLDisplay dpy, EGLSync sync) 113 CALL_HOOK_API_RET(eglDestroySync, dpy, sync) 116 CALL_HOOK_API_RET(eglClientWaitSync, dpy, sync, flags, timeout) 119 CALL_HOOK_API_RET(eglGetSyncAttrib, dpy, sync, attribute, value) 137 CALL_HOOK_API_RET(eglWaitSync, dpy, sync, flags) 159 CALL_HOOK_API_RET(eglDestroySyncKHR, dpy, sync) 162 CALL_HOOK_API_RET(eglClientWaitSyncKHR, dpy, sync, flags, timeout) 165 CALL_HOOK_API_RET(eglGetSyncAttribKHR, dpy, sync, attribute, value) 169 CALL_HOOK_API_RET(eglSignalSyncKHR, dpy, sync, mode) 214 CALL_HOOK_API_RET(eglWaitSyncKHR, dpy, sync, flags) [all …]
|
/ohos5.0/base/request/request/services/src/ |
H A D | lib.rs | 73 static ONCE: std::sync::Once = std::sync::Once::new(); in test_init() 91 DB_LOCK = std::sync::Mutex::new(()); in lock_database() 100 _inner: std::sync::MutexGuard<'a, ()>, 111 static mut DB_LOCK: std::sync::Mutex<()> = std::sync::Mutex::new(());
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_provider.cpp | 121 void ImageProvider::FailCallback(const std::string& key, const std::string& errorMsg, bool sync) in FailCallback() argument 130 if (sync) { in FailCallback() 141 … const RefPtr<CanvasImage>& canvasImage, const std::string& key, bool sync, bool loadInVipChannel) in SuccessCallback() argument 151 if (sync) { in SuccessCallback() 161 void ImageProvider::CreateImageObjHelper(const ImageSourceInfo& src, bool sync) in CreateImageObjHelper() argument 168 FailCallback(src.GetKey(), src.ToString() + errorMessage, sync); in CreateImageObjHelper() 174 FailCallback(src.GetKey(), "Failed to load image data", sync); in CreateImageObjHelper() 181 FailCallback(src.GetKey(), "Failed to build image object", sync); in CreateImageObjHelper() 199 if (sync) { in CreateImageObjHelper() 261 if (sync) { in CreateImageObject() [all …]
|
H A D | image_provider.h | 51 bool sync = false; member 71 …reateImageObject(const ImageSourceInfo& src, const WeakPtr<ImageLoadingContext>& ctxWp, bool sync); 120 static void CreateImageObjHelper(const ImageSourceInfo& src, bool sync = false); 126 … SuccessCallback(const RefPtr<CanvasImage>& canvasImage, const std::string& key, bool sync = false, 128 … static void FailCallback(const std::string& key, const std::string& errorMsg, bool sync = false);
|
/ohos5.0/base/startup/init/services/etc/ |
H A D | init.reboot.cfg | 6 "sync ", 9 "sync " 15 "sync ", 18 "sync "
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | data-mgmt-overview.md | 6 ArkData provides data storage, management, and sync capabilities. For example, you can store the Co… 13 - Data sync: provides data sync across devices. For example, distributed data objects support shari… 20 …development. The Frameworks & System service layer implements storage and sync of component data, … 27 …ication configuration information and user preference settings and do not support distributed sync. 29 …d capabilities of a KV store, KV-Store sends a sync request to DatamgrService, which implements da… 31 …ities of an RDB store, RelationalStore sends a sync request to DatamgrService, which implements da… 39 - **DatamgrService**: implements sync and cross-application sharing for other components, including…
|
H A D | data-sync-of-kv-store.md | 11 Before implementing cross-device sync of KV stores, understand the following concepts: 32 **DatamgrService** provides the following sync types: 36 …sync()** with the devices to be synced and the sync mode specified to trigger the sync. The sync m… 41 … the peer data to the local device for data sync. In this case, the application does not need to c… 53 …ssfully, an auto sync is triggered. The distributed data is sent to the peer device through the co… 55 If **sync()** is called successfully, a manual sync is triggered to send distributed data to the pe… 91 | sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void | Triggers a manual sync of the… 96 …gle KV store as an example to describe how to implement cross-device data sync. The development pr… 165 …e the auto sync function (**autoSync:false**) to facilitate subsequent verification of the sync fu… 289 …Select the devices to be synced with data and the sync mode. The user needs to confirm the sync mo… [all …]
|
H A D | data-sync-of-rdb-store.md | 6 You can sync the application data in a local RDB store on a device to other devices that form a Sup… 11 OpenHamony supports sync of the relational data of an application across multiple devices. 27 After writing data to an RDB store, the service sends a sync request to the **DatamgrService**. 79 3. Create an RDB store and set a table for distributed sync. 95 // Set the table for distributed sync. 104 4. Synchronize data across devices. After **sync()** is called to trigger a sync, data is synced fr… 109 // Call sync() to synchronize data. 112 …(store as relationalStore.RdbStore).sync(relationalStore.SyncMode.SYNC_MODE_PUSH, predicates, (err… 113 // Check whether data sync is successful. 115 console.error(`Failed to sync data. Code:${err.code},message:${err.message}`); [all …]
|
/ohos5.0/commonlibrary/memory_utils/libdmabufheap/src/ |
H A D | dmabuf_alloc.c | 131 struct dma_buf_sync sync = {0}; in DmabufHeapBufferSyncStart() local 132 sync.flags = DMA_BUF_SYNC_START | syncType; in DmabufHeapBufferSyncStart() 133 return ioctl(fd, DMA_BUF_IOCTL_SYNC, &sync); in DmabufHeapBufferSyncStart() 143 struct dma_buf_sync sync = {0}; in DmabufHeapBufferSyncEnd() local 144 sync.flags = DMA_BUF_SYNC_END | syncType; in DmabufHeapBufferSyncEnd() 145 return ioctl(fd, DMA_BUF_IOCTL_SYNC, &sync); in DmabufHeapBufferSyncEnd()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/ |
H A D | Cargo.toml | 18 "sync", 28 "sync", 49 fs = ["sync"] 52 sync = [] 61 signal = ["ylong_signal", "net", "sync"] 89 required-features = ["sync"] 94 required-features = ["sync"] 135 required-features = ["sync"] 140 required-features = ["sync"]
|
/ohos5.0/docs/en/release-notes/release-definitions/ |
H A D | Release-version-definitions.md | 51 …sync -c<br>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b … 52 …po sync -c<br>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git … 53 …sync -c<br>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b … 54 …sync -c<br>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b … 55 …sync -c<br>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b … 56 …sync -c<br>repo forall -c 'git lfs pull' | repo init -u git@gitee.com:openharmony/manifest.git -b …
|
/ohos5.0/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_message_task.c | 15 struct HdfMessageTask *task, struct HdfMessage *msg, bool sync, long delay) in HdfMessageTaskSendMessageLater() argument 21 if (sync) { in HdfMessageTaskSendMessageLater() 36 int32_t HdfMessageTaskSendMessage(struct HdfMessageTask *task, struct HdfMessage *msg, bool sync) in HdfMessageTaskSendMessage() argument 38 return HdfMessageTaskSendMessageLater(task, msg, sync, 0); in HdfMessageTaskSendMessage()
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-file-sync.md | 1 # sync chapter 11 sync 21 - The **sync** command is used to refresh the cache. If no SD card is inserted, no operation will b… 28 Run **sync**. Data will be synchronized to the SD card if an SD card is available, and no operation…
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | thread_linux.c | 45 Semaphore *sync; member 75 SemaphorePost(startPromise->sync); in ThreadStartFunc() 147 promise->sync = SemaphoreCreate(0); in ThreadCreate() 148 if (promise->sync == NULL) { in ThreadCreate() 161 SemaphoreWait(promise->sync); in ThreadCreate() 162 SemaphoreDelete(promise->sync); in ThreadCreate()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
H A D | current_thread.rs | 19 use std::sync::atomic::AtomicU64; 20 use std::sync::atomic::AtomicUsize; 21 use std::sync::atomic::Ordering::{AcqRel, Acquire}; 22 use std::sync::{Arc, Condvar, Mutex}; 318 use crate::sync::Waiter; 319 use std::sync::atomic::AtomicUsize; 320 use std::sync::atomic::Ordering::{Acquire, Release}; 321 use std::sync::{Condvar, Mutex}; 322 use std::sync::Arc; 493 let (tx, rx) = crate::sync::oneshot::channel(); in ut_current_thread_io() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | relational__store_8h.md | 29 | [Rdb_ChangeInfo](_rdb___change_info.md) | Defines the details about the device-cloud sync process… 32 | [Rdb_Statistic](_rdb___statistic.md) | Defines the device-cloud sync statistics of a database tab… 35 …ssObserver](_rdb___progress_observer.md) | Defines the observer of the device-cloud sync progress.| 59 …nfo](_r_d_b.md#rdb_changeinfo) | Defines a struct for details about the device-cloud sync process.| 65 | [Rdb_SyncMode](_r_d_b.md#rdb_syncmode) | Defines an enum for RDB sync modes.| 66 | [Rdb_Statistic](_r_d_b.md#rdb_statistic) | Defines a struct for device-cloud sync statistics of a… 68 | [Rdb_Progress](_r_d_b.md#rdb_progress) | Defines an enum for device-cloud sync progresses.| 69 …ssCode](_r_d_b.md#rdb_progresscode) | Defines an enum for states in the device-cloud sync process.| 71 …r_d_b.md#rdb_progresscallback) | Defines a callback used to return the device-cloud sync progress.| 72 …SyncCallback](_r_d_b.md#rdb_synccallback) | Defines a callback to be invoked in device-cloud sync.| [all …]
|