Home
last modified time | relevance | path

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

1234567

/cts/tests/tests/database/src/android/database/cts/
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 …]
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 …]
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DMultipleFragmentLoginTest.java82 assertThat(fillRequest1.data).isNull();
92 assertThat(findNodeByResourceId(structure, "editText3")).isNull();
93 assertThat(findNodeByResourceId(structure, "editText4")).isNull();
94 assertThat(findNodeByResourceId(structure, "editText5")).isNull();
144 assertThat(findNodeByResourceId(structure1, "editText3")).isNull();
145 assertThat(findNodeByResourceId(structure1, "editText4")).isNull();
146 assertThat(findNodeByResourceId(structure1, "editText5")).isNull();
150 assertThat(findNodeByResourceId(structure2, "editText1")).isNull();
151 assertThat(findNodeByResourceId(structure2, "editText2")).isNull();
181 assertThat(findNodeByResourceId(saveStructure1, "editText3")).isNull();
[all …]
DFillEventHistoryTest.java220 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
221 assertThat(event2.getClientState()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
284 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
285 assertThat(event2.getClientState()).isNull(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
345 assertThat(event.getDatasetId()).isNull(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
346 assertThat(event.getClientState()).isNull(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
411 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_oneDatasetSelected()
412 assertThat(event2.getClientState()).isNull(); in testContextCommitted_oneDatasetSelected()
500 assertThat(event3.getDatasetId()).isNull(); in testContextCommitted_multipleDatasetsSelected()
501 assertThat(event3.getClientState()).isNull(); in testContextCommitted_multipleDatasetsSelected()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFatActivityTest.java103 assertThat(findNodeByResourceId(fillRequest.structure, ID_IMAGE)).isNull();
112 assertThat(findNodeByResourceId(fillRequest.structure, ID_CAPTCHA)).isNull();
124 ID_NOT_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS)).isNull();
126 ID_NOT_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_CHILD)).isNull();
128 ID_NOT_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_GRAND_CHILD)).isNull();
134 ID_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_CHILD)).isNull();
136 ID_IMPORTANT_CONTAINER_EXCLUDING_DESCENDANTS_GRAND_CHILD)).isNull();
140 ID_NOT_IMPORTANT_CONTAINER_MIXED_DESCENDANTS)).isNull();
144 ID_NOT_IMPORTANT_CONTAINER_MIXED_DESCENDANTS_GRAND_CHILD)).isNull();
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Audio_Artists_AlbumsTest.java110 assertFalse(c.isNull(c.getColumnIndex(Albums._ID))); in testStoreAudioArtistsAlbums()
111 assertFalse(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))); in testStoreAudioArtistsAlbums()
115 assertFalse(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))); in testStoreAudioArtistsAlbums()
194 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
195 assertThat(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))).isFalse(); in testDifferentArtistInSameAlbum()
197 assertThat(c.getString(c.getColumnIndex(Albums.ALBUM_ART))).isNull(); in testDifferentArtistInSameAlbum()
199 assertThat(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))).isFalse(); in testDifferentArtistInSameAlbum()
211 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
212 assertThat(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))).isFalse(); in testDifferentArtistInSameAlbum()
214 assertThat(c.getString(c.getColumnIndex(Albums.ALBUM_ART))).isNull(); in testDifferentArtistInSameAlbum()
[all …]
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java107 .that(session.context.getLocusId()).isNull(); in assertMainSessionContext()
109 .that(session.context.getExtras()).isNull(); in assertMainSessionContext()
127 .that(session.context.getActivityComponent()).isNull(); in assertChildSessionContext()
136 .that(activityId).isNull(); in assertChildSessionContext()
138 .that(session.context.getWindowToken()).isNull(); in assertChildSessionContext()
270 .that(event.getViewNode()).isNull(); in assertSessionLevelEvent()
272 .that(event.getText()).isNull(); in assertSessionLevelEvent()
274 .that(event.getId()).isNull(); in assertSessionLevelEvent()
276 .that(event.getIds()).isNull(); in assertSessionLevelEvent()
367 .that(batchDisappearEvent.getIds()).isNull(); in assertViewsOptionallyDisappeared()
[all …]
DEventsAssertor.java238 .that(node.getText()).isNull(); in assertVirtualViewEvent()
250 .that(event.getIds()).isNull(); in assertDisappearedEvent()
265 .that(event.getId()).isNull(); in assertDisappearedEvent()
271 .that(event.getViewNode()).isNull(); in assertCommonViewDisappearedProperties()
273 .that(event.getText()).isNull(); in assertCommonViewDisappearedProperties()
346 .that(event.getViewNode()).isNull(); in assertSessionLevelEvent()
348 .that(event.getText()).isNull(); in assertSessionLevelEvent()
350 .that(event.getId()).isNull(); in assertSessionLevelEvent()
352 .that(event.getIds()).isNull(); in assertSessionLevelEvent()
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java93 assertThat(RemoteDpc.deviceOwner()).isNull(); in deviceOwner_noDeviceOwner_returnsNull()
106 assertThat(RemoteDpc.deviceOwner()).isNull(); in deviceOwner_nonRemoteDpcDeviceOwner_returnsNull()
121 assertThat(RemoteDpc.profileOwner()).isNull(); in profileOwner_noProfileOwner_returnsNull()
131 assertThat(RemoteDpc.profileOwner()).isNull(); in profileOwner_nonRemoteDpcProfileOwner_returnsNull()
158 assertThat(RemoteDpc.profileOwner(profile.userHandle())).isNull(); in profileOwner_userHandle_noProfileOwner_returnsNull()
178 assertThat(RemoteDpc.profileOwner(profile.userHandle())).isNull(); in profileOwner_userHandle_nonRemoteDpcProfileOwner_returnsNull()
218 assertThat(RemoteDpc.profileOwner(profile)).isNull(); in profileOwner_userReference_noProfileOwner_returnsNull()
237 assertThat(RemoteDpc.profileOwner(profile)).isNull(); in profileOwner_userReference_nonRemoteDpcProfileOwner_returnsNull()
265 assertThat(RemoteDpc.any()).isNull(); in any_noDeviceOwner_noProfileOwner_returnsNull()
276 assertThat(RemoteDpc.any()).isNull(); in any_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
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()
DDateValueSanitizerTest.java53 assertThat(sanitizer.sanitize(null)).isNull(); in testSanitize_nullValue()
59 assertThat(sanitizer.sanitize(AutofillValue.forText("D'OH!"))).isNull(); in testSanitize_invalidValue()
/cts/tests/translation/src/android/translation/cts/unittests/
DTextViewTranslationTest.java105 assertThat(mRequestConsumer.getRequest()).isNull(); in testOnCreateViewTranslationRequest_emptyText_returnsNull()
118 assertThat(mRequestConsumer.getRequest()).isNull(); in testOnCreateViewTranslationRequest_hasPassword_returnsNull()
131 assertThat(mRequestConsumer.getRequest()).isNull(); in testOnCreateViewTranslationRequest_hasPasswordTransformationMethod_returnsNull()
144 assertThat(mRequestConsumer.getRequest()).isNull(); in testOnCreateViewTranslationRequest_textSelectable_returnsNull()
158 assertThat(mRequestConsumer.getRequest()).isNull(); in testOnCreateViewTranslationRequest_textEditable_returnsNull()
DTranslationValueTest.java60 assertThat(value.getText()).isNull(); in testTranslationResponseValue_forError()
78 assertThat(value.getText()).isNull(); in testTranslationResponseValue_validDictionary()
79 assertThat(value.getTransliteration()).isNull(); in testTranslationResponseValue_validDictionary()
134 assertThat(value.getText()).isNull(); in testTranslationResponseValue_validTransliteration()
/cts/hostsidetests/backup/BackupTransportApp/src/android/cts/backup/backuptransportapp/
DBackupTransportTest.java53 assertThat(mBackupTransport.configurationIntent()).isNull(); in testConfigurationIntent_returnsNull()
65 assertThat(mBackupTransport.dataManagementIntent()).isNull(); in testDataManagementIntent_returnsNull()
118 assertThat(mBackupTransport.getAvailableRestoreSets()).isNull(); in testGetAvailableRestoreSets_returnsNull()
134 assertThat(mBackupTransport.nextRestorePackage()).isNull(); in testNextRestorePackage_returnsNull()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoTest.java59 assertThat(info).extra().isNull(); in newAudioTrack_default()
63 assertThat(copy).extra().isNull(); in newAudioTrack_default()
111 assertThat(info).extra().isNull(); in newVideoTrack_default()
115 assertThat(copy).extra().isNull(); in newVideoTrack_default()
162 assertThat(info).extra().isNull(); in newSubtitleTrack_default()
166 assertThat(copy).extra().isNull(); in newSubtitleTrack_default()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java226 assertThat(mManager.getLastKnownLocation(TEST_PROVIDER)).isNull(); in testGetLastKnownLocation()
242 assertThat(mManager.getLastKnownLocation(TEST_PROVIDER)).isNull(); in testGetLastKnownLocation_RemoveProvider()
274 assertThat(capture.getLocation(1000)).isNull(); in testGetCurrentLocation_Timeout()
329 assertThat(capture.getLocation(FAILURE_TIMEOUT_MS)).isNull(); in testGetCurrentLocation_ProviderDisabled()
336 assertThat(capture.getLocation(FAILURE_TIMEOUT_MS)).isNull(); in testGetCurrentLocation_ProviderDisabled()
361 assertThat(capture.getNextLocation(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates()
363 assertThat(capture.getNextProviderChange(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates()
365 assertThat(capture.getNextProviderChange(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates()
434 assertThat(capture.getNextLocation(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates_PendingIntent()
436 assertThat(capture.getNextProviderChange(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates_PendingIntent()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DInputMethodsTest.java37 mDevicePolicyManager.getPermittedInputMethods(ADMIN_RECEIVER_COMPONENT)).isNull(); in testPermittedInputMethods()
58 ADMIN_RECEIVER_COMPONENT)).isNull(); in testPermittedInputMethodsOnParent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsAppOpsTests.java30 import static org.mockito.ArgumentMatchers.isNull;
108 eq(uid), eq(packageName), isNull(), eq(true), anyInt(), anyInt()); in testSystemAlertWindowAppOpsInitiallyAllowed()
124 eq(uid), eq(packageName), isNull(), eq(false), anyInt(), anyInt()); in testSystemAlertWindowAppOpsInitiallyAllowed()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/
DEventLogsTest.java100 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in resetLogs_poll_doesNotReturnLogs()
110 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in resetLogs_differentPackage_poll_doesNotReturnLogs()
118 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_nothingLogged_returnsNull()
127 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_loggedAfter_returnsNull()
135 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_nothingLogged_returnsNull()
144 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_loggedAfter_returnsNull()
195 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_hasReturnedAllEvents_returnsNull()
205 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_hasReturnedAllEvents_returnsNull()
350 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_obeysLambdaFilter()
362 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_obeysLambdaFilter()
[all …]
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallSourceInfoTest.kt56 assertThat(info.getOriginatingPackageName()).isNull() in installViaIntent()
72 assertThat(info.getOriginatingPackageName()).isNull() in InstallViaSession()
/cts/tests/tests/view/src/android/view/cts/
DViewReceiveContentTest.java77 assertThat(view.getReceiveContentMimeTypes()).isNull(); in testOnReceiveContent_mimeTypes()
86 assertThat(view.getReceiveContentMimeTypes()).isNull(); in testOnReceiveContent_mimeTypes()
90 assertThat(view.getReceiveContentMimeTypes()).isNull(); in testOnReceiveContent_mimeTypes()
126 assertThat(view.performReceiveContent(samplePayloadGif)).isNull(); in testPerformReceiveContent()
130 assertThat(view.performReceiveContent(samplePayloadPdf)).isNull(); in testPerformReceiveContent()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DNullableQuery.java34 default E isNull() { in isNull() method
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateClassAnnotationTest.java72 ).isNull(); in beforeClass()
110 ).isNull(); in ensureHasNoWorkProfileAnnotation_overridesClassAnnotation()
/cts/tests/bugreport/src/android/bugreport/cts/
DBugreportManagerTest.java102 assertThat(screenshot).isNull(); in testTelephonyBugreport()
134 assertThat(screenshot).isNull(); in testInteractiveBugreport()
148 assertThat(screenshot).isNull(); in testWifiBugreport()
161 assertThat(screenshot).isNull(); in testRemoteBugreport()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPrivateDnsPolicyTest.java108 assertThat(mDevicePolicyManager.getGlobalPrivateDnsHost(getWho())).isNull(); in testSetOpportunisticMode()
154 assertThat(mDevicePolicyManager.getGlobalPrivateDnsHost(getWho())).isNull(); in testCanSetModeDespiteUserRestriction()

1234567