Home
last modified time | relevance | path

Searched refs:hostEndpoint (Results 1 – 25 of 28) sorted by relevance

12

/system/chre/core/
Dhost_comms_manager.cc30 uint32_t messageType, uint16_t hostEndpoint, uint32_t messagePermissions, in sendMessageToHostFromNanoapp() argument
38 } else if (hostEndpoint == kHostEndpointUnspecified) { in sendMessageToHostFromNanoapp()
52 msgToHost->toHostData.hostEndpoint = hostEndpoint; in sendMessageToHostFromNanoapp()
82 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType, in craftNanoappMessageFromHost() argument
92 messageSize, hostEndpoint, messageType); in craftNanoappMessageFromHost()
100 msgFromHost->fromHostData.hostEndpoint = hostEndpoint; in craftNanoappMessageFromHost()
128 uint16_t hostEndpoint, in sendMessageToNanoappFromHost() argument
131 if (hostEndpoint == kHostEndpointBroadcast) { in sendMessageToNanoappFromHost()
140 appId, hostEndpoint, messageType, messageData, in sendMessageToNanoappFromHost()
/system/chre/apps/test/common/chre_cross_validator_sensor/inc/
Dchre_cross_validator_sensor_manager.h81 uint16_t hostEndpoint = CHRE_HOST_ENDPOINT_BROADCAST; member
93 hostEndpoint(hostEndpointIn), in CrossValidatorState()
238 void handleStartMessage(uint16_t hostEndpoint,
247 void handleInfoMessage(uint16_t hostEndpoint,
347 uint16_t hostEndpoint,
359 void sendMessageToHost(uint16_t hostEndpoint, uint16_t messageType,
/system/chre/apps/test/chqts/src/who_am_i/
Dwho_am_i.cc50 messageBuffer[0] = (msg->hostEndpoint & 0xff00) >> 8; in nanoappHandleEvent()
51 messageBuffer[1] = (msg->hostEndpoint & 0xff); in nanoappHandleEvent()
54 msg->hostEndpoint, in nanoappHandleEvent()
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor_manager.cc332 mCrossValidatorState->hostEndpoint, isContinuous); in handleStartSensorMessage()
356 void Manager::handleStartMessage(uint16_t hostEndpoint, in handleStartMessage() argument
361 0, hostEndpoint, false); in handleStartMessage()
386 void Manager::handleInfoMessage(uint16_t hostEndpoint, in handleInfoMessage() argument
407 sendInfoResponse(hostEndpoint, infoResponse); in handleInfoMessage()
415 uint16_t hostEndpoint; in handleMessageFromHost() local
416 if (hostData->hostEndpoint != CHRE_HOST_ENDPOINT_UNSPECIFIED) { in handleMessageFromHost()
417 hostEndpoint = hostData->hostEndpoint; in handleMessageFromHost()
419 hostEndpoint = CHRE_HOST_ENDPOINT_BROADCAST; in handleMessageFromHost()
424 handleStartMessage(hostEndpoint, hostData); in handleMessageFromHost()
[all …]
/system/chre/core/include/chre/core/
Dhost_comms_manager.h72 uint16_t hostEndpoint; member
123 uint16_t hostEndpoint,
142 uint16_t hostEndpoint,
204 uint16_t hostEndpoint,
/system/chre/platform/shared/
Dchre_api_core.cc78 uint16_t hostEndpoint, uint32_t messagePermissions, in chreSendMessageWithPermissions() argument
92 nanoapp, message, messageSize, messageType, hostEndpoint, in chreSendMessageWithPermissions()
105 uint16_t hostEndpoint, chreMessageFreeFunction *freeCallback) { in chreSendMessageToHostEndpoint() argument
107 message, messageSize, messageType, hostEndpoint, in chreSendMessageToHostEndpoint()
Dhost_protocol_common.cc31 uint16_t hostEndpoint, const void *messageData, size_t messageDataLen, in encodeNanoappMessage() argument
37 builder, appId, messageType, hostEndpoint, messageDataOffset, in encodeNanoappMessage()
/system/chre/chre_api/include/chre_api/chre/
Devent.h353 uint16_t hostEndpoint; member
476 uint32_t messageType, uint16_t hostEndpoint,
559 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/apps/test/common/ping_test/src/
Dping_test.cc56 ping_test_MessageType_PING_RESPONSE, hostData->hostEndpoint, in handleMessageFromHost()
63 hostData->hostEndpoint, in handleMessageFromHost()
/system/chre/apps/power_test/common/
Dpower_test.cc41 void sendResponseMessageToHost(bool success, uint16_t hostEndpoint) { in sendResponseMessageToHost() argument
61 hostEndpoint, chre::heapFreeMessageCallback)) { in sendResponseMessageToHost()
83 sendResponseMessageToHost(success, msg->hostEndpoint); in nanoappHandleEvent()
/system/chre/chre_api/legacy/v1_1/chre/
Devent.h257 uint16_t hostEndpoint; member
426 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/chre_api/legacy/v1_3/chre/
Devent.h285 uint16_t hostEndpoint; member
451 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/chre_api/legacy/v1_2/chre/
Devent.h285 uint16_t hostEndpoint; member
454 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/apps/test/common/permission_test/src/
Dpermission_test.cc130 checkPermissionGatedApis(hostData->hostEndpoint); in handleMessageFromHost()
135 hostData->hostEndpoint, in handleMessageFromHost()
/system/chre/chre_api/legacy/v1_4/chre/
Devent.h299 uint16_t hostEndpoint; member
467 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc72 mHostEndpoint = hostData->hostEndpoint; in handleMessageFromHost()
77 hostData->hostEndpoint != mHostEndpoint.value()) { in handleMessageFromHost()
79 hostData->hostEndpoint, mHostEndpoint.value()); in handleMessageFromHost()
124 mHostEndpoint = hostData->hostEndpoint; in handleMessageFromHost()
129 hostData->hostEndpoint, in handleMessageFromHost()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc65 mCrossValidatorState.hostEndpoint = hostData->hostEndpoint; in handleMessageFromHost()
292 mCrossValidatorState.hostEndpoint, in encodeAndSendMessageToHost()
/system/chre/apps/test/chqts/src/echo_message/
Decho_message.cc61 msg->messageType, msg->hostEndpoint, messageFreeCallback)) { in nanoappHandleEvent()
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc311 uint32_t messageType, uint16_t hostEndpoint, in chreSendMessageWithPermissions() argument
316 return fptr(message, messageSize, messageType, hostEndpoint, in chreSendMessageWithPermissions()
320 hostEndpoint, freeCallback); in chreSendMessageWithPermissions()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_common.h75 uint32_t messageType, uint16_t hostEndpoint, const void *messageData,
Dhost_protocol_chre.h53 uint16_t hostEndpoint,
/system/chre/apps/message_world/
Dmessage_world.cc64 msg->messageType, msg->messageSize, msg->message, msg->hostEndpoint); in nanoappHandleEvent()
/system/chre/apps/test/common/chre_audio_concurrency_test/src/
Dchre_audio_concurrency_test_manager.cc131 success = handleTestCommandMessage(hostData->hostEndpoint, step); in handleMessageFromHost()
136 sendTestResultToHost(hostData->hostEndpoint, kTestResultMessageType, in handleMessageFromHost()
/system/chre/apps/test/common/chre_cross_validator_wifi/inc/
Dchre_cross_validator_wifi_manager.h56 uint16_t hostEndpoint; member
/system/chre/apps/test/pts/audio_enable_disable_test/src/
Daudio_enable_disable_test.cc101 gHostEndpointId = message->hostEndpoint; in handleMessageFromHost()

12