Home
last modified time | relevance | path

Searched refs:mFeatureProvider (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/gestures/
DAssistGestureSettingsPreferenceController.java41 private final AssistGestureFeatureProvider mFeatureProvider; field in AssistGestureSettingsPreferenceController
52 mFeatureProvider = FeatureFactory.getFactory(context).getAssistGestureFeatureProvider(); in AssistGestureSettingsPreferenceController()
58 final boolean isAvailable = mAssistOnly ? mFeatureProvider.isSupported(mContext) in getAvailabilityStatus()
59 : mFeatureProvider.isSensorAvailable(mContext); in getAvailabilityStatus()
122 boolean isEnabled = isAssistGestureEnabled() && mFeatureProvider.isSupported(mContext); in getSummary()
DGesturesSettingPreferenceController.java35 private final AssistGestureFeatureProvider mFeatureProvider; field in GesturesSettingPreferenceController
43 mFeatureProvider = FeatureFactory.getFactory(context).getAssistGestureFeatureProvider(); in GesturesSettingPreferenceController()
85 if (!mFeatureProvider.isSensorAvailable(mContext)) { in getSummary()
94 if (mFeatureProvider.isSupported(mContext) && assistGestureEnabled) { in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DAssistGestureSettingsPreferenceController.java41 private final AssistGestureFeatureProvider mFeatureProvider; field in AssistGestureSettingsPreferenceController
52 mFeatureProvider = FeatureFactory.getFactory(context).getAssistGestureFeatureProvider(); in AssistGestureSettingsPreferenceController()
58 final boolean isAvailable = mAssistOnly ? mFeatureProvider.isSupported(mContext) in getAvailabilityStatus()
59 : mFeatureProvider.isSensorAvailable(mContext); in getAvailabilityStatus()
122 boolean isEnabled = isAssistGestureEnabled() && mFeatureProvider.isSupported(mContext); in getSummary()
DGesturesSettingPreferenceController.java35 private final AssistGestureFeatureProvider mFeatureProvider; field in GesturesSettingPreferenceController
43 mFeatureProvider = FeatureFactory.getFactory(context).getAssistGestureFeatureProvider(); in GesturesSettingPreferenceController()
85 if (!mFeatureProvider.isSensorAvailable(mContext)) { in getSummary()
94 if (mFeatureProvider.isSupported(mContext) && assistGestureEnabled) { in getSummary()
/packages/apps/Settings/src/com/android/settings/enterprise/
DImePreferenceController.java30 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in ImePreferenceController
34 mFeatureProvider = FeatureFactory.getFactory(context) in ImePreferenceController()
42 mFeatureProvider.getImeLabelIfOwnerSet())); in updateState()
47 return mFeatureProvider.getImeLabelIfOwnerSet() != null; in isAvailable()
DAlwaysOnVpnCurrentUserPreferenceController.java29 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in AlwaysOnVpnCurrentUserPreferenceController
33 mFeatureProvider = FeatureFactory.getFactory(context) in AlwaysOnVpnCurrentUserPreferenceController()
39 preference.setTitle(mFeatureProvider.isInCompMode() in updateState()
46 return mFeatureProvider.isAlwaysOnVpnSetInCurrentUser(); in isAvailable()
DEnterprisePrivacyPreferenceController.java29 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in EnterprisePrivacyPreferenceController
33 mFeatureProvider = FeatureFactory.getFactory(context) in EnterprisePrivacyPreferenceController()
42 final String organizationName = mFeatureProvider.getDeviceOwnerOrganizationName(); in updateState()
53 return mFeatureProvider.hasDeviceOwner(); in isAvailable()
DEnterpriseInstalledPackagesPreferenceController.java31 private final ApplicationFeatureProvider mFeatureProvider; field in EnterpriseInstalledPackagesPreferenceController
36 mFeatureProvider = FeatureFactory.getFactory(context) in EnterpriseInstalledPackagesPreferenceController()
43 mFeatureProvider.calculateNumberOfPolicyInstalledApps(true /* async */, in updateState()
72 mFeatureProvider.calculateNumberOfPolicyInstalledApps(false /* async */, in isAvailable()
DAdminGrantedPermissionsPreferenceControllerBase.java32 private final ApplicationFeatureProvider mFeatureProvider; field in AdminGrantedPermissionsPreferenceControllerBase
40 mFeatureProvider = FeatureFactory.getFactory(context) in AdminGrantedPermissionsPreferenceControllerBase()
48 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in updateState()
78 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in isAvailable()
DNetworkLogsPreferenceController.java30 return mFeatureProvider.getLastNetworkLogRetrievalTime(); in getAdminActionTimestamp()
35 return mFeatureProvider.isNetworkLoggingEnabled() || in isAvailable()
36 mFeatureProvider.getLastNetworkLogRetrievalTime() != null; in isAvailable()
DSecurityLogsPreferenceController.java30 return mFeatureProvider.getLastSecurityLogRetrievalTime(); in getAdminActionTimestamp()
35 return mFeatureProvider.isSecurityLoggingEnabled() || in isAvailable()
36 mFeatureProvider.getLastSecurityLogRetrievalTime() != null; in isAvailable()
DAlwaysOnVpnManagedProfilePreferenceController.java26 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in AlwaysOnVpnManagedProfilePreferenceController
30 mFeatureProvider = FeatureFactory.getFactory(context) in AlwaysOnVpnManagedProfilePreferenceController()
36 return mFeatureProvider.isAlwaysOnVpnSetInManagedProfile(); in isAvailable()
DGlobalHttpProxyPreferenceController.java26 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in GlobalHttpProxyPreferenceController
30 mFeatureProvider = FeatureFactory.getFactory(context) in GlobalHttpProxyPreferenceController()
36 return mFeatureProvider.isGlobalHttpProxySet(); in isAvailable()
DManageDeviceAdminPreferenceController.java25 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in ManageDeviceAdminPreferenceController
29 mFeatureProvider = FeatureFactory.getFactory(context) in ManageDeviceAdminPreferenceController()
36 = mFeatureProvider.getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile(); in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DImePreferenceController.java30 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in ImePreferenceController
34 mFeatureProvider = FeatureFactory.getFactory(context) in ImePreferenceController()
42 mFeatureProvider.getImeLabelIfOwnerSet())); in updateState()
47 return mFeatureProvider.getImeLabelIfOwnerSet() != null; in isAvailable()
DAlwaysOnVpnCurrentUserPreferenceController.java29 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in AlwaysOnVpnCurrentUserPreferenceController
33 mFeatureProvider = FeatureFactory.getFactory(context) in AlwaysOnVpnCurrentUserPreferenceController()
39 preference.setTitle(mFeatureProvider.isInCompMode() in updateState()
46 return mFeatureProvider.isAlwaysOnVpnSetInCurrentUser(); in isAvailable()
DEnterprisePrivacyPreferenceController.java29 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in EnterprisePrivacyPreferenceController
33 mFeatureProvider = FeatureFactory.getFactory(context) in EnterprisePrivacyPreferenceController()
42 final String organizationName = mFeatureProvider.getDeviceOwnerOrganizationName(); in updateState()
53 return mFeatureProvider.hasDeviceOwner(); in isAvailable()
DEnterpriseInstalledPackagesPreferenceController.java31 private final ApplicationFeatureProvider mFeatureProvider; field in EnterpriseInstalledPackagesPreferenceController
36 mFeatureProvider = FeatureFactory.getFactory(context) in EnterpriseInstalledPackagesPreferenceController()
43 mFeatureProvider.calculateNumberOfPolicyInstalledApps(true /* async */, in updateState()
72 mFeatureProvider.calculateNumberOfPolicyInstalledApps(false /* async */, in isAvailable()
DAdminGrantedPermissionsPreferenceControllerBase.java32 private final ApplicationFeatureProvider mFeatureProvider; field in AdminGrantedPermissionsPreferenceControllerBase
40 mFeatureProvider = FeatureFactory.getFactory(context) in AdminGrantedPermissionsPreferenceControllerBase()
48 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in updateState()
78 mFeatureProvider.calculateNumberOfAppsWithAdminGrantedPermissions(mPermissions, in isAvailable()
DNetworkLogsPreferenceController.java30 return mFeatureProvider.getLastNetworkLogRetrievalTime(); in getAdminActionTimestamp()
35 return mFeatureProvider.isNetworkLoggingEnabled() || in isAvailable()
36 mFeatureProvider.getLastNetworkLogRetrievalTime() != null; in isAvailable()
DSecurityLogsPreferenceController.java30 return mFeatureProvider.getLastSecurityLogRetrievalTime(); in getAdminActionTimestamp()
35 return mFeatureProvider.isSecurityLoggingEnabled() || in isAvailable()
36 mFeatureProvider.getLastSecurityLogRetrievalTime() != null; in isAvailable()
DGlobalHttpProxyPreferenceController.java26 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in GlobalHttpProxyPreferenceController
30 mFeatureProvider = FeatureFactory.getFactory(context) in GlobalHttpProxyPreferenceController()
36 return mFeatureProvider.isGlobalHttpProxySet(); in isAvailable()
DAlwaysOnVpnManagedProfilePreferenceController.java26 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in AlwaysOnVpnManagedProfilePreferenceController
30 mFeatureProvider = FeatureFactory.getFactory(context) in AlwaysOnVpnManagedProfilePreferenceController()
36 return mFeatureProvider.isAlwaysOnVpnSetInManagedProfile(); in isAvailable()
DManageDeviceAdminPreferenceController.java25 private final EnterprisePrivacyFeatureProvider mFeatureProvider; field in ManageDeviceAdminPreferenceController
29 mFeatureProvider = FeatureFactory.getFactory(context) in ManageDeviceAdminPreferenceController()
36 = mFeatureProvider.getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile(); in getSummary()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java111 private final SearchFeatureProvider mFeatureProvider; field in DatabaseResultTask
116 mFeatureProvider = FeatureFactory.get(context).searchFeatureProvider(); in DatabaseResultTask()
130 FutureTask<List<Pair<String, Float>>> rankerTask = mFeatureProvider.getRankerTask( in query()
134 ExecutorService executorService = mFeatureProvider.getExecutorService(); in query()
148 final long timeoutMs = mFeatureProvider.smartSearchRankingTimeoutMs(mContext); in query()

12