/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 77 params.getAssets(), params.getLayoutlibCallback(), configuration, in basic() 80 context.initResources(params.getAssets()); in basic() 124 params.getAssets(), params.getLayoutlibCallback(), configuration, in checkNoErrorWhenUsingDefaults() 127 context.initResources(params.getAssets()); in checkNoErrorWhenUsingDefaults() 157 params.getAssets(), params.getLayoutlibCallback(), configuration, in noExceptionForCustomService() 178 params.getAssets(), params.getLayoutlibCallback(), configuration, in dynamicTheming() 180 context.initResources(params.getAssets()); in dynamicTheming() 209 …eContext(params.getProjectKey(), metrics, params.getResources(), params.getAssets(), params.getLay… in noCrashInPowerManager() 238 params.getAssets(), params.getLayoutlibCallback(), configuration, in testTypedValue() 292 …eContext(params.getProjectKey(), metrics, params.getResources(), params.getAssets(), params.getLay… in testWindowMetrics() [all …]
|
D | BitmapTest.java | 97 params.getAssets(), params.getLayoutlibCallback(), configuration, in testImageDecoder() 100 context.initResources(params.getAssets()); in testImageDecoder()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Delegate.java | 60 Typeface typeface = Typeface.findFromCache(context.getAssets(), path); in createFromDisk() 82 typeface = Typeface.createFromResources(entry, context.getAssets(), path); in createFromDisk() 95 typeface = new Typeface.Builder(context.getAssets(), path, false, 0).build(); in createFromDisk()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 297 impl.getAssets().setLoaders(newLoaders); in onLoadersChanged() 303 final AssetManager assets = impl.getAssets(); in onLoaderUpdated() 375 mBaseApkAssetsSize = ArrayUtils.size(impl.getAssets().getApkAssets()); in setImpl() 461 CharSequence res = mResourcesImpl.getAssets().getResourceText(id); in getText() 661 CharSequence res = id != 0 ? mResourcesImpl.getAssets().getResourceText(id) : null; in getText() 678 CharSequence[] res = mResourcesImpl.getAssets().getResourceTextArray(id); in getTextArray() 699 String[] res = mResourcesImpl.getAssets().getResourceStringArray(id); in getStringArray() 719 int[] res = mResourcesImpl.getAssets().getResourceIntArray(id); in getIntArray() 742 int len = impl.getAssets().getResourceArraySize(id); in obtainTypedArray() 748 array.mLength = impl.getAssets().getResourceArray(id, array.mData); in obtainTypedArray() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 106 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testRegularFonts() 121 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testTtcFont() 137 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testVariationFont()
|
D | TypefaceEqualsTest.java | 41 InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in testFontEqualWithLocale()
|
D | PaintTest.java | 81 getInstrumentation().getContext().getAssets(), FONT_PATH); in testHintingWidth() 124 getInstrumentation().getContext().getAssets(), "fonts/hasGlyphTestFont.ttf"); in testHasGlyph_variationSelectors() 342 getInstrumentation().getContext().getAssets(), "fonts/underlineTestFont.ttf"); in testGetUnderlinePositionAndThickness()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 103 public AssetManager getAssets() { in getAssets() method in DecorContext 104 return mResources.getAssets(); in getAssets()
|
/frameworks/base/core/java/android/view/ |
D | ContextThemeWrapper.java | 121 public AssetManager getAssets() { in getAssets() method in ContextThemeWrapper 123 return getResourcesInternal().getAssets(); in getAssets()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesThemePerfTest.java | 101 Assert.assertNotEquals(destResources.getAssets(), mContext.getAssets()); in setToDifferentAssetManager()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTrackerTest.java | 169 doReturn(am).when(mMockContext).getAssets(); in setUp() 300 phone.getContext().getAssets().open(EMERGENCY_NUMBER_DB_OTA_FILE)); in simulateOtaEmergencyNumberDb() 548 doReturn(mContext.getAssets()).when(mMockContext).getAssets(); in testUsingEmergencyNumberDatabaseWheneverHal_1_4() 620 doReturn(mContext.getAssets()).when(mMockContext).getAssets(); in testUsingEmergencyNumberDatabaseWithRouting() 725 doReturn(mContext.getAssets()).when(mMockContext).getAssets(); in testUsingEmergencyNumberDatabaseWithRoutingInOOS()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 79 final AssetManager am = context.getAssets(); in testCreate_fromAsset() 111 final AssetManager am = context.getAssets(); in testCreate_fromFile()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
D | AssetView.java | 29 InputStream istr = context.getAssets().open("asset.png"); in init()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 87 String[] localeArray = context.getAssets().getLocales(); in getLocaleForLanguageCountry() 184 for (String localeId : context.getAssets().getLocales()) { in isTranslated()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | AvgBrightnessFilterTest.java | 36 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
D | ContrastRatioFilterTest.java | 43 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
D | ExposureFilterTest.java | 41 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
D | IfElseFilterTest.java | 46 assetMgr = mffContext.getApplicationContext().getAssets(); in createFilter()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 33 mAssets = mContext.getAssets(); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | TestData.java | 301 return context.getResources().getAssets().open(TEST_FILE_FOLDER_NAME + "/" + relativePath); in openTestFile()
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 56 mValidateThread.execute(LargeAssetTest.this.getAssets());
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | LocalOverlayManager.java | 51 final String[] paths = ctx.getResources().getAssets().getApkPaths(); in toggleOverlaysAndWait()
|
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
D | EapSessionConfigUtilsTest.java | 99 .getAssets() in testSetEapTtlsEncodeDecodeIsLossless()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 380 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testExistingResourcesAfterResourcePathsRegistration() 411 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testNewResourcesAfterResourcePathsRegistration() 447 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testExistingResourcesCreatedByConstructorAfterResourcePathsRegistration() 486 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testNewResourcesWithOutdatedImplAfterResourcePathsRegistration()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | ReportEncoderTests.java | 105 context.getResources().getAssets().open(assetPath)))) { in readAsset()
|