/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/media/bufferpool/aidl/default/tests/ |
D | multi.cpp | 127 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() argument 128 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage() 132 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() argument 133 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage() 140 PipeMessage message; in doReceiver() local 143 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 144 sendMessage(mResultPipeFds, message); in doReceiver() 153 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 154 sendMessage(mResultPipeFds, message); in doReceiver() 157 message.data.command = PipeCommand::INIT_OK; in doReceiver() [all …]
|
D | cond.cpp | 131 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() argument 132 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage() 136 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() argument 137 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage() 144 PipeMessage message; in doReceiver() local 147 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 148 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/gfxstream/third-party/glm/include/glm/detail/ |
D | setup.hpp | 14 # pragma message("GLM: GLM_MESSAGES is deprecated, use GLM_FORCE_MESSAGES instead") 43 # pragma message ("GLM: version 0.9.8.4") 50 # pragma message("GLM: CUDA compiler detected") 52 # pragma message("GLM: Visual C++ compiler detected") 54 # pragma message("GLM: Clang compiler detected") 56 # pragma message("GLM: Intel Compiler detected") 58 # pragma message("GLM: GCC compiler detected") 60 # pragma message("GLM: Compiler not detected") 82 # pragma message("GLM: 64 bits model") 84 # pragma message("GLM: 32 bits model") [all …]
|
/hardware/interfaces/media/bufferpool/aidl/default/ |
D | BufferStatus.cpp | 82 BufferStatusMessage message; in getBufferStatusChanges() local 85 if (!it->second->read(&message, 1)) { in getBufferStatusChanges() 92 message.connectionId = it->first; in getBufferStatusChanges() 93 messages.push_back(message); in getBufferStatusChanges() 128 BufferStatusMessage message; in postBufferRelease() local 131 message.status = BufferStatus::NOT_USED; in postBufferRelease() 132 message.bufferId = id; in postBufferRelease() 133 message.connectionId = connectionId; in postBufferRelease() 134 if (!mBufferStatusQueue->write(&message, 1)) { in postBufferRelease() 154 BufferStatusMessage message; in postBufferInvalidateAck() local [all …]
|
D | BufferPool.cpp | 215 bool BufferPool::handleTransferTo(const BufferStatusMessage &message) { in handleTransferTo() argument 217 message.transactionId); in handleTransferTo() 224 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() 226 !contains(&mUsingBuffers, message.connectionId, FromAidl(message.bufferId))) { in handleTransferTo() 229 auto found = mTransactions.find(message.transactionId); in handleTransferTo() 232 found->second->mSender = message.connectionId; in handleTransferTo() 236 if (mConnectionIds.find(message.targetConnectionId) == mConnectionIds.end()) { in handleTransferTo() 239 this, (long long)message.targetConnectionId); in handleTransferTo() 244 message.transactionId, in handleTransferTo() 245 std::make_unique<TransactionStatus>(message, mTimestampMs))); in handleTransferTo() [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.1/default/ |
D | HdmiCecMock.cpp | 38 Return<void> onCecMessage(const ::android::hardware::tv::cec::V1_0::CecMessage& message) { in onCecMessage() argument 39 mCallback->onCecMessage(message); in onCecMessage() 42 Return<void> onCecMessage_1_1(const ::android::hardware::tv::cec::V1_1::CecMessage& message) { in onCecMessage_1_1() argument 45 ::android::hardware::tv::cec::V1_0::CecLogicalAddress(message.initiator); in onCecMessage_1_1() 47 ::android::hardware::tv::cec::V1_0::CecLogicalAddress(message.destination); in onCecMessage_1_1() 48 cecMessage.body = message.body; in onCecMessage_1_1() 102 Return<SendMessageResult> HdmiCecMock::sendMessage(const CecMessage& message) { in sendMessage() argument 104 cecMessage.initiator = ::android::hardware::tv::cec::V1_1::CecLogicalAddress(message.initiator); in sendMessage() 106 ::android::hardware::tv::cec::V1_1::CecLogicalAddress(message.destination); in sendMessage() 107 cecMessage.body = message.body; in sendMessage() [all …]
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | realtime_zsl_result_request_processor.cc | 306 const NotifyMessage& message = block_message.message; in Notify() local 313 if (message.type == MessageType::kError) { in Notify() 316 __FUNCTION__, message.message.error.frame_number, in Notify() 317 static_cast<int>(message.message.error.error_code)); in Notify() 318 if (message.message.error.error_code == ErrorCode::kErrorRequest || in Notify() 319 message.message.error.error_code == ErrorCode::kErrorBuffer) { in Notify() 321 message.message.error.frame_number, in Notify() 323 if (message.message.error.error_code == ErrorCode::kErrorRequest) { in Notify() 327 pending_error_frames_[message.message.error.frame_number] in Notify() 333 uint32_t frame_number = message.message.error.frame_number; in Notify() [all …]
|
/hardware/interfaces/tv/hdmi/cec/aidl/default/ |
D | HdmiCecMock.cpp | 77 ScopedAStatus HdmiCecMock::sendMessage(const CecMessage& message, SendMessageResult* _aidl_return) { in sendMessage() argument 78 if (message.body.size() == 0) { in sendMessage() 81 sendMessageToFifo(message); in sendMessage() 155 int HdmiCecMock::sendMessageToFifo(const CecMessage& message) { in sendMessageToFifo() argument 159 msgBuf[0] = ((static_cast<uint8_t>(message.initiator) & 0xf) << 4) | in sendMessageToFifo() 160 (static_cast<uint8_t>(message.destination) & 0xf); in sendMessageToFifo() 162 size_t length = std::min(static_cast<size_t>(message.body.size()), in sendMessageToFifo() 165 msgBuf[i + 1] = static_cast<unsigned char>(message.body[i]); in sendMessageToFifo() 199 CecMessage message; in handleCecMessage() local 202 message.body.resize(length); in handleCecMessage() [all …]
|
/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/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/google/aemu/base/ |
D | SharedMemory_unittest.cpp | 28 std::string message = "Hello World!"; in TEST() local 29 base::SharedMemory mWriter(unique_name, message.size()); in TEST() 30 base::SharedMemory mReader(unique_name, message.size()); in TEST() 43 memcpy(*mWriter, message.c_str(), message.size()); in TEST() 45 ASSERT_TRUE(message == read); in TEST() 163 std::string message = "Hello World!"; in TEST() local 164 base::SharedMemory mWriter(unique_name, message.size()); in TEST() 165 base::SharedMemory mReader(unique_name, message.size()); in TEST()
|
/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 | 978 string message = "12345678901234567890123456789012"; in TEST_P() local 980 message, AuthorizationSetBuilder().Digest(Digest::NONE).Padding(PaddingMode::NONE)); in TEST_P() 1058 string message(1024, 'a'); in TEST_P() local 1060 message, AuthorizationSetBuilder().Digest(Digest::SHA_2_256).Padding(PaddingMode::RSA_PSS)); in TEST_P() 1075 string message = "12345678901234567890123456789012"; in TEST_P() local 1100 const string message = "12345678901234567890123456789012"; in TEST_P() local 1105 EXPECT_EQ(ErrorCode::NO_USER_CONFIRMATION, Finish(message, &signature)); in TEST_P() 1119 string message(1024, 'a'); in TEST_P() local 1120 string signature = SignMessage(message, AuthorizationSetBuilder() in TEST_P() 1136 string message(53, 'a'); in TEST_P() local [all …]
|
/hardware/interfaces/automotive/remoteaccess/hal/default/proto/ |
D | wakeup_client.proto | 63 * <p>This sends a scheduled task message to a device external to Android so that the device 106 message GetRemoteTasksRequest {} 108 message GetRemoteTasksResponse { 113 message NotifyWakeupRequiredRequest { 117 message NotifyWakeupRequiredResponse {} 119 message ScheduleTaskRequest { 123 message ScheduleTaskResponse { 132 message GrpcScheduleInfo { 142 message UnscheduleTaskRequest { 147 message UnscheduleTaskResponse {} [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_log.c | 122 char *message = NULL; in __vk_log_impl() local 125 message = ralloc_vasprintf(NULL, format, va); in __vk_log_impl() 133 mesa_logd("%s: %s", message_idname, message); in __vk_log_impl() 136 mesa_logi("%s: %s", message_idname, message); in __vk_log_impl() 140 mesa_logw("%s: PERF: %s", message_idname, message); in __vk_log_impl() 142 mesa_logw("%s: %s", message_idname, message); in __vk_log_impl() 145 mesa_loge("%s: %s", message_idname, message); in __vk_log_impl() 153 ralloc_free(message); in __vk_log_impl() 161 message_idname, 0, message); in __vk_log_impl() 162 ralloc_free(message); in __vk_log_impl() [all …]
|
/hardware/google/pixel/pixelstats/ |
D | DropDetect.cpp | 187 void DropDetect::handleNanoappMessage(const fbs::NanoappMessageT &message) { in handleNanoappMessage() argument 188 if (message.app_id != kDropDetectAppId) in handleNanoappMessage() 191 if (message.message_type == kDropEventDetection && in handleNanoappMessage() 192 message.message.size() >= sizeof(struct DropEventPayload)) { in handleNanoappMessage() 194 reinterpret_cast<const struct DropEventPayload *>(&message.message[0]))); in handleNanoappMessage() 195 } else if (message.message_type == kDropEventDetectionV2 && in handleNanoappMessage() 196 message.message.size() >= sizeof(struct DropEventPayloadV2)) { in handleNanoappMessage() 198 reinterpret_cast<const struct DropEventPayloadV2 *>(&message.message[0]))); in handleNanoappMessage()
|
/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/interfaces/automotive/can/1.0/default/ |
D | CanBus.cpp | 33 Return<Result> CanBus::send(const CanMessage& message) { in send() argument 38 LOG(VERBOSE) << "Sending " << toString(message); in send() 41 if (message.payload.size() > CAN_MAX_DLEN) return Result::PAYLOAD_TOO_LONG; in send() 44 frame.can_id = message.id; in send() 45 if (message.isExtendedId) frame.can_id |= CAN_EFF_FLAG; in send() 46 if (message.remoteTransmissionRequest) frame.can_id |= CAN_RTR_FLAG; in send() 47 frame.len = message.payload.size(); in send() 48 memcpy(frame.data, message.payload.data(), message.payload.size()); in send() 308 CanMessage message = {}; in onRead() local 309 message.id = frame.can_id & CAN_EFF_MASK; // mask out eff/rtr/err flags in onRead() [all …]
|
/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/google/pixel/vibrator/common/ |
D | CapoDetector.cpp | 94 void CapoDetector::handleNanoappMessage(const fbs::NanoappMessageT &message) { in handleNanoappMessage() argument 95 ALOGI("%s, Id %" PRIu64 ", type %d, size %d", __func__, message.app_id, message.message_type, in handleNanoappMessage() 96 static_cast<int>(message.message.size())); in handleNanoappMessage() 98 if (message.app_id != kCapoNanoappId) in handleNanoappMessage() 102 switch (message.message_type) { in handleNanoappMessage() 105 gd.set_notification_type(static_cast<capo::NotificationType>(message.message[1])); in handleNanoappMessage() 117 gd.set_position_type(static_cast<capo::PositionType>(message.message[1])); in handleNanoappMessage() 139 message.message_type); in handleNanoappMessage()
|
/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/google/gfxstream/qnx/nto/ |
D | qnx.nto.toolchain.cmake | 3 …message(FATAL_ERROR "QNX_HOST environment variable not found. Please set path to your QNX SDP inst… 7 message(FATAL_ERROR "QNX_TARGET environment variable not found. Please set QNX target path") 11 …message(FATAL_ERROR "PROCESSOR variable not found. This variable should be set in the Makefile at … 15 …message(FATAL_ERROR "VARIANT variable not found. This variable should be set in the Makefile at VA… 18 message(STATUS "using QNX_HOST $ENV{QNX_HOST}") 19 message(STATUS "using QNX_TARGET $ENV{QNX_TARGET}") 20 message(STATUS "cpu=$ENV{PROCESSOR}") 21 message(STATUS "variant=$ENV{VARIANT}")
|