/system/core/fastboot/device/ |
D | variables.cpp | 48 std::string* message) { in GetVersion() argument 49 *message = kFastbootProtocolVersion; in GetVersion() 54 std::string* message) { in GetBootloaderVersion() argument 55 *message = android::base::GetProperty("ro.bootloader", ""); in GetBootloaderVersion() 60 std::string* message) { in GetBasebandVersion() argument 61 *message = android::base::GetProperty("ro.build.expect.baseband", ""); in GetBasebandVersion() 66 std::string* message) { in GetOsVersion() argument 67 *message = android::base::GetProperty("ro.build.version.release", ""); in GetOsVersion() 72 std::string* message) { in GetVndkVersion() argument 73 *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/bt/gd/security/ |
D | pairing_failure.h | 37 std::string message; member 46 PairingFailure(/*const base::Location& location, */ const std::string& message) in PairingFailure() 47 : /*location(location), */ message(message) {} in PairingFailure() 49 …PairingFailure(/*const base::Location& location, */ const std::string& message, Code received_code) in PairingFailure() 50 : /*location(location), */ message(message), received_code_(received_code) {} in PairingFailure() 52 …PairingFailure(/*const base::Location& location, */ const std::string& message, PairingFailedReaso… in PairingFailure() 53 : /*location(location),*/ message(message), reason(reason) {} in PairingFailure()
|
D | facade.proto | 31 message OobDataMessage { 46 message UiMsg { 59 message UiCallbackMsg { 73 message BondMsg { 85 message IoCapabilityMessage { 89 message LeIoCapabilityMessage { 109 message AuthenticationRequirementsMessage { 113 message LeAuthRequirementsMessage { 122 message LeOobDataPresentMessage { 138 message OobDataPresentMessage { [all …]
|
/system/chre/apps/chqts/src/shared/ |
D | send_message.cc | 34 static void freeDumbAllocMessage(void *message, size_t messageSize) { in freeDumbAllocMessage() argument 40 if (!gDumbAlloc.free(message)) { in freeDumbAllocMessage() 42 reinterpret_cast<size_t>(message) & UINT32_C(0xFFFFFFFF); in freeDumbAllocMessage() 48 static void freeHeapMessage(void *message, size_t /* messageSize */) { in freeHeapMessage() argument 49 if (gDumbAlloc.contains(message)) { in freeHeapMessage() 51 reinterpret_cast<size_t>(message) & UINT32_C(0xFFFFFFFF); in freeHeapMessage() 55 chreHeapFree(message); in freeHeapMessage() 136 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument 138 if (message == nullptr) { in sendStringToHost() 142 const size_t messageStrlen = strlen(message); in sendStringToHost() [all …]
|
D | send_message.h | 133 void sendStringToHost(MessageType messageType, const char *message, 139 inline void sendFailureToHost(const char *message, 141 sendStringToHost(MessageType::kFailure, message, value); 148 void sendFatalFailureToHost(const char *message, 162 void sendFatalFailureToHostUint8(const char *message, const uint8_t value); 168 void sendInternalFailureToHost(const char *message,
|
/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/chre/platform/android/ |
D | host_link.cc | 54 void sendFlatbufferToHost(T& message, uint16_t hostClientId) { in sendFlatbufferToHost() argument 61 container.message.Set(std::move(message)); in sendFlatbufferToHost() 77 void handleNanoappMessage(const fbs::NanoappMessageT& message) { in handleNanoappMessage() argument 82 message.app_id, message.message_type, message.host_endpoint, in handleNanoappMessage() 83 message.message.data(), message.message.size()); in handleNanoappMessage() 182 bool handleMessageFromHost(void *message, size_t length) { in handleMessageFromHost() argument 183 bool success = HostProtocolCommon::verifyMessage(message, length); in handleMessageFromHost() 186 fbs::GetMessageContainer(message)->UnPackTo(&container); in handleMessageFromHost() 188 switch (container.message.type) { in handleMessageFromHost() 190 handleNanoappMessage(*container.message.AsNanoappMessage()); in handleMessageFromHost() [all …]
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 462 string message = "12345678901234567890123456789012"; in TEST_P() local 464 SignMessage(message, &signature, KM_DIGEST_NONE, KM_PAD_NONE); in TEST_P() 476 string message(1024, 'a'); in TEST_P() local 478 SignMessage(message, &signature, KM_DIGEST_SHA_2_256, KM_PAD_RSA_PSS); in TEST_P() 489 string message = "12345678901234567890123456789012"; in TEST_P() local 506 string message(1024, 'a'); in TEST_P() local 508 SignMessage(message, &signature, KM_DIGEST_SHA_2_256, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P() 519 string message(53, 'a'); in TEST_P() local 521 SignMessage(message, &signature, KM_DIGEST_NONE, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P() 532 string message(54, 'a'); in TEST_P() local [all …]
|
/system/core/logd/ |
D | ChattyLogBufferTest.cpp | 26 std::string message; in TEST_P() local 27 message.push_back(ANDROID_LOG_INFO); in TEST_P() 28 message.append(tag); in TEST_P() 29 message.push_back('\0'); in TEST_P() 30 message.append(msg); in TEST_P() 31 message.push_back('\0'); in TEST_P() 32 return {entry, message, regex}; in TEST_P() 98 std::string message; in TEST_P() local 99 message.push_back(ANDROID_LOG_INFO); in TEST_P() 100 message.append(tag); in TEST_P() [all …]
|
/system/netd/client/ |
D | FwmarkClient.cpp | 92 msghdr message; in send() local 93 memset(&message, 0, sizeof(message)); in send() 94 message.msg_iov = iov; in send() 95 message.msg_iovlen = std::size(iov); in send() 104 message.msg_control = cmsgu.cmsg; in send() 105 message.msg_controllen = sizeof(cmsgu.cmsg); in send() 107 cmsghdr* const cmsgh = CMSG_FIRSTHDR(&message); in send() 114 if (TEMP_FAILURE_RETRY(sendmsg(mChannel, &message, 0)) == -1) { in send()
|
/system/bt/stack/crypto_toolbox/ |
D | crypto_toolbox.h | 23 extern Octet16 aes_128(const Octet16& key, const Octet16& message); 24 extern Octet16 aes_cmac(const Octet16& key, const uint8_t* message, 42 inline Octet16 aes_128(const Octet16& key, const uint8_t* message, in aes_128() argument 46 std::copy(message, message + length, msg.begin()); in aes_128() 52 inline void aes_cmac(const Octet16& key, const uint8_t* message, in aes_cmac() argument 54 Octet16 signature = aes_cmac(key, message, length); in aes_cmac() 60 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac() argument 61 return aes_cmac(key, message.data(), message.size()); in aes_cmac()
|
/system/bt/gd/l2cap/classic/ |
D | facade.proto | 27 message RegisterChannelRequest { 31 message ConnectionCompleteEvent { 35 message ConnectionCloseEvent { 46 message OpenChannelRequest { 52 message CloseChannelRequest { 62 message ChannelSignalEvent { 72 message SendL2capPacketResult { 76 message L2capPacket { 84 message SetEnableDynamicChannelRequest { 90 message DynamicChannelPacket { [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 RangeInt { 62 message RangeLong { [all …]
|
/system/bt/gd/l2cap/le/ |
D | facade.proto | 20 message L2capPacket { 28 message DynamicChannelOpenEvent { 33 message OpenDynamicChannelRequest { 38 message OpenDynamicChannelResponse { 42 message CloseDynamicChannelRequest { 55 message SetEnableDynamicChannelRequest { 61 message DynamicChannelPacket { 67 message SetEnableFixedChannelRequest { 72 message FixedChannelPacket { 78 message ConnectionParameter {
|
/system/libbase/ |
D | logging_splitters.h | 78 auto write_to_logd_chunk = [&](const char* message, int length) { in SplitByLogdChunks() 83 "%s%s%.*s", new_line, file_header.c_str(), length, message); in SplitByLogdChunks() 86 "%s%.*s", new_line, length, message); in SplitByLogdChunks() 133 static std::pair<int, int> CountSizeAndNewLines(const char* message) { in CountSizeAndNewLines() argument 136 while (*message != '\0') { in CountSizeAndNewLines() 138 if (*message == '\n') { in CountSizeAndNewLines() 141 ++message; in CountSizeAndNewLines() 150 unsigned int line, const char* message) { in StderrOutputGenerator() argument 167 auto [size, new_lines] = CountSizeAndNewLines(message); in StderrOutputGenerator() 171 auto concat_lines = [&](const char* message, int size) { in StderrOutputGenerator() [all …]
|
/system/core/storaged/ |
D | storaged.proto | 7 message IOUsage { 18 message TaskIOUsage { 23 message UidRecord { 30 message UidIORecords { 35 message UidIOItem { 40 message UidIOUsage { 44 message IOPerfHistory { 54 message StoragedProto {
|
/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), in MessageToJsonString() 48 message.SerializeAsString(), &json, options); 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() 66 if (!message->ParseFromString(binary)) { in JsonStringToMessage()
|
/system/bt/gd/crypto_toolbox/ |
D | crypto_toolbox.h | 38 extern Octet16 aes_128(const Octet16& key, const Octet16& message); 39 extern Octet16 aes_cmac(const Octet16& key, const uint8_t* message, uint16_t length); 54 inline Octet16 aes_128(const Octet16& key, const uint8_t* message, const uint8_t length) { in aes_128() argument 57 std::copy(message, message + length, msg.begin()); in aes_128() 63 inline void aes_cmac(const Octet16& key, const uint8_t* message, uint16_t length, uint16_t tlen, ui… in aes_cmac() argument 64 Octet16 signature = aes_cmac(key, message, length); in aes_cmac() 70 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac() argument 71 return aes_cmac(key, message.data(), message.size()); in aes_cmac()
|
/system/chre/apps/chqts/src/general_test/ |
D | send_message_to_host_test.cc | 93 void SendMessageToHostTest::smallMessageCallback(void *message, in smallMessageCallback() argument 100 if (message == nullptr) { in smallMessageCallback() 108 const uint8_t *msg = static_cast<const uint8_t*>(message); in smallMessageCallback() 140 void SendMessageToHostTest::smallMessageCallback0(void *message, in smallMessageCallback0() argument 142 smallMessageCallback<0>(message, messageSize); in smallMessageCallback0() 145 void SendMessageToHostTest::smallMessageCallback1(void *message, in smallMessageCallback1() argument 147 smallMessageCallback<1>(message, messageSize); in smallMessageCallback1() 162 void SendMessageToHostTest::largeMessageCallback(void *message, in largeMessageCallback() argument 169 if (message == nullptr) { in largeMessageCallback() 173 if (message == sLargeMessageData[0]) { in largeMessageCallback() [all …]
|
/system/bt/gd/hci/facade/ |
D | le_advertising_manager_facade.proto | 15 message GapDataMsg { 34 message AdvertisingConfig { 50 message ExtendedAdvertisingConfig { 66 message CreateAdvertiserRequest { 70 message CreateAdvertiserResponse { 75 message ExtendedCreateAdvertiserRequest { 79 message ExtendedCreateAdvertiserResponse { 83 message GetNumberOfAdvertisingInstancesResponse { 87 message RemoveAdvertiserRequest {
|
D | acl_manager_facade.proto | 20 message HandleMsg { 24 message ConnectionMsg { 28 message PolicyMsg { 37 message RoleMsg { 42 message ConnectionCommandMsg { 46 message ConnectionEvent { 50 message AclData {
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | PatchFormatException.java | 24 public PatchFormatException(String message) { super(message); } in PatchFormatException() argument 31 public PatchFormatException(String message, Throwable cause) { in PatchFormatException() argument 32 super(message); in PatchFormatException()
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | DistroException.java | 24 public DistroException(String message) { in DistroException() argument 25 super(message); in DistroException() 28 public DistroException(String message, Throwable cause) { in DistroException() argument 29 super(message, cause); in DistroException()
|
/system/core/liblog/tests/ |
D | logprint_test.cpp | 25 size_t convertPrintable(char* p, const char* message, size_t messageLen); 114 char* message = buf + header->hdr_size; in TEST() local 116 message[message_len++] = kPriority; in TEST() 117 message[message_len++] = 'T'; in TEST() 118 message[message_len++] = 'a'; in TEST() 119 message[message_len++] = 'g'; in TEST() 120 message[message_len++] = '\0'; in TEST() 121 message[message_len++] = 'm'; in TEST() 122 message[message_len++] = 's'; in TEST() 123 message[message_len++] = 'g'; in TEST() [all …]
|