Home
last modified time | relevance | path

Searched refs:ON (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_FoldableTest.cpp41 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
46 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
50 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::ON); in TEST_F()
55 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
60 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
64 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::ON); in TEST_F()
77 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
78 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::ON); in TEST_F()
86 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
118 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
[all …]
DSurfaceFlinger_SetPowerModeInternalTest.cpp59 IComposerClient::PowerMode::ON;
61 IComposerClient::PowerMode::ON;
135 struct TransitionOffToOnVariant : public TransitionVariantCommon<PowerMode::OFF, PowerMode::ON> {
138 Case::setupComposerCallExpectations(test, IComposerClient::PowerMode::ON); in setupCallExpectations()
163 struct TransitionOnToOffVariant : public TransitionVariantCommon<PowerMode::ON, PowerMode::OFF> {
188 struct TransitionOnToDozeVariant : public TransitionVariantCommon<PowerMode::ON, PowerMode::DOZE> {
206 struct TransitionDozeToOnVariant : public TransitionVariantCommon<PowerMode::DOZE, PowerMode::ON> {
210 Case::setupComposerCallExpectations(test, IComposerClient::PowerMode::ON); in setupCallExpectations()
215 : public TransitionVariantCommon<PowerMode::DOZE_SUSPEND, PowerMode::ON> {
220 Case::setupComposerCallExpectations(test, IComposerClient::PowerMode::ON); in setupCallExpectations()
[all …]
DCommitAndCompositeTest.h44 .setPowerMode(hal::PowerMode::ON) in SetUp()
61 .setPowerMode(hal::PowerMode::ON) in SetUp()
DSurfaceFlinger_DisplayModeSwitching.cpp377 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::ON); in TEST_F()
410 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
449 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::ON); in TEST_F()
450 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
527 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::ON); in TEST_F()
528 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
565 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
DSchedulerTest.cpp168 constexpr hal::PowerMode kPowerModeOn = hal::PowerMode::ON; in TEST_F()
232 constexpr hal::PowerMode kPowerModeOn = hal::PowerMode::ON; in TEST_F()
356 mScheduler->setDisplayPowerMode(kDisplayId1, hal::PowerMode::ON); in TEST_F()
357 mScheduler->setDisplayPowerMode(kDisplayId2, hal::PowerMode::ON); in TEST_F()
421 mScheduler->setDisplayPowerMode(kDisplayId3, hal::PowerMode::ON); in TEST_F()
636 mScheduler->setDisplayPowerMode(kDisplayId1, hal::PowerMode::ON); in TEST_F()
637 mScheduler->setDisplayPowerMode(kDisplayId2, hal::PowerMode::ON); in TEST_F()
652 mScheduler->setDisplayPowerMode(kDisplayId1, hal::PowerMode::ON); in TEST_F()
669 mScheduler->setDisplayPowerMode(kDisplayId1, hal::PowerMode::ON); in TEST_F()
691 mScheduler->setDisplayPowerMode(kDisplayId1, hal::PowerMode::ON); in TEST_F()
DSurfaceFlinger_InitializeDisplaysTest.cpp60 EXPECT_EQ(PowerMode::ON, getDisplayDevice(token).getPowerMode()); in TEST_F()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java57 public enum Flash { ON, OFF, AUTO }; enumConstant
62 public enum Geotagging { ON, OFF }; enumConstant
140 genericPairwiseTestCase(Flash.ON, Exposure.MIN, WhiteBalance.FLUORESCENT, SceneMode.AUTO, in testCameraPairwiseScenario02()
141 PictureSize.LARGE, Geotagging.ON); in testCameraPairwiseScenario02()
151 PictureSize.SMALL, Geotagging.ON); in testCameraPairwiseScenario03()
180 genericPairwiseTestCase(Flash.ON, Exposure.NONE, WhiteBalance.CLOUDY, SceneMode.AUTO, in testCameraPairwiseScenario06()
181 PictureSize.SMALL, Geotagging.ON); in testCameraPairwiseScenario06()
191 PictureSize.SMALL, Geotagging.ON); in testCameraPairwiseScenario07()
200 genericPairwiseTestCase(Flash.ON, Exposure.MIN, WhiteBalance.AUTO, SceneMode.ACTION, in testCameraPairwiseScenario08()
230 genericPairwiseTestCase(Flash.ON, Exposure.MAX, WhiteBalance.DAYLIGHT, SceneMode.SUNSET, in testCameraPairwiseScenario11()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java74 private static final int ON = 1; // which means feature enabled field in EmergencyAffordanceServiceTest
172 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldBeOn_whenBootUpWithEAEanbledSim()
186 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldBeOn_whenBootUpWithEAEanbledCell()
205 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldBeOn_whenSubscriptionInfoChangedWithEmergencyIso()
243 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldBeOn_whenCountryIsoChangedWithEmergencyIso()
292 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldOn_whenReceiveEmptyISOWithAPMEnabled()
299 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldOn_whenReceiveEmptyISOWithAPMEnabled()
313 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldOff_whenReceiveEmptyISOWithAPMDisabled()
342 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldBeOn_whenAirplaneModeOnOffWithEmergencyIsoInCell()
348 verifyEmergencyAffordanceNeededSettings(ON); in testSettings_shouldBeOn_whenAirplaneModeOnOffWithEmergencyIsoInCell()
[all …]
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md13 * **DS ON**: Data Saver Mode is on
15 * **BS ON**: Battery Saver Mode is on
26 | | | BS | ON | BS | OFF |
30 | **ON** | *!AL* | blk | blk | blk | blk |
39 | | | BS | ON | BS | OFF |
43 | **ON** | *!AL* | ok | blk | ok | ok |
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySavingStatsTest.java184 BatterySaverState.ON, in checkAll()
202 BatterySaverState.ON, in checkAll()
211 BatterySaverState.ON, in checkAll()
220 BatterySaverState.ON, in checkAll()
229 BatterySaverState.ON, in checkAll()
311 BatterySaverState.ON, in testMetricsLogger()
323 BatterySaverState.ON, in testMetricsLogger()
335 BatterySaverState.ON, in testMetricsLogger()
346 BatterySaverState.ON, in testMetricsLogger()
/frameworks/av/media/module/codecs/amrnb/common/include/
Dgsm_amr_typedefs.h111 #ifndef ON
112 #define ON 1 macro
Dvad2.h87 #define ON 1 macro
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DOneFingerPanningSettingsProvider.java49 int ON = 1; field
86 return State.ON == Settings.Secure.getIntForUser( in isOneFingerPanningEnabledInSetting()
89 (defaultValue ? State.ON : State.OFF), in isOneFingerPanningEnabledInSetting()
/frameworks/av/media/module/codecs/amrwb/dec/src/
Dpv_amr_wb_type_defs.h149 #ifndef ON
150 #define ON 1 macro
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DOneFingerPanningSettingsProviderTest.java142 enable ? State.ON : State.OFF, in enableSecureSettings()
147 return State.ON == Settings.Secure.getIntForUser( in isSecureSettingsEnabled()
150 mDefaultValue ? State.ON : State.OFF, in isSecureSettingsEnabled()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java55 int ON = 1; field
307 case BatterySaverState.ON: in transitionStateLocked()
315 if (oldBatterySaverState == BatterySaverState.ON) { in transitionStateLocked()
324 if (oldBatterySaverState == BatterySaverState.ON) { in transitionStateLocked()
408 case BatterySaverState.ON:
489 final Stat onStat = getStat(BatterySaverState.ON, interactiveState, dozeState, in dumpLineLocked()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DAndroid.bp1 // DO NOT DEPEND ON THIS DIRECTLY
55 // DO NOT DEPEND ON THIS DIRECTLY
/frameworks/av/media/codec2/hal/aidl/
DAndroid.bp5 // DO NOT DEPEND ON THIS DIRECTLY
57 // DO NOT DEPEND ON THIS DIRECTLY
/frameworks/proto_logging/stats/
Datom_field_options.proto60 // ON = 1;
91 // possible states of OFF and ON, a sequence of N OFF events will require N ON events for the
92 // tracked state to change back to ON.
/frameworks/av/media/codec2/hal/hidl/1.1/utils/
DAndroid.bp1 // DO NOT DEPEND ON THIS DIRECTLY
57 // DO NOT DEPEND ON THIS DIRECTLY
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegate.kt232 ) != ON in updateSecureSettingsIfNeeded()
236 ON, in updateSecureSettingsIfNeeded()
257 private const val ON = "1" constant
/frameworks/av/media/codec2/hal/hidl/1.2/utils/
DAndroid.bp1 // DO NOT DEPEND ON THIS DIRECTLY
61 // DO NOT DEPEND ON THIS DIRECTLY
/frameworks/proto_logging/stats/atoms/memorysafety/
Dmemorysafety_extension_atoms.proto35 ON = 2; enumerator
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java44 static final int ON = 1; field in AbstractWifiMacAddressPreferenceController
/frameworks/proto_logging/stats/atoms/gps/
Dgps_atoms.proto37 ON = 1; enumerator

12345