Searched refs:dataBytes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_backup_BackupDataOutput.cpp | 74 jbyte* dataBytes = env->GetByteArrayElements(data, NULL); in writeEntityData_native() local 75 if (dataBytes == NULL) { in writeEntityData_native() 79 err = writer->WriteEntityData(dataBytes, size); in writeEntityData_native() 81 env->ReleaseByteArrayElements(data, dataBytes, JNI_ABORT); in writeEntityData_native()
|
D | android_backup_BackupDataInput.cpp | 102 jbyte* dataBytes = env->GetByteArrayElements(data, NULL); in readEntityData_native() local 103 if (dataBytes == NULL) { in readEntityData_native() 107 err = reader->ReadEntityData(dataBytes+offset, size); in readEntityData_native() 109 env->ReleaseByteArrayElements(data, dataBytes, 0); in readEntityData_native()
|
/frameworks/base/include/drm/ |
D | drm_framework_common.h | 74 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() argument 75 data(dataBytes), in DrmBuffer()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 681 int dataBytes = (dataBits / 8); in encodeDtmfSmsAddress() local 682 dataBytes += (dataBits % 8) > 0 ? 1 : 0; in encodeDtmfSmsAddress() 683 byte[] rawData = new byte[dataBytes]; in encodeDtmfSmsAddress()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4560 private long getTcpBytes(long current, long[] dataBytes, int which) { in getTcpBytes() argument 4562 return dataBytes[STATS_LAST]; in getTcpBytes() 4565 if (dataBytes[STATS_SINCE_UNPLUGGED] < 0) { in getTcpBytes() 4566 return dataBytes[STATS_LAST]; in getTcpBytes() 4568 return current - dataBytes[STATS_SINCE_UNPLUGGED]; in getTcpBytes() 4571 return (current - dataBytes[STATS_CURRENT]) + dataBytes[STATS_SINCE_CHARGED]; in getTcpBytes() 4573 return current - dataBytes[STATS_CURRENT]; in getTcpBytes()
|