Home
last modified time | relevance | path

Searched refs:that (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java57 public void verifyMatches(MotionEvent that, int pointerIndex) { in verifyMatches() argument
59 that.getPointerId(pointerIndex), this.id); in verifyMatches()
61 that.getToolType(pointerIndex), this.toolType); in verifyMatches()
64 public void verifyMatchesPointerProperties(PointerProperties that) { in verifyMatchesPointerProperties() argument
65 assertEquals("Pointer ID should be the same", that.id, this.id); in verifyMatchesPointerProperties()
66 assertEquals("Tool type should be the same", that.toolType, this.toolType); in verifyMatchesPointerProperties()
70 final PointerProperties that = new PointerProperties(); in verifyMatchesPointerProperties() local
71 motionEvent.getPointerProperties(pointerIndex, that); in verifyMatchesPointerProperties()
73 verifyMatchesPointerProperties(that); in verifyMatchesPointerProperties()
129 public void verifyMatches(MotionEvent that) { in verifyMatches() argument
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoSubject.java48 return assertAbout(tvTrackInfos()).that(actual); in assertThat()
56 check("getAudioChannelCount()").that(actual.getAudioChannelCount()).isEqualTo(id); in hasAudioChannelCount()
60 check("getAudioSampleRate()").that(actual.getAudioSampleRate()).isEqualTo(rate); in hasAudioSampleRate()
64 check("describeContents()").that(actual.describeContents()).isEqualTo(content); in hasContentDescription()
69 check("getEncoding()").that(actual.getEncoding()).isEqualTo(encoding); in hasEncoding()
73 check("getId()").that(actual.getId()).isEqualTo(id); in hasId()
77 check("getLanguage()").that(actual.getLanguage()).isEqualTo(language); in hasLanguage()
81 check("getType()").that(actual.getType()).isEqualTo(type); in hasType()
85 check("getVideoActiveFormatDescription()").that( in hasVideoActiveFormatDescription()
89 check("getVideoHeight()").that(actual.getVideoHeight()).isEqualTo(height); in hasVideoHeight()
[all …]
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java77 .that(session.context.getActivityComponent()).isEqualTo(componentName); in assertRightActivity()
96 assertWithMessage("no context on %s", session).that(session.context).isNotNull(); in assertMainSessionContext()
98 .that(session.context.getActivityComponent()) in assertMainSessionContext()
101 .that(session.context.getDisplayId()).isNotEqualTo(Display.INVALID_DISPLAY); in assertMainSessionContext()
103 .that(session.context.getTaskId()).isEqualTo(activity.getRealTaskId()); in assertMainSessionContext()
105 .that(session.context.getFlags()).isEqualTo(expectedFlags); in assertMainSessionContext()
107 .that(session.context.getLocusId()).isNull(); in assertMainSessionContext()
109 .that(session.context.getExtras()).isNull(); in assertMainSessionContext()
112 .that(activityId).isNotNull(); in assertMainSessionContext()
114 .that(activityId.getTaskId()).isEqualTo(activity.getRealTaskId()); in assertMainSessionContext()
[all …]
DEventsAssertor.java232 .that(node.getAutofillId()).isEqualTo(expectedId); in assertVirtualViewEvent()
235 .that(node.getText().toString()).isEqualTo(expectedText); in assertVirtualViewEvent()
238 .that(node.getText()).isNull(); in assertVirtualViewEvent()
248 .that(event.getId()).isEqualTo(expectedId); in assertDisappearedEvent()
250 .that(event.getIds()).isNull(); in assertDisappearedEvent()
260 assertWithMessage("no autofillIds on event %s", event).that(ids) in assertDisappearedEvent()
263 .that(ids).containsExactly((Object[]) expectedIds).inOrder(); in assertDisappearedEvent()
265 .that(event.getId()).isNull(); in assertDisappearedEvent()
271 .that(event.getViewNode()).isNull(); in assertCommonViewDisappearedProperties()
273 .that(event.getText()).isNull(); in assertCommonViewDisappearedProperties()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DAugmentedHelper.java90 assertWithMessage("no AugmentedFillRequest").that(request).isNotNull(); in assertBasicRequestInfo()
91 assertWithMessage("no FillRequest on %s", request).that(request.request).isNotNull(); in assertBasicRequestInfo()
92 assertWithMessage("no FillController on %s", request).that(request.controller).isNotNull(); in assertBasicRequestInfo()
93 assertWithMessage("no FillCallback on %s", request).that(request.callback).isNotNull(); in assertBasicRequestInfo()
94 assertWithMessage("no CancellationSignal on %s", request).that(request.cancellationSignal) in assertBasicRequestInfo()
97 assertWithMessage("wrong task id on %s", request).that(request.request.getTaskId()) in assertBasicRequestInfo()
101 assertWithMessage("no activity name on %s", request).that(actualComponentName).isNotNull(); in assertBasicRequestInfo()
102 assertWithMessage("wrong activity name on %s", request).that(actualComponentName) in assertBasicRequestInfo()
105 assertWithMessage("no focused id on %s", request).that(actualFocusedId).isNotNull(); in assertBasicRequestInfo()
106 assertWithMessage("wrong focused id on %s", request).that(actualFocusedId) in assertBasicRequestInfo()
[all …]
DMyAutofillCallback.java103 assertWithMessage("Invalid number of events left: %s", mEvents).that(mEvents.size()) in assertNumberUnhandledEvents()
112 assertWithMessage("Invalid type on event %s", event).that(event.event) in assertUiShownEvent()
114 assertWithMessage("Invalid view on event %s", event).that(event.view) in assertUiShownEvent()
125 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiShownEvent()
144 assertWithMessage("Invalid type on event %s", event).that(event.event) in assertUiHiddenEvent()
146 assertWithMessage("Invalid view on event %s", event).that(event.view) in assertUiHiddenEvent()
157 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiHiddenEvent()
166 assertWithMessage("Invalid type on event %s", event).that(event.event) in assertUiUnavailableEvent()
168 assertWithMessage("Invalid view on event %s", event).that(event.view) in assertUiUnavailableEvent()
179 assertWithMessage("Invalid child on event %s", event).that(event.childId) in assertUiUnavailableEvent()
DOneTimeDateListener.java57 .that(set).isTrue(); in assertAutoFilled()
59 .that(datePicker.getYear()).isEqualTo(expectedYear); in assertAutoFilled()
61 .that(datePicker.getMonth()).isEqualTo(expectedMonth); in assertAutoFilled()
63 .that(datePicker.getDayOfMonth()).isEqualTo(expectedDay); in assertAutoFilled()
DHelper.java254 + ", but seeing different count from service dumpsys " + response).that( in assertActiveViewCountFromInlineSuggestionRenderService()
445 assertWithMessage("No node for resourceId %s", resourceId).that(node).isNotNull(); in findAutofillIdByResourceId()
602 assertWithMessage("wrong text on %s", node.getAutofillId()).that(node.getText().toString()) in assertText()
607 assertWithMessage("null auto-fill value on %s", id).that(value).isNotNull(); in assertText()
609 .that(value.getTextValue().toString()).isEqualTo(expectedValue); in assertText()
611 assertWithMessage("node %s should not have AutofillValue", id).that(value).isNull(); in assertText()
621 assertWithMessage("null autofill value on %s", id).that(value).isNotNull(); in assertTextValue()
622 assertWithMessage("wrong autofill type on %s", id).that(value.isText()).isTrue(); in assertTextValue()
623 assertWithMessage("wrong autofill value on %s", id).that(value.getTextValue().toString()) in assertTextValue()
634 assertWithMessage("null autofill value on %s", id).that(value).isNotNull(); in assertListValue()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DScreenCaptureDisabledTest.java38 .that(mDevicePolicyManager.getScreenCaptureDisabled(ADMIN_RECEIVER_COMPONENT)) in testSetScreenCaptureDisabled_false()
41 .that(mDevicePolicyManager.getScreenCaptureDisabled(/* admin= */ null)).isFalse(); in testSetScreenCaptureDisabled_false()
48 .that(mDevicePolicyManager.getScreenCaptureDisabled(ADMIN_RECEIVER_COMPONENT)) in testSetScreenCaptureDisabled_true()
51 .that(mDevicePolicyManager.getScreenCaptureDisabled(/* admin= */ null)).isTrue(); in testSetScreenCaptureDisabled_true()
60 .that(parentDevicePolicyManager in testSetScreenCaptureDisabledOnParent_false()
64 .that(parentDevicePolicyManager.getScreenCaptureDisabled(/* admin= */ null)) in testSetScreenCaptureDisabledOnParent_false()
74 .that(parentDevicePolicyManager in testSetScreenCaptureDisabledOnParent_true()
78 .that(parentDevicePolicyManager.getScreenCaptureDisabled(/* admin= */ null)) in testSetScreenCaptureDisabledOnParent_true()
90 assertWithMessage("screenshot").that(screenshot).isNull(); in testScreenCaptureImpossible()
101 assertWithMessage("screenshot").that(screenshot).isNotNull(); in testScreenCapturePossible()
DSuspendPackageTest.java45 assertWithMessage("packages not suspended").that(notHandled).isEmpty(); in testSetPackagesSuspended()
59 assertWithMessage("notHandlePackages").that(notHandledPackages).isEmpty(); in testSetPackagesSuspendedWithPackageManager()
68 assertWithMessage("packages not handled").that(notHandled).isEmpty(); in testSetPackagesNotSuspendedWithPackageManager()
78 assertWithMessage("packages not suspended").that(notHandled).isEmpty(); in testSetPackagesNotSuspended()
93 assertWithMessage("not handled packages").that(notHandledPackages).asList() in testSuspendNotSuspendablePackages()
104 assertWithMessage("exempt apps not suspended").that(notHandledPackages).asList() in testSuspendNotSuspendablePackages()
134 assertWithMessage("package %s suspension", pkg).that(actual).isEqualTo(expected); in assertPackageSuspension()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackInfoSubject.java42 return Truth.assert_().about(rollbacks()).that(rollback); in assertThat()
55 public RollbackInfoSubject createSubject(FailureMetadata fs, RollbackInfo that) {
56 return new RollbackInfoSubject(fs, that);
69 check("getRollbackId()").that(mActual.getRollbackId()).isEqualTo(rollbackId); in hasRollbackId()
76 check("isStaged()").that(mActual.isStaged()).isTrue(); in isStaged()
83 check("isStaged()").that(mActual.isStaged()).isFalse(); in isNotStaged()
95 check("actualPackages").that(actualPackages).containsExactly((Object[]) expected); in packagesContainsExactly()
108 check("getCausePackages()").that(mActual.getCausePackages()) in causePackagesContainsExactly()
/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogManagerTest.java89 assertWithMessage("Failed to write data to dir '" + mFile.getAbsolutePath() + "'").that( in testGetResourceOveruseStats()
106 assertWithMessage("Package name").that(stats.get().getPackageName()).isEqualTo(packageName); in testGetResourceOveruseStats()
107 assertWithMessage("Total bytes written to disk").that( in testGetResourceOveruseStats()
109 assertWithMessage("Remaining write bytes").that(remainingWriteBytes).isNotNull(); in testGetResourceOveruseStats()
110 assertWithMessage("Remaining foreground write bytes").that( in testGetResourceOveruseStats()
112 assertWithMessage("Remaining background write bytes").that( in testGetResourceOveruseStats()
114 assertWithMessage("Remaining garage mode write bytes").that( in testGetResourceOveruseStats()
116 assertWithMessage("Duration in seconds").that( in testGetResourceOveruseStats()
118 assertWithMessage("Start time").that(ioOveruseStats.getStartTime()).isGreaterThan(0); in testGetResourceOveruseStats()
119 assertWithMessage("Total overuse").that(ioOveruseStats.getTotalOveruses()).isEqualTo(0); in testGetResourceOveruseStats()
[all …]
/cts/tests/tests/car/src/android/car/cts/utils/
DVehiclePropertyVerifier.java135 assertWithMessage("Must support " + mPropertyName).that(carPropertyConfig) in verify()
153 assertWithMessage("Failed to register callback for " + mPropertyName).that( in verifyCarPropertyValueCallback()
165 + " callback values did not cover all the property's area IDs").that( in verifyCarPropertyValueCallback()
175 assertWithMessage("Failed to register callback for " + mPropertyName).that( in verifyCarPropertyValueCallback()
191 .that(carPropertyConfig.getPropertyId()) in verifyCarPropertyConfig()
198 .that(carPropertyConfig.getAccess()) in verifyCarPropertyConfig()
204 .that(carPropertyConfig.getAccess()).isEqualTo(mAccess); in verifyCarPropertyConfig()
207 .that(carPropertyConfig.getAreaType()) in verifyCarPropertyConfig()
210 .that(carPropertyConfig.getChangeMode()) in verifyCarPropertyConfig()
213 .that(carPropertyConfig.getPropertyType()).isEqualTo(mPropertyType); in verifyCarPropertyConfig()
[all …]
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java53 .that(expected == mFrameCpms.getCurrentState()).isTrue(); in checkCurrentState()
62 assertWithMessage(CURRENT_POLICY_ASSERT_MSG).that(expected).isTrue(); in checkCurrentPolicy()
67 .that(mFrameCpms.getForcedSilentMode() == expected).isTrue(); in checkSilentModeStatus()
76 assertWithMessage(SILENT_MODE_FULL_ASSERT_MSG).that(status).isTrue(); in checkSilentModeFull()
91 assertWithMessage(REGISTERED_POLICY_ASSERT_MSG).that(status).isTrue(); in checkRegisteredPolicy()
102 assertWithMessage(REGISTERED_POLICY_ASSERT_MSG).that(status).isTrue(); in checkRegisteredPolicy()
116 assertWithMessage(PENDING_POLICY_ASSERT_MSG).that(status).isTrue(); in checkPendingPolicyId()
121 .that(mSystemCpms.getRegisteredPolicies().size() == totalNum).isTrue(); in checkTotalRegisteredPolicies()
136 .that(expected.equals(mFrameCpms.getCurrentPolicyGroupId())).isTrue(); in checkCurrentPolicyGroupId()
141 .that(expected.equals(mFrameCpms.getPowerPolicyGroups())).isTrue(); in checkPowerPolicyGroups()
DComponentPowerStateInfo.java42 ComponentPowerStateInfo that = (ComponentPowerStateInfo) o; in equals()
43 return (mPowerState == that.mPowerState) in equals()
44 && mComponentName.equals(that.mComponentName); in equals()
DCpmsSystemLayerStateInfo.java99 CpmsSystemLayerStateInfo that = (CpmsSystemLayerStateInfo) o; in equals()
100 return mForcedSilentMode == that.mForcedSilentMode in equals()
101 && mRegisteredPolicies.equals(that.mRegisteredPolicies) in equals()
102 && mPolicyGroups.equals(that.mPolicyGroups) in equals()
103 && Objects.equals(mNoUserInteractionPolicy, that.mNoUserInteractionPolicy) in equals()
104 && Objects.equals(mCurrentComponentStates, that.mCurrentComponentStates) in equals()
105 && Objects.equals(mCurrentPolicyId, that.mCurrentPolicyId) in equals()
106 && Objects.equals(mPendingPolicyId, that.mPendingPolicyId) in equals()
107 && Objects.equals(mCurrentPolicyGroupId, that.mCurrentPolicyGroupId); in equals()
/cts/hostsidetests/car/src/android/car/cts/
DCarWatchdogHostTest.java196 assertWithMessage("Reported I/O overuse event metrics data").that(data).hasSize(1); in verifyAtomIoOveruseStatsReported()
202 assertWithMessage("UID in atom from " + overuseTimes + " overuse").that(atom.getUid()) in verifyAtomIoOveruseStatsReported()
205 .that(atom.hasIoOveruseStats()).isTrue(); in verifyAtomIoOveruseStatsReported()
213 assertWithMessage("Reported kill event metrics data").that(data).hasSize(1); in verifyAtomKillStatsReported()
219 assertWithMessage("UID in kill stats").that(atom.getUid()).isEqualTo(appUid); in verifyAtomKillStatsReported()
220 assertWithMessage("Kill reason from kill stats").that(atom.getKillReason()) in verifyAtomKillStatsReported()
222 assertWithMessage("System state from kill stats").that(atom.getSystemState()) in verifyAtomKillStatsReported()
225 .that(atom.hasIoOveruseStats()).isTrue(); in verifyAtomKillStatsReported()
233 assertWithMessage(statsType + " has period").that(ioOveruseStats.hasPeriod()).isTrue(); in verifyAtomIoOveruseStats()
234 assertWithMessage("Period in " + statsType).that(ioOveruseStats.getPeriod()) in verifyAtomIoOveruseStats()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java88 .that(firstTimestamp).isEqualTo(secondTimestamp); in testRetrieveSecurityLogs()
178 .that(mDevicePolicyManager.getDeviceOwnerOrganizationName()).isNull(); in testDeviceOwnerOrganizationName()
182 .that(mDevicePolicyManager.getDeviceOwnerOrganizationName()) in testDeviceOwnerOrganizationName()
187 .that(mDevicePolicyManager.getDeviceOwnerOrganizationName()).isNull(); in testDeviceOwnerOrganizationName()
196 assertWithMessage("dpm.isDeviceManaged()").that(mDevicePolicyManager.isDeviceManaged()) in testIsDeviceManaged()
212 .that(mDevicePolicyManager.isCurrentInputMethodSetByOwner()).isFalse(); in testIsDefaultInputMethodSet()
217 .that(mDevicePolicyManager.isCurrentInputMethodSetByOwner()).isTrue(); in testIsDefaultInputMethodSet()
222 .that(mDevicePolicyManager.isCurrentInputMethodSetByOwner()).isFalse(); in testIsDefaultInputMethodSet()
238 assertWithMessage("keystore.getCertificateAlias()").that(keyStore.getCertificateAlias(cert)) in testGetPolicyInstalledCaCerts()
241 .that(mDevicePolicyManager.installCaCert(getWho(), rawCert)).isTrue(); in testGetPolicyInstalledCaCerts()
[all …]
DWifiNetworkConfigurationWithoutFineLocationPermissionTest.java60 assertWithMessage("wifi is enabled").that(mWifiManager.isWifiEnabled()).isTrue(); in testAddAndRetrieveCallerConfiguredNetworks()
63 .that(mContext.checkSelfPermission( in testAddAndRetrieveCallerConfiguredNetworks()
69 assertWithMessage("id of added network").that(netId).isNotEqualTo(INVALID_NETWORK_ID); in testAddAndRetrieveCallerConfiguredNetworks()
73 assertWithMessage("configured networks").that(configs).isNotEmpty(); in testAddAndRetrieveCallerConfiguredNetworks()
74 assertWithMessage("SSID of configured networks").that(configs.get(0).SSID) in testAddAndRetrieveCallerConfiguredNetworks()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java117 assertWithMessage("Failed to insert to table").that(newUri).isNotNull(); in testValidCase()
135 assertWithMessage("Failed to query the table").that(cursor).isNotNull(); in testValidCase()
137 .that(cursor.getCount()) in testValidCase()
142 .that(cursor.getString(cursor.getColumnIndex(entry.getKey()))) in testValidCase()
152 assertWithMessage("Unexpected number of rows updated").that(updateCount).isEqualTo(1); in testValidCase()
156 assertWithMessage("Failed to query the table").that(cursor).isNotNull(); in testValidCase()
158 .that(cursor.getCount()) in testValidCase()
162 .that(cursor.getString(cursor.getColumnIndex(Carriers.APN))) in testValidCase()
177 .that(numRowsDeleted) in testValidCase()
183 .that(cursor.getCount()) in testValidCase()
[all …]
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesOverrideOnReleaseBuildTest.java61 .that(ctsChange).isNotNull(); in testPutPackageOverridesSecurityExceptionNonOverridableChangeId()
76 .that(ctsChange).isNotNull(); in testPutPackageOverridesSecurityExceptionMissingPermission()
91 .that(ctsChange).isNull(); in testPutPackageOverridesWhenChangeIdUnknown()
104 .that(ctsChange).isNotNull(); in testPutPackageOverridesForAllVersions()
115 .that(ctsChange).isNotNull(); in testPutPackageOverridesForAllVersions()
132 .that(ctsChange).isNotNull(); in testPutPackageOverridesForNewerVersion()
143 .that(ctsChange).isNotNull(); in testPutPackageOverridesForNewerVersion()
161 .that(ctsChange).isNotNull(); in testPutPackageOverridesForOlderVersion()
172 .that(ctsChange).isNotNull(); in testPutPackageOverridesForOlderVersion()
199 .that(ctsChange).isNotNull(); in testRemovePackageOverridesSecurityExceptionMissingPermission()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPermissionGrantTest.java147 .that(sDeviceState.dpc().devicePolicyManager().getPermissionGrantState( in getPermissionGrantState_smsPermission_notAbleToSetState_alsoCantReadState()
177 .that(sDeviceState.dpc().devicePolicyManager().getPermissionGrantState( in getPermissionGrantState_sensorPermission_notAbleToSetState_alsoCantReadState()
206 .that(wasSet).isTrue(); in denyPermission_setsGrantState()
208 .that(sDeviceState.dpc().devicePolicyManager().getPermissionGrantState( in denyPermission_setsGrantState()
234 .that(wasSet).isTrue(); in grantPermission_setsGrantState()
236 .that(sDeviceState.dpc().devicePolicyManager().getPermissionGrantState( in grantPermission_setsGrantState()
261 assertWithMessage("Permission should not be granted but was").that( in denyPermission_permissionIsDenied()
287 assertWithMessage("Permission should be granted but was not").that( in grantPermission_permissionIsGranted()
310 assertWithMessage("Permission should not be denied but was").that( in denyPermission_doesNotApply_permissionIsNotDenied()
330 assertWithMessage("Permission should not be granted but was").that( in grantPermission_doesNotApply_permissionIsNotGranted()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DOnCreateServiceStatusVerifierActivity.java53 assertWithMessage("Wrong settings").that(mSettingsOnCreate) in assertServiceStatusOnCreate()
55 assertWithMessage("AutofillManager.isEnabled() is wrong").that(mEnabledOnCreate) in assertServiceStatusOnCreate()
59 assertWithMessage("Wrong settings").that(mSettingsOnCreate).isNull(); in assertServiceStatusOnCreate()
60 assertWithMessage("AutofillManager.isEnabled() is wrong").that(mEnabledOnCreate) in assertServiceStatusOnCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DTaskFragmentOrganizerTestBase.java72 assertWithMessage("TaskFragment must be empty").that(info.isEmpty()).isTrue(); in assertEmptyTaskFragment()
74 .that(info.getActivities()).isEmpty(); in assertEmptyTaskFragment()
76 .that(info.hasRunningActivity()).isFalse(); in assertEmptyTaskFragment()
77 assertWithMessage("TaskFragment must not be visible").that(info.isVisible()).isFalse(); in assertEmptyTaskFragment()
83 assertWithMessage("TaskFragment must not be empty").that(info.isEmpty()).isFalse(); in assertNotEmptyTaskFragment()
85 .that(info.hasRunningActivity()).isTrue(); in assertNotEmptyTaskFragment()
88 .that(info.getActivities()).containsAtLeastElementsIn(expectedActivityTokens); in assertNotEmptyTaskFragment()
96 .that(info.getFragmentToken()).isEqualTo(expectedTaskFragToken); in assertTaskFragmentInfoValidity()
98 .that(info.getToken()).isNotNull(); in assertTaskFragmentInfoValidity()
100 .that(info.getPositionInParent()).isNotNull(); in assertTaskFragmentInfoValidity()
[all …]
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java60 activityClass, packageName, userId).that(mActivity).isNotNull(); in setUp()
104 assertWithMessage("result for activitiy %s while suspended", intent).that(result) in assertPackageSuspended()
108 .that(result).isNotNull(); in assertPackageSuspended()
112 assertWithMessage("ResolveInfo for activity %s", intent).that(resolveInfo).isNotNull(); in assertPackageSuspended()
124 assertWithMessage("Policy transparency dialog title").that(title).isNotNull(); in dismissPolicyTransparencyDialog()
131 assertWithMessage("Policy transparency dialog title").that(title).isNotNull(); in dismissPolicyTransparencyDialog()
136 assertWithMessage("OK button").that(button).isNotNull(); in dismissPolicyTransparencyDialog()
141 assertWithMessage("Policy transparency dialog icon").that(icon).isNotNull(); in dismissPolicyTransparencyDialog()
144 assertWithMessage("OK button").that(button).isNotNull(); in dismissPolicyTransparencyDialog()
154 assertWithMessage("OK button").that(button).isNotNull(); in dismissCustomDialog()

12345678910>>...14