Home
last modified time | relevance | path

Searched refs:Data (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/system/nfc/utils/test/ringbuffer_fuzzer/
Dringbuffer_fuzzer.cpp10 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/
Dpairing_client.cpp50 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 …]
Dpairing_client.h42 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/
Dpairing_client.cpp50 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()
Dpairing_client.h42 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/
Dpairing_auth.cpp42 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/
Dpairing_server.h42 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,
Dpairing_server.cpp56 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/
Dgatekeeper_messages_test.cpp67 …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/
Dpairing_server.cpp54 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 …]
Dpairing_connection.cpp71 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/
Dfuzz_compat.cc21 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/
Dfuzz_future.cc22 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/
Dfuzz_array.cc25 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/
Dreflection_schema.cc53 …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/
Da2dp_vendor_ldac_decoder_test.cc31 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/
Dfuzz_buffer.cc23 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/
Davrcp_device_fuzz.cc62 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/
Dtrusty_gatekeeper.cpp91 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/
Dfuzz_allocator.cc99 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/
Dfuzz_allocation_tracker.cc122 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/
Dfuzz_alarm.cc92 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
94 FuzzedDataProvider dataProvider(Data, Size); in LLVMFuzzerTestOneInput()
/system/core/fastboot/
DREADME.md50 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/
DAndroid.bp18 // 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/
DDexFileTest.cpp229 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()

12345678910>>...12