/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 157 Typeface.createFromAsset(mContext.getAssets(), null); in testCreateFromAssetNullPath() 163 Typeface.createFromAsset(mContext.getAssets(), "invalid path"); in testCreateFromAssetInvalidPath() 168 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "samplefont.ttf"); in testCreateFromAsset() 218 InputStream is = mContext.getAssets().open("samplefont.ttf"); in obtainPath() 232 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "bombfont.ttf"); in testInvalidCmapFont() 244 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "bombfont2.ttf"); in testInvalidCmapFont2() 256 Typeface typeface1 = Typeface.createFromAsset(mContext.getAssets(), "bombfont2.ttf"); in testCreateFromAsset_cachesTypeface() 259 Typeface typeface2 = Typeface.createFromAsset(mContext.getAssets(), "bombfont2.ttf"); in testCreateFromAsset_cachesTypeface() 263 Typeface typeface3 = Typeface.createFromAsset(mContext.getAssets(), "bombfont.ttf"); in testCreateFromAsset_cachesTypeface() 268 Typeface typeface4 = Typeface.createFromAsset(mContext.getAssets(), "samplefont.ttf"); in testCreateFromAsset_cachesTypeface() [all …]
|
D | BitmapColorSpaceTest.java | 169 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in p3() 191 try (InputStream in = mResources.getAssets().open("prophoto-rgba16f.png")) { in extendedSRGB() 213 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in reconfigure() 242 try (InputStream in = mResources.getAssets().open("green-srgb.png")) { in reuse() 251 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in reuse() 272 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyGetPixel() 310 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyGetPixels() 346 try (InputStream in = mResources.getAssets().open(fileName)) { in verifySetPixel() 386 try (InputStream in = mResources.getAssets().open(fileName)) { in verifySetPixels() 439 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyColorSpaceMarshalling() [all …]
|
D | BitmapFactory_OptionsTest.java | 65 AssetManager assets = resources.getAssets(); in testExtractMetaData()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | Rgba16fTests.java | 46 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctions() 67 AssetManager assets = getActivity().getResources().getAssets(); in testAlpha() 91 AssetManager assets = getActivity().getResources().getAssets(); in testMasked() 125 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctionsShader() 146 AssetManager assets = getActivity().getResources().getAssets(); in testMirroredTransferFunctions()
|
D | ColorSpaceTests.java | 171 AssetManager assets = getActivity().getResources().getAssets(); in loadAsset()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | LocaleDeviceInfo.java | 31 getInstrumentation().getContext().getAssets().getLocales()); in collectDeviceInfo()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 47 InputStream is = mContext.getAssets().open("dex1.bytes"); in setUp()
|
D | RecoverySystemTest.java | 42 mAssets = mContext.getAssets(); in setUp()
|
D | BuildVersionTest.java | 106 InstrumentationRegistry.getInstrumentation().getTargetContext().getAssets(); in getExpectedReleases()
|
D | SeccompTest.java | 310 return installTestFilter(getAssets());
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 340 getContext().getResources().getAssets().open("violet.jpg")); in testPhotoAdded_Reschedule() 359 getContext().getResources().getAssets().open("violet.jpg")); in testPhotoAdded_Reschedule() 406 getContext().getResources().getAssets().open("violet.jpg")); in xxxtestPhotoAdded_FinishTrue() 425 getContext().getResources().getAssets().open("violet.jpg")); in xxxtestPhotoAdded_FinishTrue()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CANotifyOnBootActivity.java | 62 is = getAssets().open(CERT_ASSET_NAME); in onClick()
|
D | CAInstallNotificationVerifierActivity.java | 101 is = getAssets().open(CERT_ASSET_NAME); in performTest()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | PluralResourcesTest.java | 46 return new Resources(mResources.getAssets(), mResources.getDisplayMetrics(), config); in resourcesForLanguage()
|
D | AssetManagerTest.java | 46 mAssets = mContext.getAssets(); in setUp()
|
D | AssetManager_AssetInputStreamTest.java | 30 mAssetInputStream = (AssetManager.AssetInputStream)mContext.getAssets().open("text.txt"); in setUp()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | KeyManagementTest.java | 241 AssetManager am = getActivity().getAssets(); in loadCertificatesFromAsset() 252 AssetManager am = getActivity().getAssets(); in loadPrivateKeyFromAsset()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLGameActivity.java | 128 boolean success = startBenchmark(getAssets(), in run()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoActivity.java | 179 String[] locales = getAssets().getLocales(); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ReportExporter.java | 137 rawStream = mContext.getAssets().open( in copyFormattingFiles()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | X509CertChainBuildingTest.java | 164 AssetManager assetManager = getContext().getAssets(); in loadCertificate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | DeviceAdminUninstallTestActivity.java | 115 InputStream in = getAssets().open(TEST_APK_ASSET_LOCATION, in copyApkToFile()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESCipherNistCavpKatTest.java | 137 getContext().getResources().getAssets().open("nist_cavp_aes_kat.zip"))) { in runTestsForKatFile()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MockFontProvider.java | 206 final AssetManager mgr = context.getAssets(); in prepareFontFiles()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextWrapperTest.java | 736 assertSame(mContext.getAssets(), mContextWrapper.getAssets()); in testGetAssets()
|