Searched defs:rawResId (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/server/
H A DMountServiceTests.java119 private void copyRawToFile(int rawResId, File outFile) { argument
123 is = res.openRawResource(rawResId);
125 fail("Failed to load resource with id: " + rawResId);
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java224 * @param rawResId The raw resource ID of the OBB resource file
228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException { argument
232 is = res.openRawResource(rawResId);
234 Log.i(LOG_TAG, "Failed to load resource with id: " + rawResId);
248 * @param rawResId The raw resource ID of the OBB file in the package
251 protected File createObbFile(String name, int rawResId) { argument
256 copyRawToFile(rawResId, outFile);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java443 InstallParams(String outFileName, int rawResId) { argument
444 this.pkg = getParsedPackage(outFileName, rawResId);
551 private PackageParser.Package getParsedPackage(String outFileName, int rawResId) { argument
555 Uri packageURI = getInstallablePackage(rawResId, outFile);
608 int rawResId, int flags, boolean cleanUp, boolean fail, int result,
610 InstallParams ip = new InstallParams(outFileName, rawResId);
1490 int rawResId, int installFlags, int moveFlags, boolean cleanUp,
1497 ip = installFromRawResource("install.apk", rawResId, installFlags, false,
1625 int rawResId = R.raw.install;
2640 int rawResId
607 installFromRawResource(String outFileName, int rawResId, int flags, boolean cleanUp, boolean fail, int result, int expInstallLocation) argument
1489 moveFromRawResource(String outFileName, int rawResId, int installFlags, int moveFlags, boolean cleanUp, boolean fail, int result) argument
[all...]

Completed in 76 milliseconds