Home
last modified time | relevance | path

Searched refs:isFeatureEnabled (Results 1 – 25 of 114) sorted by relevance

12345

/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagPreference.java35 boolean isFeatureEnabled; in FeatureFlagPreference()
37 isFeatureEnabled = FeatureFlagPersistent.isEnabled(context, key); in FeatureFlagPreference()
39 isFeatureEnabled = FeatureFlagUtils.isEnabled(context, key); in FeatureFlagPreference()
41 super.setChecked(isFeatureEnabled); in FeatureFlagPreference()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DDeviceConfigUtils.java180 return isFeatureEnabled(NAMESPACE_CONNECTIVITY, name, false /* defaultEnabled */, in isNetworkStackFeatureEnabled()
203 return isFeatureEnabled(NAMESPACE_TETHERING, name, false /* defaultEnabled */, in isTetheringFeatureEnabled()
226 return isFeatureEnabled(NAMESPACE_CAPTIVEPORTALLOGIN, name, false /* defaultEnabled */, in isCaptivePortalLoginFeatureEnabled()
230 private static boolean isFeatureEnabled(@NonNull String namespace, in isFeatureEnabled() method in DeviceConfigUtils
366 return isFeatureEnabled(NAMESPACE_TETHERING, name, true /* defaultEnabled */, in isTetheringFeatureNotChickenedOut()
384 return isFeatureEnabled(NAMESPACE_CONNECTIVITY, name, true /* defaultEnabled */, in isNetworkStackFeatureNotChickenedOut()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java282 if (mFeatureController.isFeatureEnabled(Car.EXPERIMENTAL_CAR_USER_SERVICE)) { in ICarImpl()
289 if (mFeatureController.isFeatureEnabled(Car.EXPERIMENTAL_CAR_KEYGUARD_SERVICE)) { in ICarImpl()
312 if (mFeatureController.isFeatureEnabled(CarFeatures.FEATURE_CAR_USER_NOTICE_SERVICE)) { in ICarImpl()
319 if (mFeatureController.isFeatureEnabled(Car.OCCUPANT_AWARENESS_SERVICE)) { in ICarImpl()
354 if (mFeatureController.isFeatureEnabled(Car.CAR_INSTRUMENT_CLUSTER_SERVICE)) { in ICarImpl()
365 if (mFeatureController.isFeatureEnabled(Car.VEHICLE_MAP_SERVICE)) { in ICarImpl()
371 if (mFeatureController.isFeatureEnabled(Car.DIAGNOSTIC_SERVICE)) { in ICarImpl()
377 if (mFeatureController.isFeatureEnabled(Car.STORAGE_MONITORING_SERVICE)) { in ICarImpl()
402 if (mFeatureController.isFeatureEnabled(Car.CLUSTER_HOME_SERVICE)) { in ICarImpl()
403 if (!mFeatureController.isFeatureEnabled(Car.CAR_INSTRUMENT_CLUSTER_SERVICE)) { in ICarImpl()
[all …]
/packages/apps/Settings/src/com/android/settings/display/
DControlsTrivialPrivacyPreferenceController.java53 if (!CustomizableLockScreenUtils.isFeatureEnabled(mContext) in getSummary()
79 return CustomizableLockScreenUtils.isFeatureEnabled(mContext) in showDeviceControlsSettingsEnabled()
87 if (CustomizableLockScreenUtils.isFeatureEnabled(mContext)) { in displayPreference()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAvailableMediaDeviceGroupController.java183 if (AudioSharingUtils.isFeatureEnabled()) { in AvailableMediaDeviceGroupController()
204 if (AudioSharingUtils.isFeatureEnabled()) { in onStart()
220 if (AudioSharingUtils.isFeatureEnabled()) { in onStop()
282 if (AudioSharingUtils.isFeatureEnabled() && mDialogHandler != null) { in onDeviceClick()
298 if (AudioSharingUtils.isFeatureEnabled()) { in init()
345 } else if (AudioSharingUtils.isFeatureEnabled() in updateTitle()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamConfirmDialogActivity.java52 if (AudioSharingUtils.isFeatureEnabled() in createUiFromIntent()
69 if (AudioSharingUtils.isFeatureEnabled() in onStart()
89 if (AudioSharingUtils.isFeatureEnabled() in onServiceConnected()
/packages/services/Car/car-lib/src/android/car/
DCarFeatures.java57 boolean isFeatureEnabled(@NonNull ICar service, @NonNull String featureName) { in isFeatureEnabled() method in CarFeatures
66 boolean supported = service.isFeatureEnabled(featureName); in isFeatureEnabled()
DICar.aidl36 boolean isFeatureEnabled(in String featureName) = 13;
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarFeatureControllerTest.java105 assertThat(featureController.isFeatureEnabled(CarFeatures.FEATURE_CAR_USER_NOTICE_SERVICE)) in testUserNoticeDisabledFromVhal()
107 assertThat(featureController.isFeatureEnabled(Car.STORAGE_MONITORING_SERVICE)).isTrue(); in testUserNoticeDisabledFromVhal()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarFeatureControllerUnitTest.java81 boolean isNavigationEnabled = service.isFeatureEnabled(CAR_NAVIGATION_SERVICE_FEATURE); in testIsFeatureEnabled_enabled()
97 boolean isNavigationEnabled = service.isFeatureEnabled(CAR_NAVIGATION_SERVICE_FEATURE); in testIsFeatureEnabled_disabled()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/photogrid/
DPhotoGrid.kt62 val isPreviewEnabled = remember { featureManager.isFeatureEnabled(PreviewFeature::class.java) } in <lambda>()
90 if (featureManager.isFeatureEnabled(AlbumGridFeature::class.java)) in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/features/
DFeatureManagerTest.kt373 assertThat(featureManager.isFeatureEnabled(SimpleUiFeature::class.java)).isTrue() in <lambda>()
374 assertThat(featureManager.isFeatureEnabled(HighPriorityUiFeature::class.java)).isTrue() in <lambda>()
375 assertThat(featureManager.isFeatureEnabled(AlwaysDisabledFeature::class.java)).isFalse() in <lambda>()
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java189 boolean isFeatureEnabled(Context context, String name); in isFeatureEnabled() method
208 public boolean isFeatureEnabled(final Context context, final String name) { in makeDefault() method
277 mIgnoreIncompleteIpv6DefaultRouterEnabled = dependencies.isFeatureEnabled(context,
281 mIgnoreOrganicNudFailure = dependencies.isFeatureEnabled(context,
283 mIgnoreNeverReachableNeighbor = dependencies.isFeatureEnabled(context,
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarFeatureTest.java124 assertThat(car.isFeatureEnabled(mandatoryFeature)).isTrue(); in checkMandatoryFeatures()
134 boolean enabled = getCar().isFeatureEnabled(optionalFeature); in toggleOptionalFeature()
DCarDisplayCompatManagerTest.java42 assumeTrue(car.isFeatureEnabled(Car.CAR_DISPLAY_COMPAT_SERVICE)); in setUp()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java189 boolean isFeatureEnabled(@NonNull Context context, @NonNull String name) { in isFeatureEnabled() method in TetheringConfiguration.Dependencies
297 mRandomPrefixBase = mDeps.isFeatureEnabled(ctx, TETHER_FORCE_RANDOM_PREFIX_BASE_SELECTION); in TetheringConfiguration()
398 USE_SYNC_SM = mDeps.isFeatureEnabled(ctx, TETHER_ENABLE_SYNC_SM); in readEnableSyncSM()
653 && mDeps.isFeatureEnabled(context, TETHER_ENABLE_WEAR_TETHERING); in shouldEnableWearTethering()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DCustomizableLockScreenQuickAffordancesPreferenceControllerTest.java148 private void setEnabled(boolean isWallpaperPickerInstalled, boolean isFeatureEnabled) { in setEnabled() argument
169 CustomizableLockScreenUtils.ENABLED_FLAG, isFeatureEnabled ? 1 : 0 in setEnabled()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingActivity.java27 if (!AudioSharingUtils.isFeatureEnabled()) { in onCreate()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DConnectivityFlags.java79 mNoRematchAllRequestsOnRegister = deps.isFeatureEnabled( in loadFlags()
/packages/apps/Settings/src/com/android/settings/applications/appcompat/
DUserAspectRatioAppsPreferenceController.java40 return UserAspectRatioManager.isFeatureEnabled(mContext) in getAvailabilityStatus()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java216 if (!mActivity.getCar().isFeatureEnabled(Car.STORAGE_MONITORING_SERVICE)) { in onResume()
226 if (mActivity.getCar().isFeatureEnabled(Car.STORAGE_MONITORING_SERVICE)) { in onPause()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/
DCloudMediaFeatureTest.kt144 .that(featureManager.get().isFeatureEnabled(OverflowMenuFeature::class.java)) in <lambda>()
193 .that(featureManager.get().isFeatureEnabled(OverflowMenuFeature::class.java)) in <lambda>()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DFakeTetheringConfiguration.java31 boolean isFeatureEnabled(@NonNull Context context, @NonNull String name) { in FakeTetheringConfiguration()
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DIVirtualizationService.aidl83 boolean isFeatureEnabled(in String feature); in isFeatureEnabled() method
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineManager.java418 public boolean isFeatureEnabled(@Features String featureName) throws VirtualMachineException { in isFeatureEnabled() method in VirtualMachineManager
422 return service.getBinder().isFeatureEnabled(featureName); in isFeatureEnabled()

12345