Home
last modified time | relevance | path

Searched refs:getDataSize (Results 1 – 25 of 48) sorted by relevance

12

/aosp12/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java358 return getDataSize(); in toByteArray()
361 int getDataSize() { in getDataSize() method in HdmiTimerRecordSources.TimerInfo
389 int getDataSize() { in getDataSize() method in HdmiTimerRecordSources.TimerRecordSource
390 return mTimerInfo.getDataSize() + mRecordSource.getDataSize(false); in getDataSize()
399 return getDataSize(); in toByteArray()
419 super(recordSource.mSourceType, recordSource.getDataSize(false) + 1); in ExternalSourceDecorator()
428 return getDataSize(false); in extraParamToByteArray()
H A DHdmiTvClient.java252 byte[] data = new byte[source.getDataSize(true)];
292 byte[] data = new byte[source.getDataSize(true)];
343 byte[] data = new byte[source.getDataSize()];
373 byte[] data = new byte[source.getDataSize()];
H A DHdmiRecordSources.java72 /* package */ final int getDataSize(boolean includeType) { in getDataSize() method in HdmiRecordSources.RecordSource
89 return getDataSize(includeType); in toByteArray()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java177 int dataSize = bdi.getDataSize(); in testReadMockData()
207 int dataSize = bdi.getDataSize(); in testReadRealData()
267 expectedData.length, bdi.getDataSize()); in readAndVerifyEntity()
268 byte[] data = new byte[bdi.getDataSize()]; in readAndVerifyEntity()
269 bdi.readEntityData(data, 0, bdi.getDataSize()); in readAndVerifyEntity()
282 -1, bdi.getDataSize()); in readAndVerifyDeletedEntity()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DCellularNetworkTestUtil.java65 int plmnsSize = getDataSize(plmnList); in formatPLMNListIEI()
87 public static int getDataSize(byte[][] dataArray) { in getDataSize() method in CellularNetworkTestUtil
H A DThreeGPPNetworkElementTest.java73 int totalIeiSize = CellularNetworkTestUtil.getDataSize(ieiList); in getTestData()
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifOutputStream.java292 if (tag.getDataSize() > 4) { in writeIfd()
296 for (int i = 0, n = 4 - tag.getDataSize(); i < n; i++) { in writeIfd()
303 if (tag.getDataSize() > 4) { in writeIfd()
313 if (tag.getDataSize() > 4) { in calculateOffsetOfIfd()
315 offset += tag.getDataSize(); in calculateOffsetOfIfd()
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifOutputStream.java292 if (tag.getDataSize() > 4) { in writeIfd()
296 for (int i = 0, n = 4 - tag.getDataSize(); i < n; i++) { in writeIfd()
303 if (tag.getDataSize() > 4) { in writeIfd()
313 if (tag.getDataSize() > 4) { in calculateOffsetOfIfd()
315 offset += tag.getDataSize(); in calculateOffsetOfIfd()
/aosp12/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifOutputStream.java292 if (tag.getDataSize() > 4) { in writeIfd()
296 for (int i = 0, n = 4 - tag.getDataSize(); i < n; i++) { in writeIfd()
303 if (tag.getDataSize() > 4) { in writeIfd()
313 if (tag.getDataSize() > 4) { in calculateOffsetOfIfd()
315 offset += tag.getDataSize(); in calculateOffsetOfIfd()
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifOutputStream.java296 if (tag.getDataSize() > 4) { in writeIfd()
300 for (int i = 0, n = 4 - tag.getDataSize(); i < n; i++) { in writeIfd()
307 if (tag.getDataSize() > 4) { in writeIfd()
317 if (tag.getDataSize() > 4) { in calculateOffsetOfIfd()
319 offset += tag.getDataSize(); in calculateOffsetOfIfd()
/aosp12/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
H A DKvBackupEncrypter.java168 if (input.getDataSize() < 0) { in readEntireValue()
172 byte[] value = new byte[input.getDataSize()]; in readEntireValue()
/aosp12/frameworks/base/media/java/android/media/midi/
H A DMidiPortImpl.java114 public static int getDataSize(byte[] buffer, int bufferLength) { in getDataSize() method in MidiPortImpl
H A DMidiOutputPort.java72 int size = MidiPortImpl.getDataSize(buffer, count);
/aosp12/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java143 public int getDataSize() { in getDataSize() method in BackupDataInput
H A DBackupHelperDispatcher.java121 stream.dataSize = input.getDataSize(); in performRestore()
/aosp12/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataInput.java84 protected int getDataSize() { in getDataSize() method in ShadowBackupDataInput
/aosp12/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java99 final int size = data.getDataSize(); in onRestore()
194 byte[] dictCompressed = new byte[data.getDataSize()]; in restoreDictionary()
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
H A DShadowBackupDataInput.java92 public int getDataSize() { in getDataSize() method in ShadowBackupDataInput
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java444 int dataSize = data.getDataSize(); in getAncestralRecordVersionValue()
684 int dataSize = data.getDataSize(); in consumeRestoreData()
769 int dataSize = data.getDataSize(); in consumeRestoreData()
H A DKeyValueAdbRestoreEngine.java129 int size = in.getDataSize(); in copyKeysInLexicalOrder()
/aosp12/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java226 int dataSize = data.getDataSize(); in onRestore()
/aosp12/frameworks/base/core/java/android/print/
H A DPrintDocumentInfo.java199 public @IntRange(from = 0) long getDataSize() { in getDataSize() method in PrintDocumentInfo
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
H A DPerformUnifiedRestoreTaskTest.java96 when(mBackupDataInput.getDataSize()).thenReturn(0); in setUp()
/aosp12/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
H A DBlockedNumberBackupAgent.java209 byte[] byteArray = new byte[data.getDataSize()]; in readBlockedNumberFromData()
/aosp12/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
H A DExifTag.java184 int getDataSize() { in getDataSize() method in ExifTag

12