Searched refs:mEnabledServices (Results 1 – 6 of 6) sorted by relevance
52 private final HashSet<ComponentName> mEnabledServices = new HashSet<>(); field in ServiceListing103 for (ComponentName cn : mEnabledServices) { in saveEnabledServices()116 mEnabledServices.clear(); in loadEnabledServices()123 mEnabledServices.add(cn); in loadEnabledServices()164 return mEnabledServices.contains(cn); in isEnabled()169 mEnabledServices.add(cn); in setEnabled()171 mEnabledServices.remove(cn); in setEnabled()
97 final Set<ComponentName> mEnabledServices = new HashSet<>(); field in AccessibilityUserState223 mEnabledServices.clear(); in onSwitchToAnotherUserLocked()404 return mEnabledServices; in getEnabledServicesLocked()416 if (!mEnabledServices.contains(componentName)) { in removeDisabledServicesFromTemporaryStatesLocked()595 Iterator<ComponentName> it = mEnabledServices.iterator(); in dump()
779 final Iterator<ComponentName> it = userState.mEnabledServices.iterator(); in onPackageRemovedLocked()794 userState.mEnabledServices, mCurrentUserId); in onPackageRemovedLocked()827 final Iterator<ComponentName> it = userState.mEnabledServices.iterator(); in onPackagesForceStoppedLocked()844 userState.mEnabledServices, userState.mUserId); in onPackagesForceStoppedLocked()1982 mSecurityPolicy.onSwitchUserLocked(mCurrentUserId, userState.mEnabledServices); in switchUser()2049 userState.mEnabledServices.clear(); in restoreEnabledAccessibilityServicesLocked()2050 userState.mEnabledServices.addAll(mTempComponentNameSet); in restoreEnabledAccessibilityServicesLocked()2053 userState.mEnabledServices, in restoreEnabledAccessibilityServicesLocked()2422 if (!mTempComponentNameSet.equals(userState.mEnabledServices)) { in readEnabledAccessibilityServicesLocked()2423 userState.mEnabledServices.clear(); in readEnabledAccessibilityServicesLocked()[all …]
537 private @NonNull List<PrintServiceInfo> mEnabledServices; field in FusedPrintersProvider.PersistenceManager553 mEnabledServices = ((PrintManager) activity in PersistenceManager()581 mEnabledServices = services; in onLoadFinished()802 final int installedServiceCount = mEnabledServices.size(); in onPostExecute()804 ServiceInfo serviceInfo = mEnabledServices.get(i).getResolveInfo().serviceInfo; in onPostExecute()
843 userState.mEnabledServices.clear(); in testPackagesForceStopped_disablesRelevantService()844 userState.mEnabledServices.add(info_a.getComponentName()); in testPackagesForceStopped_disablesRelevantService()845 userState.mEnabledServices.add(info_b.getComponentName()); in testPackagesForceStopped_disablesRelevantService()854 assertThat(userState.mEnabledServices).containsExactly(info_b.getComponentName()); in testPackagesForceStopped_disablesRelevantService()978 userState.mEnabledServices.clear(); in testIsAccessibilityServiceWarningRequired_notRequiredIfAlreadyEnabled()979 userState.mEnabledServices.add(info_b.getComponentName()); in testIsAccessibilityServiceWarningRequired_notRequiredIfAlreadyEnabled()1662 userState.mEnabledServices.addAll( in onHandleForceStop_dontDoIt_packageEnabled_returnsTrue()1665 String[] packages = userState.mEnabledServices.stream().map( in onHandleForceStop_dontDoIt_packageEnabled_returnsTrue()1685 userState.mEnabledServices.addAll( in onHandleForceStop_doIt_packageEnabled_returnsFalse()1688 String[] packages = userState.mEnabledServices.stream().map( in onHandleForceStop_doIt_packageEnabled_returnsFalse()
159 mUserState.mEnabledServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()182 assertTrue(mUserState.mEnabledServices.isEmpty()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()