/system/chre/apps/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/bt/gd/storage/ |
D | legacy_config_file.cc | 49 if (line.front() == '\0' || line.front() == '#') { in Read() 52 if (line.front() == '[') { in Read()
|
/system/bt/gd/hal/ |
D | hci_hal_host_rootcanal_test.cc | 243 auto packet = incoming_packets_queue_.front(); in TEST_F() 253 auto packet = incoming_packets_queue_.front(); in TEST_F() 263 auto packet = incoming_packets_queue_.front(); in TEST_F() 275 auto packet = incoming_packets_queue_.front(); in TEST_F() 278 packet = incoming_packets_queue_.front(); in TEST_F() 290 auto packet = incoming_packets_queue_.front(); in TEST_F() 293 packet = incoming_packets_queue_.front(); in TEST_F() 307 auto packet = incoming_packets_queue_.front(); in TEST_F() 320 auto packet = incoming_packets_queue_.front(); in TEST_F()
|
/system/core/libunwindstack/tests/ |
D | ElfFake.cpp | 39 auto entry = functions_.front(); in GetFunctionName() 59 auto entry = steps_.front(); in Step()
|
/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/tools/aidl/ |
D | options_unittest.cpp | 134 EXPECT_EQ(string{kCompileCommandInput}, options->InputFiles().front()); in TEST() 150 EXPECT_EQ(string{kCompileCommandInput}, options->InputFiles().front()); in TEST() 164 EXPECT_EQ(string{kCompileCommandInput}, options->InputFiles().front()); in TEST() 176 EXPECT_EQ(kCompileCommandInput, options->InputFiles().front()); in TEST() 196 EXPECT_EQ(kCompileCommandInput, options->InputFiles().front()); in TEST() 208 EXPECT_EQ(kCompileCommandInput, options->InputFiles().front()); in TEST()
|
D | generate_cpp_unittest.cpp | 1527 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleInterface() 1535 EXPECT_NE(nullptr, defined_types.front().get()->AsInterface()); in ParseSingleInterface() 1537 return defined_types.front().get()->AsInterface(); in ParseSingleInterface() 1545 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleEnumDeclaration() 1553 EXPECT_NE(nullptr, defined_types.front().get()->AsEnumDeclaration()); in ParseSingleEnumDeclaration() 1555 return defined_types.front().get()->AsEnumDeclaration(); in ParseSingleEnumDeclaration()
|
/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/media/audio_utils/ |
D | fifo.cpp | 69 int32_t audio_utils_fifo_base::diff(uint32_t rear, uint32_t front, size_t *lost, bool flush) const in diff() argument 79 uint32_t diff = rear - front; in diff() 83 uint32_t frontOffset = front & mask; in diff() 92 uint32_t genDiff = (rear & ~mask) - (front & ~mask); in diff() 206 uint32_t front; in obtain() local 208 front = mFifo.mThrottleFront->loadAcquire(); in obtain() 210 int32_t filled = mFifo.diff(mLocalRear, front); in obtain() 247 err = mFifo.mThrottleFront->wait(op, front, timeout); in obtain() 314 uint32_t front = mFifo.mThrottleFront->loadAcquire(); in release() local 316 int32_t filled = mFifo.diff(mLocalRear, front); in release()
|
/system/chre/util/include/chre/util/ |
D | fixed_size_vector.h | 44 ElementType& front(); 45 const ElementType& front() const;
|
D | dynamic_vector.h | 255 ElementType& front(); 263 const ElementType& front() const;
|
D | array_queue.h | 67 ElementType& front(); 68 const ElementType& front() const;
|
/system/tools/aidl/tests/ |
D | end_to_end_tests.cpp | 86 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinition); in TEST_F() 111 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinition); in TEST_F() 136 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinition); in TEST_F() 162 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinitionOutlining); in TEST_F() 190 io_delegate_.SetFileContents(options.InputFiles().front(), kInterfaceDefinitionOutlining); in TEST_F()
|
/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/bt/test/headless/sdp/ |
D | sdp.cc | 144 return sdp_query_uuid(options_.loop_, options_.device_.front(), in Run() 145 options_.uuid_.front()); in Run()
|
/system/chre/util/tests/ |
D | array_queue_test.cc | 156 EXPECT_DEATH(q.front(), ""); in TEST() 167 EXPECT_EQ(1, q.front()); in TEST() 170 EXPECT_EQ(2, q.front()); in TEST() 172 EXPECT_EQ(2, q.front()); in TEST() 211 EXPECT_EQ(2, q.front()); in TEST() 215 EXPECT_EQ(2, q.front()); in TEST() 229 q.front().setValue(0); in TEST() 233 q.front().setValue(1); in TEST()
|
/system/chre/core/ |
D | event_ref_queue.cc | 42 Event *event = mQueue.front(); in pop()
|
/system/bt/test/headless/pairing/ |
D | pairing.cc | 41 RawAddress raw_address = options_.device_.front(); in Run()
|
/system/bt/common/ |
D | leaky_bonded_queue.h | 117 std::unique_ptr<T> item = std::move(queue_.front()); in EnqueueWithPop() 129 std::unique_ptr<T> item = std::move(queue_.front()); in Dequeue()
|
/system/core/init/ |
D | action_manager.cpp | 74 event_queue_.front())) { in ExecuteOneCommand() 86 auto action = current_executing_actions_.front(); in ExecuteOneCommand()
|
/system/bt/btif/src/ |
D | btif_profile_queue.cc | 118 const ConnectNode& head = connect_queue.front(); in queue_int_advance() 194 ConnectNode& head = connect_queue.front(); in btif_queue_connect_next()
|
/system/bt/gd/packet/parser/ |
D | main.cc | 447 if (!parse_declarations_one_file(input_files.front(), &declarations)) { in main() 448 std::cerr << "Cannot parse " << input_files.front() << " correctly" << std::endl; in main() 451 …if (!generate_cpp_headers_one_file(declarations, input_files.front(), include_dir, out_dir, root_n… in main() 452 std::cerr << "Didn't generate cpp headers for " << input_files.front() << std::endl; in main() 455 …if (!generate_pybind11_sources_one_file(declarations, input_files.front(), include_dir, out_dir, r… in main() 457 std::cerr << "Didn't generate pybind11 sources for " << input_files.front() << std::endl; in main()
|
/system/bt/test/headless/ |
D | get_options.h | 37 std::string test = non_options_.front(); in GetNextSubTest()
|