/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | CameraLaserSensorPreferenceController.java | 40 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/ |
D | FileLog.java | 36 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/ |
D | CameraLaserSensorPreferenceControllerTest.java | 92 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/ |
D | ToggleColorInversionPreferenceFragment.java | 44 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()
|
D | ToggleDaltonizerPreferenceFragment.java | 53 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/ |
D | DatabaseIndexingManager.java | 30 … 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()
|
D | IndexDatabaseHelper.java | 71 String ENABLED = "enabled"; field 129 IndexColumns.ENABLED +
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/ |
D | BluetoothStateLiveData.java | 39 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/ |
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | ToggleDaltonizerPreferenceFragment.java | 43 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/ |
D | DeletionHelperActivity.java | 45 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/ |
D | PluginEnablerImpl.java | 43 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/ |
D | FileLogTest.java | 61 if (!FileLog.ENABLED) { in testPrintLog() 82 if (!FileLog.ENABLED) { in testOldFileTruncated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | FakeSettingsFragment.java | 50 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/ |
D | BluetoothStateLiveDataTest.java | 103 BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange() 104 assertThat(valueCaptor.getValue()).isEqualTo(BluetoothStateLiveData.BluetoothState.ENABLED); in testOnBluetoothAdapterStateChange()
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
D | PrimaryCallState.java | 44 @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/ |
D | TelecomActivityViewModelTest.java | 106 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_noPairedDevices_bluetoothError() 126 BluetoothStateLiveData.BluetoothState.ENABLED); in testDialerAppState_hfpNoConnected_bluetoothError()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.java | 58 ENABLED, 70 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + ENABLED, 119 values.put(ENABLED, alarm.enabled ? 1 : 0); in createContentValues()
|
D | ClockDatabaseHelper.java | 79 ClockContract.AlarmsColumns.ENABLED + " INTEGER NOT NULL, " + in createAlarmsTable() 122 ClockContract.AlarmsColumns.ENABLED + cs + in onCreate()
|
D | ClockProvider.java | 68 sAlarmsWithInstancesProjection.put(ALARMS_TABLE_NAME + "." + AlarmsColumns.ENABLED, 69 ALARMS_TABLE_NAME + "." + AlarmsColumns.ENABLED);
|
D | ClockContract.java | 129 String ENABLED = "enabled"; field
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | MainProcessInitializer.java | 44 if (BitmapCreationCheck.ENABLED) { in init()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | BitmapCreationCheck.java | 42 public static final boolean ENABLED = false; field in BitmapCreationCheck
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/debug/ |
D | TunerDebug.java | 25 public static final boolean ENABLED = false; field in TunerDebug
|