/system/media/audio_utils/ |
D | fifo.c | 66 int32_t front) in audio_utils_fifo_diff() argument 68 int32_t diff = rear - front; in audio_utils_fifo_diff() 71 int32_t genDiff = (rear & mask) - (front & mask); in audio_utils_fifo_diff() 84 int32_t front = android_atomic_acquire_load(&fifo->mFront); in audio_utils_fifo_write() local 86 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write() 112 int32_t front = fifo->mFront; in audio_utils_fifo_read() local 113 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_read() 117 front &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_read() 118 size_t part1 = fifo->mFrameCount - front; in audio_utils_fifo_read() 123 memcpy(buffer, (char *) fifo->mBuffer + (front * fifo->mFrameSize), in audio_utils_fifo_read()
|
/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/connectivity/shill/net/ |
D | event_history_unittest.cc | 153 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec); in TEST_F() 154 EXPECT_EQ(kTimeEarly, GetEvents()->front().boottime.tv_sec); in TEST_F() 158 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec); in TEST_F() 159 EXPECT_EQ(kTimeEarly, GetEvents()->front().boottime.tv_sec); in TEST_F() 169 EXPECT_EQ(kTimeLate, GetEvents()->front().monotonic.tv_sec); in TEST_F() 170 EXPECT_EQ(kTimeLate, GetEvents()->front().boottime.tv_sec); in TEST_F() 182 EXPECT_EQ(kTime1, GetEvents()->front().monotonic.tv_sec); in TEST_F() 183 EXPECT_EQ(kTime1, GetEvents()->front().boottime.tv_sec); in TEST_F() 220 EXPECT_EQ(kTimeEarly, GetEvents()->front().monotonic.tv_sec); in TEST_F() 221 EXPECT_EQ(kTimeEarly, GetEvents()->front().boottime.tv_sec); in TEST_F() [all …]
|
D | event_history.cc | 68 timersub(&now.boottime, &events_.front().boottime, &elapsed); in ExpireEventsBeforeInternal() 71 timersub(&now.monotonic, &events_.front().monotonic, &elapsed); in ExpireEventsBeforeInternal() 77 timersub(&now.boottime, &events_.front().boottime, &elapsed); in ExpireEventsBeforeInternal()
|
D | byte_string.cc | 42 return (GetLength() == 0) ? nullptr : &data_.front(); in GetData() 46 return (GetLength() == 0) ? nullptr : &data_.front(); in GetConstData() 79 return ByteString(&bytes.front(), bytes.size()); in CreateFromHexString()
|
D | netlink_manager.cc | 611 NetlinkPendingMessage to_send = pending_messages_.front(); in OnPendingDumpComplete() 625 return pending_messages_.front().sequence_number; in PendingDumpSequenceNumber() 721 if (pending_messages_.front().retries_left) { in OnNlMessageReceived() 722 pending_messages_.front().last_received_error = error_code; in OnNlMessageReceived() 793 --pending_messages_.front().retries_left; in ResendPendingDumpMessage() 794 if (SendMessageInternal(pending_messages_.front())) { in ResendPendingDumpMessage() 800 if (pending_messages_.front().retries_left) { in ResendPendingDumpMessage() 806 ErrorAckMessage err_message(pending_messages_.front().last_received_error); in ResendPendingDumpMessage()
|
D | event_history.h | 77 Timestamp Front() { return events_.front(); } in Front()
|
D | netlink_manager_unittest.cc | 1014 netlink_manager_->pending_messages_.front().retries_left = kNumRetries; in TEST_F() 1017 netlink_manager_->pending_messages_.front().retries_left); in TEST_F() 1028 netlink_manager_->pending_messages_.front().retries_left); in TEST_F() 1039 EXPECT_EQ(0, netlink_manager_->pending_messages_.front().retries_left); in TEST_F() 1055 EXPECT_EQ(1, netlink_manager_->pending_messages_.front().retries_left); in TEST_F()
|
/system/tpm/attestation/client/ |
D | main.cc | 129 (!args.empty() && args.front() == "help")) { in ScheduleCommand() 132 if (args.empty() || args.front() == kCreateAndCertifyCommand) { in ScheduleCommand() 137 } else if (args.front() == kCreateCommand) { in ScheduleCommand() 152 } else if (args.front() == kInfoCommand) { in ScheduleCommand() 157 } else if (args.front() == kEndorsementCommand) { in ScheduleCommand() 160 } else if (args.front() == kAttestationKeyCommand) { in ScheduleCommand() 163 } else if (args.front() == kActivateCommand) { in ScheduleCommand() 176 } else if (args.front() == kEncryptForActivateCommand) { in ScheduleCommand() 190 } else if (args.front() == kEncryptCommand) { in ScheduleCommand() 206 } else if (args.front() == kDecryptCommand) { in ScheduleCommand() [all …]
|
/system/bt/stack/btm/ |
D | btm_ble_multi_adv.c | 389 if (btm_multi_adv_idx_q.front == -1) in btm_ble_multi_adv_gen_rpa_cmpl() 396 index = btm_multi_adv_idx_q.inst_index_queue[btm_multi_adv_idx_q.front]; in btm_ble_multi_adv_gen_rpa_cmpl() 397 if (btm_multi_adv_idx_q.front == btm_multi_adv_idx_q.rear) in btm_ble_multi_adv_gen_rpa_cmpl() 399 btm_multi_adv_idx_q.front = -1; in btm_ble_multi_adv_gen_rpa_cmpl() 404 btm_multi_adv_idx_q.front = (btm_multi_adv_idx_q.front + 1) % BTM_BLE_MULTI_ADV_MAX; in btm_ble_multi_adv_gen_rpa_cmpl() 455 if (btm_multi_adv_idx_q.front == (btm_multi_adv_idx_q.rear + 1) % BTM_BLE_MULTI_ADV_MAX) in btm_ble_multi_adv_configure_rpa() 462 if (btm_multi_adv_idx_q.front == -1) in btm_ble_multi_adv_configure_rpa() 464 btm_multi_adv_idx_q.front = 0; in btm_ble_multi_adv_configure_rpa() 817 btm_multi_adv_idx_q.front = -1; in btm_ble_multi_adv_init()
|
/system/update_engine/common/ |
D | action_processor.cc | 45 current_action_ = actions_.front(); in StartProcessing() 141 current_action_ = actions_.front(); in StartNextActionOrFinish()
|
D | http_fetcher.h | 77 return proxies_.front(); in GetCurrentProxy()
|
/system/extras/simpleperf/ |
D | callchain.cpp | 44 if (MatchSampleByName(node->chain.front(), sample)) { in FindMatchingNode() 121 std::vector<std::unique_ptr<CallChainNode>>* v = queue.front(); in SortByPeriod()
|
/system/connectivity/dhcp_client/ |
D | dhcp_options_writer.cc | 96 buffer->Append(ByteString(reinterpret_cast<const char*>(&value.front()), in WriteUInt8ListOption() 194 buffer->Append(ByteString(reinterpret_cast<const char*>(&value.front()), in WriteStringOption()
|
/system/connectivity/shill/ |
D | routing_table.cc | 356 << ", next query seq: " << route_queries_.front().sequence; in RouteMsgHandler() 362 while (route_queries_.front().sequence - message.seq() > kuint32max / 2) { in RouteMsgHandler() 364 << route_queries_.front().sequence in RouteMsgHandler() 371 const Query& query = route_queries_.front(); in RouteMsgHandler()
|
/system/extras/verity/fec/ |
D | main.cpp | 217 const std::string& inp_filename = inp_filenames.front(); in decode() 394 return get_start(mode, inp_filenames.front()); in main()
|
/system/media/camera/docs/ |
D | camera_device_info.mako | 101 // Per camera (front/back) informations
|
D | camera_device_info.proto | 157 // Per camera (front/back) informations
|
/system/core/init/ |
D | action.cpp | 354 if (trigger_queue_.front()->CheckTriggers(*action)) { in ExecuteOneCommand() 365 auto action = current_executing_actions_.front(); in ExecuteOneCommand()
|
/system/update_engine/ |
D | update_engine_client_android.cc | 145 LOG(ERROR) << "Found a positional argument '" << positional_args.front() in OnInit()
|
/system/core/adb/ |
D | fdevent_test.cpp | 56 char c = handler->queue_.front(); in FdEventCallback()
|
D | fdevent.cpp | 378 fdevent* fde = g_pending_list.front(); in fdevent_loop()
|
/system/extras/perfprofd/quipper/ |
D | address_mapper.cc | 67 const MappedRange& range = mappings_to_delete.front(); in MapWithID()
|
/system/connectivity/shill/wifi/ |
D | scan_session.cc | 147 fraction_wanted = fractions_.front(); in InitiateScan()
|
/system/connectivity/shill/dbus/ |
D | chromeos_power_manager_proxy.cc | 52 return protobuf_out->ParseFromArray(&serialized_protobuf.front(), in DeserializeProtocolBuffer()
|