Searched refs:getPackagesForOps (Results 1 – 16 of 16) sorted by relevance
117 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_oneApp_showCorrectSummary()130 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_twoRestrictedAppsForPrimaryUser_visibleAndShowCorrectSummary()143 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp()158 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_zeroRestrictApp_inVisible()
78 when(mAppOpsManager.getPackagesForOps(any(int[].class))).thenReturn( in updateState_foobarAppSelected_shouldSetSummaryToFoobar()88 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in updateState_noAppSelected_shouldSetSummaryToDefault()106 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
130 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations()155 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
136 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations()161 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
53 protected List<PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() method in ShadowAppOpsManager
61 final List<AppOpsManager.PackageOps> packageOpsList = appOpsManager.getPackagesForOps( in getRestrictedAppsList()
136 List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpModes()
241 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
527 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
527 List<AppOpsManager.PackageOps> apps = aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN}); in getVpnApps()
735 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in writeMockLocation()803 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in updateMockLocation()
553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()
361 addLocationNotificationIfNeeded(mAppOpsManager.getPackagesForOps( in addLocationNotificationIfNeeded()