/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 118 doReturn(ai.uid).when(mMockContext.packageManager).getPackageUidAsUser( in markPackageAsInstalled()
|
D | DevicePolicyManagerTest.java | 967 … doReturn(DpmMockContext.CALLER_SYSTEM_USER_UID).when(mContext.packageManager).getPackageUidAsUser( in testClearDeviceOwner() 1035 doReturn(DpmMockContext.CALLER_UID).when(mContext.packageManager).getPackageUidAsUser( in testClearDeviceOwner_fromDifferentUser() 1261 doReturn(uid).when(mContext.packageManager).getPackageUidAsUser( in setupPackageInPackageManager() 3185 .getPackageUidAsUser(eq(admin1.getPackageName()), anyInt()); in clearDeviceOwner()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 514 .getPackageUidAsUser(packageName, mContext.getUserId()); in grantPermission()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 130 … public int getPackageUidAsUser(String packageName, int userHandle) throws NameNotFoundException { in getPackageUidAsUser() method in BridgePackageManager 135 …public int getPackageUidAsUser(String packageName, int flags, int userHandle) throws NameNotFoundE… in getPackageUidAsUser() method in BridgePackageManager
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 127 public int getPackageUidAsUser(String packageName, int flags, int userHandle) in getPackageUidAsUser() method in MockPackageManager 134 public int getPackageUidAsUser(String packageName, int userHandle) in getPackageUidAsUser() method in MockPackageManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 144 int uid = mContext.getPackageManager().getPackageUidAsUser(packageName, in verifyCaller()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 106 allowedUid = pm.getPackageUidAsUser(allowedPackage, in getAllowedUid()
|
D | BluetoothManagerService.java | 406 systemUiUid = mContext.getPackageManager().getPackageUidAsUser("com.android.systemui", in BluetoothManagerService()
|
D | DeviceIdleController.java | 1688 int uid = getContext().getPackageManager().getPackageUidAsUser(packageName, userId); in addPowerSaveTempWhitelistAppInternal()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 178 uid = mPm.getPackageUidAsUser(name, UserHandle.USER_SYSTEM); in readXml() 1112 r.uid = mPm.getPackageUidAsUser(r.pkg, changeUserId); in onPackagesChanged() 1125 mPm.getPackageUidAsUser(pkg, changeUserId)); in onPackagesChanged()
|
D | NotificationManagerService.java | 2499 int uid = getContext().getPackageManager().getPackageUidAsUser( 3256 .getPackageUidAsUser(opPackageName, userId); in resolveNotificationUid()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 343 }).when(mPackageManager).getPackageUidAsUser(anyString(), anyInt()); in setMockedPackages()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 257 return getPackageUidAsUser(packageName, flags, mContext.getUserId()); in getPackageUid() 261 public int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser() method in ApplicationPackageManager 262 return getPackageUidAsUser(packageName, 0, userId); in getPackageUidAsUser() 266 public int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() method in ApplicationPackageManager
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 3006 public abstract int getPackageUidAsUser(String packageName, @UserIdInt int userId) in getPackageUidAsUser() method in PackageManager 3023 public abstract int getPackageUidAsUser(String packageName, @PackageInfoFlags int flags, in getPackageUidAsUser() method in PackageManager
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 339 final int uid = mPackageManager.getPackageUidAsUser(packageName, userId); in AccountManagerService() 641 uid = mPackageManager.getPackageUidAsUser(packageName, accounts.userId); in resolveAccountVisibility() 1009 mPackageManager.getPackageUidAsUser(packageName, userId); in packageExistsForUser() 1345 mPackageManager.getPackageUidAsUser(packageName, accounts.userId); in removeVisibilityValuesForPackage() 3892 int uid = mPackageManager.getPackageUidAsUser(packageName, userId); in hasAccountAccess() 3969 uid = mPackageManager.getPackageUidAsUser(packageName, userId); in createRequestAccountAccessIntentSenderAsUser() 4420 packageUid = mPackageManager.getPackageUidAsUser(packageName, userId); 6058 uid = mPackageManager.getPackageUidAsUser(packageName, userId);
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 290 mContext.getPackageManager().getPackageUidAsUser( in setPrintServiceEnabled()
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
D | RankingHelperTest.java | 123 when(mPm.getPackageUidAsUser(eq(PKG), anyInt())).thenReturn(UID); in setUp() 124 when(mPm.getPackageUidAsUser(eq(UPDATED_PKG), anyInt())).thenReturn(UID2); in setUp()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 1055 uid = context.getPackageManager().getPackageUidAsUser(packageName, 0, in isSystemPackage()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1286 reqUid = mContext.getPackageManager().getPackageUidAsUser(arg, in dump()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 599 result = pm.getPackageUidAsUser(app, userHandle); in getAppUid()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 605 final int uid = mPackageManager.getPackageUidAsUser(packageName, in notifyBatteryStats()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 372 mSystemUiUid = mContext.getPackageManager().getPackageUidAsUser(SYSUI_PACKAGE_NAME, in WifiConfigManager()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5061 .getPackageUidAsUser(delegatePackage, userId); in getDelegatedScopes() 5144 .getPackageUidAsUser(callerPackage, userId); in isCallerDelegate() 6669 int uid = mInjector.getPackageManager().getPackageUidAsUser(packageName, in clearDeviceOwner() 9628 final int uidForPackage = mInjector.getPackageManager().getPackageUidAsUser( in isProvisioningAllowed()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 168 }).when(mPackageManager).getPackageUidAsUser(anyString(), anyInt(), anyInt()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 3507 final int uid = mContext.getPackageManager().getPackageUidAsUser(packageName, in onAppIdleStateChanged()
|