Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 187) sorted by relevance

12345678

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVmsUtils_test.cpp34 auto message = createSubscribeMessage(layer); in TEST() local
35 ASSERT_NE(message, nullptr); in TEST()
36 EXPECT_TRUE(isValidVmsMessage(*message)); in TEST()
37 EXPECT_EQ(message->prop, toInt(VehicleProperty::VEHICLE_MAP_SERVICE)); in TEST()
38 EXPECT_EQ(message->value.int32Values.size(), 0x4ul); in TEST()
39 EXPECT_EQ(parseMessageType(*message), VmsMessageType::SUBSCRIBE); in TEST()
42 EXPECT_EQ(message->value.int32Values[1], 1); in TEST()
43 EXPECT_EQ(message->value.int32Values[2], 0); in TEST()
44 EXPECT_EQ(message->value.int32Values[3], 2); in TEST()
49 auto message = createUnsubscribeMessage(layer); in TEST() local
[all …]
/hardware/ril/librilutils/proto/
Dsap-api.proto10 // the actual message being sent, as described by the type and id
14 // RIL_SIM_SAP_CONNECT_REQ message.
18 // Each SAP message stream will always be prepended with a MsgHeader
19 message MsgHeader {
39 // Message: message RIL_SIM_SAP_CONNECT_REQ
41 // Message: message RIL_SIM_SAP_CONNECT_RSP
47 // Message: message RIL_SIM_SAP_DISCONNECT_REQ
49 // Message: message RIL_SIM_SAP_DISCONNECT_RSP
51 // Message: message RIL_SIM_SAP_DISCONNECT_IND
57 // Message: message RIL_SIM_SAP_APDU_REQ
[all …]
/hardware/google/av/codec2/vndk/bufferpool/vts/
Dmulti.cpp136 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() argument
137 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage()
141 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() argument
142 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage()
148 PipeMessage message; in doReceiver() local
151 message.data.command = PipeCommand::INIT_ERROR; in doReceiver()
152 sendMessage(mResultPipeFds, message); in doReceiver()
157 message.data.command = PipeCommand::INIT_ERROR; in doReceiver()
158 sendMessage(mResultPipeFds, message); in doReceiver()
161 message.data.command = PipeCommand::INIT_OK; in doReceiver()
[all …]
/hardware/google/av/codec2/vndk/bufferpool/
DAccessorImpl.cpp73 TransactionStatus(const BufferStatusMessage &message, int64_t timestampUs) { in TransactionStatus()
74 mId = message.transactionId; in TransactionStatus()
75 mBufferId = message.bufferId; in TransactionStatus()
76 mStatus = message.newStatus; in TransactionStatus()
79 mSender = message.connectionId; in TransactionStatus()
80 mReceiver = message.targetConnectionId; in TransactionStatus()
84 mReceiver = message.connectionId; in TransactionStatus()
287 bool Accessor::Impl::BufferPool::handleTransferTo(const BufferStatusMessage &message) { in handleTransferTo() argument
289 message.transactionId); in handleTransferTo()
296 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo()
[all …]
DBufferStatus.cpp75 BufferStatusMessage message; in getBufferStatusChanges() local
78 if (!it->second->read(&message, 1)) { in getBufferStatusChanges()
85 message.connectionId = it->first; in getBufferStatusChanges()
86 messages.push_back(message); in getBufferStatusChanges()
114 BufferStatusMessage message; in postBufferRelease() local
117 message.newStatus = BufferStatus::NOT_USED; in postBufferRelease()
118 message.bufferId = id; in postBufferRelease()
119 message.connectionId = connectionId; in postBufferRelease()
120 if (!mBufferStatusQueue->write(&message, 1)) { in postBufferRelease()
141 BufferStatusMessage release, message; in postBufferStatusMessage() local
[all …]
/hardware/interfaces/gnss/1.0/default/
DGnssNavigationMessage.cpp41 void GnssNavigationMessage::gnssNavigationMessageCb(LegacyGnssNavigationMessage* message) { in gnssNavigationMessageCb() argument
47 if (message == nullptr) { in gnssNavigationMessageCb()
54 navigationMsg.svid = message->svid; in gnssNavigationMessageCb()
56 static_cast<IGnssNavigationMessageCallback::GnssNavigationMessageType>(message->type); in gnssNavigationMessageCb()
57 navigationMsg.status = message->status; in gnssNavigationMessageCb()
58 navigationMsg.messageId = message->message_id; in gnssNavigationMessageCb()
59 navigationMsg.submessageId = message->submessage_id; in gnssNavigationMessageCb()
60 navigationMsg.data.setToExternal(message->data, message->data_length); in gnssNavigationMessageCb()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp699 string message = "12345678901234567890123456789012"; in TEST_F() local
701 message, AuthorizationSetBuilder().Digest(Digest::NONE).Padding(PaddingMode::NONE)); in TEST_F()
716 string message(1024, 'a'); in TEST_F() local
718 message, AuthorizationSetBuilder().Digest(Digest::SHA_2_256).Padding(PaddingMode::RSA_PSS)); in TEST_F()
733 string message = "12345678901234567890123456789012"; in TEST_F() local
757 const string message = "12345678901234567890123456789012"; in TEST_F() local
762 EXPECT_EQ(ErrorCode::NO_USER_CONFIRMATION, Finish(message, &signature)); in TEST_F()
776 string message(1024, 'a'); in TEST_F() local
777 string signature = SignMessage(message, AuthorizationSetBuilder() in TEST_F()
793 string message(53, 'a'); in TEST_F() local
[all …]
DKeymasterHidlTest.h152 ErrorCode Finish(const string& message, string* output);
153 ErrorCode Finish(const string& message, const string& signature, string* output);
165 string ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const string& message,
168 string SignMessage(const HidlBuf& key_blob, const string& message,
170 string SignMessage(const string& message, const AuthorizationSet& params);
172 string MacMessage(const string& message, Digest digest, size_t mac_length);
174 void CheckHmacTestVector(const string& key, const string& message, Digest digest,
177 void CheckAesCtrTestVector(const string& key, const string& nonce, const string& message,
184 void VerifyMessage(const HidlBuf& key_blob, const string& message, const string& signature,
186 void VerifyMessage(const string& message, const string& signature,
[all …]
DKeymasterHidlTest.cpp316 ErrorCode KeymasterHidlTest::Finish(const string& message, string* output) { in Finish() argument
320 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish()
329 ErrorCode KeymasterHidlTest::Finish(const string& message, const string& signature, in Finish() argument
333 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish()
383 const string& message, const AuthorizationSet& in_params, in ProcessMessage() argument
394 Update(op_handle_, update_params, message, &update_out_params, &output, &consumed)); in ProcessMessage()
399 EXPECT_EQ(ErrorCode::OK, Finish(op_handle_, finish_params, message.substr(consumed), unused, in ProcessMessage()
408 string KeymasterHidlTest::SignMessage(const HidlBuf& key_blob, const string& message, in SignMessage() argument
412 string signature = ProcessMessage(key_blob, KeyPurpose::SIGN, message, params, &out_params); in SignMessage()
417 string KeymasterHidlTest::SignMessage(const string& message, const AuthorizationSet& params) { in SignMessage() argument
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dmessage_layer.c20 long message; member
36 mh.message &= ~clear; in inv_set_message()
37 mh.message |= set; in inv_set_message()
50 msg = mh.message; in inv_get_message_level_0()
52 mh.message = 0; in inv_get_message_level_0()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dmessage_layer.c20 long message; member
36 mh.message &= ~clear; in inv_set_message()
37 mh.message |= set; in inv_set_message()
50 msg = mh.message; in inv_get_message_level_0()
52 mh.message = 0; in inv_get_message_level_0()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateModel.cpp35 static void validateGetSupportedOperations(const sp<IDevice>& device, const std::string& message, in validateGetSupportedOperations() argument
37 SCOPED_TRACE(message + " [getSupportedOperations]"); in validateGetSupportedOperations()
46 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() argument
48 SCOPED_TRACE(message + " [prepareModel]"); in validatePrepareModel()
67 static void validate(const sp<IDevice>& device, const std::string& message, V1_0::Model model, in validate() argument
70 validateGetSupportedOperations(device, message, model); in validate()
71 validatePrepareModel(device, message, model); in validate()
126 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local
129 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
156 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest() local
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp677 ErrorCode Finish(const string& message, string* output) { in Finish() argument
681 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish()
690 ErrorCode Finish(const string& message, const string& signature, string* output) { in Finish() argument
693 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish()
741 string ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const string& message, in ProcessMessage() argument
753 Finish(op_handle_, finish_params, message, unused, &finish_out_params, &output)); in ProcessMessage()
761 string SignMessage(const HidlBuf& key_blob, const string& message, in SignMessage() argument
765 string signature = ProcessMessage(key_blob, KeyPurpose::SIGN, message, params, &out_params); in SignMessage()
770 string SignMessage(const string& message, const AuthorizationSet& params) { in SignMessage() argument
772 return SignMessage(key_blob_, message, params); in SignMessage()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateModel.cpp41 static void validateGetSupportedOperations(const sp<IDevice>& device, const std::string& message, in validateGetSupportedOperations() argument
43 SCOPED_TRACE(message + " [getSupportedOperations_1_1]"); in validateGetSupportedOperations()
52 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() argument
54 SCOPED_TRACE(message + " [prepareModel_1_1]"); in validatePrepareModel()
80 static void validate(const sp<IDevice>& device, const std::string& message, V1_1::Model model, in validate() argument
85 validateGetSupportedOperations(device, message, model); in validate()
87 validatePrepareModel(device, message, model, preference); in validate()
142 const std::string message = "mutateOperandTypeTest: operand " + in mutateOperandTypeTest() local
145 validate(device, message, model, [operand, invalidOperandType](Model* model) { in mutateOperandTypeTest()
172 const std::string message = "mutateOperandRankTest: operand " + std::to_string(operand) + in mutateOperandRankTest() local
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.h30 #define HEXAGON_SOFT_ASSERT(condition, message) \ argument
32 LOG(DEBUG) << __FILE__ << "::" << __LINE__ << " -- " << message; \
36 #define HEXAGON_SOFT_ASSERT_CMP(cmp, lhs, rhs, message) \ argument
38 << (lhs) << " " #cmp " " << (rhs) << "): " message)
40 #define HEXAGON_SOFT_ASSERT_EQ(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(==, lhs, rhs, message) argument
41 #define HEXAGON_SOFT_ASSERT_NE(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(!=, lhs, rhs, message) argument
42 #define HEXAGON_SOFT_ASSERT_LT(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(<, lhs, rhs, message) argument
43 #define HEXAGON_SOFT_ASSERT_LE(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(<=, lhs, rhs, message) argument
44 #define HEXAGON_SOFT_ASSERT_GT(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(>, lhs, rhs, message) argument
45 #define HEXAGON_SOFT_ASSERT_GE(lhs, rhs, message) HEXAGON_SOFT_ASSERT_CMP(>=, lhs, rhs, message) argument
/hardware/interfaces/gnss/1.0/
DIGnssNavigationMessageCallback.hal19 /** Represents a GNSS navigation message (or a fragment of it). */
22 * Enumeration of available values to indicate the GNSS Navigation message
31 /** GPS L1 C/A message contained in the structure. */
33 /** GPS L2-CNAV message contained in the structure. */
35 /** GPS L5-CNAV message contained in the structure. */
37 /** GPS CNAV-2 message contained in the structure. */
39 /** Glonass L1 CA message contained in the structure. */
41 /** Beidou D1 message contained in the structure. */
43 /** Beidou D2 message contained in the structure. */
45 /** Galileo I/NAV message contained in the structure. */
[all …]
/hardware/interfaces/configstore/utils/
DConfigStoreUtils.cpp30 void logAlwaysInfo(const std::string& message) { in logAlwaysInfo() argument
31 LOG(INFO) << message; in logAlwaysInfo()
34 void logAlwaysError(const std::string& message) { in logAlwaysError() argument
35 LOG(ERROR) << message; in logAlwaysError()
/hardware/libhardware/modules/camera/3_4/
Dcamera.cpp472 camera3_notify_msg_t message; in notifyShutter() local
473 memset(&message, 0, sizeof(message)); in notifyShutter()
474 message.type = CAMERA3_MSG_SHUTTER; in notifyShutter()
475 message.message.shutter.frame_number = frame_number; in notifyShutter()
476 message.message.shutter.timestamp = timestamp; in notifyShutter()
477 mCallbackOps->notify(mCallbackOps, &message); in notifyShutter()
483 camera3_notify_msg_t message; in completeRequestWithError() local
484 memset(&message, 0, sizeof(message)); in completeRequestWithError()
485 message.type = CAMERA3_MSG_ERROR; in completeRequestWithError()
486 message.message.error.frame_number = request->frame_number; in completeRequestWithError()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/include/
Dviddec_fw_parser_host.h138 uint32_t viddec_fw_parser_send(uint32_t strm_handle, ipc_msg_data *message);
149 uint32_t viddec_fw_parser_recv(uint32_t strm_handle, ipc_msg_data *message);
159 uint32_t viddec_fw_parser_addwkld(uint32_t strm_handle, ipc_msg_data *message);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
Dviddec_fw_parser_fw_ipc.h144 int FwIPC_SendMessage(FW_IPC_Handle *fwipc, unsigned int host_rx_queue, const char *message, unsign…
154 int FwIPC_ReadMessage(FW_IPC_Handle *fwipc, FW_IPC_ReceiveQue *rcv_q, char *message, unsigned int m…
191 int FwIPC_PeekReadMessage(FW_IPC_Handle *fwipc, FW_IPC_ReceiveQue *rcv_q, char *message, unsigned …
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp120 src->message.error.error_stream); in convertToHidl()
121 dst->msg.error.frameNumber = src->message.error.frame_number; in convertToHidl()
123 dst->msg.error.errorCode = (ErrorCode) src->message.error.error_code; in convertToHidl()
127 dst->msg.shutter.frameNumber = src->message.shutter.frame_number; in convertToHidl()
128 dst->msg.shutter.timestamp = src->message.shutter.timestamp; in convertToHidl()
/hardware/intel/common/libva/test/decode/
Dloadjpeg.c42 static void exitmessage(const char *message) __attribute__((noreturn));
43 static void exitmessage(const char *message) in exitmessage() argument
45 printf("%s\n", message); in exitmessage()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/
DVehicleHalProto.proto55 message VehicleAreaConfig {
65 message VehiclePropConfig {
79 message VehiclePropValue {
96 message VehiclePropGet {
101 message EmulatorMessage {
/hardware/interfaces/contexthub/1.0/default/
DContexthub.cpp155 .message = static_cast<const uint8_t *>(msg.msg.data()), in sendMessageToHub()
160 if (txMsg.message_len == 0 && txMsg.message == nullptr) { in sendMessageToHub()
161 txMsg.message = &dummy; in sendMessageToHub()
189 msg.message = nullptr; in reboot()
379 static_cast<const uint8_t *>(rxMsg->message), in contextHubCb()
387 msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg->message), in contextHubCb()
388 static_cast<const uint8_t *>(rxMsg->message) + in contextHubCb()
418 msg.message = &req; in unloadNanoApp()
469 hubMsg.message = binaryWithHeader.data(); in loadNanoApp()
502 msg.message = &req; in enableNanoApp()
[all …]
/hardware/intel/img/psb_headers/DRM/cc54/inc/
Dwv_mod_drm_api.h64 const uint8_t *message,
70 const uint8_t *message,
80 const uint8_t *message,
100 const uint8_t *message,
116 const uint8_t *message,
159 const uint8_t *message,
172 const uint8_t *message,

12345678