Searched refs:getPackagesForOps (Results 1 – 14 of 14) sorted by relevance
123 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_oneApp_showCorrectSummary()139 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_twoRestrictedAppsForPrimaryUser_visibleAndShowCorrectSummary()155 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp()173 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_zeroRestrictApp_inVisible()
77 when(mAppOpsManager.getPackagesForOps(any(int[].class))).thenReturn( in updateState_foobarAppSelected_shouldSetSummaryToFoobar()87 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in updateState_noAppSelected_shouldSetSummaryToDefault()105 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
137 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations()163 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
54 protected List<PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() method in ShadowAppOpsManager
56 AppOpsManager.class).getPackagesForOps(appOps); in getAppList()
136 List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpModes()
56 appOpsManager.getPackagesForOps(opNames.toTypedArray()) in loadDataAndPostValue()
61 final List<AppOpsManager.PackageOps> packageOpsList = appOpsManager.getPackagesForOps( in getRestrictedAppsList()
261 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
331 usageOps = appOpsManager.getPackagesForOps(opNamesArray); in loadInBackground()
529 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()
785 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in writeMockLocation()853 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in updateMockLocation()
361 addLocationNotificationIfNeeded(mAppOpsManager.getPackagesForOps( in addLocationNotificationIfNeeded()