Home
last modified time | relevance | path

Searched refs:received (Results 1 – 25 of 105) sorted by relevance

12345

/system/libbase/
Dcmsg_test.cpp74 unique_fd received; in TEST_P() local
75 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 2, &received)); in TEST_P()
77 ASSERT_NE(-1, received.get()); in TEST_P()
79 ASSERT_EQ(ino1, GetInode(received.get())); in TEST_P()
108 unique_fd received; in TEST_P() local
109 ASSERT_EQ(-1, ReceiveFileDescriptors(recv.get(), buf, 1, &received)); in TEST_P()
111 ASSERT_EQ(-1, received.get()); in TEST_P()
121 unique_fd received; in TEST_P() local
122 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 1, &received)); in TEST_P()
123 ASSERT_EQ(ino1, GetInode(received.get())); in TEST_P()
[all …]
/system/chre/chpp/test/
Dpacket_util.cpp275 void checkPacketValidity(std::vector<uint8_t> &received) { in checkPacketValidity() argument
276 const ChppPacketPrefix &pkt = asChpp(received); in checkPacketValidity()
277 EXPECT_GE(received.size(), sizeof(ChppEmptyPacket)); in checkPacketValidity()
282 EXPECT_EQ(pkt.header.length, received.size() - kFixedLenPortion); in checkPacketValidity()
296 &received[sizeof(pkt.preamble) + sizeof(pkt.header) + pkt.header.length]); in checkPacketValidity()
311 bool comparePacket(const std::vector<uint8_t> &received, in comparePacket() argument
313 EXPECT_EQ(received.size(), sizeof(expected)); in comparePacket()
314 if (received.size() == sizeof(expected)) { in comparePacket()
315 const auto *rx = reinterpret_cast<const ChppEmptyPacket *>(received.data()); in comparePacket()
320 return (received.size() == sizeof(expected) && in comparePacket()
[all …]
Dpacket_util.h129 void checkPacketValidity(std::vector<uint8_t> &received);
136 bool comparePacket(const std::vector<uint8_t> &received,
138 bool comparePacket(const std::vector<uint8_t> &received,
/system/tools/aidl/tests/java/src/android/aidl/tests/
DNestedTypesTests.java50 byte received = ParcelableWithNested.Status.NOT_OK; in testUseNestedTypes() field in NestedTypesTests.Callback
53 received = st; in testUseNestedTypes()
58 assertThat(cb.received, is(ParcelableWithNested.Status.OK)); in testUseNestedTypes()
/system/chre/apps/gnss_world/
Dgnss_world.cc180 bool *received = nullptr; in handleGnssAsyncResult() local
186 received = &gLocationAsyncResultReceived; in handleGnssAsyncResult()
192 received = &gMeasurementAsyncResultReceived; in handleGnssAsyncResult()
201 if (received != nullptr) { in handleGnssAsyncResult()
202 *received = true; in handleGnssAsyncResult()
/system/chre/apps/test/common/proto/
Dchre_audio_concurrency_test.proto24 // data has been received, after a previously received ENABLE_AUDIO
Dchre_settings_test.proto20 // C2H: A message indicating a previously received SETUP step from a
Dchre_stress_test.proto22 // C2H: A message indicating that the stress test nanoapp has received a
Dchre_cross_validation_sensor.proto18 // was received from a CHRE API.
/system/core/fastboot/
Dsocket_test.cpp71 std::string received(message.length(), '\0'); in ReceiveString() local
72 ssize_t bytes = sock->ReceiveAll(&received[0], received.length(), kTestTimeoutMs); in ReceiveString()
73 return static_cast<size_t>(bytes) == received.length() && received == message; in ReceiveString()
/system/libhidl/transport/token/1.0/
DITokenManager.hal39 * @param token Token received from createToken
47 * @param token Token received from createToken
/system/core/fastboot/fuzzer/
Dfastboot_fuzzer.cpp112 string received(message.length(), '\0'); in InvokeSocket() local
119 server->ReceiveAll(&received[0], received.length(), in InvokeSocket()
/system/sepolicy/private/
Dbinderservicedomain.te14 # Receive and write to a pipe received over Binder from an app.
Disolated_compute_app.te28 # Allow access to network sockets received over IPC. New socket creation is not
Disolated_app.te15 # Allow access to network sockets received over IPC. New socket creation is not
Disolated_app_all.te11 # Access already open app data files received over Binder or local socket IPC.
/system/tools/aidl/tests/rust/
Dtest_client.rs1080 received: Arc<Mutex<Option<ParcelableWithNested::Status::Status>>>, field
1087 *self.received.lock().unwrap() = Some(st); in done()
1108 let received = Arc::new(Mutex::new(None)); in test_nested_type() localVariable
1111 Callback { received: Arc::clone(&received) }, in test_nested_type()
1116 let received = received.lock().unwrap(); in test_nested_type() localVariable
1117 assert_eq!(*received, Some(ParcelableWithNested::Status::Status::OK)) in test_nested_type()
/system/chre/test/simulation/
DREADME.md213 // Test event are received with a CHRE_EVENT_TEST_EVENT type.
244 // Test event are received with a CHRE_EVENT_TEST_EVENT type.
/system/chre/chpp/
DREADME.md91 If an ACK is not received after a predetermined timeout, or an implicit NACK is received (through a…
137 …h (e.g. from the UART driver). This function is called when any data is received at the serial int…
197 …ponse. The client shall not issue the same command unless it has either received the response or h…
213 Loopback testing is a mandatory service where the loopback service relays the entire received datag…
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/proto/
Dble_filter.proto117 // Timestamp the advertisement was received, in nanoseconds, relative to
/system/bpfprogs/
DLICENSE142 c) Accompany it with the information you received as to the offer to
144 for noncommercial distribution and only if you received the program in
166 your rights under this License. However, parties who have received copies, or
289 You should have received a copy of the GNU General Public License along
/system/memory/libion/original-kernel-headers/linux/
DLICENSE142 c) Accompany it with the information you received as to the offer to
144 for noncommercial distribution and only if you received the program in
166 your rights under this License. However, parties who have received copies, or
289 You should have received a copy of the GNU General Public License along
/system/chre/platform/shared/idl/
Dhost_messages.fbs161 /// issued. If a new request is received while a current request has
172 /// Once the LoadNanoappRepsonse for the last fragment is received
386 /// received buffer.
/system/chre/core/
Dchre_metrics.proto218 // The maximum amount of time it took for an event, from when it was received,
/system/chre/apps/test/common/chre_api_test/rpc/
Dchre_api_test.proto252 // Records how many disconnected event received by this nanoapp.

12345