Home
last modified time | relevance | path

Searched refs:mEnabledServices (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java52 private final HashSet<ComponentName> mEnabledServices = new HashSet<>(); field in ServiceListing
103 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()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityUserState.java97 final Set<ComponentName> mEnabledServices = new HashSet<>(); field in AccessibilityUserState
223 mEnabledServices.clear(); in onSwitchToAnotherUserLocked()
404 return mEnabledServices; in getEnabledServicesLocked()
416 if (!mEnabledServices.contains(componentName)) { in removeDisabledServicesFromTemporaryStatesLocked()
595 Iterator<ComponentName> it = mEnabledServices.iterator(); in dump()
DAccessibilityManagerService.java779 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 …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java537 private @NonNull List<PrintServiceInfo> mEnabledServices; field in FusedPrintersProvider.PersistenceManager
553 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java843 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()
DAccessibilityUserStateTest.java159 mUserState.mEnabledServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
182 assertTrue(mUserState.mEnabledServices.isEmpty()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()