/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/fwk/ |
H A D | platform_trace.c | 37 char messages[PLATFORM_TRACE_MSG_MAX_LEN + 1] = {'\0'}; in PlatformTraceAddMsg() local 43 length = snprintf_s(messages, PLATFORM_TRACE_MSG_MAX_LEN + 1, PLATFORM_TRACE_MSG_MAX_LEN, in PlatformTraceAddMsg() 51 length = vsprintf_s(messages + length - 1, PLATFORM_TRACE_MSG_MAX_LEN, fmt, argList); in PlatformTraceAddMsg() 58 trace_platfrom_trace_record_messages(messages); in PlatformTraceAddMsg() 65 char messages[PLATFORM_TRACE_MSG_MAX_LEN + 1] = {0}; in PlatformTraceAddUintMsg() local 86 ret = snprintf_s(messages, PLATFORM_TRACE_MSG_MAX_LEN + 1, PLATFORM_TRACE_MSG_MAX_LEN, in PlatformTraceAddUintMsg() 93 … ret = snprintf_s(messages + strlen(messages), PLATFORM_TRACE_MSG_MAX_LEN + 1 - strlen(messages), in PlatformTraceAddUintMsg() 94 PLATFORM_TRACE_MSG_MAX_LEN - strlen(messages), in PlatformTraceAddUintMsg() 96 if ((ret < 0) || (strlen(messages) >= PLATFORM_TRACE_MSG_MAX_LEN)) { in PlatformTraceAddUintMsg() 98 moduleMean, moduleFunMean, ret, strlen(messages)); in PlatformTraceAddUintMsg() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.1/ |
H A D | changelog-ArkUI.md | 18 @State messages: string[] = ['Hello World'] 22 // API version 9:赋值不生效,ArkUI框架会拒绝undefined,this.messages还为其初始值['Hello World'] 23 // API version 10: 赋值生效,ArkUI框架会接受undefined,this.messages为undefined 24 this.messages = AppStorage.Get("aProp") 32 Text(`the messages length: ${this.messages.length}`) 46 Text(`the messages length: ${this.messages?.length}`)
|
/ohos5.0/docs/en/application-dev/telephony/ |
H A D | telephony-sms.md | 5 …messages, and obtain the ID of the default SIM card used to send and receive SMS messages. Besides… 11 …torage and forwarding. It enables mobile phones to send and receive SMS messages. The content of t… 15 …ards SMS messages between base stations and mobile devices. It uses the GSM 03.40 protocol for sen… 19 … receive SMS messages: 7-bit, 8-bit, and UCS-2. 7-bit encoding is used to send common ASCII charac… 24 2. An available SIM card must be present on the device, and the permission to send SMS messages mus… 34 …ack: AsyncCallback\<void\>): void | Sends text or data SMS messages. You need to requ… 36 …er\>): void | Obtains the ID of the default SIM card used to send SMS messages. … 44 …- To send SMS messages, call the **sendShortMessage** API and declare the **ohos.permission.SEND\_… 79 The API for sending SMS messages can be called only after the required system permission is granted…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.10.1/ |
H A D | changelog-ArkUI.md | 18 @State messages: string[] = ['Hello World'] 22 …: The ArkUI framework rejects undefined as the assigned value, and this.messages is still at its i… 23 …on 10: The ArkUI framework accepts undefined as the assigned value, and this.messages is undefined. 24 this.messages = AppStorage.Get("aProp") 32 Text(`the messages length: ${this.messages.length}`) 46 Text(`the messages length: ${this.messages?.length}`)
|
/ohos5.0/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/ |
H A D | capture_message.cpp | 158 std::list<MessageGroup> messages = {}; in HandleMessage() local 169 messages.emplace_back(vit); in HandleMessage() 183 for (auto it = messages.begin(); it != messages.end();) { in HandleMessage() 185 it = messages.erase(it); in HandleMessage()
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-bundles-ipc.md | 14 - Manages the access permission of services. Only authorized tasks can send IPC messages to the ser… 19 …to receive IPC messages as a Service, and sets the access permission for the Service task (specifi… 21 …programs with the read operation (receiving IPC messages) and the write operations (sending IPC me…
|
H A D | kernel-mini-basic-ipc-queue.md | 6 …en tasks. The queue receives messages of unfixed length from tasks or interrupts, and determines w… 8 …messages from a queue. When the queue has no messages, the read task is suspended. When the queue … 12 …ism is provided to allow messages in a queue not to be processed immediately. In addition, queues … 17 - The types of messages to be sent are determined by the parties involved in communication. Message… 18 - A task can receive messages from and send messages to any message queue. 19 - Multiple tasks can receive messages from and send messages to the same queue. 44 …The element whose array subscript is 0 indicates the number of readable messages in the queue, … 45 … The element whose array subscript is 1 indicates the number of writable messages in the queue */ 46 …T readWriteList[OS_READWRITE_LEN]; /* A linked list of tasks waiting to read or write messages. 63 …ck contains **Head** and **Tail**, which indicate the storage status of messages in a queue. **Hea… [all …]
|
H A D | kernel-small-basic-trans-queue.md | 6 …s. The queue receives messages of unfixed length from tasks or interrupts, and determines whether … 8 …messages from a queue. When the queue has no messages, the tasks are suspended. When the queue has… 12 …ism is provided to allow messages in a queue not to be processed immediately. In addition, queues … 20 - The types of messages to be sent are determined by the parties involved in communication. Message… 22 - A task can receive messages from and send messages to any message queue. 24 - Multiple tasks can receive messages from and send messages to the same queue. 64 …ck contains **Head** and **Tail**, which indicate the storage status of messages in a queue. **Hea… 68 …e queue has messages to read. Reading an idle queue (**readWriteableCnt[0]** is** 0**) will cause …
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_conversational_content.cpp | 81 std::string messages = ""; in Dump() local 84 messages += "nullptr, "; in Dump() 87 messages += message->Dump(); in Dump() 88 messages += ", "; in Dump() 94 ", messages = " + messages + in Dump()
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | cpu-intensive-task-development.md | 91 …to receive messages from the worker thread, and call [postMessage()](../reference/apis-arkts/js-ap… 92 …le, the host thread sends training and prediction messages to the worker thread, and receives mess… 124 …o receive messages sent by the host thread, and call [postMessage()](../reference/apis-arkts/js-ap… 125 …on model and its training process are defined in the worker thread, and messages are exchanged wit… 173 …ker.md#terminate9) to destroy the worker thread and stop the worker thread from receiving messages. 180 …-worker.md#close9) to destroy the worker thread and stop the worker thread from receiving messages.
|
H A D | taskpool-communicates-with-mainthread.md | 7 1. First, implement a method to receive messages sent by the task. 16 2. Then, add **sendData()** to the task to enable the subthread to send messages to the main thread. 57 3. Finally, use **onReceiveData()** to enable the main thread to receive messages. 76 // Use notice to receive messages sent by the task.
|
/ohos5.0/docs/en/readme/ |
H A D | liteipc_driver.md | 4 …messages to other processes. IPC messages are exchanged between tasks. An IPC service is a task … 18 Memory mapping allocates a memory area for storing messages received by the process' tasks. ioctl … 48 …provides the ability to send and receive IpcMsg messages as well as free memory used by unneeded m… 69 …ssage is then added to the tail end of the recipient's list of received messages, the recipient is… 70 …d by the buffToFree message so it can be used again later for receiving messages. Returns with er… 72 …messages which don't match outMsg (matching timestamp or matching code and target.token depending … 73 …ves the message from its list of received messages. Discards **MT_REPLY** or **MT_FAILED_REPLY** … 95 …messages to any services with a set IPC task which had access. Death notification messages are on…
|
H A D | startup.md | 39 …tion processes. It receives Ability Manager Service (AMS) messages via IPC, parses the messages, s… 40 …tion processes. It receives Ability Manager Service (AMS) messages via IPC, parses the messages, s…
|
/ohos5.0/base/request/request/services/tests/ |
H A D | start.rs | 39 let messages = agent.pop_task_info(task_id); in sdv_start_basic() localVariable 40 for message in messages { in sdv_start_basic()
|
H A D | resume.rs | 42 let messages = agent.pop_task_info(task_id); in sdv_start_resume() localVariable 43 for message in messages { in sdv_start_resume()
|
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-sms.md | 3 …messages, and obtain the ID of the default SIM card used to send and receive SMS messages, and che… 125 …ssageoptions) | Yes | Options (including the callback) for sending SMS messages. For details, see… 178 …ssageoptions) | Yes | Options (including the callback) for sending SMS messages. For details, see… 234 …ssageoptions) | Yes | Options (including the callback) for sending SMS messages. For details, see… 290 Obtains the default slot ID of the SIM card used to send SMS messages. This API uses an asynchronou… 316 Obtains the default slot ID of the SIM card used to send SMS messages. This API uses a promise to r… 343 Checks whether the current device can send and receive SMS messages. This API works in synchronous … 351 …**: The device can send and receive SMS messages.<br>- **false**: The device cannot send or receiv… 364 Obtains the default ID of the SIM card used to send SMS messages. This API uses an asynchronous cal… 404 Obtains the default ID of the SIM card used to send SMS messages. This API uses a promise to return… [all …]
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/message/ |
H A D | message_dispatcher.c | 57 if (mapper->messages != NULL) { in ReleaseMessageMapper() 58 OsalMemFree(mapper->messages); in ReleaseMessageMapper() 59 mapper->messages = NULL; in ReleaseMessageMapper() 67 if (serviceDef == NULL || serviceDef->messages == NULL) { in GetMsgDef() 76 msgDef = serviceDef->messages + commandId; in GetMsgDef()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/ |
H A D | _ark_web___web_message_port_a_p_i.md | 23 …eEventHandler, void \*userData) | Pointer to the callback used to set the HTML messages received. | 75 Pointer to the callback used to set the HTML messages received. 83 | messageEventHandler | Callback used to handle messages. |
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/message/nodes/ |
H A D | local_node.c | 43 messageDef = localNodeService->mapper->messages[context->commandId]; in HandleRequestMessage() 103 if (localService->mapper == NULL || localService->mapper->messages == NULL) { in SendMessageLocalNode() 109 localService->mapper->messages[context->commandId].handler == NULL) { in SendMessageLocalNode() 114 pri = localService->mapper->messages[context->commandId].pri; in SendMessageLocalNode()
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-app-page-data-channel.md | 7 …he frontend page so that the application and frontend page can exchange messages with each other o… 66 …// 4. Use the message port on the application to send messages to the message port that has been s… 111 // 2. Receive messages sent from the eTS side. 133 // 3. Use h5Port to send messages to the application side.
|
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/ |
H A D | crypto-generate-message-digest-overview.md | 11 - The digest generated is of the fixed length no matter the length of messages. (The digest length … 13 - It is almost impossible to find two different messages with the same hash value. (The probability…
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/include/message/ |
H A D | sidecar.h | 96 struct MessageDef *messages; member 113 .messages = (ServiceMap) \
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-map.md | 3 The **bluetooth.map** module provides APIs for exchanging messages between devices using the Blueto… 55 Provides APIs for exchanging messages between devices. Before using any API of **mapMseProfile**, y…
|
/ohos5.0/base/telephony/sms_mms/ |
H A D | README.md | 6 …iving short message service \(SMS\) messages and encoding and decoding multimedia messaging servic… 13 - SmsInterfaceManager: provides external APIs for sending SMS messages and managing SIM SMS recor… 14 …messages and listens to IMS network status changes. It can be used to create **GsmSmsSender** an… 15 - SmsReceiveManager: receives SMS messages and listens to new SMS messages from the RIL Adapter l… 17 - ImsSmsClient: sends IMS SMS messages, and sets and obtains IMS SMS configuration information. 66 …<a name="entry148mcpsimpp0"></a>Sends SMS messages, including long messages, common messages, and … 134 …24149"><a name="p87781524149"></a><a name="p87781524149"></a>Port number for receiving messages</p> 136 …5386157"><a name="p7255386157"></a><a name="p7255386157"></a>Yes (for sending of data messages)</p>
|
/ohos5.0/base/request/request/test/rustest/src/ |
H A D | lib.rs | 61 messages: Arc<Mutex<HashMap<u32, Vec<MessageInfo>>>>, field 67 let messages = MESSAGES.get_or_init(|| Arc::new(Mutex::new(HashMap::new()))); in new() localVariable 88 let mut map = messages.lock().unwrap(); in new() 100 messages: messages.clone(), in new() 348 self.messages in pop_task_info()
|