/system/nfc/utils/test/ringbuffer_fuzzer/ |
D | ringbuffer_fuzzer.cpp | 10 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 17 uint16_t buffer_size = *((const uint16_t*)Data); in LLVMFuzzerTestOneInput() 26 switch (Data[i++] % 6) { in LLVMFuzzerTestOneInput() 40 size_t bytes_to_insert = std::min(bytes_left - 1, (size_t)Data[i++]); in LLVMFuzzerTestOneInput() 41 ringbuffer_insert(buffer, &Data[i], bytes_to_insert); in LLVMFuzzerTestOneInput() 50 size_t bytes_to_grab = Data[i++]; in LLVMFuzzerTestOneInput() 54 offset = Data[i++] % ringbuffer_size(buffer); in LLVMFuzzerTestOneInput() 66 size_t bytes_to_grab = Data[i++]; in LLVMFuzzerTestOneInput() 76 ringbuffer_delete(buffer, (size_t)Data[i++]); in LLVMFuzzerTestOneInput()
|
/system/core/adb/pairing_connection/tests/ |
D | pairing_client.cpp | 50 explicit PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 51 const Data& priv_key); 63 static ConnectionPtr CreatePairingConnection(const Data& pswd, const PeerInfo& peer_info, 64 const Data& cert, const Data& priv_key); 77 Data pswd_; 79 Data cert_; 80 Data priv_key_; 90 ConnectionPtr PairingClientImpl::CreatePairingConnection(const Data& pswd, in CreatePairingConnection() 92 const Data& cert, const Data& priv_key) { in CreatePairingConnection() 99 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl() [all …]
|
D | pairing_client.h | 42 using Data = std::vector<uint8_t>; 60 static std::unique_ptr<PairingClient> Create(const Data& pswd, const PeerInfo& peer_info, 61 const Data& certificate, const Data& priv_key);
|
/system/core/adb/client/pairing/ |
D | pairing_client.cpp | 50 explicit PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 51 const Data& priv_key); 75 Data pswd_; 77 Data cert_; 78 Data priv_key_; 87 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl() 88 const Data& priv_key) in PairingClientImpl() 163 std::unique_ptr<PairingClient> PairingClient::Create(const Data& pswd, const PeerInfo& peer_info, in Create() 164 const Data& cert, const Data& priv_key) { in Create()
|
D | pairing_client.h | 42 using Data = std::vector<uint8_t>; 60 static std::unique_ptr<PairingClient> Create(const Data& pswd, const PeerInfo& peer_info, 61 const Data& certificate, const Data& priv_key);
|
/system/core/adb/pairing_auth/ |
D | pairing_auth.cpp | 42 using Data = std::vector<uint8_t>; typedef 48 explicit PairingAuthCtx(Role role, const Data& pswd); 53 const Data& msg() const; 65 bool InitCipher(const Data& their_msg); 69 Data Encrypt(const Data& data); 73 Data Decrypt(const Data& data); 82 Data our_msg_; 88 PairingAuthCtx::PairingAuthCtx(Role role, const Data& pswd) : role_(role) { in PairingAuthCtx() 132 const PairingAuthCtx::Data& PairingAuthCtx::msg() const { in msg() 136 bool PairingAuthCtx::InitCipher(const PairingAuthCtx::Data& their_msg) { in InitCipher() [all …]
|
/system/core/adb/client/pairing/tests/ |
D | pairing_server.h | 42 using Data = std::vector<uint8_t>; 61 static std::unique_ptr<PairingServer> create(const Data& pswd, const PeerInfo& peer_info, 62 const Data& certificate, const Data& priv_key,
|
D | pairing_server.cpp | 56 explicit PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 57 const Data& priv_key, int port); 87 std::optional<std::string>, std::optional<Data>>; 115 Data pswd_; 117 Data cert_; 118 Data priv_key_; 133 PairingServerImpl::PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingServerImpl() 134 const Data& priv_key, int port) in PairingServerImpl() 322 [fd](const PeerInfo* peer_info, const Data* cert, void* opaque) { in connectionEventsWorker() 328 std::string(peer_info->guid), Data(*cert)); in connectionEventsWorker() [all …]
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 67 …ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST() 90 …ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST() 120 …ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST() 122 …ASSERT_EQ(0, memcmp(msg.enrolled_password.Data<uint8_t>(), deserialized_enrolled->Data<uint8_t>(),… in TEST() 124 …ASSERT_EQ(0, memcmp(msg.password_handle.Data<uint8_t>(), deserialized_handle->Data<uint8_t>(), pas… in TEST() 146 ASSERT_EQ(0, memcmp(msg.enrolled_password_handle.Data<uint8_t>(), in TEST() 147 deserialized_password->Data<uint8_t>(), password_size)); in TEST() 169 … ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST() 174 ASSERT_EQ(0, memcmp(msg.password_handle.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST() 196 ASSERT_EQ(0, memcmp(msg.auth_token.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST()
|
/system/core/adb/pairing_connection/ |
D | pairing_server.cpp | 54 using Data = std::vector<uint8_t>; typedef 59 explicit PairingServerCtx(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 60 const Data& priv_key, uint16_t port); 91 static ConnectionPtr CreatePairingConnection(const Data& pswd, const PeerInfo& peer_info, 92 const Data& cert, const Data& priv_key); 125 Data pswd_; 127 Data cert_; 128 Data priv_key_; 144 PairingServerCtx::ConnectionPtr PairingServerCtx::CreatePairingConnection(const Data& pswd, in CreatePairingConnection() 146 const Data& cert, in CreatePairingConnection() [all …]
|
D | pairing_connection.cpp | 71 using Data = std::vector<uint8_t>; typedef 78 explicit PairingConnectionCtx(Role role, const Data& pswd, const PeerInfo& peer_info, 79 const Data& certificate, const Data& priv_key); 125 static PairingAuthPtr CreatePairingAuthPtr(Role role, const Data& pswd); 136 Data pswd_; 138 Data cert_; 139 Data priv_key_; 153 PairingConnectionCtx::PairingConnectionCtx(Role role, const Data& pswd, const PeerInfo& peer_info, in PairingConnectionCtx() 154 const Data& cert, const Data& priv_key) in PairingConnectionCtx() 439 PairingAuthPtr PairingConnectionCtx::CreatePairingAuthPtr(Role role, const Data& pswd) { in CreatePairingAuthPtr()
|
/system/bt/osi/test/fuzzers/compat/ |
D | fuzz_compat.cc | 21 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 25 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/bt/osi/test/fuzzers/future/ |
D | fuzz_future.cc | 22 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 24 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/bt/osi/test/fuzzers/array/ |
D | fuzz_array.cc | 25 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 27 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/bt/gd/dumpsys/ |
D | reflection_schema.cc | 53 …flatbuffers::Verifier verifier(reinterpret_cast<const uint8_t*>(it->data()->Data()), it->data()->s… in FindInReflectionSchema() 58 return reflection::GetSchema(it->data()->Data()); in FindInReflectionSchema() 79 …flatbuffers::Verifier verifier(reinterpret_cast<const uint8_t*>(it->data()->Data()), it->data()->s… in VerifyReflectionSchema()
|
/system/bt/stack/test/a2dp/ |
D | a2dp_vendor_ldac_decoder_test.cc | 31 uint8_t* Data(BT_HDR* packet) { return packet->data + packet->offset; } in Data() function 50 std::copy(data.cbegin(), data.cend(), Data(packet)); in AllocateL2capPacket()
|
/system/bt/osi/test/fuzzers/buffer/ |
D | fuzz_buffer.cc | 23 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 25 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/bt/profile/avrcp/tests/avrcp_device_fuzz/ |
D | avrcp_device_fuzz.cc | 62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 67 std::vector<uint8_t> Packet(Data, Data + Size); in LLVMFuzzerTestOneInput()
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.cpp | 91 hidl_vec<uint8_t> new_handle(response.enrolled_password_handle.Data<uint8_t>(), in enroll() 92 response.enrolled_password_handle.Data<uint8_t>() + in enroll() 126 response.auth_token.Data<uint8_t>(), in verify() 127 response.auth_token.Data<uint8_t>() + response.auth_token.size()); in verify()
|
/system/bt/osi/test/fuzzers/allocator/ |
D | fuzz_allocator.cc | 99 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 101 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/bt/osi/test/fuzzers/allocation_tracker/ |
D | fuzz_allocation_tracker.cc | 122 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 124 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/bt/osi/test/fuzzers/alarm/ |
D | fuzz_alarm.cc | 92 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument 94 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
|
/system/core/fastboot/ |
D | README.md | 50 3. Data phase. Depending on the command, the host or client will 242 ### Fastboot Data 283 | Contents | ID | Flags | Seq # | Data | 304 Data Packet data, not present in all packets. 402 ID Flag SeqH SeqL Data ID Flag SeqH SeqL Data 411 ID Flags SeqH SeqL Data ID Flags SeqH SeqL Data 424 ID Flags SeqH SeqL Data ID Flags SeqH SeqL Data 437 ID Flag SeqH SeqL Data ID Flag SeqH SeqL Data 454 ID Flags SeqH SeqL Data ID Flags SeqH SeqL Data 461 ID Flags SeqH SeqL Data ID Flags SeqH SeqL Data [all …]
|
/system/timezone/output_data/icu_overlay/ |
D | Android.bp | 18 // support the Time Zone Data APEX (see b/121117762). This module should never 22 // the ART Buildbot and Golem have full support for the Time Zone Data APEX.
|
/system/core/libunwindstack/tests/ |
D | DexFileTest.cpp | 229 void* Data() { return backing_.data(); } in Data() function in unwindstack::MemoryLocalFake 238 memcpy(memory.Data(), kDexData, sizeof(kDexData)); in TEST() 239 uint64_t start = reinterpret_cast<uint64_t>(memory.Data()); in TEST() 247 memcpy(memory.Data(), kDexData, sizeof(kDexData)); in TEST() 248 uint64_t start = reinterpret_cast<uint64_t>(memory.Data()); in TEST()
|