Home
last modified time | relevance | path

Searched refs:dataBytes (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp104 char* dataBytes = new char[dataSize]; in TEST_F() local
105 EXPECT_EQ((int) dataSize, reader->ReadEntityData(dataBytes, dataSize)) in TEST_F()
108 EXPECT_EQ(DATA1[i], dataBytes[i]) in TEST_F()
111 delete[] dataBytes; in TEST_F()
132 char* dataBytes; in TEST_F() local
136 dataBytes = new char[dataSize]; in TEST_F()
137 reader->ReadEntityData(dataBytes, dataSize); in TEST_F()
138 delete dataBytes; in TEST_F()
152 dataBytes = new char[dataSize]; in TEST_F()
153 EXPECT_EQ((int)dataSize, reader->ReadEntityData(dataBytes, dataSize)) in TEST_F()
[all …]
/frameworks/layoutlib/bridge/src/dalvik/system/
DVMRuntime_Delegate.java41 int dataBytes = alignedUpBytes - 20; in newUnpaddedArray() local
42 int size = dataBytes / 2; in newUnpaddedArray()
50 int dataBytes = alignedUpBytes - 20; in newUnpaddedArray() local
51 int size = dataBytes; in newUnpaddedArray()
56 int dataBytes = alignedUpBytes - 20; in newUnpaddedArray() local
57 int size = dataBytes; in newUnpaddedArray()
62 int dataBytes = alignedUpBytes - 20; in newUnpaddedArray() local
63 int size = dataBytes / 2; in newUnpaddedArray()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java106 byte[] dataBytes = IccUtils.signedIntToBytes(value); in addChildAsInteger()
107 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsInteger()
121 byte[] dataBytes = value.getBytes(StandardCharsets.UTF_8); in addChildAsString()
122 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsString()
162 byte[] dataBytes = new byte[INT_BYTES + 1]; in addChildAsBits()
166 for (int i = 1; i < dataBytes.length; i++) { in addChildAsBits()
167 dataBytes[i] = (byte) (value >> ((INT_BYTES - i) * Byte.SIZE)); in addChildAsBits()
168 if (dataBytes[i] != 0) { in addChildAsBits()
174 dataBytes[0] = IccUtils.countTrailingZeros(dataBytes[dataLength - 1]); in addChildAsBits()
175 addChild(new Asn1Node(tag, dataBytes, 0, dataLength)); in addChildAsBits()
/frameworks/base/core/java/android/app/usage/
DStorageStats.java33 /** {@hide} */ public long dataBytes; field in StorageStats
69 return dataBytes; in getDataBytes()
93 this.dataBytes = in.readLong(); in StorageStats()
105 dest.writeLong(dataBytes); in writeToParcel()
/frameworks/base/core/jni/
Dandroid_backup_BackupDataOutput.cpp73 jbyte* dataBytes = env->GetByteArrayElements(data, NULL); in writeEntityData_native() local
74 if (dataBytes == NULL) { in writeEntityData_native()
78 err = writer->WriteEntityData(dataBytes, size); in writeEntityData_native()
80 env->ReleaseByteArrayElements(data, dataBytes, JNI_ABORT); in writeEntityData_native()
Dandroid_backup_BackupDataInput.cpp104 jbyte* dataBytes = env->GetByteArrayElements(data, NULL); in readEntityData_native() local
105 if (dataBytes == NULL) { in readEntityData_native()
109 err = reader->ReadEntityData(dataBytes+offset, size); in readEntityData_native()
111 env->ReleaseByteArrayElements(data, dataBytes, 0); in readEntityData_native()
Dandroid_hardware_camera2_CameraMetadata.cpp119 size_t dataBytes) { in updateAny()
128 if (dataBytes % typeSize != 0) { in updateAny()
130 "(%zu)", __FUNCTION__, dataBytes, typeSize); in updateAny()
134 size_t dataCount = dataBytes / typeSize; in updateAny()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java108 byte[] dataBytes = dataJSON.toString().getBytes(JSON_FORMAT_ENCODING); in performBackup()
110 byte[] newMd5Checksum = generateMd5Checksum(dataBytes); in performBackup()
112 int dataSize = dataBytes.length; in performBackup()
114 output.writeEntityData(dataBytes, dataSize); in performBackup()
251 byte[] dataBytes = new byte[data.size()]; in restoreEntity()
254 data.read(dataBytes); in restoreEntity()
255 String dataString = new String(dataBytes, JSON_FORMAT_ENCODING); in restoreEntity()
/frameworks/av/include/drm/
Ddrm_framework_common.h75 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() argument
76 data(dataBytes), in DrmBuffer()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DStorageStatsSourceTest.java34 storageStats.dataBytes = 100; in AppStorageStatsImpl_totalCorrectly()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java559 private void deserializeData(@NonNull byte[] dataBytes, @NonNull StoreFile storeFile) in deserializeData() argument
562 if (dataBytes == null) { in deserializeData()
567 final ByteArrayInputStream inputStream = new ByteArrayInputStream(dataBytes); in deserializeData()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DBearerData.java785 int dataBytes = (dataBits / 8); in encodeDtmfSmsAddress() local
786 dataBytes += (dataBits % 8) > 0 ? 1 : 0; in encodeDtmfSmsAddress()
787 byte[] rawData = new byte[dataBytes]; in encodeDtmfSmsAddress()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java454 res.dataBytes = stats.dataSize + stats.externalDataSize; in translate()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java196 storageStats.dataBytes = storageStats.cacheBytes + 20; in setUp()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt10045 Landroid/app/usage/StorageStats;->dataBytes:J