/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagPreference.java | 35 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/ |
D | DeviceConfigUtils.java | 180 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/ |
D | ICarImpl.java | 282 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/ |
D | ControlsTrivialPrivacyPreferenceController.java | 53 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/ |
D | AvailableMediaDeviceGroupController.java | 183 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/ |
D | AudioStreamConfirmDialogActivity.java | 52 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/ |
D | CarFeatures.java | 57 boolean isFeatureEnabled(@NonNull ICar service, @NonNull String featureName) { in isFeatureEnabled() method in CarFeatures 66 boolean supported = service.isFeatureEnabled(featureName); in isFeatureEnabled()
|
D | ICar.aidl | 36 boolean isFeatureEnabled(in String featureName) = 13;
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarFeatureControllerTest.java | 105 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/ |
D | CarFeatureControllerUnitTest.java | 81 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/ |
D | PhotoGrid.kt | 62 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/ |
D | FeatureManagerTest.kt | 373 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/ |
D | IpReachabilityMonitor.java | 189 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/ |
D | CarFeatureTest.java | 124 assertThat(car.isFeatureEnabled(mandatoryFeature)).isTrue(); in checkMandatoryFeatures() 134 boolean enabled = getCar().isFeatureEnabled(optionalFeature); in toggleOptionalFeature()
|
D | CarDisplayCompatManagerTest.java | 42 assumeTrue(car.isFeatureEnabled(Car.CAR_DISPLAY_COMPAT_SERVICE)); in setUp()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 189 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/ |
D | CustomizableLockScreenQuickAffordancesPreferenceControllerTest.java | 148 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/ |
D | AudioSharingActivity.java | 27 if (!AudioSharingUtils.isFeatureEnabled()) { in onCreate()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ConnectivityFlags.java | 79 mNoRematchAllRequestsOnRegister = deps.isFeatureEnabled( in loadFlags()
|
/packages/apps/Settings/src/com/android/settings/applications/appcompat/ |
D | UserAspectRatioAppsPreferenceController.java | 40 return UserAspectRatioManager.isFeatureEnabled(mContext) in getAvailabilityStatus()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/ |
D | StorageLifetimeFragment.java | 216 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/ |
D | CloudMediaFeatureTest.kt | 144 .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/ |
D | FakeTetheringConfiguration.java | 31 boolean isFeatureEnabled(@NonNull Context context, @NonNull String name) { in FakeTetheringConfiguration()
|
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/ |
D | IVirtualizationService.aidl | 83 boolean isFeatureEnabled(in String feature); in isFeatureEnabled() method
|
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/ |
D | VirtualMachineManager.java | 418 public boolean isFeatureEnabled(@Features String featureName) throws VirtualMachineException { in isFeatureEnabled() method in VirtualMachineManager 422 return service.getBinder().isFeatureEnabled(featureName); in isFeatureEnabled()
|