Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java113 int dataSize = payloadBody.length - KE_HEADER_LEN; in IkeKePayload() local
118 isValidSyntax = DH_GROUP_1024_BIT_MODP_DATA_LEN == dataSize; in IkeKePayload()
121 isValidSyntax = DH_GROUP_2048_BIT_MODP_DATA_LEN == dataSize; in IkeKePayload()
124 isValidSyntax = DH_GROUP_3072_BIT_MODP_DATA_LEN == dataSize; in IkeKePayload()
127 isValidSyntax = DH_GROUP_4096_BIT_MODP_DATA_LEN == dataSize; in IkeKePayload()
137 keyExchangeData = new byte[dataSize]; in IkeKePayload()
/packages/apps/TV/jni/
Dtunertvinput_jni.cpp171 int dataSize = dvbManager->readTsStream(env, thiz, tsBuffer, readBufferSize, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() local
173 if (dataSize == 0) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
176 } else if (dataSize < 0) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
180 sTotalBytesFetched += dataSize; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
182 env->SetByteArrayRegion(javaBuffer, 0, dataSize, (jbyte *)tsBuffer); in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
183 return dataSize; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
/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.java563 long dataSize = result.getDataBytes() - cacheSize;
565 if (dataSize <= 0 || !mCanClearData || mDataCleared) {
/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/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/Car/Settings/src/com/android/car/settings/storage/
DStorageAsyncLoader.java98 long dataSize = stats.getDataBytes(); in getStorageResultForUser() local
101 long blamedSize = dataSize; in getStorageResultForUser()
DAppStorageSettingsDetailsFragment.java235 long dataSize = data.getDataBytes() - cacheSize; in onDataLoaded() local
237 mClearStorageButton.setEnabled(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/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/Messaging/src/com/android/messaging/util/exif/
DExifParser.java552 int dataSize = tag.getDataSize(); in readTag() local
553 if (dataSize > 4) { in readTag()
578 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/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/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/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/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/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.java582 final int dataSize = (int) getMediaFileSize(attachmentUri); in addOtherPart() local
586 return dataSize; in addOtherPart()