/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 67 private IPackageManager mIPackageManager; field in AppStateAppOpsBridgeTest 83 when(mIPackageManager.getPackagesHoldingPermissions( in setUp() 92 mBridge = new AppStateAppOpsBridge(mContext, APP_OP_CODE, PERMISSION, mIPackageManager); in setUp() 128 when(mIPackageManager.isPackageAvailable(packageInfo.packageName, in packagesNotRequestingPermissionIgnored() 143 when(mIPackageManager.isPackageAvailable(packageInfo.packageName, in unavailablePackageIgnored() 230 when(mIPackageManager.getPackagesHoldingPermissions( in loadsAppOpExtraInfo_multipleProfiles() 237 when(mIPackageManager.isPackageAvailable(packageInfo2.packageName, in loadsAppOpExtraInfo_multipleProfiles() 245 mBridge = new AppStateAppOpsBridge(mContext, APP_OP_CODE, PERMISSION, mIPackageManager); in loadsAppOpExtraInfo_multipleProfiles() 282 when(mIPackageManager.isPackageAvailable(packageInfo.packageName, in addPackageWithPermission()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateAppOpsBridge.java | 51 private final IPackageManager mIPackageManager; field in AppStateAppOpsBridge 70 mIPackageManager = packageManager; in AppStateAppOpsBridge() 103 permissionState.packageInfo = mIPackageManager.getPackageInfo(pkg, in getPermissionInfo() 161 String[] pkgs = mIPackageManager.getAppOpPermissionPackages(permission); in getEntries() 180 final boolean isAvailable = mIPackageManager.isPackageAvailable(packageName, in getEntries() 215 mIPackageManager in loadPermissionsStates()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 51 private final IPackageManager mIPackageManager; field in AppStateAppOpsBridge 70 mIPackageManager = packageManager; in AppStateAppOpsBridge() 103 permissionState.packageInfo = mIPackageManager.getPackageInfo(pkg, in getPermissionInfo() 161 String[] pkgs = mIPackageManager.getAppOpPermissionPackages(permission); in getEntries() 180 final boolean isAvailable = mIPackageManager.isPackageAvailable(packageName, in getEntries() 215 mIPackageManager in loadPermissionsStates()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | ManageAppOp.java | 46 private IPackageManager mIPackageManager; field in ManageAppOp 60 mIPackageManager = ActivityThread.getPackageManager(); in onCreate() 114 String[] packages = mIPackageManager.getAppOpPermissionPackages(permission); 124 int result = mIPackageManager.checkUidPermission(getPermission(), uid);
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridge.java | 49 private final IPackageManager mIPackageManager; field in AppStateAppOpsBridge 70 mIPackageManager = packageManager; in AppStateAppOpsBridge() 100 boolean isAvailable = mIPackageManager.isPackageAvailable( in getPackageToStateMapsByProfileId() 122 return mIPackageManager.getPackagesHoldingPermissions(new String[]{mPermission}, in getPackageInfos()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 60 private final IPackageManager mIPackageManager; field in NonRequiredAppsLogic 91 mIPackageManager = checkNotNull(iPackageManager); in NonRequiredAppsLogic() 105 Set<String> newSystemApps = mUtils.getCurrentSystemApps(mIPackageManager, userId); in getSystemAppsToRemove()
|
D | SystemAppsSnapshot.java | 55 private final IPackageManager mIPackageManager; field in SystemAppsSnapshot 66 mIPackageManager = checkNotNull(iPackageManager); in SystemAppsSnapshot() 96 writeSystemApps(mUtils.getCurrentSystemApps(mIPackageManager, userId), systemAppsFile); in takeNewSnapshot()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogicTest.java | 70 private IPackageManager mIPackageManager; field in NonRequiredAppsLogicTest 224 when(mUtils.getCurrentSystemApps(mIPackageManager, TEST_USER_ID)).thenReturn(set); in setCurrentSystemApps() 244 mIPackageManager, in createLogic()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminListPreferenceController.java | 74 private final IPackageManager mIPackageManager; field in DeviceAdminListPreferenceController 105 mIPackageManager = AppGlobals.getPackageManager(); in DeviceAdminListPreferenceController() 246 ai = mIPackageManager.getReceiverInfo(activeAdmin, in addActiveAdminsForProfile()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/ |
D | DeviceAdminListPreferenceController.java | 74 private final IPackageManager mIPackageManager; field in DeviceAdminListPreferenceController 105 mIPackageManager = AppGlobals.getPackageManager(); in DeviceAdminListPreferenceController() 246 ai = mIPackageManager.getReceiverInfo(activeAdmin, in addActiveAdminsForProfile()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | SmartActionsHelperTest.java | 89 IPackageManager mIPackageManager; field in SmartActionsHelperTest 483 mContext, mIPackageManager, mStatusBarNotification, channel, mSmsHelper); in createNotificationEntry()
|