Home
last modified time | relevance | path

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

123

/packages/modules/adb/
Dshell_service_protocol_test.cpp108 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
120 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
122 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
124 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
133 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
143 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
169 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
177 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
193 ASSERT_TRUE(read_protocol_->Read()); in TEST_F()
197 ASSERT_FALSE(read_protocol_->Read()); in TEST_F()
Dshell_protocol.h81 bool Read();
Dshell_service_protocol.cpp32 bool ShellProtocol::Read() { in Read() function in ShellProtocol
/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs24 use std::io::{Cursor, Read, Seek, SeekFrom, Take};
62 impl<R: Read + Seek> ApkSections<R> {
118 fn zip_entries(&mut self) -> Result<Take<Box<dyn Read + '_>>> { in zip_entries()
122 fn central_directory(&mut self) -> Result<Take<Box<dyn Read + '_>>> { in central_directory()
130 fn eocd_for_verification(&mut self) -> Result<Take<Box<dyn Read + '_>>> { in eocd_for_verification()
139 Ok(Read::take(Box::new(Cursor::new(eocd)), self.eocd_size as u64)) in eocd_for_verification()
150 fn scoped_read<'a, R: Read + Seek>( in scoped_read()
154 ) -> Result<Take<Box<dyn Read + 'a>>> { in scoped_read()
156 Ok(Read::take(Box::new(src), size)) in scoped_read()
191 fn find_signing_block<T: Read + Seek>( in find_signing_block()
Dv3.rs29 use std::io::{Read, Seek};
100 R: Read + Seek, in find_signer_and_then()
132 fn verify<R: Read + Seek>(&self, sections: &mut ApkSections<R>) -> Result<Box<[u8]>> { in verify()
Dziputil.rs21 use std::io::{Read, Seek, SeekFrom};
39 pub fn zip_sections<R: Read + Seek>(mut reader: R) -> Result<(R, ZipSections)> { in zip_sections()
/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyIds.java436 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY_PORTS))
478 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY_PORTS))
545 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY))
1067 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1099 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1132 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1165 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1198 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1227 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
2109 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY))
[all …]
/packages/services/Car/cpp/watchdog/sepolicy/private/
Dcarwatchdog.te20 # Read /proc/uid_io/stats.
23 # Read /proc/stat file.
26 # Read /proc/diskstats file.
29 # Read /proc/uid_cputime/show_uid_stat file.
/packages/providers/TelephonyProvider/proto/src/
DcarrierId.proto63 // [Optional] The Service Provider Name. Read from subscription EF_SPN.
67 // [Optional] PLMN network name. Read from subscription EF_PNN.
71 // [Optional] Group Identifier Level1 for a GSM phone. Read from subscription EF_GID1.
75 // [Optional] Group Identifier Level2 for a GSM phone. Read from subscription EF_GID2.
84 // [Optional] Prefix of Integrated Circuit Card Identifier. Read from subscription EF_ICCID.
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dfilereadstream.h40 Read(); in FileReadStream()
44 Ch Take() { Ch c = *current_; Read(); return c; } in Take()
59 void Read() { in Read() function
/packages/modules/Virtualization/libs/idsig/src/
Dapksigv4.rs21 use std::io::{copy, Cursor, Read, Seek, SeekFrom, Write};
30 pub struct V4Signature<R: Read + Seek> {
150 impl<R: Read + Seek> V4Signature<R> {
231 fn from(mut r: &mut dyn Read) -> Result<HashingInfo> { in from()
266 fn from(mut r: &mut dyn Read) -> Result<SigningInfo> { in from()
304 fn read_sized_array(r: &mut dyn Read) -> Result<Box<[u8]>> { in read_sized_array()
Dhashtree.rs20 use std::io::{Cursor, Read, Result, Write};
33 pub fn from<R: Read>( in from()
67 pub fn generate_hash_tree<R: Read>( in generate_hash_tree()
/packages/modules/Bluetooth/system/gd/storage/
Dstorage_module_test.cc147 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
254 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
261 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
268 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
275 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(10); in TEST_F()
Dlegacy_config_file_test.cc48 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
86 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
176 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
Dlegacy_config_file.h33 std::optional<ConfigCache> Read(size_t temp_devices_capacity);
Dstorage_module.cc170 auto config = LegacyConfigFile::FromPath(config_file_path_).Read(temp_devices_capacity_); in Start()
173 config = LegacyConfigFile::FromPath(config_backup_path_).Read(temp_devices_capacity_); in Start()
/packages/modules/Bluetooth/system/test/headless/read/
Dread.h26 class Read : public HeadlessTest<int> {
28 Read(const bluetooth::test::headless::GetOpt& options);
Dread.cc28 Read::Read(const bluetooth::test::headless::GetOpt& options) in Read() function in Read
/packages/modules/Virtualization/microdroid/payload/metadata/src/
Dlib.rs23 use std::io::Read;
29 pub fn read_metadata<T: Read>(mut r: T) -> Result<Metadata> { in read_metadata()
/packages/modules/Virtualization/microdroid_manager/src/payload/
Dapex.rs21 use std::io::{Read, Seek, SeekFrom};
72 fn verify_vbmeta<R: Read + Seek>( in verify_vbmeta()
94 fn from<R: Read + Seek>(mut image: R, offset: u64, size: u64) -> Result<VbMeta> { in from()
/packages/modules/Bluetooth/system/gd/common/testing/host/
Dlog_capture.cc75 std::string str = this->Read(); in Find()
113 std::string LogCapture::Read() { in Read() function in bluetooth::testing::LogCapture
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_hal_client_test.cc100 MOCK_METHOD((size_t), Read, (uint8_t * p_buf, uint32_t len));
199 size_t LeAudioClientInterface::Sink::Read(uint8_t* p_buf, uint32_t len) { in Read() function in bluetooth::audio::le_audio::LeAudioClientInterface::Sink
200 return sink_mock->Read(p_buf, len); in Read()
466 EXPECT_CALL(mock_hal_interface_audio_sink_, Read(_, _)) in TEST_F()
/packages/services/Car/car-lib-module/api/
Dcurrent.txt309 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
321 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
324 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
325 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
327 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
328 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
330 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
331 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
336 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
337 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
[all …]
/packages/services/Car/car-lib/api/
Dcurrent.txt309 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
321 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
324 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
325 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
327 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
328 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
330 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
331 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
336 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
337 …field @RequiresPermission.Read(@androidx.annotation.RequiresPermission(android.car.Car.PERMISSION_…
[all …]
/packages/modules/Bluetooth/system/gd/common/testing/
Dlog_capture.h36 std::string Read();

123