/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/ |
D | PerformAdbRestoreTaskTest.java | 53 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/tests/Input/src/com/android/server/input/ |
D | ConfigurationProcessorTest.java | 52 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociations() 69 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociationsBadDisplayport() 83 InputStream xml = mContext.getResources().openRawResource(res); in testGetInputPortAssociationsEmptyConfig()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | TarBackupReaderTest.java | 114 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata() 131 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata() 149 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader() 188 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupEncrypted_correctlyParsesAppManifest() 209 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest() 230 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_signaturesIsNull_returnsIgnore() 248 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() 273 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore() 301 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore() 322 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardParserTests.java | 94 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/ |
D | PropertyNodesVerifier.java | 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); in verify() 52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), in verify()
|
D | VCardVerifier.java | 138 mAndroidTestCase.getContext().getResources().openRawResource(resId); in setInputResourceId()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ResourceRequestKey.java | 55 return mResources.openRawResource(mResId); in createInputStream()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 42 InputStream inputStream = context.getResources().openRawResource(resourceId); in readGraphResource()
|
/frameworks/base/core/java/android/content/pm/ |
D | FallbackCategoryProvider.java | 51 res.openRawResource(com.android.internal.R.raw.fallback_categories)))) { in loadFallbacks()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 131 InputStream is = resources.openRawResource(resourceID); in internalCreate()
|
D | FileA3D.java | 299 is = res.openRawResource(id); in createFromResource()
|
D | Font.java | 208 is = res.openRawResource(id); in createFromResource()
|
D | Program.java | 267 InputStream is = resources.openRawResource(resourceID); in setShader()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptC.java | 113 InputStream is = resources.openRawResource(resourceID); in internalCreate()
|
/frameworks/base/core/java/android/security/net/config/ |
D | ResourceCertificateSource.java | 60 in = mContext.getResources().openRawResource(mResourceId); in ensureInitialized()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtoneOverlayService.java | 84 InputStream is = getResources().openRawResource(id); in copyResourceAndSetAsSound()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | IllustrationPreferenceTest.java | 204 doReturn(new ByteArrayInputStream(new byte[] {})).when(res).openRawResource(111); in handleImageWithAnimation_emptyInputStreamEnabledFlag_verifyContainerHidden() 218 doReturn(new ByteArrayInputStream(new byte[] { 1, 2, 3 })).when(res).openRawResource(111); in handleImageWithAnimation_nonEmptyInputStreamEnabledFlag_verifyContainerVisible()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 166 final InputStream in = context.getResources().openRawResource(mResourceId); in load()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
D | PackageParsingDeferErrorTest.kt | 118 context.resources.openRawResource(id).use { input -> in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 40 try (InputStream is = resources.openRawResource(id)) { in extractApkAndGetPath()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockResources.java | 167 public InputStream openRawResource(int id) throws NotFoundException { in openRawResource() method in MockResources
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
D | UsbDescriptorParserTests.java | 53 is = res.openRawResource(resource); in loadParser()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 1003 static InputStream openRawResource(Resources resources, int id) throws NotFoundException { in openRawResource() method in Resources_Delegate 1009 return openRawResource(resources, path); in openRawResource() 1021 static InputStream openRawResource(Resources resources, int id, TypedValue value) in openRawResource() method in Resources_Delegate 1026 return openRawResource(resources, path); in openRawResource() 1029 private static InputStream openRawResource(Resources resources, String path) in openRawResource() method in Resources_Delegate
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 1029 final InputStream is = openRawResource(id); in getMovie() 1341 public InputStream openRawResource(@RawRes int id) throws NotFoundException { in openRawResource() method in Resources 1344 return openRawResource(id, value); in openRawResource() 1398 public InputStream openRawResource(@RawRes int id, TypedValue value) in openRawResource() method in Resources 1400 return mResourcesImpl.openRawResource(id, value); in openRawResource()
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 89 try (InputStream input = mResources.openRawResource(resId)) { in calculateRawResourceChecksum() 294 input = mResources.openRawResource(resId); in testAppRaw()
|