Searched refs:fileLocation (Results 1 – 4 of 4) sorted by relevance
339 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME; in testComputeHashOfFile() local355 Arrays.equals(sha256, mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE))); in testComputeHashOfFile()360 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME; in testComputeHashOfFile_NotPresent() local364 assertNull(mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE)); in testComputeHashOfFile_NotPresent()
409 public void onDownloadDone(Uri fileLocation) { in onDownloadDone() argument410 Log.i(LOG_TAG, "File completed: " + fileLocation); in onDownloadDone()411 File imageFile = new File(fileLocation.getPath()); in onDownloadDone()417 mImageAdapter.addImage(fileLocation); in onDownloadDone()
161 final String fileLocation = "file://" in emailDumpFile() local165 sharingIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(fileLocation)); in emailDumpFile()
717 public byte[] computeHashOfFile(String fileLocation, String hashType) { in computeHashOfFile() argument728 fis = new FileInputStream(fileLocation); in computeHashOfFile()