Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 157) 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/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/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/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java104 .that(session.context.getLocusId()).isNull(); in assertMainSessionContext()
106 .that(session.context.getExtras()).isNull(); in assertMainSessionContext()
122 .that(session.context.getActivityComponent()).isNull(); in assertChildSessionContext()
131 .that(activityId).isNull(); in assertChildSessionContext()
263 .that(event.getViewNode()).isNull(); in assertSessionLevelEvent()
265 .that(event.getViewNode()).isNull(); in assertSessionLevelEvent()
267 .that(event.getId()).isNull(); in assertSessionLevelEvent()
269 .that(event.getIds()).isNull(); in assertSessionLevelEvent()
342 .that(batchDisappearEvent.getIds()).isNull(); in assertViewsOptionallyDisappeared()
347 .that(batchDisappearEvent.getId()).isNull(); in assertViewsOptionallyDisappeared()
[all …]
/cts/common/device-side/bedstead/remotedpc/src/library/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java84 assertThat(RemoteDpc.deviceOwner()).isNull(); in deviceOwner_noDeviceOwner_returnsNull()
92 assertThat(RemoteDpc.deviceOwner()).isNull(); in deviceOwner_nonRemoteDpcDeviceOwner_returnsNull()
111 assertThat(RemoteDpc.profileOwner()).isNull(); in profileOwner_noProfileOwner_returnsNull()
119 assertThat(RemoteDpc.profileOwner()).isNull(); in profileOwner_nonRemoteDpcProfileOwner_returnsNull()
148 assertThat(RemoteDpc.profileOwner(profile.userHandle())).isNull(); in profileOwner_userHandle_noProfileOwner_returnsNull()
165 assertThat(RemoteDpc.profileOwner(profile.userHandle())).isNull(); in profileOwner_userHandle_nonRemoteDpcProfileOwner_returnsNull()
200 assertThat(RemoteDpc.profileOwner(profile)).isNull(); in profileOwner_userReference_noProfileOwner_returnsNull()
217 assertThat(RemoteDpc.profileOwner(profile)).isNull(); in profileOwner_userReference_nonRemoteDpcProfileOwner_returnsNull()
240 assertThat(RemoteDpc.any()).isNull(); in any_noDeviceOwner_noProfileOwner_returnsNull()
249 assertThat(RemoteDpc.any()).isNull(); in any_noDeviceOwner_nonRemoteDpcProfileOwner_returnsNull()
[all …]
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/
DUserTypeTest.java47 assertThat(userType.name()).isNull(); in name_notSet_returnsNull()
64 assertThat(userType.baseType()).isNull(); in baseType_notSet_returnsNull()
81 assertThat(userType.enabled()).isNull(); in enabled_notSet_returnsNull()
98 assertThat(userType.maxAllowed()).isNull(); in maxAllowed_notSet_returnsNull()
115 assertThat(userType.maxAllowedPerParent()).isNull(); in maxAllowedParParent_notSet_returnsNull()
DUserTest.java72 assertThat(user.serialNo()).isNull(); in serialNo_notSet_returnsNull()
89 assertThat(user.name()).isNull(); in name_notSet_returnsNull()
106 assertThat(user.type()).isNull(); in type_notSet_returnsNull()
123 assertThat(user.hasProfileOwner()).isNull(); in hasProfileOwner_notSet_returnsNull()
140 assertThat(user.isPrimary()).isNull(); in isPrimary_notSet_returnsNull()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java149 assertThat(event.getResultId()).isNull(); in assertMinimalTextSelectionEvent()
152 assertThat(event.getEventContext()).isNull(); in assertMinimalTextSelectionEvent()
154 assertThat(event.getLocale()).isNull(); in assertMinimalTextSelectionEvent()
155 assertThat(event.getModelName()).isNull(); in assertMinimalTextSelectionEvent()
217 assertThat(event.getResultId()).isNull(); in assertMinimalTextLinkifyEvent()
220 assertThat(event.getEventContext()).isNull(); in assertMinimalTextLinkifyEvent()
222 assertThat(event.getLocale()).isNull(); in assertMinimalTextLinkifyEvent()
223 assertThat(event.getModelName()).isNull(); in assertMinimalTextLinkifyEvent()
279 assertThat(event.getResultId()).isNull(); in assertMinimalConversationActionsEvent()
282 assertThat(event.getEventContext()).isNull(); in assertMinimalConversationActionsEvent()
[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()
/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/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/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/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/
DEventLogsTest.java111 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in resetLogs_poll_doesNotReturnLogs()
121 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in resetLogs_differentPackage_poll_doesNotReturnLogs()
129 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_nothingLogged_returnsNull()
138 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_loggedAfter_returnsNull()
146 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_nothingLogged_returnsNull()
155 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_loggedAfter_returnsNull()
206 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_hasReturnedAllEvents_returnsNull()
216 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_hasReturnedAllEvents_returnsNull()
361 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_obeysLambdaFilter()
373 assertThat(eventLogs.poll(VERY_SHORT_POLL_WAIT)).isNull(); in poll_differentPackage_obeysLambdaFilter()
[all …]
/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()
276 assertThat(capture.getLocation(1000)).isNull(); in testGetCurrentLocation_Timeout()
331 assertThat(capture.getLocation(FAILURE_TIMEOUT_MS)).isNull(); in testGetCurrentLocation_ProviderDisabled()
338 assertThat(capture.getLocation(FAILURE_TIMEOUT_MS)).isNull(); in testGetCurrentLocation_ProviderDisabled()
363 assertThat(capture.getNextLocation(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates()
365 assertThat(capture.getNextProviderChange(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates()
367 assertThat(capture.getNextProviderChange(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates()
436 assertThat(capture.getNextLocation(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates_PendingIntent()
438 assertThat(capture.getNextProviderChange(FAILURE_TIMEOUT_MS)).isNull(); in testRequestLocationUpdates_PendingIntent()
[all …]
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateTest.java147 ).isNull(); in ensureHasNoWorkProfileAnnotation_workProfileDoesNotExist()
199 ).isNull(); in ensureHasNoTvProfileAnnotation_tvProfileDoesNotExist()
252 ).isNull(); in ensureHasNoSecondaryUserAnnotation_secondaryUserDoesNotExist()
305 assertThat(sTestApis.devicePolicy().getDeviceOwner()).isNull(); in ensureHasNoDeviceOwnerAnnotation_deviceOwnerIsNotSet()
331 .isNull(); in ensureHasNoProfileOwnerAnnotation_defaultUser_profileOwnerIsNotSet()
344 assertThat(sTestApis.devicePolicy().getProfileOwner(sDeviceState.secondaryUser())).isNull(); in ensureHasNoProfileOwnerAnnotation_otherUser_profileOwnerIsNotSet()
460 assertThat(sTestApis.packages().find(GMS_CORE_PACKAGE).resolve()).isNull(); in requirePackageNotInstalledAnnotation_anyUser_packageIsNotInstalled()
479 assertThat(sTestApis.packages().find(GMS_CORE_PACKAGE).resolve()).isNull(); in ensurePackageNotInstalledAnnotation_anyUser_packageIsNotInstalled()
497 assertThat(sTestApis.packages().find(GMS_CORE_PACKAGE).resolve()).isNull(); in requireAospBuildAnnotation_isRunningOnAospBuild()
/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/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/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/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/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/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