Home
last modified time | relevance | path

Searched refs:getResourcesForApplication (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java79 .getResourcesForApplication(eq("mockPackage")); in setUp()
80 doReturn(mMockResources).when(mPackageManagerSpy).getResourcesForApplication(argThat( in setUp()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAndroidPackageInfoFetcher.java87 mContext.getPackageManager().getResourcesForApplication(packageName) in getStatements()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java112 = mPm.getResourcesForApplication(mActivityInfo.applicationInfo); in getIcon()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java74 .getResourcesForApplication(tile.getPackageName()) in setBackgroundColor()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java174 packageManager.getResourcesForApplication(mActivityPackage); in getTitle()
220 packageManager.getResourcesForApplication(mActivityPackage); in getSummary()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java162 final Resources res = pm.getResourcesForApplication(appInfo); in get()
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureServiceInfo.java111 final Resources resources = context.getPackageManager().getResourcesForApplication( in ContentCaptureServiceInfo()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java97 Resources res = pm.getResourcesForApplication(si.applicationInfo); in VoiceInteractionServiceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java78 mResources = mContext.getPackageManager().getResourcesForApplication(mPkg); in getShortcuts()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DIconLoader.java117 Resources res = pm.getResourcesForApplication(appInfo); in createNewIconForTask()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java89 when(mPackageManager.getResourcesForApplication(anyString())).thenReturn(mResources); in setUp()
90 when(mPackageManager.getResourcesForApplication((String) isNull())).thenReturn(mResources); in setUp()
/frameworks/base/core/java/android/printservice/
DPrintServiceInfo.java144 Resources resources = packageManager.getResourcesForApplication( in create()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java421 Resources resources = context.getPackageManager().getResourcesForApplication( in loadDrawable()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java84 final Resources res = pm.getResourcesForApplication(si.applicationInfo); in SpellCheckerInfo()
/frameworks/base/core/java/android/nfc/cardemulation/
DApduServiceInfo.java174 Resources res = pm.getResourcesForApplication(si.applicationInfo); in ApduServiceInfo()
477 res = pm.getResourcesForApplication(mService.serviceInfo.packageName); in loadBanner()
DNfcFServiceInfo.java128 Resources res = pm.getResourcesForApplication(si.applicationInfo); in NfcFServiceInfo()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java122 final Resources resources = context.getPackageManager().getResourcesForApplication( in AutofillServiceInfo()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java286 return manager.getResourcesForApplication(packageName); in getResourcesByPackageName()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1296 final Resources r = getResourcesForApplication(appInfo); in getDrawable()
1518 return getResourcesForApplication( in getResourcesForActivity()
1523 public Resources getResourcesForApplication(@NonNull ApplicationInfo app) in getResourcesForApplication() method in ApplicationPackageManager
1542 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in ApplicationPackageManager
1544 return getResourcesForApplication( in getResourcesForApplication()
1562 return getResourcesForApplication(ai); in getResourcesForApplicationAsUser()
1855 Resources r = getResourcesForApplication(appInfo); in getText()
1883 Resources r = getResourcesForApplication(appInfo); in getXml()
DWallpaperInfo.java108 Resources res = pm.getResourcesForApplication(si.applicationInfo); in WallpaperInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java621 public Resources getResourcesForApplication(ApplicationInfo app) in getResourcesForApplication() method in PackageManagerStub
627 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java611 public Resources getResourcesForApplication(ApplicationInfo app) throws NameNotFoundException { in getResourcesForApplication() method in BridgePackageManager
616 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in BridgePackageManager
/frameworks/base/services/autofill/java/com/android/server/autofill/
DFieldClassificationStrategy.java252 res = pm.getResourcesForApplication(serviceInfo.applicationInfo); in getMetadataValue()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java173 Resources resources = pm.getResourcesForApplication(appInfo.packageName); in getAppNotificationColor()
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java175 Resources res = pm.getResourcesForApplication(ai); in getKeyphraseMetadataFromApplicationInfo()

12