/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VmsUtils_test.cpp | 34 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/ |
D | sap-api.proto | 12 // the actual message being sent, as described by the type and id 16 // RIL_SIM_SAP_CONNECT_REQ message. 20 // Each SAP message stream will always be prepended with a MsgHeader 21 message MsgHeader { 41 // Message: message RIL_SIM_SAP_CONNECT_REQ 43 // Message: message RIL_SIM_SAP_CONNECT_RSP 49 // Message: message RIL_SIM_SAP_DISCONNECT_REQ 51 // Message: message RIL_SIM_SAP_DISCONNECT_RSP 53 // Message: message RIL_SIM_SAP_DISCONNECT_IND 59 // Message: message RIL_SIM_SAP_APDU_REQ [all …]
|
/hardware/interfaces/gnss/1.0/default/ |
D | GnssNavigationMessage.cpp | 41 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/tv/cec/1.0/default/ |
D | HdmiCecMock.cpp | 76 Return<SendMessageResult> HdmiCecMock::sendMessage(const CecMessage& message) { in sendMessage() argument 77 if (message.body.size() == 0) { in sendMessage() 80 sendMessageToFifo(message); in sendMessage() 170 int HdmiCecMock::sendMessageToFifo(const CecMessage& message) { in sendMessageToFifo() argument 175 msgBuf[0] = ((static_cast<uint8_t>(message.initiator) & 0xf) << 4) | in sendMessageToFifo() 176 (static_cast<uint8_t>(message.destination) & 0xf); in sendMessageToFifo() 178 size_t length = std::min(static_cast<size_t>(message.body.size()), in sendMessageToFifo() 181 msgBuf[i + 1] = static_cast<unsigned char>(message.body[i]); in sendMessageToFifo() 236 CecMessage message; in handleCecMessage() local 239 message.body.resize(length); in handleCecMessage() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 864 string message = "12345678901234567890123456789012"; in TEST_P() local 866 message, AuthorizationSetBuilder().Digest(Digest::NONE).Padding(PaddingMode::NONE)); in TEST_P() 944 string message(1024, 'a'); in TEST_P() local 946 message, AuthorizationSetBuilder().Digest(Digest::SHA_2_256).Padding(PaddingMode::RSA_PSS)); in TEST_P() 961 string message = "12345678901234567890123456789012"; in TEST_P() local 986 const string message = "12345678901234567890123456789012"; in TEST_P() local 991 EXPECT_EQ(ErrorCode::NO_USER_CONFIRMATION, Finish(message, &signature)); in TEST_P() 1005 string message(1024, 'a'); in TEST_P() local 1006 string signature = SignMessage(message, AuthorizationSetBuilder() in TEST_P() 1022 string message(53, 'a'); in TEST_P() local [all …]
|
D | KeymasterHidlTest.h | 147 ErrorCode Finish(const string& message, string* output); 148 ErrorCode Finish(const string& message, const string& signature, string* output); 160 string ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const string& message, 163 string SignMessage(const HidlBuf& key_blob, const string& message, 165 string SignMessage(const string& message, const AuthorizationSet& params); 167 string MacMessage(const string& message, Digest digest, size_t mac_length); 169 void CheckHmacTestVector(const string& key, const string& message, Digest digest, 172 void CheckAesCtrTestVector(const string& key, const string& nonce, const string& message, 179 void VerifyMessage(const HidlBuf& key_blob, const string& message, const string& signature, 181 void VerifyMessage(const string& message, const string& signature, [all …]
|
D | KeymasterHidlTest.cpp | 333 ErrorCode KeymasterHidlTest::Finish(const string& message, string* output) { in Finish() argument 337 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish() 346 ErrorCode KeymasterHidlTest::Finish(const string& message, const string& signature, in Finish() argument 350 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish() 400 const string& message, const AuthorizationSet& in_params, in ProcessMessage() argument 411 Update(op_handle_, update_params, message, &update_out_params, &output, &consumed)); in ProcessMessage() 416 EXPECT_EQ(ErrorCode::OK, Finish(op_handle_, finish_params, message.substr(consumed), unused, in ProcessMessage() 425 string KeymasterHidlTest::SignMessage(const HidlBuf& key_blob, const string& message, in SignMessage() argument 429 string signature = ProcessMessage(key_blob, KeyPurpose::SIGN, message, params, &out_params); in SignMessage() 434 string KeymasterHidlTest::SignMessage(const string& message, const AuthorizationSet& params) { in SignMessage() argument [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | message_layer.c | 20 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/ |
D | message_layer.c | 20 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/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 659 ErrorCode Finish(const string& message, string* output) { in Finish() argument 663 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, in Finish() 672 ErrorCode Finish(const string& message, const string& signature, string* output) { in Finish() argument 675 ErrorCode error = Finish(op_handle_, AuthorizationSet() /* in_params */, message, signature, in Finish() 723 string ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const string& message, in ProcessMessage() argument 735 Finish(op_handle_, finish_params, message, unused, &finish_out_params, &output)); in ProcessMessage() 743 string SignMessage(const HidlBuf& key_blob, const string& message, in SignMessage() argument 747 string signature = ProcessMessage(key_blob, KeyPurpose::SIGN, message, params, &out_params); in SignMessage() 752 string SignMessage(const string& message, const AuthorizationSet& params) { in SignMessage() argument 754 return SignMessage(key_blob_, message, params); in SignMessage() [all …]
|
/hardware/qcom/neuralnetworks/hvxservice/1.0/ |
D | HexagonUtils.h | 30 #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/ |
D | IGnssNavigationMessageCallback.hal | 19 /** 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/neuralnetworks/1.0/vts/functional/ |
D | ValidateModel.cpp | 36 static void validateGetSupportedOperations(const sp<IDevice>& device, const std::string& message, in validateGetSupportedOperations() argument 38 SCOPED_TRACE(message + " [getSupportedOperations]"); in validateGetSupportedOperations() 47 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() argument 49 SCOPED_TRACE(message + " [prepareModel]"); in validatePrepareModel() 66 static void validate(const sp<IDevice>& device, const std::string& message, in validate() argument 71 validateGetSupportedOperations(device, message, model); in validate() 72 validatePrepareModel(device, message, model); in validate() 270 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local 272 validate(device, message, model, [operation](Model* model) { in mutateExecutionOrderTest() 287 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local [all …]
|
D | ValidateRequest.cpp | 34 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() argument 38 SCOPED_TRACE(message + " [execute]"); in validate() 74 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest() local 75 validate(preparedModel, message, request, in removeInputTest() 84 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest() local 85 validate(preparedModel, message, request, in removeOutputTest()
|
/hardware/interfaces/configstore/utils/ |
D | ConfigStoreUtils.cpp | 30 void logAlwaysVerbose(const std::string& message) { in logAlwaysVerbose() argument 31 LOG(VERBOSE) << message; in logAlwaysVerbose() 34 void logAlwaysError(const std::string& message) { in logAlwaysError() argument 35 LOG(ERROR) << message; in logAlwaysError()
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateModel.cpp | 43 static void validateGetSupportedOperations(const sp<IDevice>& device, const std::string& message, in validateGetSupportedOperations() argument 45 SCOPED_TRACE(message + " [getSupportedOperations_1_1]"); in validateGetSupportedOperations() 54 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() argument 56 SCOPED_TRACE(message + " [prepareModel_1_1]"); in validatePrepareModel() 81 static void validate(const sp<IDevice>& device, const std::string& message, in validate() argument 88 validateGetSupportedOperations(device, message, model); in validate() 91 validatePrepareModel(device, message, model, preference); in validate() 290 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local 292 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest() 307 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local [all …]
|
D | ValidateRequest.cpp | 38 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() argument 42 SCOPED_TRACE(message + " [execute]"); in validate() 58 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest() local 59 validate(preparedModel, message, request, in removeInputTest() 68 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest() local 69 validate(preparedModel, message, request, in removeOutputTest()
|
/hardware/libhardware/modules/camera/3_4/ |
D | camera.cpp | 472 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/interfaces/boot/1.1/default/boot_control/ |
D | libboot_control.cpp | 363 misc_virtual_ab_message message; in InitMiscVirtualAbMessageIfNeeded() local 364 if (!ReadMiscVirtualAbMessage(&message, &err)) { in InitMiscVirtualAbMessageIfNeeded() 369 if (message.version == MISC_VIRTUAL_AB_MESSAGE_VERSION && in InitMiscVirtualAbMessageIfNeeded() 370 message.magic == MISC_VIRTUAL_AB_MAGIC_HEADER) { in InitMiscVirtualAbMessageIfNeeded() 375 message = {}; in InitMiscVirtualAbMessageIfNeeded() 376 message.version = MISC_VIRTUAL_AB_MESSAGE_VERSION; in InitMiscVirtualAbMessageIfNeeded() 377 message.magic = MISC_VIRTUAL_AB_MAGIC_HEADER; in InitMiscVirtualAbMessageIfNeeded() 378 if (!WriteMiscVirtualAbMessage(message, &err)) { in InitMiscVirtualAbMessageIfNeeded() 388 misc_virtual_ab_message message; in SetMiscVirtualAbMergeStatus() local 390 if (!ReadMiscVirtualAbMessage(&message, &err)) { in SetMiscVirtualAbMergeStatus() [all …]
|
/hardware/google/pixel/pixelstats/ |
D | DropDetect.cpp | 120 void DropDetect::handleNanoappMessage(const fbs::NanoappMessageT &message) { in handleNanoappMessage() argument 123 if (message.app_id != kDropDetectAppId || message.message_type != kDropEventDetection || in handleNanoappMessage() 124 message.message.size() < sizeof(struct DropEventPayload)) in handleNanoappMessage() 126 message_struct = (struct DropEventPayload *)&message.message[0]; in handleNanoappMessage()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateRequest.cpp | 48 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() argument 58 for (auto c : message) { in validate() 65 SCOPED_TRACE(message + " [execute_1_3]"); in validate() 84 SCOPED_TRACE(message + " [executeSynchronously_1_3]"); in validate() 100 SCOPED_TRACE(message + " [burst]"); in validate() 140 SCOPED_TRACE(message + " [executeFenced]"); in validate() 157 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest() local 158 validate(preparedModel, message, request, in removeInputTest() 167 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest() local 168 validate(preparedModel, message, request, in removeOutputTest()
|
D | ValidateModel.cpp | 44 static void validateGetSupportedOperations(const sp<IDevice>& device, const std::string& message, in validateGetSupportedOperations() argument 46 SCOPED_TRACE(message + " [getSupportedOperations_1_3]"); in validateGetSupportedOperations() 55 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() argument 58 SCOPED_TRACE(message + " [prepareModel_1_3]"); in validatePrepareModel() 88 static void validate(const sp<IDevice>& device, const std::string& message, in validate() argument 96 validateGetSupportedOperations(device, message, model); in validate() 99 validatePrepareModel(device, message, model, preference, priority); in validate() 346 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local 348 validate(device, message, model, in mutateExecutionOrderTest() 364 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local [all …]
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateModel.cpp | 43 static void validateGetSupportedOperations(const sp<IDevice>& device, const std::string& message, in validateGetSupportedOperations() argument 45 SCOPED_TRACE(message + " [getSupportedOperations_1_2]"); in validateGetSupportedOperations() 54 static void validatePrepareModel(const sp<IDevice>& device, const std::string& message, in validatePrepareModel() argument 56 SCOPED_TRACE(message + " [prepareModel_1_2]"); in validatePrepareModel() 82 static void validate(const sp<IDevice>& device, const std::string& message, in validate() argument 89 validateGetSupportedOperations(device, message, model); in validate() 92 validatePrepareModel(device, message, model, preference); in validate() 329 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local 331 validate(device, message, model, [operation](Model* model, ExecutionPreference*) { in mutateExecutionOrderTest() 346 const std::string message = "mutateExecutionOrderTest: operation " + in mutateExecutionOrderTest() local [all …]
|
D | ValidateRequest.cpp | 44 static void validate(const sp<IPreparedModel>& preparedModel, const std::string& message, in validate() argument 54 for (auto c : message) { in validate() 61 SCOPED_TRACE(message + " [execute_1_2]"); in validate() 80 SCOPED_TRACE(message + " [executeSynchronously]"); in validate() 95 SCOPED_TRACE(message + " [burst]"); in validate() 135 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest() local 136 validate(preparedModel, message, request, in removeInputTest() 145 const std::string message = "removeOutput: removed Output " + std::to_string(output); in removeOutputTest() local 146 validate(preparedModel, message, request, in removeOutputTest()
|
/hardware/interfaces/tv/tuner/1.0/ |
D | IFrontendCallback.hal | 31 * @param type the type of scan message. 32 * @param message the scan message sent by HAL to the client. 34 oneway onScanMessage(FrontendScanMessageType type, FrontendScanMessage message);
|