Home
last modified time | relevance | path

Searched refs:front (Results 1 – 25 of 64) sorted by relevance

123

/system/chre/apps/chqts/src/shared/
Dnano_endian.cc22 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/fastboot/
Dsocket_mock.cpp47 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/tpm/attestation/client/
Dmain.cc129 (!args.empty() && args.front() == "help")) { in ScheduleCommand()
132 if (args.empty() || args.front() == kCreateAndCertifyCommand) { in ScheduleCommand()
137 } else if (args.front() == kCreateCommand) { in ScheduleCommand()
151 } else if (args.front() == kInfoCommand) { in ScheduleCommand()
155 } else if (args.front() == kEndorsementCommand) { in ScheduleCommand()
158 } else if (args.front() == kAttestationKeyCommand) { in ScheduleCommand()
161 } else if (args.front() == kActivateCommand) { in ScheduleCommand()
173 } else if (args.front() == kEncryptForActivateCommand) { in ScheduleCommand()
186 } else if (args.front() == kEncryptCommand) { in ScheduleCommand()
200 } else if (args.front() == kDecryptCommand) { in ScheduleCommand()
[all …]
/system/chre/util/tests/
Darray_queue_test.cc86 EXPECT_DEATH(q.front(), ""); in TEST()
92 EXPECT_EQ(1, q.front()); in TEST()
95 EXPECT_EQ(2, q.front()); in TEST()
123 EXPECT_EQ(2, q.front()); in TEST()
127 EXPECT_EQ(2, q.front()); in TEST()
141 q.front().setValue(0); in TEST()
145 q.front().setValue(1); in TEST()
/system/netd/server/
DIptablesBaseTest.cpp52 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/media/audio_utils/
Dfifo.cpp68 int32_t audio_utils_fifo_base::diff(uint32_t rear, uint32_t front, size_t *lost, bool flush) const in diff() argument
78 uint32_t diff = rear - front; in diff()
82 uint32_t frontOffset = front & mask; in diff()
91 uint32_t genDiff = (rear & ~mask) - (front & ~mask); in diff()
205 uint32_t front; in obtain() local
207 front = mFifo.mThrottleFront->loadAcquire(); in obtain()
209 int32_t filled = mFifo.diff(mLocalRear, front); in obtain()
246 err = mFifo.mThrottleFront->wait(op, front, timeout); in obtain()
313 uint32_t front = mFifo.mThrottleFront->loadAcquire(); in release() local
315 int32_t filled = mFifo.diff(mLocalRear, front); in release()
/system/chre/util/include/chre/util/
Dfixed_size_vector.h43 ElementType& front();
44 const ElementType& front() const;
Ddynamic_vector.h300 ElementType& front();
308 const ElementType& front() const;
Darray_queue.h65 ElementType& front();
75 const ElementType& front() const;
Dfixed_size_blocking_queue_impl.h46 ElementType element(std::move(mQueue.front())); in pop()
Dfixed_size_vector_impl.h45 ElementType& FixedSizeVector<ElementType, kCapacity>::front() { in front() function
51 const ElementType& FixedSizeVector<ElementType, kCapacity>::front() const { in front() function
Darray_queue_impl.h51 ElementType& ArrayQueue<ElementType, kCapacity>::front() { in front() function
57 const ElementType& ArrayQueue<ElementType, kCapacity>::front() const { in front() function
Ddynamic_vector_impl.h315 ElementType& DynamicVector<ElementType>::front() { in front() function
321 const ElementType& DynamicVector<ElementType>::front() const { in front() function
/system/update_engine/common/
Daction_processor.cc45 current_action_ = actions_.front(); in StartProcessing()
141 current_action_ = actions_.front(); in StartNextActionOrFinish()
Dhttp_fetcher.h76 return proxies_.front(); in GetCurrentProxy()
/system/bt/osi/include/
Dleaky_bonded_queue.h115 std::unique_ptr<T> item = std::move(queue_.front()); in EnqueueWithPop()
127 std::unique_ptr<T> item = std::move(queue_.front()); in Dequeue()
/system/chre/core/
Devent_ref_queue.cc42 Event *event = mQueue.front(); in pop()
/system/chre/platform/linux/
Dplatform_log.cc38 logMessage = std::move(mLogQueue.front()); in logLooper()
/system/extras/simpleperf/
Dcallchain.h94 std::vector<std::unique_ptr<NodeT>>* v = queue.front(); in SortByPeriod()
110 if (is_same_sample(node->chain.front(), sample)) { in FindMatchingNode()
/system/bt/stack/gatt/
Dgatt_auth.cc171 tGATT_CLCB* p_clcb = p_tcb->pending_enc_clcb.front(); in gatt_enc_cmpl_cback()
192 tGATT_CLCB* p_clcb = p_tcb->pending_enc_clcb.front(); in gatt_enc_cmpl_cback()
227 tGATT_CLCB* p_clcb = p_tcb->pending_enc_clcb.front(); in gatt_notify_enc_cmpl()
/system/libhidl/base/include/hidl/
DSynchronizedQueue.h67 T item = mQueue.front(); in wait_pop()
/system/update_engine/
Dproxy_resolver_unittest.cc64 EXPECT_EQ(kNoProxy, callback_proxies.front()); in TEST_F()
/system/extras/verity/fec/
Dmain.cpp218 const std::string& inp_filename = inp_filenames.front(); in decode()
402 return get_start(mode, inp_filenames.front()); in main()
/system/media/camera/docs/
Dcamera_device_info.mako101 // Per camera (front/back) informations
/system/core/init/
Dueventd_parser.cpp112 if (args[1].front() != '/') { in ParseDirName()

123