/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingPool.java | 29 private static final boolean ENABLED = false; // disabled to test b/208508846 field in MessagingPool 36 if (ENABLED) { in MessagingPool() 43 if (!ENABLED) { in acquire() 60 if (!ENABLED) { in release() 68 if (ENABLED) { in clear()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorState.java | 20 import static android.hardware.SensorPrivacyManager.StateTypes.ENABLED; 64 return enabled ? ENABLED : DISABLED; in enabledToState() 76 return getState() == ENABLED; in isEnabled()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/ |
D | OneHandedModeRepositoryImplTest.kt | 69 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_initiallyGetsSettingsValue() 82 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated() 105 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly() 119 assertThat(actualValue).isEqualTo(ENABLED) in setEnabled() 136 private const val ENABLED = 1 constant
|
D | ColorInversionRepositoryImplTest.kt | 76 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_initiallyGetsSettingsValue() 89 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated() 110 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly() 124 assertThat(actualValue).isEqualTo(ENABLED) in setEnabled() 141 private const val ENABLED = 1 constant
|
D | ColorCorrectionRepositoryImplTest.kt | 76 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_initiallyGetsSettingsValue() 90 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingUpdated_valueUpdated() 113 settings.putIntForUser(SETTING_NAME, ENABLED, testUser1.identifier) in isEnabled_settingForUserOneOnly_valueUpdatedForUserOneOnly() 128 Truth.assertThat(actualValue).isEqualTo(ENABLED) in setEnabled() 145 private const val ENABLED = 1 constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogDelegateTest.kt | 66 const val ENABLED = true constant 84 isBluetoothEnabled = ENABLED, 85 isAutoOnToggleFeatureAvailable = ENABLED 266 BluetoothTileDialogViewModel.UiProperties.build(ENABLED, ENABLED), in testShowDialog_cachedHeightLargerThanMinHeight_displayFromCachedHeight() 289 BluetoothTileDialogViewModel.UiProperties.build(ENABLED, ENABLED), in testShowDialog_cachedHeightLessThanMinHeight_displayFromUiProperties() 312 BluetoothTileDialogViewModel.UiProperties.build(ENABLED, ENABLED), in testShowDialog_bluetoothEnabled_autoOnToggleGone()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginEnablerImpl.java | 49 setDisabled(component, ENABLED); in setEnabled() 54 boolean enabled = reason == ENABLED; in setDisabled() 74 return ENABLED; in getDisableReason()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginEnabler.java | 25 int ENABLED = 0; field 31 @IntDef({ENABLED, DISABLED_MANUALLY, DISABLED_INVALID_VERSION, DISABLED_FROM_EXPLICIT_CRASH,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/ |
D | ColorCorrectionRepository.kt | 65 ENABLED in isEnabled() 76 if (isEnabled) ENABLED else DISABLED, in isEnabled() 84 private const val ENABLED = 1 in isEnabled() constant
|
D | ColorInversionRepository.kt | 65 ENABLED in isEnabled() 76 if (isEnabled) ENABLED else DISABLED, in isEnabled() 84 private const val ENABLED = 1 in isEnabled() constant
|
D | OneHandedModeRepository.kt | 65 ENABLED in isEnabled() 76 if (isEnabled) ENABLED else DISABLED, in isEnabled() 84 private const val ENABLED = 1 in isEnabled() constant
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItem.java | 67 private int mFlags = ENABLED; 72 private static final int ENABLED = 0x00000010; field in ActionMenuItem 150 return (mFlags & ENABLED) != 0; in isEnabled() 184 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled()
|
D | MenuItemImpl.java | 89 private int mFlags = ENABLED; 94 private static final int ENABLED = 0x00000010; field in MenuItemImpl 178 return (mFlags & ENABLED) != 0; in isEnabled() 183 mFlags |= ENABLED; in setEnabled() 185 mFlags &= ~ENABLED; in setEnabled()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | EmergencyAffordanceManager.java | 29 public static final boolean ENABLED = true; field in EmergencyAffordanceManager 81 if (!ENABLED) { in needsEmergencyAffordance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/data/repository/ |
D | CameraAutoRotateRepository.kt | 63 secureSettings.getIntForUser(SETTING_NAME, DISABLED, userId) == ENABLED in isCameraAutoRotateSettingEnabled() 68 const val ENABLED = 1 in isCameraAutoRotateSettingEnabled() constant
|
/frameworks/base/services/coverage/java/com/android/server/coverage/ |
D | CoverageService.java | 41 public static final boolean ENABLED; field in CoverageService 51 ENABLED = shouldEnable;
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | SnapshotCache.java | 39 private static final boolean ENABLED = true; field in SnapshotCache 137 if (s == null || !ENABLED) { in snapshot()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuInfoRepository.java | 90 MigrationPrompt.ENABLED, 95 int ENABLED = 1; field 177 == MigrationPrompt.ENABLED); in loadMigrationTooltipVisibility() 220 visible ? MigrationPrompt.ENABLED : MigrationPrompt.DISABLED, in updateMigrationTooltipVisibility()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/ |
D | QSTileState.kt | 99 ENABLED, 125 var enabledState: EnabledState = EnabledState.ENABLED
|
/frameworks/native/libs/gui/android/gui/ |
D | TrustedOverlay.aidl | 44 ENABLED enumConstant
|
/frameworks/base/core/java/android/app/ |
D | AutomaticZenRule.java | 46 private static final int ENABLED = 1; field in AutomaticZenRule 242 enabled = source.readInt() == ENABLED; in AutomaticZenRule() 243 if (source.readInt() == ENABLED) { in AutomaticZenRule() 254 mModified = source.readInt() == ENABLED; in AutomaticZenRule() 531 dest.writeInt(enabled ? ENABLED : DISABLED); in writeToParcel() 544 dest.writeInt(mModified ? ENABLED : DISABLED); in writeToParcel()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSsInfo.java | 47 ENABLED 57 public static final int ENABLED = 1; field in ImsSsInfo
|
/frameworks/base/core/java/android/hardware/ |
D | SensorPrivacyManager.java | 215 public static final int ENABLED = SensorPrivacyIndividualEnabledSensorProto.ENABLED; field in SensorPrivacyManager.StateTypes 235 ENABLED, 289 if (state == StateTypes.ENABLED) { in SensorPrivacyChangedParams() 364 int state = enabled ? StateTypes.ENABLED : StateTypes.DISABLED;
|
/frameworks/native/libs/sensorprivacy/include/sensorprivacy/ |
D | SensorPrivacyManager.h | 46 ENABLED = 1, enumerator
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AppLocaleCollector.java | 53 private static final boolean ENABLED = true; field in AppLocaleCollector 177 if (SystemProperties.getBoolean(PROP_APP_LANGUAGE_SUGGESTION, ENABLED)) { in getIgnoredLocaleList() 253 ENABLED)) { in getSupportedLocaleList()
|