Home
last modified time | relevance | path

Searched refs:getApplicationInfoAsUser (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DPackageManagerWrapperImpl.java70 public ApplicationInfo getApplicationInfoAsUser(String packageName, int i, int userId) in getApplicationInfoAsUser() method in PackageManagerWrapperImpl
72 return mPm.getApplicationInfoAsUser(packageName, i, userId); in getApplicationInfoAsUser()
DPackageManagerWrapper.java75 ApplicationInfo getApplicationInfoAsUser(String packageName, int i, int userId) in getApplicationInfoAsUser() method
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DRankingHelperTest.java121 when(mPm.getApplicationInfoAsUser(eq(PKG), anyInt(), anyInt())).thenReturn(legacy); in setUp()
122 when(mPm.getApplicationInfoAsUser(eq(UPDATED_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp()
532 when(mPm.getApplicationInfoAsUser(eq(PKG), anyInt(), anyInt())).thenReturn(upgraded); in testChannelXml_upgradeDeletesDefaultChannel()
550 when(mPm.getApplicationInfoAsUser(eq(PKG), anyInt(), anyInt())).thenReturn(upgraded); in testDeletesDefaultChannelAfterChannelIsCreated()
1072 when(mPm.getApplicationInfoAsUser(eq(PKG), anyInt(), anyInt())).thenReturn(legacy); in testOnUserRemoved()
1140 when(mPm.getApplicationInfoAsUser(eq(UPDATED_PKG), anyInt(), anyInt())).thenReturn(legacy); in testOnPackageChange_downgradeTargetSdk()
1285 when(mPm.getApplicationInfoAsUser( in testDumpChannelsJson()
DNotificationRecordTest.java115 when(mPm.getApplicationInfoAsUser(eq(pkg), anyInt(), anyInt())).thenReturn(legacy); in setUp()
116 when(mPm.getApplicationInfoAsUser(eq(pkg2), anyInt(), anyInt())).thenReturn(upgrade); in setUp()
DNotificationComparatorTest.java93 when(mPm.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())).thenReturn(legacy); in setUp()
DNotificationManagerServiceTest.java140 when(mPackageManagerClient.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in setUp()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java246 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryStatsForPackage()
308 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageNames[i], in queryStatsForUid()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java353 .getApplicationInfoAsUser(pkg, PackageManager.MATCH_UNINSTALLED_PACKAGES, in getPackageContext()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java190 ApplicationInfo appInfo = packageManager.getApplicationInfoAsUser( in getUnfulfilledRequests()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java173 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() method in BridgePackageManager
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java176 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() method in MockPackageManager
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java368 newAppInfo = mContext.getPackageManager().getApplicationInfoAsUser(pkg, 0, userId); in updateServices()
DPackageManager.java3110 public abstract ApplicationInfo getApplicationInfoAsUser(String packageName, in getApplicationInfoAsUser() method in PackageManager
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java144 appInfo = pm.getApplicationInfoAsUser(mPackageName, 0, in getApplicationName()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java159 mContext.getPackageManager().getApplicationInfoAsUser(sbn.getPackageName(), in isPreChannelsNotification()
DRankingHelper.java289 final ApplicationInfo applicationInfo = mPm.getApplicationInfoAsUser(r.pkg, 0, userId); in shouldHaveDefaultChannel()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java355 return getApplicationInfoAsUser(packageName, flags, mContext.getUserId()); in getApplicationInfo()
359 public ApplicationInfo getApplicationInfoAsUser(String packageName, int flags, int userId) in getApplicationInfoAsUser() method in ApplicationPackageManager
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java1085 appInfo = mPackageManager.getApplicationInfoAsUser(component.getPackageName(), 0, in deviceAttachedForFixedHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1113 ApplicationInfo appInfo = pm.getApplicationInfoAsUser(appPackage, 0, userId); in getAppLabel()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java357 when(mPackageManager.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in callSystemReady()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java893 .getApplicationInfoAsUser(packageName, in startConsentUiIfNeeded()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2065 .getApplicationInfoAsUser(packageName, in startConsentUi()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1056 mContext.getPackageManager().getApplicationInfoAsUser(packageName, in canAccessAccount()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java566 app = pm.getApplicationInfoAsUser(pkg, PackageManager.MATCH_SYSTEM_ONLY, userId); in addDefaultRestrictBackgroundWhitelistUidsUL()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java847 ApplicationInfo ai = pm.getApplicationInfoAsUser(aa.mPackageName, in updateForegroundApps()

12