/system/core/fastboot/device/ |
D | variables.cpp | 51 std::string* message) { in GetVersion() argument 52 *message = kFastbootProtocolVersion; in GetVersion() 57 std::string* message) { in GetBootloaderVersion() argument 58 *message = android::base::GetProperty("ro.bootloader", ""); in GetBootloaderVersion() 63 std::string* message) { in GetBasebandVersion() argument 64 *message = android::base::GetProperty("ro.build.expect.baseband", ""); in GetBasebandVersion() 69 std::string* message) { in GetOsVersion() argument 70 *message = android::base::GetProperty("ro.build.version.release", ""); in GetOsVersion() 75 std::string* message) { in GetVndkVersion() argument 76 *message = android::base::GetProperty("ro.vndk.version", ""); in GetVndkVersion() [all …]
|
D | variables.h | 24 bool GetVersion(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 26 std::string* message); 28 std::string* message); 30 std::string* message); 32 std::string* message); 33 bool GetProduct(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 34 bool GetSerial(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 35 bool GetSecure(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 37 std::string* message); 39 std::string* message); [all …]
|
/system/chre/chre_api/include/chre_api/chre/ |
D | toolchain.h | 31 #define CHRE_DEPRECATED(message) \ argument 32 __attribute__((deprecated(message))) 41 #define CHRE_BUILD_ERROR(message) CHRE_DO_PRAGMA(GCC error message) argument 42 #define CHRE_DO_PRAGMA(message) _Pragma(#message) argument 52 #define CHRE_DEPRECATED(message) argument 63 #define CHRE_DEPRECATED(message) argument 79 #define CHRE_BUILD_ERROR(message) static_assert(0, message) argument 81 #define CHRE_BUILD_ERROR(message) _Static_assert(0, message) argument 83 #define CHRE_BUILD_ERROR(message) char buildError[-1] = message argument
|
/system/chre/chre_api/legacy/v1_7/chre/ |
D | toolchain.h | 28 #define CHRE_DEPRECATED(message) \ argument 29 __attribute__((deprecated(message))) 35 #define CHRE_BUILD_ERROR(message) CHRE_DO_PRAGMA(GCC error message) argument 36 #define CHRE_DO_PRAGMA(message) _Pragma(#message) argument 58 #define CHRE_BUILD_ERROR(message) static_assert(0, message) argument 60 #define CHRE_BUILD_ERROR(message) _Static_assert(0, message) argument 62 #define CHRE_BUILD_ERROR(message) char buildError[-1] = message argument
|
/system/chre/chre_api/legacy/v1_5/chre/ |
D | toolchain.h | 28 #define CHRE_DEPRECATED(message) \ argument 29 __attribute__((deprecated(message))) 35 #define CHRE_BUILD_ERROR(message) CHRE_DO_PRAGMA(GCC error message) argument 36 #define CHRE_DO_PRAGMA(message) _Pragma(#message) argument 58 #define CHRE_BUILD_ERROR(message) static_assert(0, message) argument 60 #define CHRE_BUILD_ERROR(message) _Static_assert(0, message) argument 62 #define CHRE_BUILD_ERROR(message) char buildError[-1] = message argument
|
/system/chre/chre_api/legacy/v1_8/chre/ |
D | toolchain.h | 28 #define CHRE_DEPRECATED(message) \ argument 29 __attribute__((deprecated(message))) 35 #define CHRE_BUILD_ERROR(message) CHRE_DO_PRAGMA(GCC error message) argument 36 #define CHRE_DO_PRAGMA(message) _Pragma(#message) argument 58 #define CHRE_BUILD_ERROR(message) static_assert(0, message) argument 60 #define CHRE_BUILD_ERROR(message) _Static_assert(0, message) argument 62 #define CHRE_BUILD_ERROR(message) char buildError[-1] = message argument
|
/system/chre/chre_api/legacy/v1_6/chre/ |
D | toolchain.h | 28 #define CHRE_DEPRECATED(message) \ argument 29 __attribute__((deprecated(message))) 35 #define CHRE_BUILD_ERROR(message) CHRE_DO_PRAGMA(GCC error message) argument 36 #define CHRE_DO_PRAGMA(message) _Pragma(#message) argument 58 #define CHRE_BUILD_ERROR(message) static_assert(0, message) argument 60 #define CHRE_BUILD_ERROR(message) _Static_assert(0, message) argument 62 #define CHRE_BUILD_ERROR(message) char buildError[-1] = message argument
|
/system/chre/chre_api/legacy/v1_9/chre/ |
D | toolchain.h | 31 #define CHRE_DEPRECATED(message) \ argument 32 __attribute__((deprecated(message))) 41 #define CHRE_BUILD_ERROR(message) CHRE_DO_PRAGMA(GCC error message) argument 42 #define CHRE_DO_PRAGMA(message) _Pragma(#message) argument 64 #define CHRE_BUILD_ERROR(message) static_assert(0, message) argument 66 #define CHRE_BUILD_ERROR(message) _Static_assert(0, message) argument 68 #define CHRE_BUILD_ERROR(message) char buildError[-1] = message argument
|
/system/chre/apps/test/chqts/src/shared/ |
D | send_message.cc | 38 static void freeChunkAllocMessage(void *message, size_t messageSize) { in freeChunkAllocMessage() argument 44 if (!gChunkAlloc.free(message)) { in freeChunkAllocMessage() 46 reinterpret_cast<size_t>(message) & UINT32_C(0xFFFFFFFF); in freeChunkAllocMessage() 52 static void freeHeapMessage(void *message, size_t /* messageSize */) { in freeHeapMessage() argument 53 if (gChunkAlloc.contains(message)) { in freeHeapMessage() 55 reinterpret_cast<size_t>(message) & UINT32_C(0xFFFFFFFF); in freeHeapMessage() 59 chreHeapFree(message); in freeHeapMessage() 139 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument 141 if (message == nullptr) { in sendStringToHost() 145 const size_t messageStrlen = strlen(message); in sendStringToHost() [all …]
|
/system/core/fastboot/ |
D | socket_mock.cpp | 52 std::string message(reinterpret_cast<const char*>(data), length); in Send() 53 if (events_.front().message != message) { in Send() 54 ADD_FAILURE() << "Send() expected " << events_.front().message << ", but got " << message; in Send() 85 const std::string& message = event.message; in Receive() local 86 if (message.length() > length) { in Receive() 87 ADD_FAILURE() << "Receive(): not enough bytes (" << length << ") for " << message; in Receive() 92 ssize_t return_value = message.length(); in Receive() 95 if (message.empty()) { in Receive() 98 memcpy(data, message.data(), message.length()); in Receive() 125 void SocketMock::ExpectSend(std::string message) { in ExpectSend() argument [all …]
|
/system/core/fastboot/fuzzer/ |
D | socket_mock_fuzz.cpp | 33 std::string message(reinterpret_cast<const char*>(data), length); in Send() 34 if (events_.front().message != message) { in Send() 63 const std::string& message = event.message; in Receive() local 64 if (message.length() > length) { in Receive() 69 ssize_t return_value = message.length(); in Receive() 72 if (message.empty()) { in Receive() 75 memcpy(data, message.data(), message.length()); in Receive() 100 void SocketMockFuzz::ExpectSend(std::string message) { in ExpectSend() argument 101 events_.push(Event(EventType::kSend, std::move(message), true, nullptr)); in ExpectSend() 104 void SocketMockFuzz::ExpectSendFailure(std::string message) { in ExpectSendFailure() argument [all …]
|
/system/media/camera/docs/ |
D | camera_device_info.mako | 13 message CameraDeviceInfo { 23 message PerCameraInfo { 24 message Rational { 29 message Size { 34 message SizeF { 39 message Rect { 46 message StreamConfigurations { 47 message StreamConfig { 57 message RangeFloat { 62 message RangeInt { [all …]
|
/system/chre/apps/test/common/chre_api_test/src/ |
D | chre_api_test_manager.cc | 63 Optional<ChreApiTestService::ServerWriter<T>> &writer, const T &message) { in sendFinishAndCloseWriter() argument 68 pw::Status status = writer->Write(message); in sendFinishAndCloseWriter() 85 T message; in sendFailureAndFinishCloseWriter() local 86 message.status = false; in sendFailureAndFinishCloseWriter() 87 sendFinishAndCloseWriter(writer, message); in sendFailureAndFinishCloseWriter() 415 const chre_rpc_GeneralEventsMessage &message) { in sendGeneralEventToHost() argument 416 sendPartialGeneralEventToHost(message); in sendGeneralEventToHost() 421 const chre_rpc_GeneralEventsMessage &message) { in sendPartialGeneralEventToHost() argument 424 pw::Status status = mEventWriter->Write(message); in sendPartialGeneralEventToHost() 464 chre_rpc_GeneralEventsMessage message; in handleGatheringEvent() local [all …]
|
/system/chre/apps/test/common/chre_reliable_message_test/src/ |
D | chre_reliable_message_test_manager.cc | 37 void freeCallback(void *message, size_t messageSize) { in freeCallback() argument 38 ManagerSingleton::get()->handleMessageFreeCallback(message, messageSize); in freeCallback() 76 void Manager::handleMessageFreeCallback(void *message, size_t messageSize) { in handleMessageFreeCallback() argument 77 if (message != mMessage) { in handleMessageFreeCallback() 88 void Manager::completeTest(bool success, const char *message) { in completeTest() argument 96 LOGE("Test completed in error with message \"%s\"", message); in completeTest() 103 success, message, /* abortOnFailure= */ false); in completeTest() 147 void Manager::handleHostEchoMessage(const uint8_t *message, in handleHostEchoMessage() argument 158 if (message[i] != mMessage[i]) { in handleHostEchoMessage() 191 static_cast<const pb_byte_t *>(hostData->message), in handleMessageFromHost() [all …]
|
/system/nfc/src/fuzzers/integration/ |
D | nfc_integration_fuzzer.proto | 3 message Session { 17 message Command { 55 message ConfigureUiccListenTech { 60 message Select { 66 message RwPresenceCheck { 75 message EeAddAidRouting { 82 message EmptyMessage {} 84 message SimulateStructuredPacket { 92 message MtNtf { 98 message RfManagementNtf { [all …]
|
/system/server_configurable_flags/aconfigd/ |
D | aconfigd.proto | 21 message PersistStorageRecord { 30 message PersistStorageRecords { 34 message FlagOverride { 40 message LocalFlagOverrides { 45 message StorageRequestMessage { 47 message NewStorageMessage { 55 message FlagOverrideMessage { 63 message OTAFlagStagingMessage { 69 message RemoveLocalOverrideMessage { 76 message FlagQueryMessage { [all …]
|
/system/chre/platform/android/ |
D | host_link.cc | 50 void sendFlatbufferToHost(T &message, uint16_t hostClientId) { in sendFlatbufferToHost() argument 56 container.message.Set(std::move(message)); in sendFlatbufferToHost() 72 void handleNanoappMessage(const fbs::NanoappMessageT &message) { in handleNanoappMessage() argument 77 message.app_id, message.message_type, message.host_endpoint, in handleNanoappMessage() 78 message.message.data(), message.message.size()); in handleNanoappMessage() 175 bool handleMessageFromHost(void *message, size_t length) { in handleMessageFromHost() argument 176 bool success = HostProtocolCommon::verifyMessage(message, length); in handleMessageFromHost() 179 fbs::GetMessageContainer(message)->UnPackTo(&container); in handleMessageFromHost() 181 switch (container.message.type) { in handleMessageFromHost() 183 handleNanoappMessage(*container.message.AsNanoappMessage()); in handleMessageFromHost() [all …]
|
/system/chre/platform/exynos/ |
D | host_link.cc | 80 void HostLinkBase::receive(void *cookie, void *message, int messageLen) { in receive() argument 87 if (!HostProtocolChre::decodeMessageFromHost(message, messageLen)) { in receive() 88 LOGE("Failed to decode msg %p of len %zu", message, messageLen); in receive() 92 bool HostLink::sendMessage(const MessageToHost *message) { in sendMessage() argument 96 ChreFlatBufferBuilder builder(message->message.size() + kFixedReserveSize); in sendMessage() 98 builder, message->appId, message->toHostData.messageType, in sendMessage() 99 message->toHostData.hostEndpoint, message->message.data(), in sendMessage() 100 message->message.size(), message->toHostData.appPermissions, in sendMessage() 101 message->toHostData.messagePermissions, message->toHostData.wokeHost, in sendMessage() 102 message->isReliable, message->messageSequenceNumber); in sendMessage() [all …]
|
/system/extras/libjsonpb/parse/ |
D | jsonpb.cpp | 35 std::string GetTypeUrl(const Message& message) { in GetTypeUrl() argument 36 return std::string(kTypeUrlPrefix) + "/" + message.GetDescriptor()->full_name(); in GetTypeUrl() 39 ErrorOr<std::string> MessageToJsonString(const Message& message) { in MessageToJsonString() argument 47 auto status = BinaryToJsonString(resolver.get(), GetTypeUrl(message), message.SerializeAsString(), in MessageToJsonString() 51 return MakeError<std::string>(std::string(status.message())); in MessageToJsonString() 57 ErrorOr<std::monostate> JsonStringToMessage(const std::string& content, Message* message) { in JsonStringToMessage() argument 62 auto status = JsonToBinaryString(resolver.get(), GetTypeUrl(*message), content, &binary); in JsonStringToMessage() 64 return MakeError<std::monostate>(std::string(status.message())); in JsonStringToMessage() 66 if (!message->ParseFromString(binary)) { in JsonStringToMessage()
|
/system/chre/apps/test/common/chre_api_test/rpc/ |
D | chre_api_test.proto | 80 message Capabilities { 84 // Status message 85 message Status { 90 message ChreHandleInput { 95 message GeneralSyncMessage { 102 message GatherEventsInput { 112 // To gather a new type of event, add its message to the oneof data, then define 113 // the message below 114 message GeneralEventsMessage { 130 message ChreSensorSamplingStatusEvent { [all …]
|
/system/chre/apps/test/pts/proto/ |
D | pts_chre.proto | 8 // The message types used in PTS test nanoapps. Some of them are H2C 9 // (Host-To-CHRE) and others are C2H (CHRE-To-Host). One message type must be 10 // either H2C or C2H. Each message type can choose to have payload or not. 11 // Payload can be added to a message type with no payload initially. But once 12 // one message type has payload, the payload message should not be changed. 20 // C2H: TestResult message payload. 24 // A message sent by the nanoapp to indicate the result of a test, optionally 25 // containing an error message. 26 message TestResult {
|
/system/chre/host/common/ |
D | log_message_parser.cc | 161 const LogMessage *message = in log() local 163 uint64_t timeNs = le64toh(message->timestampNanos); in log() 164 emitLogMessage(message->logLevel, timeNs / kOneMillisecondInNanoseconds, in log() 165 message->logMessage); in log() 167 strnlen(message->logMessage, logBufferSize - bufferIndex) + in log() 174 const LogMessageV2 *message, size_t maxLogMessageLen) { in parseAndEmitTokenizedLogMessageAndGetSize() argument 176 auto *encodedLog = reinterpret_cast<const EncodedLog *>(message->logMessage); in parseAndEmitTokenizedLogMessageAndGetSize() 185 emitLogMessage(getLogLevelFromMetadata(message->metadata), in parseAndEmitTokenizedLogMessageAndGetSize() 186 le32toh(message->timestampMillis), decodedString.c_str()); in parseAndEmitTokenizedLogMessageAndGetSize() 197 const LogMessageV2 *message, size_t maxLogMessageLen) { in parseAndEmitNanoappTokenizedLogMessageAndGetSize() argument [all …]
|
/system/netd/client/ |
D | FwmarkClient.cpp | 90 msghdr message; in send() local 91 memset(&message, 0, sizeof(message)); in send() 92 message.msg_iov = iov; in send() 93 message.msg_iovlen = std::size(iov); in send() 102 message.msg_control = cmsgu.cmsg; in send() 103 message.msg_controllen = sizeof(cmsgu.cmsg); in send() 105 cmsghdr* const cmsgh = CMSG_FIRSTHDR(&message); in send() 112 if (TEMP_FAILURE_RETRY(sendmsg(mChannel, &message, 0)) == -1) { in send()
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubSendMessageToHostTestExecutor.java | 128 protected NanoAppMessage hackMessageToNanoApp(NanoAppMessage message) { in hackMessageToNanoApp() argument 133 return super.hackMessageToNanoApp(message); in hackMessageToNanoApp() 137 message.getNanoAppId(), message.getMessageType(), message.getMessageBody()); in hackMessageToNanoApp() 141 protected NanoAppMessage hackMessageFromNanoApp(NanoAppMessage message) { in hackMessageFromNanoApp() argument 142 if (isGeneralProtocolMessage(message.getMessageBody())) { in hackMessageFromNanoApp() 145 return super.hackMessageFromNanoApp(message); in hackMessageFromNanoApp() 150 message.getNanoAppId(), ContextHubTestConstants.MessageType.CONTINUE.asInt(), in hackMessageFromNanoApp() 151 message.getMessageBody(), message.isBroadcastMessage()); in hackMessageFromNanoApp()
|
/system/chre/external/pigweed/pw_assert_nanoapp/public_overrides/pw_assert_backend/ |
D | check_backend.h | 25 #define PW_HANDLE_CRASH(message, ...) \ argument 30 "Crash: " message, \ 35 #define PW_HANDLE_ASSERT_FAILURE(condition_string, message, ...) \ argument 40 "Check failed: " condition_string ". " message, \ 51 message, ...) \ argument 60 ". " message, \
|