Home
last modified time | relevance | path

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

12345678910>>...24

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DImageTest.java199 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArt()
213 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArt()
227 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithDisplayIcon()
241 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArtUri()
255 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArtUri()
270 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithDisplayIconUri()
284 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaMetadataWithArtUriDisabled()
286 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArtUriDisabled()
300 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArtUriDisabled()
302 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArtUriDisabled()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/audio/
DAudioManagerHelperTest.java60 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_none_noTimeShift()
71 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_none_TimeShift()
80 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_gain_noTimeShift()
91 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_gain_timeShift()
100 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_loss_noTimeShift()
111 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_loss_timeShift()
120 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_lossTransient_noTimeShift()
131 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_lossTransient_timeShift()
140 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_lossTransientCanDuck_noTimeShift()
151 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_lossTransientCanDuck_timeShift()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DCarTelemetryServiceTest.java35 import static org.mockito.ArgumentMatchers.isNull;
178 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_newMetricsConfig_shouldSucceed()
187 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_duplicateMetricsConfig_shouldFail()
194 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_ALREADY_EXISTS), isNull()); in testAddMetricsConfig_duplicateMetricsConfig_shouldFail()
204 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_PARSE_FAILED), isNull()); in testAddMetricsConfig_invalidMetricsConfig_shouldFail()
217 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_PARSE_FAILED), isNull()); in testAddMetricsConfig_invalidMetricsConfigName_shouldFail()
226 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_olderMetricsConfig_shouldFail()
233 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_VERSION_TOO_OLD), isNull()); in testAddMetricsConfig_olderMetricsConfig_shouldFail()
247 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_newerMetricsConfig_shouldReplaceAndDeleteOldResult()
250 assertThat(mResultStore.getInterimResult(METRICS_CONFIG_NAME)).isNull(); in testAddMetricsConfig_newerMetricsConfig_shouldReplaceAndDeleteOldResult()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPolicyReaderUnitTest.java248 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertValidPolicyPart()
256 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertNoPolicyPart()
257 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_OFF)).isNull(); in assertNoPolicyPart()
258 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_UNTOUCHED)).isNull(); in assertNoPolicyPart()
259 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_ON)).isNull(); in assertNoPolicyPart()
260 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_NONE)).isNull(); in assertNoPolicyPart()
265 VehicleApPowerStateReport.WAIT_FOR_VHAL)).isNull(); in assertValidPolicyGroupPart()
271 VehicleApPowerStateReport.DEEP_SLEEP_ENTRY)).isNull(); in assertValidPolicyGroupPart()
273 VehicleApPowerStateReport.SHUTDOWN_START)).isNull(); in assertValidPolicyGroupPart()
275 VehicleApPowerStateReport.WAIT_FOR_VHAL)).isNull(); in assertValidPolicyGroupPart()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyConfigTest.java57 assertThat(config.getMinValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig()
58 assertThat(config.getMaxValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig()
79 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadFloat()
80 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadFloat()
103 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerValue()
104 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerValue()
127 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadLongValue()
128 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadLongValue()
152 assertThat(configRead.getMinValue(WINDOW_PASSENGER)).isNull(); in testWriteReadIntegerArray()
153 assertThat(configRead.getMaxValue(WINDOW_PASSENGER)).isNull(); in testWriteReadIntegerArray()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java277 isNull(), isNull()); in testRegistration()
280 anyString(), anyByte(), any(byte[].class), isNull(), isNull()); in testRegistration()
287 anyByte(), any(byte[].class), isNull(), isNull()); in testRegistration()
317 isNull(), isNull()); in testSendReport()
354 isNull(), isNull()); in testReplyReport()
389 isNull(), isNull()); in testReportError()
420 isNull(), isNull()); in testOutgoingConnectDisconnectSuccess()
486 isNull(), isNull()); in testCallbacks()
489 anyString(), anyByte(), any(byte[].class), isNull(), isNull()); in testCallbacks()
496 anyByte(), any(byte[].class), isNull(), isNull()); in testCallbacks()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java37 import static org.mockito.ArgumentMatchers.isNull;
237 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover()
238 eq(INADDR_ANY) /* relayAddr */, isNull() /* reqAddr */, isNull() /* hostname */)) in testDiscover()
257 when(mRepository.getCommittedLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_RapidCommit()
258 eq(INADDR_ANY) /* relayAddr */, isNull() /* hostname */)).thenReturn(TEST_LEASE); in testDiscover_RapidCommit()
275 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_OutOfAddresses()
276 eq(INADDR_ANY) /* relayAddr */, isNull() /* reqAddr */, isNull() /* hostname */)) in testDiscover_OutOfAddresses()
303 when(mRepository.requestLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testRequest_Selecting_Ack()
323 when(mRepository.requestLease(isNull(), eq(TEST_CLIENT_MAC), in testRequest_Selecting_Nak()
325 eq(TEST_CLIENT_ADDR) /* reqAddr */, eq(true) /* sidSet */, isNull() /* hostname */)) in testRequest_Selecting_Nak()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DDiscoveryAdvertisementTest.java123 assertThat(DiscoveryAdvertisement.fromBytes(new byte[] {}, null)).isNull(); in fromBytes_emptyData()
128 assertThat(DiscoveryAdvertisement.fromBytes(new byte[] {0x0, 0x1, 0x2}, null)).isNull(); in fromBytes_dataTooShort()
135 assertThat(DiscoveryAdvertisement.fromBytes(bytes, null)).isNull(); in fromBytes_unmatedDataSize()
142 assertThat(DiscoveryAdvertisement.fromBytes(bytes, null)).isNull(); in fromBytes_invalidDataType()
150 assertThat(DiscoveryAdvertisement.fromBytes(bytes, null)).isNull(); in fromBytes_invalidServiceUuid()
158 assertThat(DiscoveryAdvertisement.fromBytes(bytes, null)).isNull(); in fromBytes_dataEndedUnexpectedly()
168 assertThat(DiscoveryAdvertisement.fromBytes(bytes, null)).isNull(); in fromBytes_invalidFieldType()
177 assertThat(DiscoveryAdvertisement.fromBytes(bytes, vendor_bytes)).isNull(); in fromBytes_vendorSpecificDataExistedInBothAd()
184 assertThat(DiscoveryAdvertisement.fromBytes(MIN_BYTES, vendor_bytes)).isNull(); in fromBytes_vendorSpecificDataEndedUnexpectedly()
249 assertThat(DiscoveryAdvertisement.getManufacturerSpecificDataInBytes(adv)).isNull(); in getManufacturerSpecificDataInBytes_noData()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserCreationResultTest.java54 assertThat(result.getAndroidFailureStatus()).isNull(); in testConstructor_statusOnly()
55 assertThat(result.getUser()).isNull(); in testConstructor_statusOnly()
56 assertThat(result.getErrorMessage()).isNull(); in testConstructor_statusOnly()
57 assertThat(result.getInternalErrorMessage()).isNull(); in testConstructor_statusOnly()
67 assertThat(result.getAndroidFailureStatus()).isNull(); in testConstructor_statusAndUserOnly()
69 assertThat(result.getErrorMessage()).isNull(); in testConstructor_statusAndUserOnly()
70 assertThat(result.getInternalErrorMessage()).isNull(); in testConstructor_statusAndUserOnly()
DCarUserManagerUnitTest.java28 import static org.mockito.ArgumentMatchers.isNull;
204 verify(mService, times(2)).setLifecycleListenerForApp(any(), isNull(), any()); in testAddListener_differentListenersAddedTwice()
252 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_success()
265 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_remoteException()
277 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_runtimeException()
289 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_success()
302 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_remoteException()
314 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_runtimeException()
370 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success()
388 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_remoteException()
[all …]
DCarUserServiceTest.java155 assertThat(mCarUserService.getInitialUser()).isNull(); in testSetInitialUser_nullUser()
181 assertThat(mCarUserService.getInitialUser()).isNull(); in testsetInitialUserFromSystemServer_nullUser()
1659 assertThat(result.getUser()).isNull(); in testCreateUser_umCreateReturnsNull()
1660 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_umCreateReturnsNull()
1661 assertThat(result.getInternalErrorMessage()).isNull(); in testCreateUser_umCreateReturnsNull()
1679 assertThat(result.getUser()).isNull(); in testCreateUser_umCreateThrowsException()
1680 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_umCreateThrowsException()
1699 assertThat(result.getAndroidFailureStatus()).isNull(); in testCreateUser_internalHalFailure()
1700 assertThat(result.getUser()).isNull(); in testCreateUser_internalHalFailure()
1701 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_internalHalFailure()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/
DSimpleTestLoggerTest.java36 assertThat(logger.mCallStats).isNull(); in testLogger_fieldsAreNullByDefault()
37 assertThat(logger.mPutDocumentStats).isNull(); in testLogger_fieldsAreNullByDefault()
38 assertThat(logger.mInitializeStats).isNull(); in testLogger_fieldsAreNullByDefault()
39 assertThat(logger.mSearchStats).isNull(); in testLogger_fieldsAreNullByDefault()
40 assertThat(logger.mRemoveStats).isNull(); in testLogger_fieldsAreNullByDefault()
41 assertThat(logger.mOptimizeStats).isNull(); in testLogger_fieldsAreNullByDefault()
42 assertThat(logger.mSetSchemaStats).isNull(); in testLogger_fieldsAreNullByDefault()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/
DTargetPresentationGetterTest.kt75 assertThat(presentationGetter.getLabel()).isNull() in testActivityInfoLabels_noSubstitutePermission_nullRequestedLabel()
111 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_sameRequestedLabelAndSublabel()
120 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_nullRequestedLabel()
130 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_emptyRequestedLabel()
138 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_emptyRequestedSublabel()
184 assertThat(presentationGetter.getSubLabel()).isNull() in testResolveInfoLabels_withSubstitutePermission_sameRequestedLabelAndSublabel()
193 assertThat(presentationGetter.getSubLabel()).isNull() in testResolveInfoLabels_withSubstitutePermission_emptyRequestedSublabel()
202 assertThat(presentationGetter.getSubLabel()).isNull() in testResolveInfoLabels_withSubstitutePermission_emptyRequestedLabelAndSublabel()
DChooserActivityLoggerTest.java27 import static org.mockito.ArgumentMatchers.isNull;
252 eq(SharesheetStandardEvent.SHARESHEET_TRIGGERED), eq(0), isNull(), any()); in testLogSharesheetTriggered()
259 eq(SharesheetStandardEvent.SHARESHEET_APP_LOAD_COMPLETE), eq(0), isNull(), any()); in testLogSharesheetAppLoadComplete()
268 isNull(), in testLogSharesheetDirectLoadComplete()
276 eq(SharesheetStandardEvent.SHARESHEET_DIRECT_LOAD_TIMEOUT), eq(0), isNull(), any()); in testLogSharesheetDirectLoadTimeout()
283 eq(SharesheetStandardEvent.SHARESHEET_PROFILE_CHANGED), eq(0), isNull(), any()); in testLogSharesheetProfileChanged()
290 eq(SharesheetStandardEvent.SHARESHEET_COLLAPSED), eq(0), isNull(), any()); in testLogSharesheetExpansionChanged_collapsed()
297 eq(SharesheetStandardEvent.SHARESHEET_EXPANDED), eq(0), isNull(), any()); in testLogSharesheetExpansionChanged_expanded()
306 isNull(), in testLogSharesheetAppShareRankingTimeout()
316 isNull(), in testLogSharesheetEmptyDirectShareRow()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java89 if (plmnColumn != -1 && !cursor.isNull(plmnColumn)) { in createFromCursor()
97 if (lacColumn != -1 && !cursor.isNull(lacColumn)) { in createFromCursor()
105 if (cidColumn != -1 && !cursor.isNull(cidColumn)) { in createFromCursor()
116 if (etwsWarningTypeColumn != -1 && !cursor.isNull(etwsWarningTypeColumn)) { in createFromCursor()
126 if (cmasMessageClassColumn != -1 && !cursor.isNull(cmasMessageClassColumn)) { in createFromCursor()
132 if (cmasCategoryColumn != -1 && !cursor.isNull(cmasCategoryColumn)) { in createFromCursor()
141 if (cmasResponseTypeColumn != -1 && !cursor.isNull(cmasResponseTypeColumn)) { in createFromCursor()
150 if (cmasSeverityColumn != -1 && !cursor.isNull(cmasSeverityColumn)) { in createFromCursor()
159 if (cmasUrgencyColumn != -1 && !cursor.isNull(cmasUrgencyColumn)) { in createFromCursor()
168 if (cmasCertaintyColumn != -1 && !cursor.isNull(cmasCertaintyColumn)) { in createFromCursor()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settingslib/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java57 .that(mProvider.getLastBugReportRequestTime()).isNull(); in testGetLastBugReportRequestTime_none()
76 .that(mProvider.getLastNetworkLogRetrievalTime()).isNull(); in testGetLastNetworkLogRetrievalTime_none()
95 .that(mProvider.getLastSecurityLogRetrievalTime()).isNull(); in testGetLastSecurityLogRetrievalTime_none()
114 .isNull(); in testGetImeLabelIfOwnerSet_notSet()
123 .isNull(); in testGetImeLabelIfOwnerSet_nullString()
132 .isNull(); in testGetImeLabelIfOwnerSet_emptyString()
142 .isNull(); in testGetImeLabelIfOwnerSet_nonexistentPackage()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DArrayUtilsTest.java233 assertThat(ArrayUtils.convertToLongArray(array)).isNull(); in testConverToLongArray()
275 assertThat(ArrayUtils.removeElement(Integer.class, new Integer[]{1}, 1)).isNull(); in testRemoveElement()
277 assertThat(ArrayUtils.removeElement(Integer.class, (Integer[]) null, 1)).isNull(); in testRemoveElement()
342 assertThat(ArrayUtils.cloneOrNull(longArray)).isNull(); in testCloneOrNull()
348 assertThat(ArrayUtils.cloneOrNull(intArray)).isNull(); in testCloneOrNull()
354 assertThat(ArrayUtils.cloneOrNull(intSet)).isNull(); in testCloneOrNull()
391 assertThat(ArrayUtils.remove(set, 1)).isNull(); in testArraySetRemove()
395 assertThat(ArrayUtils.remove(set, 1)).isNull(); in testArraySetRemove()
424 assertThat(ArrayUtils.remove(list, 1)).isNull(); in testArrayListRemove()
427 assertThat(ArrayUtils.remove(list, 1)).isNull(); in testArrayListRemove()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java20 import static org.mockito.Mockito.isNull;
207 verify(mA2dpService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in lastA2dpDisconnected_clearA2dpActive()
275 verify(mHeadsetService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in lastHeadsetDisconnected_clearHeadsetActive()
347 verify(mA2dpService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in hearingAidActive_clearA2dpAndHeadsetActive()
348 verify(mHeadsetService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in hearingAidActive_clearA2dpAndHeadsetActive()
381 verify(mHearingAidService).setActiveDevice(isNull()); in hearingAidActive_setA2dpActiveExplicitly()
401 verify(mHearingAidService).setActiveDevice(isNull()); in hearingAidActive_setHeadsetActiveExplicitly()
438 verify(mLeAudioService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in lastLeAudioDisconnected_clearLeAudioActive()
490 verify(mA2dpService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in leAudioActive_clearA2dpAndHeadsetActive()
491 verify(mHeadsetService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in leAudioActive_clearA2dpAndHeadsetActive()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/
DSecureComponentInfoTest.java44 assertThat(SecureComponentInfo.fromBytes(new byte[] {})).isNull(); in fromBytes_emptyData()
49 assertThat(SecureComponentInfo.fromBytes(new byte[] {0x01})).isNull(); in fromBytes_dataTooShort()
54 assertThat(SecureComponentInfo.fromBytes(new byte[] {0x01, 0x00})).isNull(); in fromBytes_invalidSecid()
59 assertThat(SecureComponentInfo.fromBytes(new byte[] {0x02, (byte) 0x80})).isNull(); in fromBytes_invalidSecureComponentType()
64 assertThat(SecureComponentInfo.fromBytes(new byte[] {0x02, (byte) 0x14})).isNull(); in fromBytes_invalidSecureComponentProtocolType()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java388 assertThat(callback.response).isNull(); in testGetUserInfo_halSetTimedOut()
404 assertThat(callback.response).isNull(); in testGetUserInfo_halDidNotReply()
420 assertThat(callback1.response).isNull(); in testGetUserInfo_secondCallFailWhilePending()
424 assertThat(callback1.response).isNull(); in testGetUserInfo_secondCallFailWhilePending()
442 assertThat(callback.response).isNull(); in testGetUserInfo_halReplyWithWrongRequestId()
465 assertThat(callback.response).isNull(); in testGetUserInfo_halReturnedInvalidAction()
622 assertThat(callback.response).isNull(); in testSwitchUser_halSetTimedOut()
639 assertThat(callback.response).isNull(); in testSwitchUser_halDidNotReply()
658 assertThat(callback.response).isNull(); in testSwitchUser_halReplyWithWrongRequestId()
683 assertThat(callback.response).isNull(); in testSwitchUser_halReturnedInvalidMessageType()
[all …]
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DNearbyDeviceParcelableTest.java98 assertThat(nearbyDeviceParcelable.getName()).isNull(); in test_defaultNullFields()
99 assertThat(nearbyDeviceParcelable.getFastPairModelId()).isNull(); in test_defaultNullFields()
100 assertThat(nearbyDeviceParcelable.getBluetoothAddress()).isNull(); in test_defaultNullFields()
101 assertThat(nearbyDeviceParcelable.getData()).isNull(); in test_defaultNullFields()
137 assertThat(actualNearbyDevice.getFastPairModelId()).isNull(); in testWriteParcel_nullModelId()
152 assertThat(actualNearbyDevice.getBluetoothAddress()).isNull(); in testWriteParcel_nullBluetoothAddress()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java56 final boolean hasStatus = !isNull(cursor, Data.STATUS); in possibleUpdate()
57 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); in possibleUpdate()
154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt()
159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong()
162 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in DataStatus
163 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/
DOemCarServiceTest.java90 assertThat(mOemCarService.getOemAudioFocusService()).isNull(); in testGetOemAudioFocusService_null()
96 .that(mDefaultOemCarService.getOemAudioFocusService()).isNull(); in getOemAudioFocusService_onDefaultOemService_null()
117 .that(mOemCarService.getOemAudioVolumeService()).isNull(); in getOemAudioVolumeServiceo_onDefault_null()
123 .that(mDefaultOemCarService.getOemAudioVolumeService()).isNull(); in getOemAudioVolumeService_onDefaultOemService_null()
144 .that(mOemCarService.getOemAudioDuckingService()).isNull(); in getOemAudioDuckingService_onDefault_null()
150 .that(mDefaultOemCarService.getOemAudioDuckingService()).isNull(); in getOemAudioDuckingService_onDefaultOemService_null()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java244 assertThat(privateKey).isNull(); in testRequestPrivateKeyReturnsNullForNonExistingAlias()
250 assertThat(certificate).isNull(); in testGetCertificateReturnsNullForNonExistingAlias()
256 assertThat(certificate).isNull(); in testGetCaCertificatesReturnsNullForNonExistingAlias()
269 assertThat(mKeyChain.getCredentialManagementAppPackageName()).isNull(); in testGetCredentialManagementAppPackageName_noManagementApp_returnsNull()
276 assertThat(mKeyChain.getCredentialManagementAppPolicy()).isNull(); in testGetCredentialManagementAppPolicy_noManagementApp_returnsNull()
284 TEST_URI_1)).isNull(); in testGetPredefinedAliasForPackageAndUri_noManagementApp_returnsNull()
332 assertThat(mKeyChain.getCredentialManagementAppPackageName()).isNull(); in testRemoveCredentialManagementApp_hasManagementApp_removesManagementApp()
333 assertThat(mKeyChain.getCredentialManagementAppPolicy()).isNull(); in testRemoveCredentialManagementApp_hasManagementApp_removesManagementApp()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DChannelNumberTest.java43 assertThat(parseChannelNumber("")).isNull(); in parseChannelNumber_empty()
48 assertThat(parseChannelNumber("-")).isNull(); in parseChannelNumber_dash()
53 assertThat(parseChannelNumber("abcd12")).isNull(); in parseChannelNumber_abcd12()
58 assertThat(parseChannelNumber("12abcd")).isNull(); in parseChannelNumber_12abcd()
63 assertThat(parseChannelNumber("-12")).isNull(); in parseChannelNumber_dash12()

12345678910>>...24