/system/chre/apps/test/chqts/src/shared/ |
D | nano_endian.cc | 22 for (size_t front = 0, end = size - 1; front < end; front++, end--) { in swapBytes() local 23 uint8_t tmp = bytes[front]; in swapBytes() 24 bytes[front] = bytes[end]; in swapBytes()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder.cpp | 55 auto child = current_node->FindChild(name_pieces.front()); in AddToTrie() 57 child = current_node->AddChild(name_pieces.front()); in AddToTrie() 69 if (!current_node->AddExactMatchContext(name_pieces.front(), context, type)) { in AddToTrie() 74 if (!current_node->AddPrefixContext(name_pieces.front(), context, type)) { in AddToTrie() 79 auto child = current_node->FindChild(name_pieces.front()); in AddToTrie() 81 child = current_node->AddChild(name_pieces.front()); in AddToTrie()
|
/system/core/fastboot/ |
D | socket_mock.cpp | 47 if (events_.front().type != EventType::kSend) { in Send() 53 if (events_.front().message != message) { in Send() 54 ADD_FAILURE() << "Send() expected " << events_.front().message << ", but got " << message; in Send() 58 bool return_value = events_.front().status; in Send() 79 const Event& event = events_.front(); in Receive() 115 if (events_.front().type != EventType::kAccept) { in Accept() 120 std::unique_ptr<Socket> sock = std::move(events_.front().sock); in Accept()
|
/system/core/fastboot/fuzzer/ |
D | socket_mock_fuzz.cpp | 29 if (events_.front().type != EventType::kSend) { in Send() 34 if (events_.front().message != message) { in Send() 38 bool return_value = events_.front().status; in Send() 58 const Event& event = events_.front(); in Receive() 91 if (events_.front().type != EventType::kAccept) { in Accept() 95 std::unique_ptr<Socket> sock = std::move(events_.front().sock); in Accept()
|
/system/chre/util/tests/ |
D | debug_dump_test.cc | 39 EXPECT_TRUE(strcmp(buffers.front().get(), str) == 0); in TEST() 53 EXPECT_TRUE(strcmp(buffers.front().get(), bothStr) == 0); in TEST() 81 EXPECT_TRUE(strcmp(buffers.front().get(), str1) == 0); in TEST() 92 EXPECT_TRUE(strcmp(buffers.front().get(), str1) == 0); in TEST() 125 EXPECT_TRUE(strcmp(buffers.front().get(), str1) == 0); in TEST() 133 EXPECT_TRUE(strcmp(buffers.front().get(), str3) == 0); in TEST() 154 EXPECT_TRUE(strcmp(buffers.front().get(), bothStr) == 0); in TEST()
|
D | copyable_fixed_size_vector_test.cc | 99 EXPECT_EQ(container.front().id, 1); in TEST() 101 EXPECT_EQ(container.front().id, 2); in TEST() 102 EXPECT_EQ(container.front().vec.size(), 2); in TEST() 103 EXPECT_EQ(container.front().vec[0], 1.23f); in TEST()
|
D | intrusive_list_test.cc | 44 EXPECT_EQ(testLinkedList.front().item, nodeA.item); in TEST() 49 EXPECT_EQ(testLinkedList.front().item, nodeB.item); in TEST() 62 EXPECT_EQ(testLinkedList.front().item, nodeD.item); in TEST() 67 ASSERT_DEATH(testList.front(), ""); in TEST()
|
D | atomic_spsc_queue_test.cc | 74 EXPECT_EQ(q.consumer().front(), 1); in TEST() 78 EXPECT_EQ(q.consumer().front(), 2); in TEST() 80 EXPECT_EQ(q.consumer().front(), 3); in TEST() 99 EXPECT_EQ(1, q.consumer().front()); in TEST() 102 EXPECT_EQ(2, q.consumer().front()); in TEST() 104 EXPECT_EQ(2, q.consumer().front()); in TEST() 117 q.consumer().front().setValue(0); in TEST() 121 q.consumer().front().setValue(1); in TEST() 192 EXPECT_EQ(0xd00d, q.consumer().front()); in TEST() 243 EXPECT_EQ(c.front(), i - kSize); in TEST() [all …]
|
D | array_queue_test.cc | 173 EXPECT_DEATH(q.front(), ""); in TEST() 184 EXPECT_EQ(1, q.front()); in TEST() 187 EXPECT_EQ(2, q.front()); in TEST() 189 EXPECT_EQ(2, q.front()); in TEST() 228 EXPECT_EQ(2, q.front()); in TEST() 232 EXPECT_EQ(2, q.front()); in TEST() 246 q.front().setValue(0); in TEST() 250 q.front().setValue(1); in TEST()
|
D | segmented_queue_test.cc | 218 ASSERT_EQ(segmentedQueue.front().getValue(), in TEST() 285 EXPECT_EQ(segmentedQueue.front(), 2); in TEST() 319 EXPECT_EQ(segmentedQueue.front().getValue(), 0); in TEST() 382 EXPECT_EQ(segmentedQueue.front(), 3); in TEST() 406 EXPECT_EQ(segmentedQueue.front(), 1); in TEST() 516 ASSERT_EQ(testSegmentedQueue.front().getValue(), in TEST() 517 referenceDeque.front().getValue()); in TEST()
|
/system/tools/aidl/ |
D | generate_cpp_unittest.cpp | 51 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleInterface() 59 EXPECT_NE(nullptr, defined_types.front().get()->AsInterface()); in ParseSingleInterface() 61 return defined_types.front().get()->AsInterface(); in ParseSingleInterface()
|
/system/netd/server/ |
D | IptablesBaseTest.cpp | 52 ret = sReturnValues.front(); in fake_android_fork_exec() 69 std::string realCmd = StringPrintf("echo '%s'", sPopenContents.front().c_str()); in fake_popen() 79 *output = sIptablesRestoreOutput.size() ? sIptablesRestoreOutput.front().c_str() : ""; in fakeExecIptablesRestoreWithOutput()
|
/system/unwinding/libunwindstack/tests/ |
D | ElfFake.cpp | 40 auto& entry = functions_.front(); in GetFunctionName() 60 auto entry = steps_.front(); in Step()
|
/system/core/libmodprobe/ |
D | libmodprobe_ext_test.cpp | 41 if (std::find(test_modules.begin(), test_modules.end(), deps.front()) == test_modules.end()) { in Insmod() 82 return std::find(test_modules.begin(), test_modules.end(), deps.front()) != test_modules.end(); in ModuleExists()
|
/system/chre/host/common/ |
D | fbs_daemon_base.cc | 167 } else if (mPreloadedNanoappPendingTransactions.front().transactionId != in handleDaemonMessage() 172 mPreloadedNanoappPendingTransactions.front().transactionId); in handleDaemonMessage() 176 mPreloadedNanoappPendingTransactions.front().transactionId); in handleDaemonMessage() 181 mPreloadedNanoappPendingTransactions.front().nanoappId); in handleDaemonMessage()
|
/system/chre/util/include/chre/util/ |
D | fixed_size_vector.h | 47 ElementType &front(); 48 const ElementType &front() const;
|
D | intrusive_list_impl.h | 37 ListNode<ElementType> &IntrusiveList<ElementType>::front() { in front() function 43 const ListNode<ElementType> &IntrusiveList<ElementType>::front() const { in front() function
|
D | intrusive_list.h | 176 ListNode<ElementType> &front(); 177 const ListNode<ElementType> &front() const;
|
D | dynamic_vector.h | 255 ElementType &front(); 263 const ElementType &front() const;
|
/system/media/audio_utils/ |
D | fifo.cpp | 70 int32_t audio_utils_fifo_base::diff(uint32_t rear, uint32_t front, size_t *lost, bool flush) const in diff() argument 80 uint32_t diff = rear - front; in diff() 84 uint32_t frontOffset = front & mask; in diff() 93 uint32_t genDiff = (rear & ~mask) - (front & ~mask); in diff() 209 uint32_t front = mFifo.mThrottleFrontSync == AUDIO_UTILS_FIFO_SYNC_SINGLE_THREADED ? in obtain() local 213 int32_t filled = mFifo.diff(mLocalRear, front); in obtain() 253 err = mFifo.mThrottleFront->wait(op, front, timeout); in obtain() 320 uint32_t front = mFifo.mThrottleFrontSync == AUDIO_UTILS_FIFO_SYNC_SINGLE_THREADED ? in release() local 324 int32_t filled = mFifo.diff(mLocalRear, front); in release()
|
/system/update_engine/common/ |
D | action_processor.cc | 49 current_action_ = std::move(actions_.front()); in StartProcessing() 141 current_action_ = std::move(actions_.front()); in StartNextActionOrFinish()
|
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/ |
D | dynamic_vector.h | 255 ElementType &front(); 263 const ElementType &front() const;
|
/system/sepolicy/prebuilts/api/34.0/public/ |
D | remote_provisioning_service_server.te | 2 # front-end for a mainline module that is loaded into system server.
|
/system/sepolicy/public/ |
D | remote_provisioning_service_server.te | 2 # front-end for a mainline module that is loaded into system server.
|
/system/chre/core/ |
D | ble_request_manager.cc | 410 if (mPendingRssiRequests.front().connectionHandle != connectionHandle) { in handleReadRssiSync() 413 mPendingRssiRequests.front().connectionHandle, connectionHandle); in handleReadRssiSync() 427 event->result.cookie = mPendingRssiRequests.front().cookie; in resolvePendingRssiRequest() 432 event->connectionHandle = mPendingRssiRequests.front().connectionHandle; in resolvePendingRssiRequest() 437 mPendingRssiRequests.front().instanceId); in resolvePendingRssiRequest() 444 auto req = mPendingRssiRequests.front(); in dispatchNextRssiRequestIfAny()
|