Home
last modified time | relevance | path

Searched refs:ENABLED (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/development/
DCameraLaserSensorPreferenceController.java40 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DCameraLaserSensorPreferenceController.java40 static final int ENABLED = 0; field in CameraLaserSensorPreferenceController
67 String value = Integer.toString(isEnabled ? ENABLED : DISABLED); in onPreferenceChange()
87 Integer.toString(ENABLED)); in isLaserSensorEnabled()
88 return TextUtils.equals(Integer.toString(ENABLED), prop); in isLaserSensorEnabled()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DFileLog.java36 protected static final boolean ENABLED = true; field in FileLog
49 if (ENABLED) { in setDir()
86 if (!ENABLED) { in print()
112 if (!ENABLED) { in flushAll()
146 if (sLogsDirectory == null || !ENABLED) { in handleMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DCameraLaserSensorPreferenceControllerTest.java92 Integer.toString(CameraLaserSensorPreferenceController.ENABLED)); in updateState_cameraLaserSensorEnabled_shouldCheckedPreference()
116 assertThat(Integer.toString(CameraLaserSensorPreferenceController.ENABLED)).isEqualTo( in onPreferenceChange_preferenceChecked_shouldEnableCameraLaserSensor()
119 Integer.toString(CameraLaserSensorPreferenceController.ENABLED))); in onPreferenceChange_preferenceChecked_shouldEnableCameraLaserSensor()
129 Integer.toString(CameraLaserSensorPreferenceController.ENABLED))); in onPreferenceChange__preferenceUnchecked_shouldDisableCameraLaserSensor()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleColorInversionPreferenceFragment.java44 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED; field in ToggleColorInversionPreferenceFragment
56 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? ON : OFF); in onPreferenceToggled() local
97 enableServiceFeatureKeys.add(ENABLED); in onCreateView()
138 final boolean checked = Settings.Secure.getInt(getContentResolver(), ENABLED, OFF) == ON; in updateSwitchBarToggleSwitch()
DToggleDaltonizerPreferenceFragment.java53 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED; field in ToggleDaltonizerPreferenceFragment
89 enableServiceFeatureKeys.add(ENABLED); in onCreateView()
172 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? ON : OFF); in onPreferenceToggled() local
210 final boolean checked = Settings.Secure.getInt(getContentResolver(), ENABLED, OFF) == ON; in updateSwitchBarToggleSwitch()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DDatabaseIndexingManager.java30 … static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.ENABLED;
231 values.put(ENABLED, dataRow.enabled); in insertIndexData()
251 final String whereEnabled = ENABLED + " = 1"; in updateDataInDatabase()
252 final String whereDisabled = ENABLED + " = 0"; in updateDataInDatabase()
258 enabledToDisabledValue.put(ENABLED, 0); in updateDataInDatabase()
281 disabledToEnabledValue.put(ENABLED, 1); in updateDataInDatabase()
DIndexDatabaseHelper.java71 String ENABLED = "enabled"; field
129 IndexColumns.ENABLED +
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DBluetoothStateLiveData.java39 BluetoothState.ENABLED,
47 int ENABLED = 2; field
86 state = mBluetoothAdapter.isEnabled() ? BluetoothState.ENABLED in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/preferences/
DCellularFallbackTogglePreferenceController.java34 private static final String ENABLED = "1"; field in CellularFallbackTogglePreferenceController
62 enableCellularFallback ? ENABLED : DISABLED); in handlePreferenceChanged()
76 return TextUtils.equals(ENABLED, in cellularFallbackEnabled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleDaltonizerPreferenceFragment.java43 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED; field in ToggleDaltonizerPreferenceFragment
78 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? 1 : 0); in onPreferenceToggled() local
96 Settings.Secure.getInt(getContentResolver(), ENABLED, 0) == 1); in onInstallSwitchBarToggleSwitch() local
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperActivity.java45 private static final int ENABLED = 1; field in DeletionHelperActivity
138 ENABLED); in onCreateOptionsMenu()
139 if (isNonthresholdAvailable < ENABLED || mIsShowingInterstitial) { in onCreateOptionsMenu()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/
DPluginEnablerImpl.java43 setState(component, reason == ENABLED); in setDisabled()
57 return isEnabled(componentName) ? ENABLED : DISABLED_MANUALLY; in getDisableReason()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/logging/
DFileLogTest.java61 if (!FileLog.ENABLED) { in testPrintLog()
82 if (!FileLog.ENABLED) { in testOldFileTruncated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DFakeSettingsFragment.java50 public static final boolean ENABLED = true; field in FakeSettingsFragment
92 data.enabled = ENABLED;
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DBluetoothStateLiveDataTest.java103 BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()
104 assertThat(valueCaptor.getValue()).isEqualTo(BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java44 @IntDef({ButtonState.NOT_SUPPORT, ButtonState.DISABLED, ButtonState.ENABLED})
48 int ENABLED = 2; field
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/
DTelecomActivityViewModelTest.java106 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_noPairedDevices_bluetoothError()
126 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_hfpNoConnected_bluetoothError()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java58 ENABLED,
70 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + ENABLED,
119 values.put(ENABLED, alarm.enabled ? 1 : 0); in createContentValues()
DClockDatabaseHelper.java79 ClockContract.AlarmsColumns.ENABLED + " INTEGER NOT NULL, " + in createAlarmsTable()
122 ClockContract.AlarmsColumns.ENABLED + cs + in onCreate()
DClockProvider.java68 sAlarmsWithInstancesProjection.put(ALARMS_TABLE_NAME + "." + AlarmsColumns.ENABLED,
69 ALARMS_TABLE_NAME + "." + AlarmsColumns.ENABLED);
DClockContract.java129 String ENABLED = "enabled"; field
/packages/apps/Launcher3/src/com/android/launcher3/
DMainProcessInitializer.java44 if (BitmapCreationCheck.ENABLED) { in init()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DBitmapCreationCheck.java42 public static final boolean ENABLED = false; field in BitmapCreationCheck
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/debug/
DTunerDebug.java25 public static final boolean ENABLED = false; field in TunerDebug

12