Home
last modified time | relevance | path

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

12345

/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.java561 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_CAR_ENGINE_DETAILED))
663 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_READ_IMPACT_SENSORS))
772 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_ENERGY_PORTS,
848 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_ENERGY_PORTS,
919 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_ENERGY,
945 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_ENERGY))
1184 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_POWERTRAIN,
1216 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_POWERTRAIN,
1390 @RequiresPermission.Read(@RequiresPermission(anyOf = {Car.PERMISSION_CAR_DYNAMICS_STATE,
1429 @RequiresPermission.Read(@RequiresPermission(Car.PERMISSION_CAR_DYNAMICS_STATE))
[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.cpp176 cmr = mBitReader.Read(4); in DecodePayloadAmr()
180 mBitReader.Read(4); in DecodePayloadAmr()
217 hasNextFrame = mBitReader.Read(1); // f(1) in DecodePayloadAmr()
218 frameTypeIndex = mBitReader.Read(4); // ft(4) in DecodePayloadAmr()
219 frameQualityIndicator = mBitReader.Read(1); // q(1) in DecodePayloadAmr()
225 mBitReader.Read(2); // padding in DecodePayloadAmr()
261 mBitReader.Read(paddingSize); in DecodePayloadAmr()
391 uint32_t cmr = mBitReader.Read(3); in DecodePayloadEvs()
544 h = mBitReader.Read(1); in DecodePayloadEvs()
549 cmr_t = mBitReader.Read(3); in DecodePayloadEvs()
[all …]
/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.
35 # Read/Write /proc/pressure/memory file.
/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs25 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};
89 pub(crate) fn extract_signer_and_apk_sections<R: Read + Seek>( in extract_signer_and_apk_sections()
150 fn verify<R: Read + Seek>(&self, sections: &mut ApkSections<R>) -> Result<SignedData> { in verify()
/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/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.cpp284 uint32_t receivedSsrc = mBitReader.Read(16); in ReceiveTmmbr()
285 receivedSsrc = (receivedSsrc << 16) | mBitReader.Read(16); in ReceiveTmmbr()
286 uint32_t receivedExp = mBitReader.Read(6); in ReceiveTmmbr()
287 uint32_t receivedMantissa = mBitReader.Read(17); in ReceiveTmmbr()
288 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/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/Bluetooth/system/gd/storage/
Dlegacy_config_file_test.cc49 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
87 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
178 auto config_read = LegacyConfigFile::FromPath(temp_config.string()).Read(100); in TEST()
Dstorage_module_test.cc160 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
232 auto config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
241 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
249 config = LegacyConfigFile::FromPath(temp_config_.string()).Read(kTestTempDevicesCapacity); in TEST_F()
/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/Virtualization/libs/apkzip/src/
Dziputil.rs21 use std::io::{Read, Seek};
45 pub fn zip_sections<R: Read + Seek>(mut reader: R) -> Result<ZipSections> { in zip_sections()
94 pub fn read_file<R: Read + Seek>(reader: R, file_name: &str) -> Result<Vec<u8>> { in read_file()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DLoadAccessUseCaseTest.kt64 assertThat(actual[AppAccessState.Read]!!.size).isEqualTo(0) in <lambda>()
82 assertThat(actual[AppAccessState.Read]).isNotNull() in <lambda>()
83 assertThat(actual[AppAccessState.Read]!!.size).isEqualTo(0) in <lambda>()
DAccessFragmentTest.kt95 AppAccessState.Read to listOf(AppMetadata("package1", "appName1", null)), in dataAccessFragment_readSection_isDisplayed()
119 AppAccessState.Read to listOf(AppMetadata("package1", "appName1", null)), in dataAccessFragment_readAndWriteSections_isDisplayed()
143 AppAccessState.Read to emptyList(), in dataAccessFragment_inactiveSection_isDisplayed()
195 AppAccessState.Read to listOf(TEST_APP), in whenAppNameClicked_navigatesToConnectedApp()
/packages/modules/Bluetooth/system/rust/src/gatt/mocks/
Dmock_datastore.rs34 Read( enumerator
60 self.0.send(MockDatastoreEvents::Read(tcb_idx, handle, attr_type, tx)).unwrap(); in read()
Dmock_raw_datastore.rs34 Read( enumerator
68 self.0.send(MockRawDatastoreEvents::Read(tcb_idx, handle, attr_type, offset, tx)).unwrap(); in read()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/access/
DAccessFragment.kt145 if (appMetadataMap.containsKey(AppAccessState.Read)) { in <lambda>()
146 if (appMetadataMap[AppAccessState.Read]!!.isEmpty()) { in <lambda>()
150 appMetadataMap[AppAccessState.Read]!!.forEach { _appMetadata -> in <lambda>()

12345