Home
last modified time | relevance | path

Searched refs:dummy (Results 1 – 25 of 36) sorted by relevance

12

/system/bt/common/
Dmetric_id_allocator_unittest.cc133 int dummy = 22; in TEST() local
134 int* pointer = &dummy; in TEST()
152 EXPECT_EQ(dummy, 44); in TEST()
156 EXPECT_EQ(dummy, 44); in TEST()
164 EXPECT_EQ(dummy, 88); in TEST()
166 EXPECT_EQ(dummy, 176); in TEST()
170 EXPECT_EQ(dummy, 176); in TEST()
174 EXPECT_EQ(dummy, 176); in TEST()
176 EXPECT_EQ(dummy, 88); in TEST()
186 int dummy = 243; in TEST() local
[all …]
/system/core/adb/fdevent/
Dfdevent_test.h49 unique_fd dummy;
80 dummy.reset(dummy_fds[0]); in PrepareThread()
93 ASSERT_TRUE(WriteFdExactly(dummy, "", 1)); in TerminateThread()
95 dummy.reset(); in TerminateThread()
/system/extras/mmap-perf/
DmmapPerf.cpp34 int dummy = 0; variable
88 dummy += *targetPtr; in benchRandomRead()
92 *targetPtr = dummy; in benchRandomWrite()
96 dummy += *targetPtr; in benchLinearRead()
100 *targetPtr = dummy; in benchLinearWrite()
/system/nvram/messages/include/nvram/messages/
Dtagged_union.h253 int dummy[] = {(DestroyMember<Member>(), 0)...};
254 (void)dummy;
268 int dummy[] = {
272 (void)dummy;
287 int dummy[] = {
291 (void)dummy;
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc375 std::vector<uint8_t> dummy; in OnCharacteristicWriteRequest() local
384 dummy, &status); in OnCharacteristicWriteRequest()
396 bluetooth::GATT_ERROR_OUT_OF_RANGE, offset, dummy, in OnCharacteristicWriteRequest()
408 bluetooth::GATT_ERROR_NONE, offset, dummy, &status); in OnCharacteristicWriteRequest()
418 std::vector<uint8_t> dummy; in OnDescriptorWriteRequest() local
427 dummy, &status); in OnDescriptorWriteRequest()
440 offset, dummy, &status); in OnDescriptorWriteRequest()
459 bluetooth::GATT_ERROR_NONE, offset, dummy, &status); in OnDescriptorWriteRequest()
467 std::vector<uint8_t> dummy; in OnExecuteWriteRequest() local
470 bluetooth::GATT_ERROR_REQUEST_NOT_SUPPORTED, 0, dummy, in OnExecuteWriteRequest()
/system/core/debuggerd/client/
Ddebuggerd_client_test.cpp115 char dummy; in TEST() local
116 TEMP_FAILURE_RETRY(read(pipe_read.get(), &dummy, sizeof(dummy))); in TEST()
/system/teeui/libteeui/include/teeui/
Dutf8range.h92 Iter dummy = *this; variable
94 return dummy;
Dfont_rendering.h50 auto dummy = handle_; variable
52 rhs.handle_ = dummy;
126 Iter dummy = *this; variable
128 return dummy;
/system/bpf/libbpf_android/
DBpfUtils.cpp108 char dummy; in kernelVersion() local
109 ret = sscanf(buf.release, "%u.%u.%u%c", &kver_major, &kver_minor, &kver_sub, &dummy); in kernelVersion()
/system/tools/xsdc/tests/resources/
Dunsupported_tag.xsd4 <xs:element name="dummy" type="xs:string"/>
/system/iorap/tests/src/binder/
Dapp_launch_event_test.cc145 std::unique_ptr<ActivityRecordProto> dummy{new ActivityRecordProto{}}; in MakeDummyActivityRecord() local
147 dummy->mutable_identifier()->set_title(title); in MakeDummyActivityRecord()
149 return dummy; in MakeDummyActivityRecord()
/system/core/adb/libs/adbconnection/
Dadbconnection_client.cpp177 char dummy; in adbconnection_client_receive_jdwp_fd() local
179 ssize_t rc = android::base::ReceiveFileDescriptors(ctx->control_socket_, &dummy, 1, &jdwp_fd); in adbconnection_client_receive_jdwp_fd()
/system/core/adb/client/pairing/tests/
Dpairing_server.cpp269 uint64_t dummy; in serverWorker() local
270 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in serverWorker()
271 if (rc != sizeof(dummy)) { in serverWorker()
/system/gatekeeper/
Dgatekeeper_messages.cpp34 uintptr_t dummy; in fitsBuffer() local
35 return !__builtin_add_overflow(reinterpret_cast<uintptr_t>(begin), field_size, &dummy) in fitsBuffer()
36 && dummy <= reinterpret_cast<uintptr_t>(end); in fitsBuffer()
/system/core/adb/pairing_connection/
Dpairing_server.cpp289 uint64_t dummy; in ServerWorker() local
290 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in ServerWorker()
291 if (rc != sizeof(dummy)) { in ServerWorker()
/system/core/adb/client/
Dtransport_local.cpp77 std::string dummy; in local_connect() local
78 return local_connect_arbitrary_ports(port - 1, port, &dummy) == 0; in local_connect()
Dusb_windows.cpp363 unsigned long dummy; in usb_write() local
364 if (!AdbWriteEndpointSync(handle->adb_write_pipe, (void*)data, 0, &dummy, time_out)) { in usb_write()
/system/nvram/messages/
Dio.cpp293 uint64_t dummy; in SkipField() local
294 return DecodeVarint(stream_buffer_, &dummy); in SkipField()
/system/security/keystore/include/keystore/
Dkeystore_concurrency.h45 UnlockProxyLockHelper dummy(std::move(*this));
/system/libhwbinder/
DProcessState.cpp188 int dummy = 0; in becomeContextManager() local
189 result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); in becomeContextManager()
/system/libhwbinder/vts/performance/
DLatency.cpp133 void* dummy; in threadTransaction() local
144 REQUIRE(!pthread_join(thread, &dummy)); in threadTransaction()
/system/netd/server/
DBandwidthControllerTest.cpp186 uintptr_t dummy; in expectUpdateQuota() local
187 FILE* dummyFile = reinterpret_cast<FILE*>(&dummy); in expectUpdateQuota()
/system/core/liblog/include_vndk/log/
Dlog_main.h115 #define __android_second(dummy, second, ...) second argument
/system/core/liblog/include/log/
Dlog_main.h115 #define __android_second(dummy, second, ...) second argument
/system/core/adb/daemon/
Dusb.cpp444 uint64_t dummy; in StartWorker() local
445 ssize_t rc = adb_read(worker_event_fd_.get(), &dummy, sizeof(dummy)); in StartWorker()

12