Searched refs:fileLocation (Results 1 - 3 of 3) 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/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 219 milliseconds