Home
last modified time | relevance | path

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

12345678910>>...16

/cts/tests/tests/database/src/android/database/cts/
DMatrixCursor_RowBuilderTest.java50 assertTrue(cursor.isNull(COLUMN0_INDEX)); in testAdd()
51 assertTrue(cursor.isNull(COLUMN1_INDEX)); in testAdd()
52 assertTrue(cursor.isNull(COLUMN2_INDEX)); in testAdd()
55 assertFalse(cursor.isNull(COLUMN0_INDEX)); in testAdd()
57 assertTrue(cursor.isNull(COLUMN1_INDEX)); in testAdd()
58 assertTrue(cursor.isNull(COLUMN2_INDEX)); in testAdd()
61 assertFalse(cursor.isNull(COLUMN0_INDEX)); in testAdd()
63 assertFalse(cursor.isNull(COLUMN1_INDEX)); in testAdd()
65 assertTrue(cursor.isNull(COLUMN2_INDEX)); in testAdd()
68 assertFalse(cursor.isNull(COLUMN0_INDEX)); in testAdd()
[all …]
DMatrixCursorTest.java72 assertTrue(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
73 assertTrue(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
74 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
77 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
79 assertTrue(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
80 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
83 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
85 assertFalse(mMatrixCursor.isNull(COLUMN1_INDEX)); in testNewRow()
87 assertTrue(mMatrixCursor.isNull(COLUMN2_INDEX)); in testNewRow()
90 assertFalse(mMatrixCursor.isNull(COLUMN0_INDEX)); in testNewRow()
[all …]
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallSourceInfoTest.kt70 assertThat(info.originatingPackageName).isNull() in installViaIntent()
71 assertThat(info.updateOwnerPackageName).isNull() in installViaIntent()
79 assertThat(info.installingPackageName).isNull() in installViaAdb()
81 assertThat(info.originatingPackageName).isNull() in installViaAdb()
82 assertThat(info.updateOwnerPackageName).isNull() in installViaAdb()
95 assertThat(info.originatingPackageName).isNull() in installViaAdbValidInstallerName()
96 assertThat(info.updateOwnerPackageName).isNull() in installViaAdbValidInstallerName()
107 assertThat(info.installingPackageName).isNull() in installViaAdbInvalidInstallerName()
109 assertThat(info.originatingPackageName).isNull() in installViaAdbInvalidInstallerName()
110 assertThat(info.updateOwnerPackageName).isNull() in installViaAdbInvalidInstallerName()
[all …]
DInstallSourceInfoMultiUserTest.kt85 assertThat(info.installingPackageName).isNull() in installOnUserAndCheckInfo()
87 assertThat(info.originatingPackageName).isNull() in installOnUserAndCheckInfo()
88 assertThat(info.updateOwnerPackageName).isNull() in installOnUserAndCheckInfo()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DNewUserRequestTest.java39 assertThat(build().getName()).isNull(); in testDefaultNameIsNull()
52 assertThat(build().getName()).isNull(); in testSetNameNull()
104 assertThat(build().getUserIcon()).isNull(); in testDefaultUserIconIsNull()
117 assertThat(build().getUserIcon()).isNull(); in testSetUserIconNull()
123 assertThat(request.getAccountName()).isNull(); in testDefaultAccountNameAndAccountTypeAreNull()
124 assertThat(request.getAccountType()).isNull(); in testDefaultAccountNameAndAccountTypeAreNull()
141 assertThat(request.getAccountName()).isNull(); in testSetAccountNameAndAccountTypeNull()
142 assertThat(request.getAccountType()).isNull(); in testSetAccountNameAndAccountTypeNull()
159 assertThat(build().getAccountOptions()).isNull(); in testDefaultAccountOptionsIsNull()
173 assertThat(build().getAccountOptions()).isNull(); in testSetAccountOptionsNull()
/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 …]
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/
DUserTypeTest.java49 assertThat(userType.name()).isNull(); in name_notSet_returnsNull()
66 assertThat(userType.baseType()).isNull(); in baseType_notSet_returnsNull()
83 assertThat(userType.enabled()).isNull(); in enabled_notSet_returnsNull()
100 assertThat(userType.maxAllowed()).isNull(); in maxAllowed_notSet_returnsNull()
117 assertThat(userType.maxAllowedPerParent()).isNull(); in maxAllowedParParent_notSet_returnsNull()
/cts/tests/tests/car/src/android/car/cts/
DExceptionsTest.java39 assertThat(exception.getMessage()).isNull(); in testCarNotConnectedException()
40 assertThat(exception.getCause()).isNull(); in testCarNotConnectedException()
44 assertThat(exception.getCause()).isNull(); in testCarNotConnectedException()
DUserCreationRequestTest.java45 expectThat(userCreationRequest.getName()).isNull(); in testUserCreationRequestNameNull()
56 expectThat(userCreationRequest.getName()).isNull(); in testUserCreationRequestGuest()
67 expectThat(userCreationRequest.getName()).isNull(); in testUserCreationRequestAdmin()
78 expectThat(userCreationRequest.getName()).isNull(); in testUserCreationRequestGuestUser()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_Artists_AlbumsTest.java109 assertFalse(c.isNull(c.getColumnIndex(Albums._ID))); in testStoreAudioArtistsAlbums()
110 assertFalse(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))); in testStoreAudioArtistsAlbums()
114 assertFalse(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))); in testStoreAudioArtistsAlbums()
193 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
194 assertThat(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))).isFalse(); in testDifferentArtistInSameAlbum()
196 assertThat(c.getString(c.getColumnIndex(Albums.ALBUM_ART))).isNull(); in testDifferentArtistInSameAlbum()
198 assertThat(c.isNull(c.getColumnIndex(Albums.ARTIST_ID))).isFalse(); in testDifferentArtistInSameAlbum()
210 assertThat(c.isNull(c.getColumnIndex(Albums._ID))).isFalse(); in testDifferentArtistInSameAlbum()
211 assertThat(c.isNull(c.getColumnIndex(Albums.ALBUM_ID))).isFalse(); in testDifferentArtistInSameAlbum()
213 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/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/
DAlwaysOnHotwordDetectorEventPayloadTest.java49 assertThat(eventPayload.getCaptureAudioFormat()).isNull(); in testEventPayload_verifyDefaultValues()
50 assertThat(eventPayload.getTriggerAudio()).isNull(); in testEventPayload_verifyDefaultValues()
53 assertThat(eventPayload.getData()).isNull(); in testEventPayload_verifyDefaultValues()
54 assertThat(eventPayload.getHotwordDetectedResult()).isNull(); in testEventPayload_verifyDefaultValues()
55 assertThat(eventPayload.getAudioStream()).isNull(); in testEventPayload_verifyDefaultValues()
82 assertThat(eventPayload.getTriggerAudio()).isNull(); in testEventPayload_getTriggerAudio_noTriggerInData_dataNonNull()
/cts/tests/credentials/src/android/credentials/cts/unittests/
DGetCredentialExceptionTest.java53 assertThat(exc.getMessage()).isNull(); in testConstructor_type()
54 assertThat(exc.getCause()).isNull(); in testConstructor_type()
67 assertThat(exc.getCause()).isNull(); in testConstructor_type_message()
79 assertThat(exc.getMessage()).isNull(); in testConstructor_type_cause()
DClearCredentialStateExceptionTest.java51 assertThat(exc.getMessage()).isNull(); in testConstructor_type()
52 assertThat(exc.getCause()).isNull(); in testConstructor_type()
64 assertThat(exc.getCause()).isNull(); in testConstructor_type_message()
75 assertThat(exc.getMessage()).isNull(); in testConstructor_type_cause()
DCreateCredentialExceptionTest.java52 assertThat(exc.getMessage()).isNull(); in testConstructor_type()
53 assertThat(exc.getCause()).isNull(); in testConstructor_type()
66 assertThat(exc.getCause()).isNull(); in testConstructor_type_message()
78 assertThat(exc.getMessage()).isNull(); in testConstructor_type_cause()
/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/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()
378 .that(batchDisappearEvent.getIds()).isNull(); in assertViewsOptionallyDisappeared()
[all …]
/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()
237 assertThat(mBackupTransport.getBackupManagerMonitor()).isNull(); in testGetBackupManagerMonitor_returnsNull()
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/
DRemoteDpcTest.java91 assertThat(RemoteDpc.deviceOwner()).isNull(); in deviceOwner_noDeviceOwner_returnsNull()
104 assertThat(RemoteDpc.deviceOwner()).isNull(); in deviceOwner_nonRemoteDpcDeviceOwner_returnsNull()
119 assertThat(RemoteDpc.profileOwner()).isNull(); in profileOwner_noProfileOwner_returnsNull()
129 assertThat(RemoteDpc.profileOwner()).isNull(); in profileOwner_nonRemoteDpcProfileOwner_returnsNull()
156 assertThat(RemoteDpc.profileOwner(profile.userHandle())).isNull(); in profileOwner_userHandle_noProfileOwner_returnsNull()
176 assertThat(RemoteDpc.profileOwner(profile.userHandle())).isNull(); in profileOwner_userHandle_nonRemoteDpcProfileOwner_returnsNull()
216 assertThat(RemoteDpc.profileOwner(profile)).isNull(); in profileOwner_userReference_noProfileOwner_returnsNull()
235 assertThat(RemoteDpc.profileOwner(profile)).isNull(); in profileOwner_userReference_nonRemoteDpcProfileOwner_returnsNull()
263 assertThat(RemoteDpc.any()).isNull(); in any_noDeviceOwner_noProfileOwner_returnsNull()
274 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()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2022_20485.java233 assume().that(e).isNull(); in testPocCVE_2022_20478()
253 assume().that(e).isNull(); in testPocCVE_2022_20479()
276 assume().that(e).isNull(); in testPocCVE_2022_20480()
298 assume().that(e).isNull(); in testPocCVE_2022_20484()
320 assume().that(e).isNull(); in testPocCVE_2022_20485()
342 assume().that(e).isNull(); in testPocCVE_2022_20486()
360 assume().that(e).isNull(); in testPocCVE_2022_20487()
382 assume().that(e).isNull(); in testPocCVE_2022_20488()
400 assume().that(e).isNull(); in testPocCVE_2022_20491()
/cts/tests/translation/src/android/translation/cts/unittests/
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/media/src/android/media/router/cts/
DMediaRouter2HostSideTest.java101 expect.that(device.uninstallPackage(MEDIA_ROUTER_PROVIDER_1_PACKAGE)).isNull(); in uninstallApps()
102 expect.that(device.uninstallPackage(MEDIA_ROUTER_PROVIDER_2_PACKAGE)).isNull(); in uninstallApps()
103 expect.that(device.uninstallPackage(MEDIA_ROUTER_PROVIDER_3_PACKAGE)).isNull(); in uninstallApps()
104 expect.that(device.uninstallPackage(MEDIA_ROUTER_PROVIDER_SELF_SCAN_ONLY_PACKAGE)).isNull(); in uninstallApps()
105 expect.that(device.uninstallPackage(MEDIA_ROUTER_TEST_PACKAGE)).isNull(); in uninstallApps()
107 .isNull(); in uninstallApps()
422 .isNull(); in packageManagerSpammingProviderService_doesNotAutoBindAfterCrashing()
543 assertWithMessage("Failed to install " + apkName + ": " + result).that(result).isNull(); in installTestApp()
/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/app/src/android/app/cts/
DUpdateMediaTapToTransferReceiverDisplayTest.kt84 assertThat(chip).isNull() in tearDown()
142 assertThat(chip).isNull() in farFromSender_hidesChip()
172 assertThat(chip).isNull() in transferToReceiverSucceeded_hidesChip()
202 assertThat(chip).isNull() in transferToReceiverFailed_hidesChip()

12345678910>>...16