/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-safe-area-insets.md | 8  48 /* safe-area-inset-*可设置上、右、下、左,四个方向上的避让值 */ 49 env(safe-area-inset-top); 50 env(safe-area-inset-right); 51 env(safe-area-inset-bottom); 52 env(safe-area-inset-left); 54 /* 基于fallback,使用safe-area-inset-*设置四个方向上的避让值 */ 56 env(safe-area-inset-top, 20px); 57 env(safe-area-inset-right, 1em); 58 env(safe-area-inset-bottom, 0.5vh); [all …]
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-safe-area-insets.md | 8  49 env(safe-area-inset-top); 50 env(safe-area-inset-right); 51 env(safe-area-inset-bottom); 52 env(safe-area-inset-left); 56 env(safe-area-inset-top, 20px); 57 env(safe-area-inset-right, 1em); 58 env(safe-area-inset-bottom, 0.5vh); 59 env(safe-area-inset-left, 1.4rem); 71 padding-bottom: env(safe-area-inset-bottom); [all …]
|
/ohos5.0/drivers/interface/location/lpfence/safe_location/v1_0/ |
H A D | ISafeLocationCallback.idl | 20 * @brief Provides safe location APIs for the safe location service. 29 * @brief Declares the callbacks for the safe location module. 36 * @brief Declares the path of the safe location module interface package. 43 * @brief Imports data types of the safe location module. 50 * @brief Defines the callback for the safe location module. 52 …* Before enabling the safe location feature, you need to register this callback to report the devi… 59 * @brief Called to report the safe location request result. 63 * @param ret Indicates the result of getting safe location.
|
H A D | ISafeLocationInterface.idl | 20 * @brief Provides safe location APIs for the safe location service. 29 * @brief Declares the callbacks for the safe location module. 36 * @brief Declares the path of the safe location module interface package. 43 * @brief Imports data types of the safe location module. 50 * @brief Imports callbacks of the safe location module. 57 * @brief Provides APIs for basic safe location operations. 65 …* Before enabling the safe location feature, you need to register a callback to report the device … 80 …* When the safe location feature is no longer required or the registered callback needs to be chan… 93 * @brief Obtains the latest safe location information.
|
H A D | SafeLocationTypes.idl | 20 * @brief Provides safe location APIs for the safe location service. 29 * @brief Defines the data types used by the safe location feature. 36 * @brief Declares the path of the safe location module interface package. 43 * @brief Enumerates the safe location mode.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | native__image_8h.md | 47 …e.md#oh_nativeimage_destroy). Otherwise, memory leak occurs.<br>This function is not thread-safe.| 49 …nstance and updated through the **OH_NativeImage** instance.<br>This function is not thread-safe.| 50 …H_NativeImage** instance from the current OpenGL ES context.<br>This function is not thread-safe.| 52 …y called the **OH_NativeImage_UpdateSurfaceImage** function.<br>This function is not thread-safe.| 54 … | Obtains the surface ID of an **OH_NativeImage** instance.<br>This function is not thread-safe.| 55 …>Do not call other functions of this module in the callback.<br>This function is not thread-safe.| 56 …s the listener used to listen for frame availability events.<br>This function is not thread-safe.| 57 …ter to the **OH_NativeImage** instance is assigned **NULL**.<br>This function is not thread-safe.| 60 …he system will close **fenFd**. You do not need to close it.<br>This function is not thread-safe.| 62 …e) \*image, uint64_t usage) | Sets the default read/write mode. This function is not thread-safe.| [all …]
|
H A D | _o_h___native_image.md | 269 This function is not thread-safe. 302 This function is not thread-safe. 337 This function is not thread-safe. 373 This function is not thread-safe. 404 This function is not thread-safe. 434 This function is not thread-safe. 464 This function is not thread-safe. 487 This function is not thread-safe. 514 This function is not thread-safe. 542 This function is not thread-safe. [all …]
|
H A D | _native_window.md | 376 This function is not thread-safe. 404 This function is not thread-safe. 433 This function is not thread-safe. 461 This function is not thread-safe. 491 This function is not thread-safe. 519 This function is not thread-safe. 550 This function is not thread-safe. 579 This function is not thread-safe. 634 This function is not thread-safe. 695 This function is not thread-safe. [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-expand-safe-area.md | 3 …safe area refers to the display area that isn't covered by a status bar, navigation bar, or any ot… 8 > By default, the notch area is not a non-safe area, and content can be displayed in this area.<br> 9 > You can set the notch area as a non-safe area since API version 12, so that content is not displa… 22 Sets the safe area to be expanded to. 32 | types | Array <[SafeAreaType](ts-types.md#safeareatype10)> | No | Types of non-safe areas to ex… 33 …e safe area.<br>Default value: **[SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM, SafeAreaEdge.START, SafeA… 39 > The safe area does not restrict the layout or size of components inside, nor does it clip the co… 47 …requisite that the component can extend to the safe area when the component border overlaps with t… 49 > When the component extends to the safe area, the system may intercept events in the safe area to… 57 …Area** attribute is ineffective, and you need to place a component in the safe area, you will need… [all …]
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-thread-safety.md | 6 …ed to create a thread-safe JS function, which can be called from multiple threads without race con… 9 …computing or I/O operation needs to be performed, you can create a thread-safe function to have th… 11 - Data sharing: When multiple threads need to access the same data, using a thread-safe function ca… 13 - Multithread programming: In the case of multithread programming, a thread-safe function can ensur… 18 1. Define a thread-safe function at the native entry. 32 // Create a thread-safe function. 34 napi_create_string_utf8(env, "Thread-safe Function Demo", NAPI_AUTO_LENGTH, &resourceName); 49 2. Call **ExecuteWork** in a worker thread to execute the thread-safe function.
|
H A D | use-call-threadsafe-function-with-priority.md | 2 …to pass a task to an ArkTS thread from an asynchronous thread in a thread-safe manner. Then, the t… 15 | func | Thread-safe function to call. | 17 …k. For details, see [napi_task_priority](napi-data-types-interfaces.md#thread-safe-task-priority).| 21 Pass a task to the ArkTS main thread from an asynchronous thread in a thread-safe manner. Then, the… 83 napi_create_string_utf8(env, "Thread-safe Function Demo", NAPI_AUTO_LENGTH, &resourceName);
|
H A D | napi-data-types-interfaces.md | 71 Enum that indicates when to release the thread-safe function. 87 - If the value is **napi_tsfn_release**, the current thread will not call this thread-safe function. 89 - If the value is **napi_tsfn_abort**, only the current thread can call this thread-safe function. 94 …whether the call should be blocked when the queue associated with the thread-safe function is full. 234 ### Thread-safe Task Priority 262 | napi_create_threadsafe_function | Creates a thread-safe function.| 263 | napi_get_threadsafe_function_context | Obtains the context of a thread-safe function.| 264 | napi_call_threadsafe_function | Calls a thread-safe function.| 265 | napi_acquire_threadsafe_function | Acquires a thread-safe function.| 266 | napi_release_threadsafe_function | Releases a thread-safe function.| [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | queue.h | 79 static __inline void FillpQueueSetProdSafe(FillpQueue *q, FILLP_BOOL safe) in FillpQueueSetProdSafe() argument 81 FillpLfRingSetProdSafe(&q->ring, safe); in FillpQueueSetProdSafe() 84 static __inline void FillpQueueSetConsSafe(FillpQueue *q, FILLP_BOOL safe) in FillpQueueSetConsSafe() argument 86 FillpLfRingSetConsSafe(&q->ring, safe); in FillpQueueSetConsSafe()
|
H A D | lf_ring.h | 121 void FillpLfRingSetConsSafe(struct FillpLfRing *ring, FILLP_BOOL safe); 123 void FillpLfRingSetProdSafe(struct FillpLfRing *ring, FILLP_BOOL safe);
|
H A D | dympool.h | 68 void DympSetConsSafe(DympoolType *pool, FILLP_BOOL safe); 69 void DympSetProdSafe(DympoolType *pool, FILLP_BOOL safe);
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | dympool.c | 110 void DympSetConsSafe(DympoolType *pool, FILLP_BOOL safe) in DympSetConsSafe() argument 112 FillpQueueSetConsSafe(pool->mp, safe); in DympSetConsSafe() 115 void DympSetProdSafe(DympoolType *pool, FILLP_BOOL safe) in DympSetProdSafe() argument 117 FillpQueueSetProdSafe(pool->mp, safe); in DympSetProdSafe()
|
H A D | lf_ring.c | 88 void FillpLfRingSetProdSafe(struct FillpLfRing *ring, FILLP_BOOL safe) in FillpLfRingSetProdSafe() argument 90 ring->prodSafe = safe; in FillpLfRingSetProdSafe() 93 void FillpLfRingSetConsSafe(struct FillpLfRing *ring, FILLP_BOOL safe) in FillpLfRingSetConsSafe() argument 95 ring->consSafe = safe; in FillpLfRingSetConsSafe()
|
/ohos5.0/base/security/security_guard/oem_property/hos/ |
H A D | security_guard_model.cfg | 121 "falseResult": "safe" 183 "falseResult": "safe" 215 "falseResult": "safe"
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ |
H A D | README.md | 25 │ ├── safe_block_queue_benchmark_test # safe blocke queue API test 27 │ ├── safe_map_benchmark_test # safe map API test 28 │ ├── safe_queue_benchmark_test # safe queue API test
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | libuv.md | 382 #### Thread-safe APIs for Cross-Thread Sharing and Invocation 394 // Creates a thread-safe function, which can be called in multiple threads without causing data con… 414 // Acquires a thread-safe function. 415 // function: pointer to the thread-safe function to acquire. 418 // Calls a thread-safe function. 419 // function: pointer to the thread-safe function to call. 423 // Releases a thread-safe function. 424 // function: pointer to the thread-safe function to release. 570 ### Thread-safe Functions 574 Thread-safe functions: [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | multi-thread-safety.md | 3 Multithread safe ensures the correctness and reliability of programs when multiple threads access o… 5 … imported to the worker thread of TaskPool and Worker support multithread safe. Otherwise, multith…
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/MainAbility/model/ |
H A D | sppClientInterface.ets | 36 …console.log('bluetoothModel sppConnect callback socketNumber(safe mode): ' + JSON.stringify(code)); 41 console.log('bluetoothModel sppConnect callback socketNumber(safe mode): ' + socketID); 72 console.log('bluetoothModel sppConnect callback socketNumber(non-safe mode): ' + socketID); 77 console.log('bluetoothModel sppConnect callback socketNumber(non-safe mode): ' + socketID);
|
H A D | sppClientManagerInterface.ets | 36 …console.log('bluetoothManager sppConnect callback socketNumber(safe mode): ' + JSON.stringify(code… 41 console.log('bluetoothManager sppConnect callback socketNumber(safe mode): ' + socketID); 71 … console.log('bluetoothManager sppConnect callback socketNumber(non-safe mode): ' + socketID); 76 console.log('bluetoothManager sppConnect callback socketNumber(non-safe mode): ' + socketID);
|
H A D | sppServerInterface.ets | 25 console.log('spp server socketId(safe mode) create! '); 40 console.log('spp server: serverSocketID(safe mode) - ' + serverSocketID); 62 console.log('spp server socketId(non-safe mode) create! '); 75 console.log('spp server: serverSocketID(non-safe mode) ' + serverSocketID);
|
H A D | sppServerManagerInterface.ets | 24 console.log('spp server socketId(safe mode) create! '); 39 console.log('spp server: serverSocketID(safe mode) - ' + serverSocketID); 60 console.log('spp server socketId(non-safe mode) create! '); 74 console.log('spp server: serverSocketID(non-safe mode) ' + serverSocketID);
|