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.java78 .getResourcesForApplication(eq("mockPackage")); in setUp()
79 doReturn(mMockResources).when(mPackageManagerSpy).getResourcesForApplication(argThat( in setUp()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DPartnerTest.java179 public Resources getResourcesForApplication(ApplicationInfo app) in getResourcesForApplication() method in PartnerTest.TestPackageManager
184 return super.getResourcesForApplication(app); in getResourcesForApplication()
/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.java110 = mPm.getResourcesForApplication(mActivityInfo.applicationInfo); in getIcon()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java131 res = pm.getResourcesForApplication(si.applicationInfo); in getMetaDataArray()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
DSettings.java167 resources = pm.getResourcesForApplication(packageName); in getCustomizations()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java153 final Resources res = pm.getResourcesForApplication(appInfo); in get()
/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/core/java/android/appwidget/
DAppWidgetProviderInfo.java370 Resources resources = context.getPackageManager().getResourcesForApplication( in loadDrawable()
/frameworks/base/core/java/android/printservice/
DPrintServiceInfo.java144 Resources resources = packageManager.getResourcesForApplication( in create()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1143 final Resources r = getResourcesForApplication(appInfo); in getDrawable()
1367 return getResourcesForApplication( in getResourcesForActivity()
1372 public Resources getResourcesForApplication(@NonNull ApplicationInfo app) in getResourcesForApplication() method in ApplicationPackageManager
1391 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in ApplicationPackageManager
1393 return getResourcesForApplication( in getResourcesForApplication()
1411 return getResourcesForApplication(ai); in getResourcesForApplicationAsUser()
1635 Resources r = getResourcesForApplication(appInfo); in getText()
1663 Resources r = getResourcesForApplication(appInfo); in getXml()
DWallpaperInfo.java109 Resources res = pm.getResourcesForApplication(si.applicationInfo); in WallpaperInfo()
/frameworks/base/core/java/android/nfc/cardemulation/
DApduServiceInfo.java156 Resources res = pm.getResourcesForApplication(si.applicationInfo); in ApduServiceInfo()
417 res = pm.getResourcesForApplication(mService.serviceInfo.packageName); in loadBanner()
DNfcFServiceInfo.java128 Resources res = pm.getResourcesForApplication(si.applicationInfo); in NfcFServiceInfo()
/frameworks/base/core/java/android/view/textservice/
DSpellCheckerInfo.java84 final Resources res = pm.getResourcesForApplication(si.applicationInfo); in SpellCheckerInfo()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java597 public Resources getResourcesForApplication(ApplicationInfo app) throws NameNotFoundException { in getResourcesForApplication() method in BridgePackageManager
602 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in BridgePackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java607 public Resources getResourcesForApplication(ApplicationInfo app) in getResourcesForApplication() method in PackageManagerStub
613 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in PackageManagerStub
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java175 Resources res = pm.getResourcesForApplication(ai); in getKeyphraseMetadataFromApplicationInfo()
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java635 public Resources getResourcesForApplication(ApplicationInfo app) { in getResourcesForApplication() method in MockPackageManager
640 public Resources getResourcesForApplication(String appPackageName) in getResourcesForApplication() method in MockPackageManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java282 Resources res = packageManager.getResourcesForApplication( in replaceDrawable()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java290 Resources res = pm.getResourcesForApplication(mActivityInfo.applicationInfo); in DeviceAdminInfo()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java102 when(mPackageManager.getResourcesForApplication(anyString())).thenReturn(mResources); in setUp()
103 when(mPackageManager.getResourcesForApplication((String) isNull())).thenReturn(mResources); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java308 Resources res = pm.getResourcesForApplication(resolveInfo.serviceInfo.applicationInfo); in getSettingsComponentName()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java753 return pm.getResourcesForApplication(mStatusResAppPackageName.toString()) in getStatus()

12