Home
last modified time | relevance | path

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

12

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DPollTest.java52 .toBeEqualTo(VALUE_1) in await_toBeEqualTo_alreadyEqual_returns()
61 .toBeEqualTo(VALUE_1) in await_toBeEqualTo_becomesEqual_returns()
70 .toBeEqualTo(VALUE_1) in await_toBeEqualTo_doesNotBecomeEqual_returnIncorrectValue()
81 .toBeEqualTo(VALUE_1) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_throwsException()
95 .toBeEqualTo(VALUE_1) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_customError_throwsException()
403 .toBeEqualTo(VALUE_2) in terminalValue_hasTerminalValue_exitsImmediately()
415 .toBeEqualTo(VALUE_2) in terminalValue_hasNonTerminalValue_doesNotExitImmediately()
428 .toBeEqualTo(VALUE_2) in terminalValue_hasExceptionWithNoValue_doesNotExitImmediately()
441 .toBeEqualTo(VALUE_2) in terminalException_hasTerminalException_exitsImmediately()
453 .toBeEqualTo(VALUE_2) in terminalException_hasNonTerminalException_doesNotExitImmediately()
[all …]
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/enterprise/sharesheet/
DAreThereWorkAndPersonalTabsStepAutomation.java38 .toBeEqualTo(true) in automate()
43 .toBeEqualTo(true) in automate()
DDoesTheSelectedTabContainAMessageSayingPersonalAppsStepAutomation.java36 .toBeEqualTo(true) in automate()
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/enterprise/launcher/
DAreThereWorkAndPersonalTabsStepAutomation.java39 .toBeEqualTo(true) in automate()
44 .toBeEqualTo(true) in automate()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/
DActivity.java83 .toBeEqualTo(LOCK_TASK_MODE_NONE) in stopLockTask()
109 .toBeEqualTo(component) in startActivity()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPersistentIntentResolvingTest.java86 .toBeEqualTo(true) in sendIntent_hasMultipleDefaultReceivers_launchesResolverActivity()
113 .toBeEqualTo(true) in sendIntent_hasPreferredReceiver_launchesPreferredActivity()
119 .toBeEqualTo(false) in sendIntent_hasPreferredReceiver_launchesPreferredActivity()
186 .toBeEqualTo(true) in sendIntent_clearPreferredActivity_launchesResolverActivity()
DInputMethodsTest.java59 .toBeEqualTo(true) in isCurrentInputMethodSetByOwner_isSetByOwner_returnsTrue()
81 .toBeEqualTo(false) in isCurrentInputMethodSetByOwner_isNotSetByOwner_returnsFalse()
DAudioTest.java109 .toBeEqualTo(false) in disallowUnmuteMicrophoneIsNotSet_canUnmuteMicrophone()
125 .toBeEqualTo(true) in disallowUnmuteMicrophoneIsSet_canNotUnmuteMicrophone()
DDevicePolicyManagementRoleHolderTest.java198 }).toBeEqualTo(true) in shouldAllowBypassingDevicePolicyManagementRoleQualification_noUsersAndAccounts_returnsTrue()
256 }).toBeEqualTo(false) in shouldAllowBypassingDevicePolicyManagementRoleQualification_withNonAllowedAccounts_returnsFalse()
274 }).toBeEqualTo(true) in shouldAllowBypassingDevicePolicyManagementRoleQualification_withAllowedAccounts_returnsTrue()
DPermissionGrantTest.java669 .toBeEqualTo(true) in setPermissionPolicy_grant_automaticallyGrantsPermissions()
694 .toBeEqualTo(false) in setPermissionPolicy_deny_automaticallyDeniesPermissions()
771 .toBeEqualTo(false) in setPermissionGrantStateDeny_autoGrantPermission_deniesPermissions()
801 .toBeEqualTo(false) in setPermissionPolicy_sensorPermissions_autoGrantPermission_denies()
827 .toBeEqualTo(false) in setPermissionPolicy_smsPermission_autoGrantPermission_denies()
855 .toBeEqualTo(false) in setPermissionGrantStateDeny_autoDenyPermission_deniesPermissions()
888 .toBeEqualTo(false) in setPermissionGrantStateDeny_promptPermission_deniesPermissions()
917 .toBeEqualTo(true) in setPermissionStateGranted_autoDenyPermission_grantsPermissions()
950 .toBeEqualTo(true) in setPermissionStateGranted_promptPermission_grantsPermissions()
985 .toBeEqualTo(false) in setSensorPermissionStateGranted_promptPermission_denyAsPermissionCantBeGrantedAutomatically()
[all …]
DEphemeralUserTest.kt51 .toBeEqualTo(false) in <lambda>()
DBluetoothTest.java175 .toBeEqualTo(true) in disable_bluetoothIsDisabled()
182 .toBeEqualTo(false) in disable_bluetoothIsDisabled()
207 .toBeEqualTo(true) in enable_bluetoothIsEnabled()
213 .toBeEqualTo(true) in enable_bluetoothIsEnabled()
434 .toBeEqualTo(true) in share_disallowBluetoothAndSharingRestrictionsAreNotSet_canShare()
453 .toBeEqualTo(false) in share_disallowBluetoothSharingRestrictionIsSet_canNotShare()
511 .toBeEqualTo(false) in share_disallowBluetoothRestrictionIsSet_canNotShare()
DPersistentPreferredActivitiesTest.java149 .toBeEqualTo(true) in sendIntent_hasMultipleDefaultReceivers_launchesResolverActivity()
176 .toBeEqualTo(true) in sendIntent_hasPreferredReceiver_launchesPreferredActivity()
182 .toBeEqualTo(false) in sendIntent_hasPreferredReceiver_launchesPreferredActivity()
250 .toBeEqualTo(true) in sendIntent_clearPreferredActivity_launchesResolverActivity()
DLockTest.java105 .toBeEqualTo(false) in lockNow_noPasswordSet_turnsScreenOff()
132 .toBeEqualTo(true) in lockNow_passwordSet_locksDevice()
DStartActivityFromBackgroundTest.java74 .toBeEqualTo(testActivity.component()).errorOnFail().await(); in startActivityFromBackground_dpcAllowed_ableToStart()
DBackupTest.java104 .toBeEqualTo(true) in setBackupServiceEnabled_true_setsBackupServiceEnabled()
127 .toBeEqualTo(false) in setBackupServiceEnabled_false_setsBackupServiceNotEnabled()
DWipeDataTest.java108 .toBeEqualTo(false) in wipeData_additionalUsers_removeUser()
DApplicationExemptionsTest.java257 .toBeEqualTo(UsageStatsManager.STANDBY_BUCKET_EXEMPTED) in setApplicationExemptions_powerRestrictionExemption_exemptedAppStandbyBucket()
388 .toBeEqualTo(testActivity.component()).errorOnFail().await(); in setApplicationExemptions_activityBgStartRestrictionExemption_canStartActivityFromBg()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/wifi/
DWifi.kt48 .toBeEqualTo(enabled) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/bluetooth/
DBluetooth.java89 .toBeEqualTo(true) in enable()
115 .toBeEqualTo(false) in disable()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java307 .toBeEqualTo(true) in startUser()
312 .toBeEqualTo(true) in startUser()
318 .toBeEqualTo(true) in startUser()
353 .toBeEqualTo(false) in stop()
411 .toBeEqualTo(this) in switchTo()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/
DDevice.java83 .toBeEqualTo(true) in wakeUp()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21256/src/android/security/cts/CVE_2023_21256/
DDeviceTest.java112 .toBeEqualTo(true) in testSettingsHomePageActivityFromWorkProfile()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DPoll.java122 public Poll<E> toBeEqualTo(E other) { in toBeEqualTo() method in Poll
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserVisibilityTestCase.java210 .toBeEqualTo(true) in startVisibleBackgroundUser()

12