Home
last modified time | relevance | path

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

1234

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DImsMediaVideoUtil.cpp128 bitreader.Read(8); in ParseAvcSpropParam()
130 uint32_t Profile_idc = bitreader.Read(8); // Read profile_idc in ParseAvcSpropParam()
133 bitreader.Read(1); // Constraint_set0 in ParseAvcSpropParam()
134 bitreader.Read(1); // Constraint_set1 in ParseAvcSpropParam()
135 bitreader.Read(1); // Constraint_set2 in ParseAvcSpropParam()
136 bitreader.Read(1); // Constraint_set3 in ParseAvcSpropParam()
137 bitreader.Read(1); // Constraint_set4 in ParseAvcSpropParam()
138 bitreader.Read(3); // Read reserved_zeor_3bits in ParseAvcSpropParam()
140 uint32_t Level_idc = bitreader.Read(8); // Read level_idc in ParseAvcSpropParam()
150 bitreader.Read(1); // Separate_colour_plane in ParseAvcSpropParam()
[all …]
/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyIds.java503 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_CAR_ENGINE_DETAILED))
672 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY_PORTS))
747 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY_PORTS))
816 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY))
1054 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_POWERTRAIN))
1084 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_POWERTRAIN))
1634 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_READ_DISPLAY_UNITS,
1802 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1835 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
1869 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_DISPLAY_UNITS))
[all …]
/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()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadDecoderNode.cpp175 cmr = mBitReader.Read(4); in DecodePayloadAmr()
179 mBitReader.Read(4); in DecodePayloadAmr()
216 f = mBitReader.Read(1); // f(1) in DecodePayloadAmr()
217 eRate = mBitReader.Read(4); // ft(4) in DecodePayloadAmr()
218 QbitPos = mBitReader.Read(1); // q(2) in DecodePayloadAmr()
224 mBitReader.Read(2); // padding in DecodePayloadAmr()
396 uint32_t cmr = mBitReader.Read(3); in DecodePayloadEvs()
549 h = mBitReader.Read(1); in DecodePayloadEvs()
554 cmr_t = mBitReader.Read(3); in DecodePayloadEvs()
555 cmr_d = mBitReader.Read(4); in DecodePayloadEvs()
[all …]
/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs24 use std::io::{self, Cursor, ErrorKind, Read, Seek, SeekFrom, Take};
53 impl<R: Read + Seek> ApkSections<R> {
110 fn zip_entries(&mut self) -> Result<Take<Box<dyn Read + '_>>> { in zip_entries()
114 fn central_directory(&mut self) -> Result<Take<Box<dyn Read + '_>>> { in central_directory()
122 fn eocd_for_verification(&mut self) -> Result<Take<Box<dyn Read + '_>>> { in eocd_for_verification()
131 Ok(Read::take(Box::new(Cursor::new(eocd)), self.eocd_size as u64)) in eocd_for_verification()
142 fn scoped_read<'a, R: Read + Seek>( in scoped_read()
146 ) -> Result<Take<Box<dyn Read + 'a>>> { in scoped_read()
148 Ok(Read::take(Box::new(src), size)) in scoped_read()
166 fn find_signing_block<T: Read + Seek>( in find_signing_block()
Dv4.rs26 use std::io::{copy, Cursor, Read, Seek, SeekFrom, Write};
38 pub fn get_apk_digest<R: Read + Seek>( in get_apk_digest()
61 pub struct V4Signature<R: Read + Seek> {
130 impl<R: Read + Seek> V4Signature<R> {
220 fn from(mut r: &mut dyn Read) -> Result<HashingInfo> { in from()
255 fn from(mut r: &mut dyn Read) -> Result<SigningInfo> { in from()
294 fn read_sized_array(r: &mut dyn Read) -> Result<Box<[u8]>> { in read_sized_array()
Dhashtree.rs18 use std::io::{Cursor, Read, Result, Write};
31 pub fn from<R: Read>( in from()
65 pub fn generate_hash_tree<R: Read>( in generate_hash_tree()
Dv3.rs26 use std::io::{Read, Seek};
106 pub(crate) fn extract_signer_and_apk_sections<R: Read + Seek>( in extract_signer_and_apk_sections()
160 fn verify<R: Read + Seek>(&self, sections: &mut ApkSections<R>) -> Result<Box<[u8]>> { in verify()
Dalgorithms.rs29 use std::io::Read;
216 pub(crate) fn from_read<R: Read>(read: &mut R) -> Result<Self> { in from_read()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaBitReader.cpp43 uint32_t ImsMediaBitReader::Read(uint32_t nSize) in Read() function in ImsMediaBitReader
94 pbDst[dst_pos] = Read(8); in ReadByteBuffer()
101 v = Read(nRemainBitSize); in ReadByteBuffer()
114 while (Read(1) == 0 && mBufferEOF == false) in ReadByUEMode()
119 j = Read(i); in ReadByUEMode()
/packages/services/Car/cpp/watchdog/sepolicy/private/
Dcarwatchdog.te12 # Read carwatchdog configuration properties
23 # Read /proc/uid_io/stats.
26 # Read /proc/stat file.
29 # Read /proc/diskstats file.
32 # Read /proc/uid_cputime/show_uid_stat file.
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaBitReaderTest.cpp35 EXPECT_EQ(reader.Read(24), 0); in TEST_F()
37 EXPECT_EQ(reader.Read(32), 0); in TEST_F()
41 EXPECT_EQ(reader.Read(8), testBuffer[i]); in TEST_F()
44 EXPECT_EQ(reader.Read(8), 0); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadDecoderNode.cpp146 while (mBitReader.Read(1) == 1) // redundant flag bit in DecodeT140()
148 uint32_t payloadType = mBitReader.Read(7); // T140 payload type in DecodeT140()
149 uint32_t timestampOffset = mBitReader.Read(14); in DecodeT140()
150 uint32_t length = mBitReader.Read(10); in DecodeT140()
161 mBitReader.Read(7); // T140 payload type (111) in DecodeT140()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtcpDecoderNode.cpp279 uint32_t receivedSsrc = mBitReader.Read(16); in ReceiveTmmbr()
280 receivedSsrc = (receivedSsrc << 16) | mBitReader.Read(16); in ReceiveTmmbr()
281 uint32_t receivedExp = mBitReader.Read(6); in ReceiveTmmbr()
282 uint32_t receivedMantissa = mBitReader.Read(17); in ReceiveTmmbr()
283 uint32_t receivedOverhead = mBitReader.Read(9); in ReceiveTmmbr()
/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/modules/Bluetooth/system/gd/storage/
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()
Dstorage_module_test.cc164 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
237 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
245 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
253 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
/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;
31 pub fn read_metadata<T: Read>(mut r: T) -> Result<Metadata> { in read_metadata()
/packages/modules/Bluetooth/system/rust/src/gatt/mocks/
Dmock_datastore.rs37 Read( enumerator
63 self.0.send(MockDatastoreEvents::Read(tcb_idx, handle, attr_type, tx)).unwrap(); in read()
Dmock_raw_datastore.rs37 Read( enumerator
71 self.0.send(MockRawDatastoreEvents::Read(tcb_idx, handle, attr_type, offset, tx)).unwrap(); in read()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataaccess/
DHealthDataAccessFragmentTest.kt83 DataAccessAppState.Read to listOf(AppMetadata("package1", "appName1", null)), in dataAccessFragment_readSection_isDisplayed()
107 DataAccessAppState.Read to listOf(AppMetadata("package1", "appName1", null)), in dataAccessFragment_readAndWriteSections_isDisplayed()
131 DataAccessAppState.Read to emptyList(), in dataAccessFragment_inactiveSection_isDisplayed()
/packages/modules/Virtualization/libs/vbmeta/src/
Dlib.rs25 use std::io::{self, Read, Seek, SeekFrom};
82 pub fn verify_reader_region<R: Read + Seek>( in verify_reader_region()
181 fn read_avb_footer<R: Read + Seek>(image: &mut R) -> Result<AvbFooter, VbMetaImageParseError> { in read_avb_footer()
/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

1234