/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTest.java | 118 assertThat(result.equals(Utils.ABORT_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 121 assertThat(result.equals(Utils.ABORT_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 124 assertThat(result.equals(Utils.COMMANDREQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 127 assertThat(result.equals(Utils.COMMANDREQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 130 assertThat(result.equals(Utils.COMPLETION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 133 assertThat(result.equals(Utils.COMPLETION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 136 assertThat(result.equals(Utils.CONFIRMATION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 139 assertThat(result.equals(Utils.CONFIRMATION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 142 assertThat(result.equals(Utils.PICKOPTION_REQUEST_CANCEL_SUCCESS)).isTrue(); in verifySingleTestcaseResult() 145 assertThat(result.equals(Utils.PICKOPTION_REQUEST_SUCCESS)).isTrue(); in verifySingleTestcaseResult() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | SharedUidPermissionsTest.java | 67 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_PERMISSIONS, READ_CONTACTS)).isTrue(); in packageGainsRuntimePermissionsWhenJoiningSharedUid() 68 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_NO_PERMISSIONS, READ_CONTACTS)).isTrue(); in packageGainsRuntimePermissionsWhenJoiningSharedUid() 76 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_PERMISSIONS, INTERNET)).isTrue(); in packageGainsNormalPermissionsWhenJoiningSharedUid() 77 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_NO_PERMISSIONS, INTERNET)).isTrue(); in packageGainsNormalPermissionsWhenJoiningSharedUid() 86 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_PERMISSIONS, READ_CONTACTS)).isTrue(); in grantingRuntimePermissionAffectsAllPackageInSharedUid() 87 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_NO_PERMISSIONS, READ_CONTACTS)).isTrue(); in grantingRuntimePermissionAffectsAllPackageInSharedUid() 120 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_PERMISSIONS, READ_CONTACTS)).isTrue(); in runtimePermissionsCanBeGrantedOnPackageThatDoesNotDeclarePermission() 121 assertThat(isPermissionGranted(PKG_THAT_REQUESTS_NO_PERMISSIONS, READ_CONTACTS)).isTrue(); in runtimePermissionsCanBeGrantedOnPackageThatDoesNotDeclarePermission()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DeviceAdminInfoTest.java | 91 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_FORCE_LOCK)).isTrue(); in testDeviceAdminInfo() 92 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD)).isTrue(); in testDeviceAdminInfo() 93 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_RESET_PASSWORD)).isTrue(); in testDeviceAdminInfo() 94 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WATCH_LOGIN)).isTrue(); in testDeviceAdminInfo() 95 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WIPE_DATA)).isTrue(); in testDeviceAdminInfo() 125 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD)).isTrue(); in testDeviceAdminInfo2() 126 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_RESET_PASSWORD)).isTrue(); in testDeviceAdminInfo2() 128 assertThat(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WIPE_DATA)).isTrue(); in testDeviceAdminInfo2() 152 assertThat(info.supportsTransferOwnership()).isTrue(); in testDeviceAdminInfo3() 183 assertThat(deviceAdminInfo.isVisible()).isTrue(); in testIsVisible_visibleComponent_returnsTrue()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 118 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)).isTrue(); in testCanInstallAndRemoveValidRsaKeypair() 129 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), alias)).isTrue(); in testCanInstallAndRemoveValidRsaKeypair() 145 .isTrue(); in testCanInstallWithAutomaticAccess() 149 .isTrue(); in testCanInstallWithAutomaticAccess() 159 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), grant)).isTrue(); in testCanInstallWithAutomaticAccess() 160 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), withhold)).isTrue(); in testCanInstallWithAutomaticAccess() 187 .isTrue(); in testCanInstallCertChain() 199 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), alias)).isTrue(); in testCanInstallCertChain() 214 .isTrue(); in testGrantsDoNotPersistBetweenInstallations() 219 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), alias)).isTrue(); in testGrantsDoNotPersistBetweenInstallations() [all …]
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | ApexShimValidationTest.java | 64 phase)).isTrue(); in runPhase() 70 "cleanUp")).isTrue(); in cleanUp() 91 isShimApexPreInstalled).isTrue(); in testShimApexIsPreInstalled() 102 + "Shim APEX").that(isShimApkInShimApex).isTrue(); in testShimApkIsPreInstalledInShimApex() 111 + "from Shim APEX").that(isPrivShimApkInShimApex).isTrue(); in testShimApkIsPreInstalledInShimApex()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | ProfileScheduledJobHostSideTest.java | 100 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobScheduled() 129 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobRunsSuccessfully() 137 assertThat(isSystemJobScheduled(jobId, KEY_VALUE_JOB_NAME)).isTrue(); in testKeyValueBackupJobCancelled() 148 assertThat(isSystemJobScheduled(jobId, FULL_BACKUP_JOB_NAME)).isTrue(); in testFullBackupJobScheduled() 179 assertThat(isSystemJobScheduled(jobId, FULL_BACKUP_JOB_NAME)).isTrue(); in testFullBackupJobRunsSuccessfully() 187 assertThat(isSystemJobScheduled(jobId, FULL_BACKUP_JOB_NAME)).isTrue(); in testFullBackupJobCancelled()
|
D | BaseMultiUserBackupHostSideTest.java | 118 assertThat(startSuccessful).isTrue(); in startUser() 134 assertThat(mBackupUtils.isBackupEnabledForUser(userId)).isTrue(); in startUserAndInitializeForBackup() 153 assertThat(mBackupUtils.isLocalTransportSelectedForUser(userId)).isTrue(); in switchUserToLocalTransportAndAssertSuccess() 207 assertThat(result).isTrue(); in checkDeviceTestAsUser()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | NotificationListenerTest.java | 109 assertThat(mReceiver.waitForNotificationPostedReceived()).isTrue(); in testCanReceiveNotifications() 111 assertThat(mReceiver.waitForNotificationRemovedReceived()).isTrue(); in testCanReceiveNotifications() 116 assertThat(mReceiver.waitForNotificationPostedReceived()).isTrue(); in testCanReceiveNotifications() 118 assertThat(mReceiver.waitForNotificationRemovedReceived()).isTrue(); in testCanReceiveNotifications() 135 assertThat(mReceiver.waitForNotificationPostedReceived()).isTrue(); in testCannotReceiveProfileNotifications() 137 assertThat(mReceiver.waitForNotificationRemovedReceived()).isTrue(); in testCannotReceiveProfileNotifications() 184 assertThat(mReceiver.waitForListenerConnected()).isTrue(); in toggleNotificationListener()
|
/cts/tests/attentionservice/src/android/attentionservice/cts/ |
D | CtsAttentionServiceDeviceTest.java | 81 assertThat(CtsTestAttentionService.hasPendingChecks()).isTrue(); in testAttentionService_OnSuccess() 98 assertThat(CtsTestAttentionService.hasPendingChecks()).isTrue(); in testAttentionService_OnCancelledFromManager() 119 assertThat(CtsTestAttentionService.hasPendingChecks()).isTrue(); in testAttentionService_OnCancelledFromService() 136 assertThat(setTestableAttentionService(FAKE_SERVICE_PACKAGE)).isTrue(); in bindToTestService() 158 assertThat(isSuccess).isTrue(); in callCheckAttention()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ViewNodeTest.java | 276 assertThat(structure.hasExtras()).isTrue(); in newSimpleStructure() 323 assertThat(node.isAssistBlocked()).isTrue(); in assertSimpleNode() 324 assertThat(node.isEnabled()).isTrue(); in assertSimpleNode() 325 assertThat(node.isClickable()).isTrue(); in assertSimpleNode() 326 assertThat(node.isLongClickable()).isTrue(); in assertSimpleNode() 327 assertThat(node.isContextClickable()).isTrue(); in assertSimpleNode() 328 assertThat(node.isFocusable()).isTrue(); in assertSimpleNode() 329 assertThat(node.isFocused()).isTrue(); in assertSimpleNode() 330 assertThat(node.isAccessibilityFocused()).isTrue(); in assertSimpleNode() 331 assertThat(node.isChecked()).isTrue(); in assertSimpleNode() [all …]
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | DirectDelegatedCertInstallerTest.java | 148 mDpm.installCaCert(null, cert)).isTrue(); in testCaCertsOperations() 150 mDpm.hasCaCertInstalled(null, cert)).isTrue(); in testCaCertsOperations() 154 containsCertificate(mDpm.getInstalledCaCerts(null), cert)).isTrue(); in testCaCertsOperations() 178 true)).isTrue(); in testInstallKeyPair() 186 assertThat(mDpm.removeKeyPair(null, alias)).isTrue(); in testInstallKeyPair() 209 assertThat(mDpm.removeKeyPair(null, alias)).isTrue(); in testGenerateKeyPairWithoutDeviceIdAttestation()
|
D | CertSelectionDelegateTest.java | 105 assertThat(mDpm.installKeyPair(null, privKey, cert, alias)).isTrue(); in testCanSelectKeychainKeypairs() 113 assertThat(mDpm.removeKeyPair(null, alias)).isTrue(); in testCanSelectKeychainKeypairs() 141 .isTrue(); in get()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | LuhnChecksumValidatorTest.java | 62 assertThat(validator.isValid(finder)).isTrue(); in duplicateFields() 78 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored() 81 assertThat(validator.isValid(finder)).isTrue(); in leadingZerosAreIgnored() 123 assertThat(validator.isValid(finder)).isTrue(); in nonDigits() 137 assertThat(validator.isValid(finder)).isTrue(); in multipleFieldNumber()
|
D | CompositeUserDataTest.java | 141 assertThat(defaultArgs.getBoolean("isPackage")).isTrue(); in testMerge_emptyGenericUserData() 147 assertThat(args.containsKey(mCategoryId2)).isTrue(); in testMerge_emptyGenericUserData() 149 assertThat(args.get(mCategoryId2).getBoolean("isPackage")).isTrue(); in testMerge_emptyGenericUserData() 179 assertThat(args.containsKey(mCategoryId2)).isTrue(); in testMerge_emptyPackageUserData() 209 assertThat(defaultArgs.getBoolean("isPackage")).isTrue(); in testMerge_bothHaveData() 215 assertThat(args.containsKey(mCategoryId2)).isTrue(); in testMerge_bothHaveData() 217 assertThat(args.get(mCategoryId2).getBoolean("isPackage")).isTrue(); in testMerge_bothHaveData()
|
D | MultiWindowLoginActivityTest.java | 137 assertThat(emptyActivity.hasWindowFocus()).isTrue(); 139 assertThat(loginActivity.getUsername().hasFocus()).isTrue(); 150 assertThat(emptyActivity.hasWindowFocus()).isTrue(); 152 assertThat(loginActivity.getUsername().hasFocus()).isTrue();
|
D | ValidatorsTest.java | 84 .isValid(mValueFinder)).isTrue(); in testAnd_AllPassed() 113 .isValid(mValueFinder)).isTrue(); in testOr_firstPassed() 122 .isValid(mValueFinder)).isTrue(); in testOr_secondPassed() 139 assertThat(notValidator.isValid(mValueFinder)).isTrue(); in testNot_falseToTrue()
|
D | AutofillValueTest.java | 96 assertThat(AutofillValue.forText("").isText()).isTrue(); 114 assertThat(AutofillValue.forToggle(true).getToggleValue()).isTrue(); 118 assertThat(AutofillValue.forToggle(true).isToggle()).isTrue(); 138 assertThat(AutofillValue.forList(0).isList()).isTrue(); 157 assertThat(AutofillValue.forDate(0).isDate()).isTrue();
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | PackageInstallerSessionInfoSubject.java | 54 getSubject().isStagedSessionReady()).isTrue(); 59 getSubject().isStagedSessionApplied()).isTrue(); 64 getSubject().isStagedSessionFailed()).isTrue();
|
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/ |
D | CompatChangesTest.java | 62 assertThat(CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID)).isTrue(); in isChangeEnabled_changeEnabled() 70 context.getUser())).isTrue(); in isChangeEnabledPackageName_changeEnabled() 76 assertThat(CompatChanges.isChangeEnabled(CTS_SYSTEM_API_CHANGEID, Process.myUid())).isTrue(); in isChangeEnabledUid_changeEnabled()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PositionTesterContextMenuListener.java | 56 if (!isTrue("MenuInfo is not an AdapterContextMenuInfo", in onCreateContextMenu() 65 if (!isTrue("MenuInfo is not an ExpandableListContextMenuInfo", in onCreateContextMenu() 100 private boolean isTrue(String message, boolean value) { in isTrue() method in PositionTesterContextMenuListener
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 501 isPermissionGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue(); in cannotGrantStorageTargetingSdk22NotWhitelisted() 517 isPermissionGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue(); in cannotGrantStorageTargetingSdk22OptInNotWhitelisted() 529 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk22Whitelisted() 540 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk22OptInWhitelisted() 573 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk28Whitelisted() 584 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk28OptInWhitelisted() 595 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk29NotWhitelisted() 606 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk29OptOutNotWhitelisted() 617 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk29Whitelisted() 628 isGranted(PKG, Manifest.permission.READ_EXTERNAL_STORAGE)).isTrue()); in canGrantStorageTargetingSdk29OptOutWhitelisted() [all …]
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 124 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine); 125 return condition.isTrue(); 138 boolean isTrue() throws Exception;
|
/cts/tests/tests/util/src/android/util/cts/ |
D | InstallUtilTest.java | 193 assertThat(session.isStaged()).isTrue(); in testOpenSingleSessionWithParameters() 204 assertThat(parentSession.isMultiPackage()).isTrue(); in testOpenSessionForMultiPackageSession() 206 assertThat(parentSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession() 214 assertThat(childSession.isStaged()).isTrue(); in testOpenSessionForMultiPackageSession()
|
/cts/hostsidetests/backup/ProfileFullBackupApp/src/android/cts/backup/profilefullbackupapp/ |
D | ProfileFullBackupRestoreTest.java | 78 assertThat(mFile1.exists()).isTrue(); in assertFilesRestored() 81 assertThat(mFile2.exists()).isTrue(); in assertFilesRestored()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | AbstractCursor_SelfContentObserverTest.java | 138 public void setDeliverSelfNotificationsValue(boolean isTrue) { in setDeliverSelfNotificationsValue() argument 139 mIsTrue = isTrue; in setDeliverSelfNotificationsValue()
|