Home
last modified time | relevance | path

Searched refs:push (Results 1 – 25 of 208) sorted by relevance

123456789

/system/chre/util/tests/
Dpriority_queue_test.cc52 EXPECT_TRUE(q.push(0)); in TEST()
53 EXPECT_TRUE(q.push(2)); in TEST()
54 EXPECT_TRUE(q.push(3)); in TEST()
55 EXPECT_TRUE(q.push(1)); in TEST()
57 EXPECT_TRUE(q.push(4)); in TEST()
63 q.push(1); in TEST()
65 q.push(2); in TEST()
74 q.push(1); in TEST()
76 q.push(2); in TEST()
87 q.push(1); in TEST()
[all …]
Darray_queue_test.cc48 EXPECT_TRUE(q.push(1)); in TEST()
49 EXPECT_TRUE(q.push(2)); in TEST()
51 EXPECT_TRUE(q.push(3)); in TEST()
56 EXPECT_TRUE(q.push(0)); in TEST()
57 EXPECT_TRUE(q.push(1)); in TEST()
58 EXPECT_TRUE(q.push(2)); in TEST()
64 EXPECT_TRUE(q.push(3)); in TEST()
75 EXPECT_TRUE(q.push(4)); in TEST()
76 EXPECT_TRUE(q.push(5)); in TEST()
77 EXPECT_TRUE(q.push(6)); in TEST()
[all …]
Dblocking_queue_test.cc34 ASSERT_TRUE(blockingQueue.push(0x1337)); in TEST()
35 ASSERT_TRUE(blockingQueue.push(0xcafe)); in TEST()
48 ASSERT_TRUE(blockingQueue.push(std::move(ptr))); in TEST()
/system/bt/gd/common/
Dmulti_priority_queue_test.cc29 q.push(0); in TEST()
30 q.push(1, 0); in TEST()
31 q.push(2); in TEST()
42 q.push(1); in TEST()
43 q.push(2); in TEST()
44 q.push(0, 1); in TEST()
53 q.push(1, 1); in TEST()
54 q.push(0, 2); in TEST()
55 q.push(2, 0); in TEST()
Dmulti_priority_queue.h52 void push(const T& t, int priority = 0) {
53 queues_[priority].push(t);
54 next_to_dequeue_.push(priority);
58 void push(T&& t, int priority = 0) {
59 queues_[priority].push(std::forward<T>(t));
60 next_to_dequeue_.push(priority);
Dblocking_queue_unittest.cc46 queue_.push(data); in TEST_F()
54 queue_.push(data); in TEST_F()
63 queue_.push(data); in TEST_F()
74 queue_.push(data); in TEST_F()
84 queue_.push(data); in TEST_F()
95 queue_.push(data); in TEST_F()
103 queue_.push(data); in TEST_F()
115 queue_.push(data); in TEST_F()
137 queue_.push(data); in TEST_F()
/system/media/audio_utils/tests/
Dbuild_and_run_all_unit_tests.sh23 adb push $OUT/data/nativetest/fdtostring_tests/fdtostring_tests /system/bin
27 adb push $OUT/system/lib/libaudioutils.so /system/lib
28 adb push $OUT/data/nativetest/primitives_tests/primitives_tests /system/bin
32 adb push $OUT/data/nativetest/power_tests/power_tests /system/bin
36 adb push $OUT/data/nativetest/channels_tests/channels_tests /system/bin
40 adb push $OUT/data/nativetest/string_tests/string_tests /system/bin
44 adb push $OUT/data/nativetest/format_tests/format_tests /system/bin
48 adb push $OUT/data/nativetest/simplelog_tests/simplelog_tests /system/bin
52 adb push $OUT/data/nativetest/statistics_tests/statistics_tests /system/bin
56 adb push $OUT/data/nativetest/timestampverifier_tests/timestampverifier_tests /system/bin
[all …]
Dbuild_and_run_biquad_filter.sh26 adb push $ANDROID_BUILD_TOP/cts/tests/tests/media/res/raw/sinesweepraw.raw $testdir
28 adb push $OUT/system/bin/biquad_filter $testdir
/system/libhidl/base/
DTaskRunner.cpp37 mQueue->push(nullptr); in ~TaskRunner()
41 bool TaskRunner::push(const Task &t) { in push() function in android::hardware::details::TaskRunner
65 return this->mQueue->push(t); in push()
DSynchronizedQueue.h42 bool push(const T& item);
86 bool SynchronizedQueue<T>::push(const T &item) { in push() function
91 mQueue.push(item); in push()
/system/core/fastboot/
Dsocket_mock.cpp126 events_.push(Event(EventType::kSend, std::move(message), true, nullptr)); in ExpectSend()
130 events_.push(Event(EventType::kSend, std::move(message), false, nullptr)); in ExpectSendFailure()
134 events_.push(Event(EventType::kReceive, std::move(message), false, nullptr)); in AddReceive()
138 events_.push(Event(EventType::kReceive, "", true, nullptr)); in AddReceiveTimeout()
142 events_.push(Event(EventType::kReceive, "", false, nullptr)); in AddReceiveFailure()
146 events_.push(Event(EventType::kAccept, "", false, std::move(sock))); in AddAccept()
/system/security/keystore2/src/
Dlegacy_blob.rs263 acc.push(c as char); in encode_alias()
266 acc.push((b'+' + (c as u8 >> 6)) as char); in encode_alias()
267 acc.push((b'0' + (c & 0x3F)) as char); in encode_alias()
285 s.push(m | (c - b'0')); in decode_alias()
290 s.push(c); in decode_alias()
542 params.push(p); in read_key_parameters()
684 path.push(format!("user_{}", user_id)); in list_legacy_keystore_entries_for_uid()
709 result.push(Self::decode_alias(encoded_alias).context( in list_legacy_keystore_entries_for_uid()
767 path.push(format!("user_{}", user_id)); in make_legacy_keystore_entry_filename()
768 path.push(format!("{}_{}", uid, encoded_alias)); in make_legacy_keystore_entry_filename()
[all …]
/system/extras/simpleperf/scripts/
Dreport_html.js277 views.push(createViewCallback(div, gSampleInfo[0]));
284 views.push(createViewCallback(div.find(`#${subId}`), gSampleInfo[i]));
328 rows.push(['Record Time', gRecordInfo.recordTime]);
331 rows.push(['Machine Type', gRecordInfo.machineType]);
334 rows.push(['Android Version', gRecordInfo.androidVersion]);
337 rows.push(['Record cmdline', gRecordInfo.recordCmdline]);
339 rows.push(['Total Samples', '' + gRecordInfo.totalSamples]);
436 rows.push(['Event Type: ' + this.eventInfo.eventName,
439 rows.push(['Process: ' + getProcessName(this.processInfo.pid),
443 rows.push(['Thread: ' + getThreadName(this.threadInfo.tid),
[all …]
/system/chre/util/include/chre/util/
Dfixed_size_blocking_queue_impl.h26 bool FixedSizeBlockingQueue<ElementType, kSize>::push( in push() function
31 success = mQueue.push(element); in push()
40 bool FixedSizeBlockingQueue<ElementType, kSize>::push(ElementType &&element) { in push() function
44 success = mQueue.push(std::move(element)); in push()
Dfixed_size_blocking_queue.h44 bool push(const ElementType &element);
45 bool push(ElementType &&element);
/system/security/keystore2/test_utils/
Dlib.rs39 tmp.push(format!("{}_{:05}", prefix, number)); in new()
92 pub fn push(mut self, segment: &str) -> Self { in push() method
93 self.0.push(segment); in push()
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dbuild_and_run.sh108 adb push ${VENDOR_SYMBOLS_ABS}/${VENDOR_LIB} /vendor/lib
111 adb push ${TEST_VENDOR_LIB_ABS}/data/${CONTROLLER_PROPERTIES} /vendor/etc/bluetooth/
114 adb push ${DEVICE_TARGET_ABS}/${DEVICE}/system/lib/libevent.so /system/lib/
117 adb push ${DEVICE_TARGET_ABS}/${DEVICE}/system/lib/libchrome.so /system/lib/
/system/chre/core/
Devent_ref_queue.cc29 bool EventRefQueue::push(Event *event) { in push() function in chre::EventRefQueue
32 bool pushed = mQueue.push(event); in push()
/system/libufdt/tests/
Dapply_overlay.sh54 adb push "${EXE_PATH}/${OVERLAY}_intermediates/${OVERLAY}" \
99 adb push "$BASE_DTB" "$REMOTE_PATH" > /dev/null
100 adb push "$OVERLAY_DTB" "$REMOTE_PATH" > /dev/null
/system/chre/
Dload_android_sim.sh19 adb push out/google_arm64_android_debug/libchre /system/bin/chre
20 adb push variant/android/chre-stub /vendor/bin/chre
/system/tools/aidl/
Drun_integration_tests.sh30 adb push \
33 adb push \
/system/extras/simpleperf/scripts/purgatorio/templates/
Dmain.js119 table_source.data.thread.push(entry)
120 table_source.data.count.push(1)
121 table_source.data.index.push(table_source.data.thread.length)
165 node.children.push({name: entry, value:0, children:[]})
203 callchain.push("<no callchain>")
206 callchain.push(thread)
/system/extras/profcollectd/libprofcollectd/
Dservice.rs95 report.push(report_name); in delete_report()
107 report.push(report_name); in copy_report_to_bb()
111 dest.push(bb_profile_id.to_string()); in copy_report_to_bb()
112 dest.push(&*BETTERBUG_CACHE_DIR_SUFFIX); in copy_report_to_bb()
116 dest.push(report_name); in copy_report_to_bb()
/system/bt/gd/os/
Dqueue_benchmark.cc66 void push(std::string data) { in push() function in bluetooth::os::TestEnqueueEnd
69 buffer_.push(std::move(data)); in push()
118 buffer_.push(data); in DequeueCallbackForTest()
156 test_enqueue_end.push(std::move(data)); in BENCHMARK_DEFINE_F()
190 test_enqueue_end.push(std::move(data)); in BENCHMARK_DEFINE_F()
/system/bt/gd/l2cap/internal/
Dscheduler_fifo_test.cc93 data_controller_1_.next_packets.push(std::move(frame)); in TEST_F()
110 data_controller_1_.next_packets.push(std::move(frame)); in TEST_F()
112 data_controller_2_.next_packets.push(std::move(frame)); in TEST_F()
143 data_controller_1_.next_packets.push(std::move(frame)); in TEST_F()
145 data_controller_2_.next_packets.push(std::move(frame)); in TEST_F()

123456789