Home
last modified time | relevance | path

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

12345678910>>...14

/packages/modules/Virtualization/android/composd/src/
Dfd_server_helper.rs58 args.push("--ro-fds".to_string()); in do_spawn_fd_server()
59 args.push(raw_fd.to_string()); in do_spawn_fd_server()
60 inheritable_fds.push(raw_fd); in do_spawn_fd_server()
64 args.push("--rw-fds".to_string()); in do_spawn_fd_server()
65 args.push(raw_fd.to_string()); in do_spawn_fd_server()
66 inheritable_fds.push(raw_fd); in do_spawn_fd_server()
70 args.push("--ro-dirs".to_string()); in do_spawn_fd_server()
71 args.push(raw_fd.to_string()); in do_spawn_fd_server()
72 inheritable_fds.push(raw_fd); in do_spawn_fd_server()
76 args.push("--rw-dirs".to_string()); in do_spawn_fd_server()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
DDocumentStackTest.java84 mStack.push(DIR_1); in testPushDocument_ModifiesStack()
85 mStack.push(DIR_2); in testPushDocument_ModifiesStack()
91 mStack.push(DIR_1); in testPopDocument_ModifiesStack()
92 mStack.push(DIR_2); in testPopDocument_ModifiesStack()
99 mStack.push(DIR_1); in testGetDocument()
100 mStack.push(DIR_2); in testGetDocument()
115 mStack.push(DIR_1); in testChangeRoot_ClearsStack()
126 mStack.push(DIR_1); in testReset()
138 mStack.push(DIR_1); in testCopyConstructor()
139 mStack.push(DIR_2); in testCopyConstructor()
[all …]
/packages/modules/Bluetooth/system/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()
Dblocking_queue_unittest.cc40 queue_.push(data); in TEST_F()
48 queue_.push(data); in TEST_F()
57 queue_.push(data); in TEST_F()
68 queue_.push(data); in TEST_F()
78 queue_.push(data); in TEST_F()
89 queue_.push(data); in TEST_F()
98 queue_.push(data); in TEST_F()
110 queue_.push(data); in TEST_F()
128 queue_.push(data); in TEST_F()
Dmulti_priority_queue.h53 void push(const T& t, int priority = 0) {
54 queues_[priority].push(t);
55 next_to_dequeue_.push(priority);
59 void push(T&& t, int priority = 0) {
60 queues_[priority].push(std::forward<T>(t));
61 next_to_dequeue_.push(priority);
/packages/modules/StatsD/statsd/tests/
Dindexed_priority_queue_test.cpp50 ipq.push(aa4); in TEST()
54 ipq.push(aa8); in TEST()
81 ipq.push(aa8); in TEST()
84 ipq.push(aa12); in TEST()
87 ipq.push(aa4); in TEST()
98 ipq.push(aa16); in TEST()
101 ipq.push(aa2); in TEST()
104 ipq.push(aa20); in TEST()
128 ipq.push(aa4_a); in TEST()
133 ipq.push(aa4_a); in TEST()
[all …]
/packages/modules/Virtualization/guest/authfs_service/src/
Dauthfs.rs58 path.push(remote_fd_name.to_string()); in openFile()
135 args.push(OsString::from("-o")); in run_authfs()
136 args.push(OsString::from("fscontext=u:object_r:authfs_fuse:s0")); in run_authfs()
140 args.push(OsString::from("--remote-ro-file-unverified")); in run_authfs()
141 args.push(OsString::from(conf.fd.to_string())); in run_authfs()
144 args.push(OsString::from("--remote-new-rw-file")); in run_authfs()
145 args.push(OsString::from(conf.fd.to_string())); in run_authfs()
148 args.push(OsString::from("--remote-ro-dir")); in run_authfs()
149 args.push(OsString::from(format!("{}:{}:{}", conf.fd, conf.manifestPath, conf.prefix))); in run_authfs()
152 args.push(OsString::from("--remote-new-rw-dir")); in run_authfs()
[all …]
/packages/modules/DnsResolver/
DDnsQueryLogTest.cpp79 queryLog.push(std::move(r)); in TEST_F()
98 queryLog.push(std::move(record)); in TEST_F()
118 queryLog.push(std::move(r1)); in TEST_F()
119 queryLog.push(std::move(r2)); in TEST_F()
120 queryLog.push(std::move(r3)); in TEST_F()
135 queryLog.push(std::move(r1)); in TEST_F()
136 queryLog.push(std::move(r2)); in TEST_F()
137 queryLog.push(std::move(r3)); in TEST_F()
138 queryLog.push(std::move(r4)); in TEST_F()
151 queryLog.push(std::move(record)); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/
Dpayload_accumulator.rs13 pub fn push(&mut self, builder: T) -> bool { in push() method
20 self.elems.push(builder); in push()
50 .push(att::Att { opcode: att::AttOpcode::WriteResponse, payload: vec![1, 2] }); in test_nonempty()
61 .push(att::Att { opcode: att::AttOpcode::WriteResponse, payload: vec![1, 2] }); in test_push_serialize()
76 .push(att::Att { opcode: att::AttOpcode::WriteResponse, payload: vec![1, 2] }); in test_push_past_capacity()
78 .push(att::Att { opcode: att::AttOpcode::WriteResponse, payload: vec![3, 4] }); in test_push_past_capacity()
96 .push(att::Att { opcode: att::AttOpcode::WriteResponse, payload: vec![1, 2] }); in test_push_to_capacity()
98 accumulator.push(att::Att { opcode: att::AttOpcode::WriteResponse, payload: vec![3] }); in test_push_to_capacity()
/packages/modules/Virtualization/guest/compsvc/src/
Dcompilation.rs93 input_dir_fd_annotations.push(InputDirFdAnnotation { in odrefresh()
117 android_root.push(args.systemDirFd.to_string()); in odrefresh()
118 android_root.push("system"); in odrefresh()
124 system_ext_root.push(args.systemExtDirFd.to_string()); in odrefresh()
125 system_ext_root.push("system_ext"); in odrefresh()
149 .push(format!("--system-server-compiler-filter={}", args.systemServerCompilerFilter)); in odrefresh()
157 command_line_args.push(compile_flag.to_string()); in odrefresh()
192 bootclasspath_arg.push("--bootclasspath-fragment="); in run_derive_classpath()
193 bootclasspath_arg.push(classpaths_root.join("bootclasspath.pb")); in run_derive_classpath()
196 systemserverclasspath_arg.push("--systemserverclasspath-fragment="); in run_derive_classpath()
[all …]
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dconnections.rs151 self.reportable.push(( in process_classic_connection()
168 self.reportable.push(( in process_sync_connection()
184 self.reportable.push(( in process_le_create_connection()
283 self.reportable.push(( in process_command_status_conn()
311 self.reportable.push(( in process_command_status_conn()
353 self.reportable.push(( in process_conn_complete_ev()
362 self.reportable.push(( in process_conn_complete_ev()
385 self.signals.push(Signal { in process_disconn_complete_ev()
391 self.reportable.push(( in process_disconn_complete_ev()
403 self.signals.push(Signal { in process_disconn_complete_ev()
[all …]
Dcontrollers.rs62 self.signals.push(Signal { in report_hardware_error()
68 self.reportable.push((packet.ts, format!("controller reported hardware error"))); in report_hardware_error()
76 self.signals.push(Signal {
83 Err(_) => self.signals.push(Signal {
93 self.signals.push(Signal { in process_local_version()
105 self.signals.push(Signal { in process_new_index()
/packages/modules/Bluetooth/offload/hci/derive/
Dreturn_parameters.rs67 variants.push(quote! { in derive_read()
71 variants.push(quote! { in derive_read()
94 variants.push(quote! { in derive_write()
101 variants.push(quote! { in derive_write()
Denum_data.rs59 variants.push(quote! { #discriminant => Some(Self::#ident) }); in derive_read()
61 variants.push(quote! { _ => None }); in derive_read()
81 variants.push(quote! { Self::#ident => #discriminant }); in derive_write()
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataSubscriber.java84 public int push(@NonNull PersistableBundle data, boolean isLargeData) { in push() method in DataSubscriber
98 public int push(@NonNull List<PersistableBundle> bundleList) { in push() method in DataSubscriber
112 public int push(@NonNull PersistableBundle data) { in push() method in DataSubscriber
113 return push(data, false); in push()
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dqueue_unittest.cc169 buffer_.push(std::move(data)); in DequeueCallbackForTest()
220 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
263 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
276 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
299 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
333 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
346 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
370 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
406 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
437 test_enqueue_end.buffer_.push(std::move(data)); in TEST_F()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/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/
/packages/modules/Virtualization/tests/dtcompare/src/
Dmain.rs118 errors.push(format!("added prop_path: {}", prop_path)); in compare_props()
127 errors.push(format!( in compare_props()
136 errors.push(format!("missing properties: {:?}", prop_map)); in compare_props()
185 None => errors.push(format!("added node: {}", sn_path)), in compare_subnodes()
189 errors.push(format!("missing nodes: {:?}", subnodes_map)); in compare_subnodes()
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_fake.cc23 outgoing_commands_.push(std::move(command)); in sendHciCommand()
26 void TestHciHal::sendAclData(hal::HciPacket data) { outgoing_acl_.push(std::move(data)); } in sendAclData()
28 void TestHciHal::sendScoData(hal::HciPacket data) { outgoing_sco_.push(std::move(data)); } in sendScoData()
30 void TestHciHal::sendIsoData(hal::HciPacket data) { outgoing_iso_.push(std::move(data)); } in sendIsoData()
Dhci_hal_android_test.cc52 void sendHciCommand(const std::vector<uint8_t>& command) override { queues.cmd.push(command); } in sendHciCommand()
53 void sendAclData(const std::vector<uint8_t>& packet) override { queues.acl.push(packet); } in sendAclData()
54 void sendScoData(const std::vector<uint8_t>& packet) override { queues.sco.push(packet); } in sendScoData()
55 void sendIsoData(const std::vector<uint8_t>& packet) override { queues.iso.push(packet); } in sendIsoData()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DVehiclePropertyPublisherTest.java419 verify(mMockIntDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_pushesValueToDataSubscriber()
455 verify(mMockStringDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
460 verify(mMockBoolDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
464 verify(mMockIntDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
468 verify(mMockIntVecDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
473 verify(mMockLongDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
477 verify(mMockLongVecDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
482 verify(mMockFloatDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
486 verify(mMockFloatVecDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
491 verify(mMockBytesDataSubscriber).push(mBundleListCaptor.capture()); in testOnNewCarPropertyEvent_parsesValueCorrectly()
[all …]
/packages/modules/Bluetooth/system/gd/os/
Dqueue_benchmark.cc68 void push(std::string data) { in push() function in bluetooth::os::TestEnqueueEnd
71 buffer_.push(std::move(data)); in push()
123 buffer_.push(data); in DequeueCallbackForTest()
162 test_enqueue_end.push(std::move(data)); in BENCHMARK_DEFINE_F()
196 test_enqueue_end.push(std::move(data)); in BENCHMARK_DEFINE_F()
/packages/modules/NeuralNetworks/runtime/test/
DTestStatsdTelemetry.cpp161 aggregator.push({kExampleKey, {}}); in TEST()
167 aggregator.push({kExampleKey, {}}); in TEST()
181 aggregator.push({key1, value1}); in TEST()
182 aggregator.push({key2, value2}); in TEST()
197 aggregator.push({key1, value1}); in TEST()
198 aggregator.push({key1, value2}); in TEST()
216 aggregator.push({key1, value1}); in TEST()
217 aggregator.push({key2, value2}); in TEST()
218 aggregator.push({key1, value3}); in TEST()
/packages/modules/Virtualization/android/virtmgr/src/
Dpayload.rs143 self.list.push(info); in override_staged_apex()
315 partitions.push(Partition { in make_payload_disk()
322 partitions.push(Partition { in make_payload_disk()
328 partitions.push(Partition { in make_payload_disk()
340 partitions.push(Partition { in make_payload_disk()
347 partitions.push(Partition { in make_payload_disk()
436 vm_config.disks.push(DiskImage { in add_microdroid_vendor_image()
471 writable_partitions.push(Partition { in add_microdroid_system_images()
479 vm_config.disks.push(DiskImage { in add_microdroid_system_images()
499 vm_config.disks.push(make_payload_disk( in add_microdroid_payload_images()
/packages/modules/Virtualization/android/virtualizationservice/src/maintenance/
Dvmdb.rs58 db_path.push(DB_DIR); in new()
63 db_path.push(DB_FILENAME); in new()
127 db_path.push(DB_DIR); in delete_db_file()
128 db_path.push(DB_FILENAME); in delete_db_file()
267 Ok(vm_id) => vm_ids.push(vm_id), in vm_ids_from_rows()
341 owners.push((user_id, app_id)); in get_all_owners()
451 db_path.push(DB_FILENAME); in test_corrupt_database_file()
469 db_path.push(DB_FILENAME); in test_non_upgradable_database_file()
604 want.push(vm_id); in test_remove_oldest_with_upgrade()
623 want.push(vm_id); in test_remove_oldest_with_upgrade()

12345678910>>...14