Home
last modified time | relevance | path

Searched refs:Bytes (Results 1 – 25 of 67) sorted by relevance

123

/aosp12/frameworks/av/media/libstagefright/rtsp/
H A DTrafficRecorder.h27 template <class Time, class Bytes>
36 Bytes *mBytesArray = NULL;
45 Bytes mAccuBytes;
53 Bytes readBytesForTotal();
55 void writeBytes(Bytes bytes);
59 template <class Time, class Bytes>
83 template <class Time, class Bytes>
109 Bytes TrafficRecorder<Time, Bytes>::readBytesForTotal() { in readBytesForTotal()
114 Bytes TrafficRecorder<Time, Bytes>::readBytesForLastPeriod(Time period) { in readBytesForLastPeriod()
119 Bytes bytes = 0; in readBytesForLastPeriod()
[all …]
H A DARTPWriter.h121 typedef uint64_t Bytes; typedef
122 sp<TrafficRecorder<uint32_t /* Time */, Bytes> > mTrafficRec;
/aosp12/frameworks/base/cmds/incidentd/testdata/
H A Dkmsg.txt5 D - 104829 - APPSBL Image Loaded, Delta - (2498816 Bytes)
8 S - Flash Throughput, 129000 KB/s (4729638 Bytes, 36613 us)
17 D - 3386 - QSEE Dev Config Image Loaded, Delta - (46232 Bytes)
20 D - 2166 - APDP Image Loaded, Delta - (7696 Bytes)
23 D - 50782 - QSEE Image Loaded, Delta - (1648640 Bytes)
25 D - 244 - SEC Image Loaded, Delta - (4096 Bytes)
32 D - 11010 - QHEE Image Loaded, Delta - (258280 Bytes)
35 D - 10736 - RPM Image Loaded, Delta - (224104 Bytes)
37 D - 0 - STI Image Loaded, Delta - (0 Bytes)
45 D - 104828 - APPSBL Image Loaded, Delta - (2498816 Bytes)
H A Dkmsg.txt.gz
/aosp12/system/bt/gd/rust/link/src/acl/
H A Dfragment.rs8 use bytes::{Buf, Bytes, BytesMut};
20 out: Sender<Bytes>,
25 pub fn new(out: Sender<Bytes>) -> Self { in new()
80 fn get_l2cap_pdu_size(first_packet: &Bytes) -> usize { in get_l2cap_pdu_size()
91 rx: ReceiverStream<Bytes>, in fragmenting_stream() argument
112 payload: Some(Bytes::copy_from_slice(chunk)), in fragmenting_stream()
H A Dcore.rs9 use bytes::Bytes;
31 pub rx: Option<Receiver<Bytes>>,
32 pub tx: Option<Sender<Bytes>>,
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
H A DEncryptedFullBackupDataProcessorTest.java41 import com.google.common.primitives.Bytes;
120 byte[] inputData = Bytes.concat(TEST_DATA_1, TEST_DATA_2); in pushData_writesDataToTask()
130 assertThat(result).isEqualTo(Bytes.concat(TEST_DATA_1, TEST_DATA_2)); in pushData_writesDataToTask()
161 byte[] inputData = Bytes.concat(TEST_DATA_1, TEST_DATA_2); in pushData_exceptionDuringUpload_returnsError()
176 byte[] inputData = Bytes.concat(TEST_DATA_1, TEST_DATA_2); in pushData_quotaExceptionDuringUpload_doesNotLogAndReturnsQuotaExceeded()
193 byte[] inputData = Bytes.concat(TEST_DATA_1, TEST_DATA_2); in pushData_unexpectedEncryptedBackup_logs()
207 byte[] inputData = Bytes.concat(TEST_DATA_1, TEST_DATA_2); in pushData_permanentExceptionDuringUpload_callsErrorCallback()
H A DEncryptedFullRestoreTaskTest.java29 import com.google.common.primitives.Bytes;
127 return Bytes.toArray(Bytes.asList(input).stream().map(b -> b + 1).collect(toList())); in fakeDecrypt()
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
H A DBackupFileBuilderTest.java43 import com.google.common.primitives.Bytes;
116 Bytes.concat( in writeChunks_nonIncremental_writesCorrectRawData()
121 assertThat(actual).asList().containsExactlyElementsIn(Bytes.asList(expected)).inOrder(); in writeChunks_nonIncremental_writesCorrectRawData()
136 Bytes.concat( in writeChunks_nonIncrementalWithDuplicates_writesEachChunkOnlyOnce()
141 assertThat(actual).asList().containsExactlyElementsIn(Bytes.asList(expected)).inOrder(); in writeChunks_nonIncrementalWithDuplicates_writesEachChunkOnlyOnce()
160 Bytes.concat( in writeChunks_incremental_writesParsableDiffScript()
167 assertThat(actual).asList().containsExactlyElementsIn(Bytes.asList(expected)).inOrder(); in writeChunks_incremental_writesParsableDiffScript()
186 Bytes.concat( in writeChunks_incrementalWithDuplicates_writesEachChunkOnlyOnce()
193 assertThat(actual).asList().containsExactlyElementsIn(Bytes.asList(expected)).inOrder(); in writeChunks_incrementalWithDuplicates_writesEachChunkOnlyOnce()
212 Bytes.concat( in writeChunks_writesChunksInOrderOfHash()
[all …]
H A DEncryptedChunkTest.java27 import com.google.common.primitives.Bytes;
72 .containsExactlyElementsIn(Bytes.asList(ENCRYPTED_BYTES_1)) in testEncryptedBytes_forNewlyCreatedObject_returnsCorrectValue()
95 assertThat(returnedNonce).asList().containsExactlyElementsIn(Bytes.asList(NONCE_1)); in testNonce_forNewlycreatedObject_returnCorrectValue()
H A DRawBackupWriterTest.java27 import com.google.common.primitives.Bytes;
56 .containsExactlyElementsIn(Bytes.asList(TEST_BYTES)) in writeBytes_writesToOutputStream()
H A DDiffScriptBackupWriterTest.java27 import com.google.common.primitives.Bytes;
62 .containsExactlyElementsIn(Bytes.asList(TEST_BYTES)) in writeBytes_writesBytesToWriter()
H A DDecryptedChunkFileOutputTest.java28 import com.google.common.primitives.Bytes;
94 .isEqualTo(Bytes.concat(TEST_CHUNK_1, TEST_CHUNK_2)); in processChunk_writesChunksToFile()
/aosp12/frameworks/base/libs/hwui/jni/
H A DGIFMovie.cpp78 const uint8_t* b = (const uint8_t*)image->ExtensionBlocks[j].Bytes; in savedimage_duration()
234 bool has_transparency = ((eb->Bytes[0] & 1) == 1); in drawFrame()
236 transparent = (unsigned char)eb->Bytes[3]; in drawFrame()
269 int disposal = ((eb->Bytes[0] >> 2) & 7); in checkIfWillBeCleared()
286 *trans = ((eb->Bytes[0] & 1) == 1); in getTransparencyAndDisposalMethod()
287 *disposal = ((eb->Bytes[0] >> 2) & 7); in getTransparencyAndDisposalMethod()
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunk/
H A DEncryptedChunkOrderingTest.java23 import com.google.common.primitives.Bytes;
44 .containsExactlyElementsIn(Bytes.asList(TEST_BYTE_ARRAY_1)) in testEncryptedChunkOrdering_returnsValue()
H A DChunkHashTest.java23 import com.google.common.primitives.Bytes;
44 assertThat(hash).asList().containsExactlyElementsIn(Bytes.asList(TEST_HASH_1)).inOrder(); in testGetHash_returnsHash()
/aosp12/build/soong/third_party/zip/
H A Dandroid_test.go105 fromZipReader, err := NewReader(bytes.NewReader(fromZipBytes.Bytes()), int64(fromZipBytes.Len()))
126 toZipReader, err := NewReader(bytes.NewReader(toZipBytes.Bytes()), int64(toZipBytes.Len()))
171 buf := zipBytes.Bytes()
H A Dwriter_test.go81 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
116 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
/aosp12/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp78 && !memcmp((const char*)(eb1->Bytes), "NETSCAPE2.0", 11) in FrameSequence_gif()
82 && eb2->Bytes[0] == 1) { in FrameSequence_gif()
83 mLoopCount = (int)(eb2->Bytes[2] << 8) + (int)(eb2->Bytes[1]); in FrameSequence_gif()
/aosp12/hardware/interfaces/media/omx/1.0/
H A DIOmxNode.hal73 Bytes inParams
76 Bytes outParams
90 Bytes params
107 Bytes inConfig
110 Bytes outConfig
124 Bytes config
/aosp12/packages/apps/Tag/src/com/android/apps/tag/record/
H A DTextRecord.java22 import com.google.common.primitives.Bytes;
145 byte[] data = Bytes.concat( in newTextRecord()
/aosp12/build/soong/cmd/merge_zips/
H A Dmerge_zips_test.go271 if !bytes.Equal(want, out.Bytes()) {
274 t.Errorf("got:\n%s", dumpZip(out.Bytes()))
306 return b.Bytes()
/aosp12/system/bt/gd/rust/link/src/acl/classic/
H A Dmod.rs15 use bytes::Bytes;
58 rx: Receiver<Bytes>,
59 tx: Sender<Bytes>,
/aosp12/build/soong/cmd/zip2zip/
H A Dzip2zip_test.go433 inputBytes := inputBuf.Bytes()
447 outputBytes := outputBuf.Bytes()
/aosp12/build/soong/cmd/diff_target_files/
H A Dallow_list.go172 if match, err := lineMatchesIgnores(s.Bytes()); err != nil {
176 ret = append(ret, s.Bytes()...)

123