/packages/apps/Launcher3/src/com/android/launcher3/config/ |
D | FeatureFlags.java | 20 import static com.android.launcher3.config.FeatureFlags.FlagState.ENABLED; 86 270394041, "ENABLE_SEARCH_RESULT_BACKGROUND_DRAWABLES", ENABLED, 90 270394392, "ENABLE_SEARCH_RESULT_LAUNCH_TRANSITION", ENABLED, 104 "CONTINUOUS_VIEW_TREE_CAPTURE", ENABLED, "Capture View tree every frame"); 127 270394468, "ENABLE_SHOW_KEYBOARD_OPTION_IN_ALL_APPS", ENABLED, 132 "ENABLE_TWOLINE_DEVICESEARCH", ENABLED, 158 "ENABLE_MATERIAL_U_POPUP", ENABLED, "Switch popup UX to use material U"); 162 "ENABLE_DOWNLOAD_APP_UX_V2", ENABLED, "Updates the download app UX" 166 "ENABLE_DOWNLOAD_APP_UX_V3", ENABLED, "Updates the download app UX" 170 "SHOW_DOT_PAGINATION", ENABLED, "Enable showing dot pagination in workspace"); [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/ |
D | le_scanning_filter_duplicates_test.cc | 67 true, filter_duplicates == FilterDuplicates::ENABLED)); in StartScan() 182 StartScan(FilterDuplicates::ENABLED); in TEST_F() 200 StartExtendedScan(FilterDuplicates::ENABLED); in TEST_F() 226 StartExtendedScan(FilterDuplicates::ENABLED); in TEST_F() 250 StartScan(FilterDuplicates::ENABLED); in TEST_F() 280 StartExtendedScan(FilterDuplicates::ENABLED); in TEST_F() 323 StartExtendedScan(FilterDuplicates::ENABLED); in TEST_F() 340 StartScan(FilterDuplicates::ENABLED); in TEST_F() 347 StartScan(FilterDuplicates::ENABLED); in TEST_F() 356 StartExtendedScan(FilterDuplicates::ENABLED); in TEST_F() [all …]
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | CameraLaserSensorPreferenceController.java | 40 static final int ENABLED = 0; field in CameraLaserSensorPreferenceController 67 String value = Integer.toString(isEnabled ? ENABLED : DISABLED); in onPreferenceChange() 84 Integer.toString(ENABLED)); in isLaserSensorEnabled() 85 return TextUtils.equals(Integer.toString(ENABLED), prop); in isLaserSensorEnabled()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleColorInversionPreferenceFragment.java | 49 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED; field in ToggleColorInversionPreferenceFragment 57 enableServiceFeatureKeys.add(ENABLED); in registerKeysToObserverCallback() 95 final boolean isEnabled = Settings.Secure.getInt(getContentResolver(), ENABLED, OFF) == ON; in onPreferenceToggled() 104 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? ON : OFF); in onPreferenceToggled() local 179 final boolean checked = Settings.Secure.getInt(getContentResolver(), ENABLED, OFF) == ON; in updateSwitchBarToggleSwitch()
|
D | ToggleDaltonizerPreferenceFragment.java | 55 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED; field in ToggleDaltonizerPreferenceFragment 89 enableServiceFeatureKeys.add(ENABLED); in registerKeysToObserverCallback() 191 final boolean isEnabled = Settings.Secure.getInt(getContentResolver(), ENABLED, OFF) == ON; in onPreferenceToggled() 200 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? ON : OFF); in onPreferenceToggled() local 239 final boolean checked = Settings.Secure.getInt(getContentResolver(), ENABLED, OFF) == ON; in updateSwitchBarToggleSwitch()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | CameraLaserSensorPreferenceControllerTest.java | 94 Integer.toString(CameraLaserSensorPreferenceController.ENABLED)); in updateState_cameraLaserSensorEnabled_shouldCheckedPreference() 118 assertThat(Integer.toString(CameraLaserSensorPreferenceController.ENABLED)).isEqualTo( in onPreferenceChange_preferenceChecked_shouldEnableCameraLaserSensor() 121 Integer.toString(CameraLaserSensorPreferenceController.ENABLED))); in onPreferenceChange_preferenceChecked_shouldEnableCameraLaserSensor() 131 Integer.toString(CameraLaserSensorPreferenceController.ENABLED))); in onPreferenceChange__preferenceUnchecked_shouldDisableCameraLaserSensor()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/flags/ |
D | FlagsFactory.java | 19 import static com.android.launcher3.config.FeatureFlags.FlagState.ENABLED; 38 return new BooleanFlag(flagState == ENABLED); in getDebugFlag() 46 return new BooleanFlag(flagState == ENABLED); in getReleaseFlag()
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ts43/ |
D | Ts43VowifiStatusTest.java | 37 .setEntitlementStatus(EntitlementStatus.ENABLED) in ts43VowifiStatus_vowifiAvailable_vowifiEntitled() 53 .setEntitlementStatus(EntitlementStatus.ENABLED) in ts43VowifiStatus_addressNotRequired_vowifiEntitled() 69 .setEntitlementStatus(EntitlementStatus.ENABLED) in ts43VowifiStatus_tcStatusNotRequired_vowifiEntitled() 85 .setEntitlementStatus(EntitlementStatus.ENABLED) in ts43VowifiStatus_provisionNotRequired_vowifiEntitled() 229 .setEntitlementStatus(EntitlementStatus.ENABLED) in ts43VowifiStatus_entitlementStatusEnabledAndServerDataMissing_noAnyMatches() 261 .setEntitlementStatus(EntitlementStatus.ENABLED) in toString_vowifiAvailable_statusLogged()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | AutomaticEmergencyBrakingState.java | 52 public static final int ENABLED = 1; field in AutomaticEmergencyBrakingState 84 case ENABLED: in toString() 96 @IntDef({OTHER, ENABLED, ACTIVATED, USER_OVERRIDE})
|
D | LaneKeepAssistState.java | 52 public static final int ENABLED = 1; field in LaneKeepAssistState 97 case ENABLED: in toString() 111 @IntDef({OTHER, ENABLED, ACTIVATED_STEER_LEFT, ACTIVATED_STEER_RIGHT, USER_OVERRIDE})
|
D | LaneCenteringAssistState.java | 54 public static final int ENABLED = 1; field in LaneCenteringAssistState 112 case ENABLED: in toString() 128 @IntDef({OTHER, ENABLED, ACTIVATION_REQUESTED, ACTIVATED, USER_OVERRIDE,
|
D | CruiseControlState.java | 51 public static final int ENABLED = 1; field in CruiseControlState 103 case ENABLED: in toString() 119 @IntDef({OTHER, ENABLED, ACTIVATED, USER_OVERRIDE, SUSPENDED, FORCED_DEACTIVATION_WARNING})
|
D | EmergencyLaneKeepAssistState.java | 52 public static final int ENABLED = 1; field in EmergencyLaneKeepAssistState 107 case ENABLED: in toString() 125 @IntDef({OTHER, ENABLED, WARNING_LEFT, WARNING_RIGHT, ACTIVATED_STEER_LEFT,
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/preferences/ |
D | CellularFallbackTogglePreferenceController.java | 34 private static final String ENABLED = "1"; field in CellularFallbackTogglePreferenceController 62 enableCellularFallback ? ENABLED : DISABLED); in handlePreferenceChanged() 76 return TextUtils.equals(ENABLED, in cellularFallbackEnabled()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | FileLog.java | 35 protected static final boolean ENABLED = true; field in FileLog 48 if (ENABLED) { in setDir() 105 if (!ENABLED) { in print() 131 if (!ENABLED) { in flushAll() 165 if (sLogsDirectory == null || !ENABLED) { in handleMessage()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestUnspecifiedDimensions.cpp | 96 enum class PaddingEnabled { DEFAULT, ENABLED, DISABLED }; enumerator 179 case PaddingEnabled::ENABLED: in toString() 198 mEnablePaddingChoices = {PaddingEnabled::DEFAULT, PaddingEnabled::ENABLED, in SetUp() 232 mEnablePaddingChoices = {PaddingEnabled::DEFAULT, PaddingEnabled::ENABLED, in SetUp() 376 if (mEnablePadding == PaddingEnabled::ENABLED) { in TestOne() 463 if (mEnablePadding != PaddingEnabled::ENABLED && mBufferSize == BufferSize::MORE) { in expectSetInput0() 475 if (mEnablePadding != PaddingEnabled::ENABLED && mBufferSize == BufferSize::MORE) { in expectSetInput0() 542 if (mEnablePadding != PaddingEnabled::ENABLED && mBufferSize == BufferSize::MORE) { in expectSetOutput0() 551 if (mEnablePadding != PaddingEnabled::ENABLED && in expectSetOutput0()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/ |
D | FlagsFactory.java | 23 import static com.android.launcher3.config.FeatureFlags.FlagState.ENABLED; 79 case ENABLED: in getEnabledValue() 87 return flagState == ENABLED; in getEnabledValue() 121 : defaultValue ? ENABLED : DISABLED, currentValue, defaultValueInCode); in getReleaseFlag()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | DatabaseIndexingManager.java | 30 … static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.ENABLED; 253 values.put(ENABLED, dataRow.enabled); in insertIndexData() 274 final String whereEnabled = ENABLED + " = 1"; in updateDataInDatabase() 275 final String whereDisabled = ENABLED + " = 0"; in updateDataInDatabase() 281 enabledToDisabledValue.put(ENABLED, 0); in updateDataInDatabase() 304 disabledToEnabledValue.put(ENABLED, 1); in updateDataInDatabase()
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | WfcActivationControllerTest.java | 174 .setEntitlementStatus(EntitlementStatus.ENABLED) in finishFlow_startForUpdate_showGeneralWaitingUi() 239 .setEntitlementStatus(EntitlementStatus.ENABLED) in finish_entitlementResultWfcEntitled_writeLoggerAppResultSuccessful() 269 .setEntitlementStatus(EntitlementStatus.ENABLED) in handleEntitlementStatusForActivation_isVowifiEntitledTrue_setActivityResultOk() 367 .setEntitlementStatus(EntitlementStatus.ENABLED) in handleEntitlementStatusAfterActivation_isVowifiEntitledTrue_setActivityResultOk() 406 .setEntitlementStatus(EntitlementStatus.ENABLED) in handleEntitlementStatusAfterUpdating_entitlementStatusEnabled_setResultOk() 477 .setEntitlementStatus(EntitlementStatus.ENABLED) in handleEntitlementStatusForUpdate_serviceEntitled_showWebview() 501 .setEntitlementStatus(EntitlementStatus.ENABLED) in handleEntitlementStatusForUpdate_showTc_showWebview()
|
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/SCN/ |
D | BV_13_C.py | 45 …controller.send_cmd(hci.LeSetAddressResolutionEnable(address_resolution_enable=hci.Enable.ENABLED)) 61 … hci.LeSetScanEnable(le_scan_enable=hci.Enable.ENABLED, filter_duplicates=hci.Enable.DISABLED)) 102 … hci.LeSetScanEnable(le_scan_enable=hci.Enable.ENABLED, filter_duplicates=hci.Enable.DISABLED))
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ts43/ |
D | Ts43VolteStatus.java | 37 public static final int ENABLED = 1; field in Ts43VolteStatus.EntitlementStatus 69 return entitlementStatus() == EntitlementStatus.ENABLED; in isActive()
|
D | Ts43SmsOverIpStatus.java | 37 public static final int ENABLED = 1; field in Ts43SmsOverIpStatus.EntitlementStatus 69 return entitlementStatus() == EntitlementStatus.ENABLED; in isActive()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | AutomaticEmergencyBrakingStateTest.java | 52 .ENABLED, in constantValues() 54 .ENABLED in constantValues()
|
D | LaneKeepAssistStateTest.java | 50 android.car.hardware.property.LaneKeepAssistState.ENABLED, in constantValues() 51 android.hardware.automotive.vehicle.LaneKeepAssistState.ENABLED in constantValues()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/ |
D | PluginEnablerImpl.java | 43 setState(component, reason == ENABLED); in setDisabled() 57 return isEnabled(componentName) ? ENABLED : DISABLED_MANUALLY; in getDisableReason()
|