Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 21 of 21) sorted by relevance

/packages/apps/TV/jni/
Dtunertvinput_jni.cpp147 int dataSize = dvbManager->readTsStream(env, thiz, tsBuffer, readBufferSize, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() local
149 if (dataSize == 0) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
152 } else if (dataSize < 0) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
156 sTotalBytesFetched += dataSize; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
158 env->SetByteArrayRegion(javaBuffer, 0, dataSize, (jbyte *)tsBuffer); in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
159 return dataSize; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStorageSizesController.java74 long dataSize = in updateUi() local
80 if (mLastDataSize != dataSize) { in updateUi()
81 mLastDataSize = dataSize; in updateUi()
82 mDataSize.setSummary(getSizeStr(context, dataSize)); in updateUi()
90 long totalSize = codeSize + dataSize + cacheSize; in updateUi()
DAppStorageSettings.java563 long dataSize = result.getDataBytes() - cacheSize;
565 if (dataSize <= 0 || !mCanClearData || mDataCleared) {
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java74 long dataSize = in updateUi() local
80 if (mLastDataSize != dataSize) { in updateUi()
81 mLastDataSize = dataSize; in updateUi()
82 mDataSize.setSummary(getSizeStr(context, dataSize)); in updateUi()
90 long totalSize = codeSize + dataSize + cacheSize; in updateUi()
DAppStorageSettings.java567 long dataSize = result.getDataBytes() - cacheSize;
569 if (dataSize <= 0 || !mCanClearData || mDataCleared) {
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp602 size_t dataSize = 0; in com_android_terminal_Terminal_nativeGetCellRun() local
621 if (dataSize + size <= data.size()) { in com_android_terminal_Terminal_nativeGetCellRun()
623 data[dataSize++] = rawCell; in com_android_terminal_Terminal_nativeGetCellRun()
625 data[dataSize++] = (((rawCell - 0x10000) >> 10) & 0x3ff) + 0xd800; in com_android_terminal_Terminal_nativeGetCellRun()
626 data[dataSize++] = ((rawCell - 0x10000) & 0x3ff) + 0xdc00; in com_android_terminal_Terminal_nativeGetCellRun()
630 data[dataSize++] = ' '; in com_android_terminal_Terminal_nativeGetCellRun()
640 env->SetIntField(run, cellRunDataSizeField, dataSize); in com_android_terminal_Terminal_nativeGetCellRun()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.h32 const int dataSize) in SparseTable() argument
34 mBlockSize(blockSize), mDataSize(dataSize) {} in SparseTable()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java109 final long dataSize = stats.getDataBytes(); in getStorageResultForUser() local
112 long blamedSize = dataSize; in getStorageResultForUser()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java98 long dataSize = stats.getDataBytes(); in getStorageResultForUser() local
101 long blamedSize = dataSize; in getStorageResultForUser()
DAppStorageSettingsDetailsFragment.java242 long dataSize = data.getDataBytes() - cacheSize; in onDataLoaded() local
244 if (dataSize <= 0 || !mCanClearData || mDataCleared) { in onDataLoaded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageAsyncLoader.java109 final long dataSize = stats.getDataBytes(); in getStorageResultForUser() local
112 long blamedSize = dataSize; in getStorageResultForUser()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java550 int dataSize = tag.getDataSize(); in readTag() local
551 if (dataSize > 4) { in readTag()
574 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifParser.java552 int dataSize = tag.getDataSize(); in readTag() local
553 if (dataSize > 4) { in readTag()
576 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifParser.java550 int dataSize = tag.getDataSize(); in readTag() local
551 if (dataSize > 4) { in readTag()
574 mTiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifParser.java510 int dataSize = tag.getDataSize(); in readTag() local
511 if (dataSize > 4) { in readTag()
533 tiffStream.skip(4 - dataSize); in readTag()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java225 long dataSize, int category) throws Exception { in addPackage() argument
229 when(storageStats.getDataBytes()).thenReturn(dataSize + cacheSize); in addPackage()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java232 long dataSize, int category) throws Exception { in addPackage() argument
235 stats.dataBytes = dataSize + cacheSize; in addPackage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DClearDataPreference.java43 Formatter.formatFileSize(context, mEntry.dataSize + mEntry.externalDataSize)); in refresh()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java78 canvas.drawPosText(m.run.data, 0, m.run.dataSize, m.pos, m.textPaint); in onDraw()
DTerminal.java41 int dataSize; field in Terminal.CellRun
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java577 final int dataSize = (int) getMediaFileSize(attachmentUri); in addOtherPart() local
581 return dataSize; in addOtherPart()