Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 74) sorted by relevance

123

/cts/tests/tests/database/src/android/database/cts/
DMatrixCursorTest.java61 assertTrue(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
62 assertTrue(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
63 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
66 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
68 assertTrue(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
69 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
72 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
74 assertFalse(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
76 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
79 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
[all …]
DMatrixCursor_RowBuilderTest.java40 assertTrue(cursor.isNull(COLUMN0_INDEX)); in testAdd()
41 assertTrue(cursor.isNull(COLUMN1_INDEX)); in testAdd()
42 assertTrue(cursor.isNull(COLUMN2_INDEX)); in testAdd()
45 assertFalse(cursor.isNull(COLUMN0_INDEX)); in testAdd()
47 assertTrue(cursor.isNull(COLUMN1_INDEX)); in testAdd()
48 assertTrue(cursor.isNull(COLUMN2_INDEX)); in testAdd()
51 assertFalse(cursor.isNull(COLUMN0_INDEX)); in testAdd()
53 assertFalse(cursor.isNull(COLUMN1_INDEX)); in testAdd()
55 assertTrue(cursor.isNull(COLUMN2_INDEX)); in testAdd()
58 assertFalse(cursor.isNull(COLUMN0_INDEX)); in testAdd()
[all …]
DCursorWindowTest.java232 assertFalse(cursorWindow.isNull(0, 0)); in testAccessDataValues()
243 assertFalse(cursorWindow.isNull(0, 0)); in testAccessDataValues()
256 assertTrue(cursorWindow.isNull(0, 1)); in testAccessDataValues()
274 assertFalse(cursorWindow.isNull(0, 2)); in testAccessDataValues()
294 assertFalse(cursorWindow.isNull(0, 3)); in testAccessDataValues()
301 assertFalse(cursorWindow.isNull(0, 4)); in testAccessDataValues()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMultipleFragmentLoginTest.java75 assertThat(fillRequest1.data).isNull();
85 assertThat(findNodeByResourceId(structure, "editText3")).isNull();
86 assertThat(findNodeByResourceId(structure, "editText4")).isNull();
87 assertThat(findNodeByResourceId(structure, "editText5")).isNull();
137 assertThat(findNodeByResourceId(structure1, "editText3")).isNull();
138 assertThat(findNodeByResourceId(structure1, "editText4")).isNull();
139 assertThat(findNodeByResourceId(structure1, "editText5")).isNull();
143 assertThat(findNodeByResourceId(structure2, "editText1")).isNull();
144 assertThat(findNodeByResourceId(structure2, "editText2")).isNull();
174 assertThat(findNodeByResourceId(saveStructure1, "editText3")).isNull();
[all …]
DFatActivityTest.java100 assertThat(findNodeByResourceId(fillRequest.structure, ID_IMAGE)).isNull();
109 assertThat(findNodeByResourceId(fillRequest.structure, ID_CAPTCHA)).isNull();
121 ID_NOT_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS)).isNull();
123 ID_NOT_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_CHILD)).isNull();
125 ID_NOT_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_GRAND_CHILD)).isNull();
131 ID_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_CHILD)).isNull();
133 ID_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_GRAND_CHILD)).isNull();
137 ID_NOT_IMPORTANT_CONTAINER_MIXED_DESCENDANTS)).isNull();
141 ID_NOT_IMPORTANT_CONTAINER_MIXED_DESCENDANTS_GRAND_CHILD)).isNull();
DTextValueSanitizerTest.java49 assertThat(sanitizer.sanitize(null)).isNull(); in testSanitize_nullValue()
56 assertThat(sanitizer.sanitize(value)).isNull(); in testSanitize_nonTextValue()
64 assertThat(sanitizer.sanitize(value)).isNull(); in testSanitize_badRegex()
71 assertThat(sanitizer.sanitize(value)).isNull(); in testSanitize_valueMismatch()
DFillEventHistoryTest.java638 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
639 assertThat(event2.getClientState()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
700 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
701 assertThat(event2.getClientState()).isNull(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
758 assertThat(event.getDatasetId()).isNull(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
759 assertThat(event.getClientState()).isNull(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
821 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_oneDatasetSelected()
822 assertThat(event2.getClientState()).isNull(); in testContextCommitted_oneDatasetSelected()
904 assertThat(event3.getDatasetId()).isNull(); in testContextCommitted_multipleDatasetsSelected()
905 assertThat(event3.getClientState()).isNull(); in testContextCommitted_multipleDatasetsSelected()
[all …]
DAutofillValueTest.java94 assertThat(AutofillValue.forText(null)).isNull();
231 assertThat(mEditText.getAutofillValue()).isNull();
284 assertThat(mCompoundButton.getAutofillValue()).isNull();
345 assertThat(mSpinner.getAutofillValue()).isNull();
414 assertThat(mDatePicker.getAutofillValue()).isNull();
476 assertThat(mTimePicker.getAutofillValue()).isNull();
544 assertThat(mRadioGroup.getAutofillValue()).isNull();
DCannedFillResponse.java335 assertWithMessage("already set failure").that(mFailureMessage).isNull(); in addDataset()
435 assertWithMessage("already set").that(mSaveTriggerId).isNull(); in setSaveTriggerId()
450 assertWithMessage("already set").that(mFieldClassificationIds).isNull(); in setFieldClassificationIds()
464 assertWithMessage("already set").that(mHeader).isNull(); in setHeader()
470 assertWithMessage("already set").that(mFooter).isNull(); in setFooter()
476 assertWithMessage("already set").that(mSaveInfoDecorator).isNull(); in setSaveInfoDecorator()
487 assertWithMessage("already set").that(mUserData).isNull(); in setUserData()
DCompositeUserDataTest.java97 assertThat(userData.getFieldClassificationAlgorithm()).isNull(); in testMerge_nullGenericUserData()
98 assertThat(userData.getDefaultFieldClassificationArgs()).isNull(); in testMerge_nullGenericUserData()
116 assertThat(userData.getFieldClassificationAlgorithm()).isNull(); in testMerge_bothEmpty()
117 assertThat(userData.getDefaultFieldClassificationArgs()).isNull(); in testMerge_bothEmpty()
DDateValueSanitizerTest.java53 assertThat(sanitizer.sanitize(null)).isNull(); in testSanitize_nullValue()
59 assertThat(sanitizer.sanitize(AutofillValue.forText("D'OH!"))).isNull(); in testSanitize_invalidValue()
DViewAttributesTest.java63 assertThat(hints).isNull();
98 assertThat(v.getAutofillHints()).isNull();
101 assertThat(v.getAutofillHints()).isNull();
DMultiScreenDifferentActivitiesTest.java132 assertThat(findNodeByResourceId(structure1, ID_INPUT)).isNull(); in testDelayedActivityIsMerged()
139 assertThat(findNodeByResourceId(structure2, ID_PRE_INPUT)).isNull(); in testDelayedActivityIsMerged()
DFieldsClassificationTest.java118 assertThat(mAfm.getUserData()).isNull(); in testUserData()
119 assertThat(mAfm.getUserDataId()).isNull(); in testUserData()
128 assertThat(userData.getFieldClassificationAlgorithm()).isNull(); in testUserData()
129 assertThat(userData.getFieldClassificationAlgorithms()).isNull(); in testUserData()
132 assertThat(mAfm.getUserData()).isNull(); in testUserData()
133 assertThat(mAfm.getUserDataId()).isNull(); in testUserData()
DVirtualContainerActivityTest.java224 assertThat(autofillHints).isNull(); in autofillTest()
225 assertThat(username.getHtmlInfo()).isNull(); in autofillTest()
226 assertThat(password.getHtmlInfo()).isNull(); in autofillTest()
800 assertThat(urlBar.getWebDomain()).isNull(); in assertUrlBarIsSanitized()
801 assertThat(urlBar.getWebScheme()).isNull(); in assertUrlBarIsSanitized()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java100 .that(session.context.getLocusId()).isNull(); in assertMainSessionContext()
102 .that(session.context.getExtras()).isNull(); in assertMainSessionContext()
111 .that(session.context.getActivityComponent()).isNull(); in assertChildSessionContext()
249 .that(event.getViewNode()).isNull(); in assertSessionLevelEvent()
251 .that(event.getViewNode()).isNull(); in assertSessionLevelEvent()
253 .that(event.getId()).isNull(); in assertSessionLevelEvent()
255 .that(event.getIds()).isNull(); in assertSessionLevelEvent()
323 .that(batchDisappearEvent.getIds()).isNull(); in assertViewsOptionallyDisappeared()
328 .that(batchDisappearEvent.getId()).isNull(); in assertViewsOptionallyDisappeared()
355 .that(event.getIds()).isNull(); in assertViewDisappeared()
[all …]
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java148 assertThat(event.getResultId()).isNull(); in assertMinimalTextSelectionEvent()
151 assertThat(event.getEventContext()).isNull(); in assertMinimalTextSelectionEvent()
153 assertThat(event.getLocale()).isNull(); in assertMinimalTextSelectionEvent()
213 assertThat(event.getResultId()).isNull(); in assertMinimalTextLinkifyEvent()
216 assertThat(event.getEventContext()).isNull(); in assertMinimalTextLinkifyEvent()
218 assertThat(event.getLocale()).isNull(); in assertMinimalTextLinkifyEvent()
272 assertThat(event.getResultId()).isNull(); in assertMinimalConversationActionsEvent()
275 assertThat(event.getEventContext()).isNull(); in assertMinimalConversationActionsEvent()
277 assertThat(event.getLocale()).isNull(); in assertMinimalConversationActionsEvent()
333 assertThat(event.getResultId()).isNull(); in assertMinimalLanguageDetectionEvent()
[all …]
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java82 assertThat(RollbackUtils.getAvailableRollback(TestApp.A)).isNull(); in testBasic()
83 assertThat(RollbackUtils.getCommittedRollback(TestApp.A)).isNull(); in testBasic()
92 assertThat(RollbackUtils.getCommittedRollback(TestApp.A)).isNull(); in testBasic()
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsPanelTest.java207 assertThat(titleView).isNull(); in internetPanel_seeMoreButton_launchesIntoSettings()
225 assertThat(titleView).isNull(); in volumePanel_seeMoreButton_launchesIntoSettings()
243 assertThat(titleView).isNull(); in nfcPanel_seeMoreButton_launchesIntoSettings()
261 assertThat(titleView).isNull(); in wifiPanel_seeMoreButton_launchesIntoSettings()
DMediaStore_Audio_Artists_AlbumsTest.java104 assertFalse(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))); in testStoreAudioArtistsAlbums()
108 assertFalse(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))); in testStoreAudioArtistsAlbums()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPrivateDnsPolicyTest.java110 assertThat(mDevicePolicyManager.getGlobalPrivateDnsHost(getWho())).isNull(); in testSetOpportunisticMode()
156 assertThat(mDevicePolicyManager.getGlobalPrivateDnsHost(getWho())).isNull(); in testCanSetModeDespiteUserRestriction()
/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java120 assertThat(info.getViolationDetails()).isNull(); in testThreadBuilder()
375 assertThat(info.getViolationDetails()).isNull(); in testRead()
407 assertThat(info.getViolationDetails()).isNull(); in testWrite()
482 .isNull(); // Disk write has no message. in testViolationAcrossBinder()
636 assertThat(binder.queryLocalInterface(binder.getInterfaceDescriptor())).isNull(); in runWithRemoteServiceBound()
648 r, info -> assertWithMessage("Unexpected violation").that(info).isNull()); in assertNoViolation()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSettingsUtils.java92 .isNull(); in syncSet()
140 assertWithMessage("invalid value for '%s' settings", key).that(newValue).isNull(); in syncDelete()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSettingsUtils.java93 .isNull(); in syncSet()
141 assertWithMessage("invalid value for '%s' settings", key).that(newValue).isNull(); in syncDelete()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DViewNodeTest.java64 assertThat(node.getParentAutofillId()).isNull(); in testAutofillIdMethods_orphanView()
69 assertThat(node.getParentAutofillId()).isNull(); in testAutofillIdMethods_orphanView()
145 assertThat(node.getTextIdEntry()).isNull(); in testInvalidSetters()
288 assertThat(node.getParentAutofillId()).isNull(); in assertSimpleNode()

123