Searched refs:fileLocation (Results 1 - 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
H A DUtilsTest.java338 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME;
357 Arrays.equals(sha256, mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE)));
359 assertTrue(Arrays.equals(sha1, mUtils.computeHashOfFile(fileLocation, Utils.SHA1_TYPE)));
364 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME;
368 assertNull(mUtils.computeHashOfFile(fileLocation, Utils.SHA256_TYPE));
369 assertNull(mUtils.computeHashOfFile(fileLocation, Utils.SHA1_TYPE));
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
H A DEmbmsTestDownloadApp.java401 public void onDownloadDone(Uri fileLocation) { argument
402 Log.i(LOG_TAG, "File completed: " + fileLocation);
403 File imageFile = new File(fileLocation.getPath());
409 mImageAdapter.addImage(fileLocation);
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
H A DDebugSmsMmsFromDumpFileDialogFragment.java161 final String fileLocation = "file://"
165 sharingIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(fileLocation));
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DUtils.java625 public byte[] computeHashOfFile(String fileLocation, String hashType) { argument
636 fis = new FileInputStream(fileLocation);

Completed in 149 milliseconds