Home
last modified time | relevance | path

Searched refs:TRUE (Results 1 – 25 of 66) sorted by relevance

123

/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayout_LayoutParamsTest.java111 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.CENTER_IN_PARENT]); in testConstructor()
153 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.ALIGN_PARENT_BOTTOM]); in testConstructor()
154 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.ALIGN_PARENT_LEFT]); in testConstructor()
163 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.ALIGN_PARENT_TOP]); in testConstructor()
164 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.ALIGN_PARENT_RIGHT]); in testConstructor()
174 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.CENTER_HORIZONTAL]); in testConstructor()
184 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.CENTER_VERTICAL]); in testConstructor()
218 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.CENTER_IN_PARENT]); in testStartEnd()
288 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.ALIGN_PARENT_BOTTOM]); in testStartEnd()
290 assertEquals(RelativeLayout.TRUE, rules[RelativeLayout.ALIGN_PARENT_LEFT]); in testStartEnd()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/types/
DOptionalBoolean.kt19 TRUE,
26 true -> TRUE in from()
/cts/tests/tests/assist/src/android/assist/cts/
DDisableContextTest.java42 setFeaturesEnabled(StructureEnabled.TRUE, ScreenshotEnabled.TRUE); in customTearDown()
77 setFeaturesEnabled(StructureEnabled.TRUE, ScreenshotEnabled.FALSE); in testScreenshotOff()
97 setFeaturesEnabled(StructureEnabled.FALSE, ScreenshotEnabled.TRUE); in testScreenContextOff()
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/meta/
DRequireRunOnUser.java19 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
34 OptionalBoolean switchedToUser() default TRUE; in switchedToUser() field
DRequireRunOnProfile.java20 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
51 OptionalBoolean switchedToParentUser() default TRUE; in switchedToParentUser() field
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DRequireRunOnInitialUser.java20 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
52 OptionalBoolean switchedToUser() default TRUE; in switchedToUser() field
DRequireRunOnSecondaryUser.java20 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
53 OptionalBoolean switchedToUser() default TRUE; in switchedToUser() field
DRequireRunOnPrimaryUser.java20 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
54 OptionalBoolean switchedToUser() default TRUE; in switchedToUser() field
DRequireRunOnAdditionalUser.java20 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
61 OptionalBoolean switchedToUser() default TRUE; in switchedToUser() field
DRequireRunOnTvProfile.java21 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
51 OptionalBoolean switchedToParentUser() default TRUE; in switchedToParentUser() field
DRequireRunOnCloneProfile.java21 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
52 OptionalBoolean switchedToParentUser() default TRUE; in switchedToParentUser() field
DRequireRunOnPrivateProfile.java21 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
52 OptionalBoolean switchedToParentUser() default TRUE; in switchedToParentUser() field
DEnsureHasCloneProfile.java22 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
49 OptionalBoolean installInstrumentedApp() default TRUE; in installInstrumentedApp() field
DEnsureHasTvProfile.java22 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
48 OptionalBoolean installInstrumentedApp() default TRUE; in installInstrumentedApp() field
DRequireRunOnWorkProfile.java22 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
90 OptionalBoolean switchedToParentUser() default TRUE; in switchedToParentUser() field
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserVisibilityTest.java25 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
101 @RequireRunOnWorkProfile(switchedToParentUser = TRUE)
112 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
161 @RequireRunOnWorkProfile(switchedToParentUser = TRUE)
176 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomCtsVoipCall.java63 wasCompleted.accept(Boolean.TRUE);
69 wasCompleted.accept(Boolean.TRUE);
75 wasCompleted.accept(Boolean.TRUE);
82 wasCompleted.accept(Boolean.TRUE);
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSampleDeviceInfo.java32 boolean[] booleans = {Boolean.TRUE, Boolean.FALSE}; in collectDeviceInfo()
40 store.addResult("foo_boolean", Boolean.TRUE); in collectDeviceInfo()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/parameterized/
DIncludeRunOnSingleDeviceOwnerUser.java22 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
48 dpc = @Query(isHeadlessDOSingleUser = @BooleanQuery(isEqualTo = TRUE)))
/cts/tests/security/src/android/keystore/cts/
DCborUtils.java69 if (value != SimpleValueType.TRUE && value != SimpleValueType.FALSE) { in getBoolean()
72 return (value == SimpleValueType.TRUE); in getBoolean()
82 } else if (value == SimpleValueType.TRUE) { in getBooleanList()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java33 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
336 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
347 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
358 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
462 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
484 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
499 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
519 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
541 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
562 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
[all …]
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt111 switchedToUser = OptionalBoolean.TRUE in <lambda>()
129 if (switchedToUser == OptionalBoolean.TRUE) { in <lambda>()
158 if (installInstrumentedApp == OptionalBoolean.TRUE) { in <lambda>()
245 if (installInstrumentedApp == OptionalBoolean.TRUE) { in <lambda>()
373 mutableSwitchedToUser = OptionalBoolean.TRUE in <lambda>()
376 if (mutableSwitchedToUser == OptionalBoolean.TRUE && !instrumentedUser.canBeSwitchedTo()) { in <lambda>()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DCrossUserSuspendTest.java24 import static com.android.bedstead.nene.types.OptionalBoolean.TRUE;
83 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
118 @EnsureHasWorkProfile(installInstrumentedApp = TRUE)
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageSetInstallerTest.kt88 finalState = GrantState.TRUE) in notRestricted()
217 GrantState.TRUE -> { in assertGrantState()
264 TRUE,
/cts/tests/location/location_fine/src/android/location/cts/fine/
DGeofencingTest.java127 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testAddProximityAlert()
239 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testAddProximityAlert_StartProximate()
269 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testAddProximityAlert_Multiple()

123