Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 25 of 55) sorted by relevance

123

/packages/modules/adb/
Dshell_service_protocol_test.cpp106 ASSERT_TRUE(write_protocol_->Write(id, sizeof(data))); in TEST_F()
117 ASSERT_TRUE(write_protocol_->Write(id, 10)); in TEST_F()
132 ASSERT_TRUE(write_protocol_->Write(id, 0)); in TEST_F()
141 ASSERT_TRUE(write_protocol_->Write(ShellProtocol::kIdExit, 1)); in TEST_F()
153 ASSERT_FALSE(write_protocol_->Write(ShellProtocol::kIdStdout, 0)); in TEST_F()
161 ASSERT_FALSE(write_protocol_->Write(ShellProtocol::kIdStdout, 0)); in TEST_F()
188 ASSERT_TRUE(write_protocol_->Write(id, sizeof(data))); in TEST_F()
Dtransport.h111 virtual bool Write(std::unique_ptr<apacket> packet) = 0;
150 virtual bool Write(apacket* packet) = 0;
168 virtual bool Write(std::unique_ptr<apacket> packet) override final;
197 bool Write(apacket* packet) override final;
278 int Write(apacket* p);
Dtransport_benchmark.cpp91 client->Write(std::move(packet)); in BM_Connection_Unidirectional()
130 connection->Write(std::move(packet)); in BM_Connection_Echo()
165 client->Write(std::move(packet)); in BM_Connection_Echo()
Dtransport.cpp320 if (!this->underlying_->Write(packet.get())) { in Start()
426 bool BlockingConnectionAdapter::Write(std::unique_ptr<apacket> packet) { in Write() function in BlockingConnectionAdapter
485 bool FdConnection::Write(apacket* packet) { in Write() function in FdConnection
567 if (t->Write(p) != 0) { in send_packet()
1121 int atransport::Write(apacket* p) { in Write() function in atransport
1122 return this->connection()->Write(std::unique_ptr<apacket>(p)) ? 0 : -1; in Write()
Dshell_protocol.h92 bool Write(Id id, size_t length);
Dshell_service_protocol.cpp56 bool ShellProtocol::Write(Id id, size_t length) { in Write() function in ShellProtocol
/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyIds.java437 @RequiresPermission.Write(@RequiresPermission(Car.PERMISSION_CONTROL_ENERGY_PORTS))
479 @RequiresPermission.Write(@RequiresPermission(Car.PERMISSION_CONTROL_ENERGY_PORTS))
546 @RequiresPermission.Write(@RequiresPermission(Car.PERMISSION_ADJUST_RANGE_REMAINING))
1068 @RequiresPermission.Write(@RequiresPermission(allOf = {Car.PERMISSION_CONTROL_DISPLAY_UNITS,
1100 @RequiresPermission.Write(@RequiresPermission(allOf = {Car.PERMISSION_CONTROL_DISPLAY_UNITS,
1133 @RequiresPermission.Write(@RequiresPermission(allOf = {Car.PERMISSION_CONTROL_DISPLAY_UNITS,
1166 @RequiresPermission.Write(@RequiresPermission(allOf = {Car.PERMISSION_CONTROL_DISPLAY_UNITS,
1199 @RequiresPermission.Write(@RequiresPermission(allOf = {Car.PERMISSION_CONTROL_DISPLAY_UNITS,
1228 @RequiresPermission.Write(@RequiresPermission(allOf = {Car.PERMISSION_CONTROL_DISPLAY_UNITS,
2110 @RequiresPermission.Write(@RequiresPermission(Car.PERMISSION_CONTROL_CAR_ENERGY))
[all …]
/packages/modules/Virtualization/libs/idsig/src/
Dapksigv4.rs21 use std::io::{copy, Cursor, Read, Seek, SeekFrom, Write};
201 pub fn write_into<W: Write + Seek>(&mut self, mut w: &mut W) -> Result<()> { in write_into()
243 fn write_into<W: Write + Seek>(&self, mut w: &mut W) -> Result<()> { in write_into()
280 fn write_into<W: Write + Seek>(&self, mut w: &mut W) -> Result<()> { in write_into()
311 fn write_sized_array(w: &mut dyn Write, data: &[u8]) -> Result<()> { in write_sized_array() argument
/packages/modules/adb/daemon/
Dshell_service_test.cpp216 ASSERT_TRUE(protocol->Write(ShellProtocol::kIdStdin, command.length())); in TEST_F()
239 ASSERT_TRUE(protocol->Write(ShellProtocol::kIdStdin, input.length())); in TEST_F()
240 ASSERT_TRUE(protocol->Write(ShellProtocol::kIdCloseStdin, 0)); in TEST_F()
312 write_protocol->Write(ShellProtocol::kIdStdin, 2); in TEST_F()
/packages/modules/Virtualization/pvmfw/src/
Duart.rs18 use core::fmt::{self, Write};
49 impl Write for Uart {
Dconsole.rs18 use core::fmt::{write, Arguments, Write};
/packages/modules/Virtualization/microdroid/payload/metadata/src/
Dlib.rs24 use std::io::Write;
37 pub fn write_metadata<T: Write>(metadata: &Metadata, mut w: T) -> Result<()> { in write_metadata()
/packages/modules/Bluetooth/system/gd/storage/
Dlegacy_config_file_test.cc47 EXPECT_TRUE(LegacyConfigFile::FromPath(temp_config.string()).Write(config)); in TEST()
120 EXPECT_TRUE(LegacyConfigFile::FromPath(temp_config.string()).Write(config)); in TEST()
Dlegacy_config_file.h34 bool Write(const ConfigCache& cache);
Dstorage_module.cc140 ASSERT(LegacyConfigFile::FromPath(config_file_path_).Write(pimpl_->cache_)); in SaveImmediately()
142 ASSERT(LegacyConfigFile::FromPath(config_backup_path_).Write(pimpl_->cache_)); in SaveImmediately()
Dlegacy_config_file.cc73 bool LegacyConfigFile::Write(const ConfigCache& cache) { in Write() function in bluetooth::storage::LegacyConfigFile
/packages/modules/Virtualization/apkdmverity/src/dm/
Dverity.rs23 use std::io::Write;
170 use std::fmt::Write; in build()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_hal_client_test.cc116 MOCK_METHOD((size_t), Write, (const uint8_t* p_buf, uint32_t len));
194 size_t LeAudioClientInterface::Source::Write(const uint8_t* p_buf, in Write() function in bluetooth::audio::le_audio::LeAudioClientInterface::Source
196 return source_mock->Write(p_buf, len); in Write()
394 ON_CALL(mock_hal_interface_audio_source_, Write(_, _)) in TEST_F()
/packages/modules/Bluetooth/system/service/doc/
DIBluetoothGattClient.txt81 * - WRITE_TYPE_DEFAULT (0x02): Regular Write Procedure
82 * - WRITE_TYPE_NO_RESPONSE (0x01): Write Without Response procedure
83 * - WRITE_TYPE_SIGNED (0x04): Signed Write Without Response procedure.
120 * - WRITE_TYPE_NO_RESPONSE (0x01): Write without response procedure
/packages/modules/adb/client/
Dusb.h53 bool Write(apacket* packet) override final;
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_host.cc63 size_t LeAudioClientInterface::Source::Write(const uint8_t* p_buf, in Write() function in bluetooth::audio::le_audio::LeAudioClientInterface::Source
/packages/modules/Bluetooth/system/gd/grpc/
Dgrpc_event_queue.h57 writer->Write(pending_events_.take()); in RunLoop()
/packages/modules/Virtualization/compos/src/
Dcompos_key.rs18 use std::io::Write;
Dartifact_signer.rs26 use std::io::Write;
/packages/modules/Bluetooth/system/gd/
DREADME.md24 write a unit test as this not a good use of your time. Write a [cert test](./cert_test.md) instead

123