/frameworks/base/libs/androidfw/tests/ |
D | BackupData_test.cpp | 104 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/delegates/src/dalvik/system/ |
D | VMRuntimeCommonHelper.java | 35 int dataBytes = alignedUpBytes - 20; in newUnpaddedArray() local 36 int size = dataBytes / 2; in newUnpaddedArray() 44 int dataBytes = alignedUpBytes - 20; in newUnpaddedArray() local 45 int size = dataBytes; 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 / 2; in newUnpaddedArray()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 106 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/ |
D | StorageStats.java | 33 /** {@hide} */ public long dataBytes; field in StorageStats 64 return dataBytes; in getDataBytes() 99 this.dataBytes = in.readLong(); in StorageStats() 112 dest.writeLong(dataBytes); in writeToParcel()
|
/frameworks/base/core/jni/ |
D | android_backup_BackupDataOutput.cpp | 73 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()
|
D | android_backup_BackupDataInput.cpp | 104 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()
|
D | android_hardware_camera2_CameraMetadata.cpp | 120 size_t dataBytes) { in updateAny() 129 if (dataBytes % typeSize != 0) { in updateAny() 131 "(%zu)", __FUNCTION__, dataBytes, typeSize); in updateAny() 135 size_t dataCount = dataBytes / typeSize; in updateAny()
|
/frameworks/base/core/java/com/android/server/backup/ |
D | AccountSyncSettingsBackupHelper.java | 108 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/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommandDataLoader.java | 210 final byte[] dataBytes = this.mData.getBytes(StandardCharsets.UTF_8); in toByteArray() 213 int dataSize = dataBytes.length; in toByteArray() 222 System.arraycopy(dataBytes, 0, result, offset, dataSize); in toByteArray() 228 result = new byte[1 + dataBytes.length]; in toByteArray() 230 System.arraycopy(dataBytes, 0, result, 1, dataBytes.length); in toByteArray()
|
/frameworks/av/include/drm/ |
D | drm_framework_common.h | 75 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() argument 76 data(dataBytes), in DrmBuffer()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/ |
D | StorageStatsSourceTest.java | 34 storageStats.dataBytes = 100; in AppStorageStatsImpl_totalCorrectly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationMemoryMeter.kt | 243 val refId = System.identityHashCode(icon.dataBytes) in <lambda>()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 870 int dataBytes = (dataBits / 8); in encodeDtmfSmsAddress() local 871 dataBytes += (dataBits % 8) > 0 ? 1 : 0; in encodeDtmfSmsAddress() 872 byte[] rawData = new byte[dataBytes]; in encodeDtmfSmsAddress()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ApplicationsStateRoboTest.java | 200 storageStats.dataBytes = storageStats.cacheBytes + 20; in setUp()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 563 res.dataBytes = stats.dataSize + stats.externalDataSize; in translate()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 9322 Landroid/app/usage/StorageStats;->dataBytes:J
|