[go: nahoru, domu]

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java109 private void copyRawToFile(int rawResId, File outFile) { argument
113 is = res.openRawResource(rawResId);
115 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.java579 InstallParams(String outFileName, int rawResId) throws PackageParserException { argument
580 this.pkg = getParsedPackage(outFileName, rawResId);
691 private PackageParser.Package getParsedPackage(String outFileName, int rawResId) argument
696 Uri packageURI = getInstallablePackage(rawResId, outFile);
745 private InstallParams installFromRawResource(String outFileName, int rawResId, int flags, argument
747 InstallParams ip = new InstallParams(outFileName, rawResId);
1612 private void moveFromRawResource(String outFileName, int rawResId, int installFlags, argument
1619 ip = installFromRawResource("install.apk", rawResId, installFlags, false,
1743 int rawResId = R.raw.install;
2775 int rawResId
[all...]

Completed in 100 milliseconds