Home
last modified time | relevance | path

Searched refs:openRawResource (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
DPerformAdbRestoreTaskTest.java53 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull()
65 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull()
77 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull()
89 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java104 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata()
121 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata()
139 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader()
178 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
199 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
220 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_signaturesIsNull_returnsIgnore()
238 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
263 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
291 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
312 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DConfigurationProcessorTest.java54 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociations()
71 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociationsBadDisplayport()
85 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociationsEmptyConfig()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardParserTests.java94 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); in testSimple()
112 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); in testNest()
146 …InputStream inputStream = getContext().getResources().openRawResource(R.raw.v30_ios_613_multiline); in testIosMultiline()
178 getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne()
219 inputStream = getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNodesVerifier.java47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); in verify()
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), in verify()
DVCardVerifier.java138 mAndroidTestCase.getContext().getResources().openRawResource(resId); in setInputResourceId()
/frameworks/opt/bitmap/src/com/android/bitmap/
DResourceRequestKey.java55 return mResources.openRawResource(mResId); in createInputStream()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DGraphReader.java42 InputStream inputStream = context.getResources().openRawResource(resourceId); in readGraphResource()
/frameworks/base/core/java/android/content/pm/
DFallbackCategoryProvider.java51 res.openRawResource(com.android.internal.R.raw.fallback_categories)))) { in loadFallbacks()
/frameworks/base/rs/java/android/renderscript/
DScriptC.java90 InputStream is = resources.openRawResource(resourceID); in internalCreate()
DFileA3D.java298 is = res.openRawResource(id); in createFromResource()
DFont.java207 is = res.openRawResource(id); in createFromResource()
DProgram.java263 InputStream is = resources.openRawResource(resourceID); in setShader()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptC.java91 InputStream is = resources.openRawResource(resourceID); in internalCreate()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java37 try (InputStream is = resources.openRawResource(id)) { in extractApkAndGetPath()
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java131 final InputStream in = context.getResources().openRawResource(mResourceId); in load()
/frameworks/base/core/java/android/security/net/config/
DResourceCertificateSource.java60 in = mContext.getResources().openRawResource(mResourceId); in ensureInitialized()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageGLProgram.java65 new InputStreamReader(res.openRawResource(shaderId)))) { in getShaderResource()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java102 InputStream is = getResources().openRawResource(mResourceId); in onResume()
/frameworks/base/core/java/android/content/res/
DResources.java930 final InputStream is = openRawResource(id); in getMovie()
1242 public InputStream openRawResource(@RawRes int id) throws NotFoundException { in openRawResource() method in Resources
1245 return openRawResource(id, value); in openRawResource()
1299 public InputStream openRawResource(@RawRes int id, TypedValue value) in openRawResource() method in Resources
1301 return mResourcesImpl.openRawResource(id, value); in openRawResource()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java995 static InputStream openRawResource(Resources resources, int id) throws NotFoundException { in openRawResource() method in Resources_Delegate
1001 return openRawResource(resources, path); in openRawResource()
1013 static InputStream openRawResource(Resources resources, int id, TypedValue value) in openRawResource() method in Resources_Delegate
1018 return openRawResource(resources, path); in openRawResource()
1021 private static InputStream openRawResource(Resources resources, String path) in openRawResource() method in Resources_Delegate
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java167 public InputStream openRawResource(int id) throws NotFoundException { in openRawResource() method in MockResources
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java53 is = res.openRawResource(resource); in loadParser()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DOverlayBaseTest.java68 try (InputStream input = mResources.openRawResource(resId)) { in calculateRawResourceChecksum()
273 input = mResources.openRawResource(resId); in testAppRaw()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java95 try (InputStream is = context.getResources().openRawResource(apkResourceId)) { in copyApkToToTmpDir()

123