Home
last modified time | relevance | path

Searched refs:mIPackageManager (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java67 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/
DAppStateAppOpsBridge.java51 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/
DAppStateAppOpsBridge.java51 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/
DManageAppOp.java46 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/
DAppStateAppOpsBridge.java49 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/
DNonRequiredAppsLogic.java60 private final IPackageManager mIPackageManager; field in NonRequiredAppsLogic
91 mIPackageManager = checkNotNull(iPackageManager); in NonRequiredAppsLogic()
105 Set<String> newSystemApps = mUtils.getCurrentSystemApps(mIPackageManager, userId); in getSystemAppsToRemove()
DSystemAppsSnapshot.java55 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/
DNonRequiredAppsLogicTest.java70 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/
DDeviceAdminListPreferenceController.java74 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/
DDeviceAdminListPreferenceController.java74 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/
DSmartActionsHelperTest.java89 IPackageManager mIPackageManager; field in SmartActionsHelperTest
483 mContext, mIPackageManager, mStatusBarNotification, channel, mSmsHelper); in createNotificationEntry()