Home
last modified time | relevance | path

Searched refs:fileLength (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiDownloadReceiver.java117 int fileLength = connection.getContentLength(); in doInBackground() local
119 if (fileLength != bytesRead) { in doInBackground()
120 return "Expected file of size " + fileLength + " but only received " in doInBackground()
123 Log.d(PMCMainActivity.TAG, "Downloaded file size " + fileLength); in doInBackground()
125 mBytesCount += fileLength; in doInBackground()
/packages/apps/Camera2/src/com/android/camera/session/
DStackSaverImpl.java70 long fileLength = outputImagePath.length(); in saveStackedImage() local
71 if (fileLength > 0) { in saveStackedImage()
73 mGpsLocation, imageOrientation, fileLength, filePath, width, height, in saveStackedImage()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java86 int fileLength = (int) file.length(); in testExtraOutput() local
87 assertTrue(fileLength > 0); in testExtraOutput()
88 jpegData = new byte[fileLength]; in testExtraOutput()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java91 int fileLength = (int) file.length(); in testExtraOutput() local
92 assertTrue(fileLength > 0); in testExtraOutput()
93 jpegData = new byte[fileLength]; in testExtraOutput()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java125 long fileLength = writeFile(path, data, exif); in addImage() local
126 if (fileLength >= 0) { in addImage()
127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, in addImage()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1034 long fileLength = file.length(); in rewriteExif() local
1035 if (fileLength < exifSize) { in rewriteExif()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1034 long fileLength = file.length(); in rewriteExif() local
1035 if (fileLength < exifSize) { in rewriteExif()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1019 long fileLength = file.length(); in rewriteExif() local
1020 if (fileLength < exifSize) { in rewriteExif()