Home
last modified time | relevance | path

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

12345678910>>...47

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DImageTest.java210 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArt()
224 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArt()
238 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithDisplayIcon()
252 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArtUri()
266 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArtUri()
281 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithDisplayIconUri()
294 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaMetadataWithArtUriDisabled()
296 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArtUriDisabled()
309 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArtUriDisabled()
311 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/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/
DFakeSettingsTest.kt41 assertThat(settings.getIntOrNull("unknown")).isNull() in testUndefinedValues_returnNull()
42 assertThat(settings.getStringOrNull("unknown")).isNull() in testUndefinedValues_returnNull()
43 assertThat(settings.getFloatOrNull("unknown")).isNull() in testUndefinedValues_returnNull()
44 assertThat(settings.getLongOrNull("unknown")).isNull() in testUndefinedValues_returnNull()
57 assertThat(settings.getIntOrNull(stringKey)).isNull() in testMismatchedTypes()
58 assertThat(settings.getLongOrNull(stringKey)).isNull() in testMismatchedTypes()
59 assertThat(settings.getFloatOrNull(stringKey)).isNull() in testMismatchedTypes()
61 assertThat(settings.getIntOrNull(longKey)).isNull() in testMismatchedTypes()
64 assertThat(settings.getLongOrNull(floatKey)).isNull() in testMismatchedTypes()
65 assertThat(settings.getIntOrNull(floatKey)).isNull() in testMismatchedTypes()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DPowerUsageAdvancedTest.java21 import static org.mockito.ArgumentMatchers.isNull;
88 assertThat(PowerUsageAdvanced.getAnomalyEvent(null, mCardFilterPredicate)).isNull(); in getFilterAnomalyEvent_withEmptyOrNullList_getNull()
89 assertThat(PowerUsageAdvanced.getAnomalyEvent(null, mSlotFilterPredicate)).isNull(); in getFilterAnomalyEvent_withEmptyOrNullList_getNull()
94 .isNull(); in getFilterAnomalyEvent_withEmptyOrNullList_getNull()
99 .isNull(); in getFilterAnomalyEvent_withEmptyOrNullList_getNull()
114 assertThat(slotEvent).isNull(); in getFilterAnomalyEvent_withoutDismissed_getHighestScoreEvent()
131 assertThat(slotEvent).isNull(); in getFilterAnomalyEvent_withBrightnessDismissed_getScreenTimeout()
149 assertThat(cardEvent).isNull(); in getFilterAnomalyEvent_withAllDismissed_getNull()
150 assertThat(slotEvent).isNull(); in getFilterAnomalyEvent_withAllDismissed_getNull()
161 verify(mPowerUsageAdvanced.mBatteryTipsController).setOnAnomalyConfirmListener(isNull()); in onDisplayAnomalyEventUpdated_withSettingsAnomalyEvent_skipHighlightSlotEffect()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DCarTelemetryServiceTest.java35 import static org.mockito.ArgumentMatchers.isNull;
181 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_newMetricsConfig_shouldSucceed()
190 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_duplicateMetricsConfig_shouldFail()
197 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_ALREADY_EXISTS), isNull()); in testAddMetricsConfig_duplicateMetricsConfig_shouldFail()
207 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_PARSE_FAILED), isNull()); in testAddMetricsConfig_invalidMetricsConfig_shouldFail()
220 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_PARSE_FAILED), isNull()); in testAddMetricsConfig_invalidMetricsConfigName_shouldFail()
229 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_olderMetricsConfig_shouldFail()
236 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_VERSION_TOO_OLD), isNull()); in testAddMetricsConfig_olderMetricsConfig_shouldFail()
250 eq(CarTelemetryManager.STATUS_ADD_METRICS_CONFIG_SUCCEEDED), isNull()); in testAddMetricsConfig_newerMetricsConfig_shouldReplaceAndDeleteOldResult()
253 assertThat(mResultStore.getInterimResult(METRICS_CONFIG_NAME)).isNull(); in testAddMetricsConfig_newerMetricsConfig_shouldReplaceAndDeleteOldResult()
[all …]
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiPolicyCapabilitiesTest.kt60 assertThat(persistent.isEncrypted).isNull() in testCapabilitiesFromAnnotationsPersistent()
61 assertThat(persistent.ttl).isNull() in testCapabilitiesFromAnnotationsPersistent()
62 assertThat(persistent.isQueryable).isNull() in testCapabilitiesFromAnnotationsPersistent()
63 assertThat(persistent.isShareable).isNull() in testCapabilitiesFromAnnotationsPersistent()
69 assertThat(ttl30d.persistence).isNull() in testCapabilitiesFromAnnotationsTtl()
70 assertThat(ttl30d.isEncrypted).isNull() in testCapabilitiesFromAnnotationsTtl()
72 assertThat(ttl30d.isQueryable).isNull() in testCapabilitiesFromAnnotationsTtl()
73 assertThat(ttl30d.isShareable).isNull() in testCapabilitiesFromAnnotationsTtl()
83 assertThat(persistentAndTtl30d.isEncrypted).isNull() in testCapabilitiesFromAnnotationsPersistentAndTtl()
85 assertThat(persistentAndTtl30d.isQueryable).isNull() in testCapabilitiesFromAnnotationsPersistentAndTtl()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DMindfulSessionRecordInternalTest.java115 assertThat(externalRecord.getTitle()).isNull(); in toExternalRecord_optionalFieldsNotSet()
116 assertThat(externalRecord.getNotes()).isNull(); in toExternalRecord_optionalFieldsNotSet()
121 assertThat(metadata.getClientRecordId()).isNull(); in toExternalRecord_optionalFieldsNotSet()
125 assertThat(metadata.getDevice().getModel()).isNull(); in toExternalRecord_optionalFieldsNotSet()
126 assertThat(metadata.getDevice().getManufacturer()).isNull(); in toExternalRecord_optionalFieldsNotSet()
207 assertThat(decodedRecord.getTitle()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet()
208 assertThat(decodedRecord.getNotes()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet()
214 assertThat(decodedRecord.getAppName()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet()
215 assertThat(decodedRecord.getClientRecordId()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet()
220 assertThat(decodedRecord.getManufacturer()).isNull(); in writeToParcel_populateUsing_optionalFieldsNotSet()
[all …]
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DSafetyLabelTest.kt43 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_nullMetadataBundle_nullSafetyLabel()
51 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_emptyMetadataBundle_nullSafetyLabel()
59 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_emptyVersionedMetadataBundle_nullSafetyLabel()
67 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidMetadataBundle_nullSafetyLabel()
76 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidSafetyLabelBundle_dataSharedEmpty()
97 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidBundle_noTopLevelBundleVersion()
104 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidBundle_InvalidTopLevelBundleVersion()
113 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidBundle_NoSafetyLabelBundleVersion()
122 assertThat(safetyLabel).isNull() in getSafetyLabelFromMetadata_invalidBundle_InvalidSafetyLabelBundleVersion()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcher.java117 if (json.isNull(SourceHeaderContract.DESTINATION) in parseCommonSourceParams()
118 && json.isNull(SourceHeaderContract.WEB_DESTINATION)) { in parseCommonSourceParams()
123 if (!json.isNull(SourceHeaderContract.SOURCE_EVENT_ID)) { in parseCommonSourceParams()
133 if (!json.isNull(SourceHeaderContract.EXPIRY)) { in parseCommonSourceParams()
152 if (!json.isNull(SourceHeaderContract.EVENT_REPORT_WINDOW)) { in parseCommonSourceParams()
169 if (!json.isNull(SourceHeaderContract.AGGREGATABLE_REPORT_WINDOW)) { in parseCommonSourceParams()
189 if (!json.isNull(SourceHeaderContract.PRIORITY)) { in parseCommonSourceParams()
198 if (!json.isNull(SourceHeaderContract.DEBUG_REPORTING)) { in parseCommonSourceParams()
201 if (!json.isNull(SourceHeaderContract.DEBUG_KEY)) { in parseCommonSourceParams()
208 if (!json.isNull(SourceHeaderContract.INSTALL_ATTRIBUTION_WINDOW_KEY)) { in parseCommonSourceParams()
[all …]
DAsyncTriggerFetcher.java171 if (!json.isNull(TriggerHeaderContract.EVENT_TRIGGER_DATA)) { in parseTrigger()
183 if (!json.isNull(TriggerHeaderContract.AGGREGATABLE_TRIGGER_DATA)) { in parseTrigger()
194 if (!json.isNull(TriggerHeaderContract.AGGREGATABLE_VALUES)) { in parseTrigger()
204 if (!json.isNull(TriggerHeaderContract.AGGREGATABLE_DEDUPLICATION_KEYS)) { in parseTrigger()
219 if (!json.isNull(TriggerHeaderContract.FILTERS)) { in parseTrigger()
230 if (!json.isNull(TriggerHeaderContract.NOT_FILTERS)) { in parseTrigger()
243 if (!json.isNull(TriggerHeaderContract.DEBUG_REPORTING)) { in parseTrigger()
246 if (!json.isNull(TriggerHeaderContract.DEBUG_KEY)) { in parseTrigger()
254 && !json.isNull(TriggerHeaderContract.X_NETWORK_KEY_MAPPING)) { in parseTrigger()
267 && !json.isNull(TriggerHeaderContract.ATTRIBUTION_CONFIG)) { in parseTrigger()
[all …]
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DNutritionRecord.java2000 if (!Objects.isNull(getUnsaturatedFat())) { in toRecordInternal()
2003 if (!Objects.isNull(getPotassium())) { in toRecordInternal()
2006 if (!Objects.isNull(getThiamin())) { in toRecordInternal()
2010 if (!Objects.isNull(getTransFat())) { in toRecordInternal()
2013 if (!Objects.isNull(getManganese())) { in toRecordInternal()
2016 if (!Objects.isNull(getEnergyFromFat())) { in toRecordInternal()
2019 if (!Objects.isNull(getCaffeine())) { in toRecordInternal()
2022 if (!Objects.isNull(getDietaryFiber())) { in toRecordInternal()
2025 if (!Objects.isNull(getSelenium())) { in toRecordInternal()
2028 if (!Objects.isNull(getVitaminB6())) { in toRecordInternal()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManagerTest.java118 assertThat(manager.mEnabledFgServiceName).isNull(); in testConstructor()
146 assertThat(manager.mEnabledFgServiceName).isNull(); in testOnEnabledForegroundNfcFServiceChangedWithNullService()
148 assertThat(manager.mService).isNull(); in testOnEnabledForegroundNfcFServiceChangedWithNullService()
149 assertThat(manager.mServiceName).isNull(); in testOnEnabledForegroundNfcFServiceChangedWithNullService()
264 assertThat(manager.mActiveService).isNull(); in testOnHostEmulationDeactivated()
265 assertThat(manager.mActiveServiceName).isNull(); in testOnHostEmulationDeactivated()
278 assertThat(manager.mEnabledFgServiceName).isNull(); in testOnNfcDisabled()
279 assertThat(manager.mActiveService).isNull(); in testOnNfcDisabled()
280 assertThat(manager.mActiveServiceName).isNull(); in testOnNfcDisabled()
293 assertThat(manager.mEnabledFgServiceName).isNull(); in testOnUserSwitched()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java280 isNull(), in testRegistration()
281 isNull()); in testRegistration()
290 isNull(), in testRegistration()
291 isNull()); in testRegistration()
304 isNull(), in testRegistration()
305 isNull()); in testRegistration()
339 isNull(), in testSendReport()
340 isNull()); in testSendReport()
384 isNull(), in testReplyReport()
385 isNull()); in testReplyReport()
[all …]
/packages/modules/Bluetooth/service/src/
DAutoOnFeatureTest.kt123 expect.that(Settings.Secure.getString(resolver, Timer.STORAGE_KEY)).isNull() in <lambda>()
136 expect.that(timer).isNull() in <lambda>()
147 expect.that(timer).isNull() in <lambda>()
168 expect.that(timer).isNull() in <lambda>()
183 expect.that(timer).isNull() in <lambda>()
190 assertThat(timer).isNull() in <lambda>()
200 expect.that(timer).isNull() in <lambda>()
255 assertThat(timer).isNull() in <lambda>()
264 assertThat(timer).isNull() in <lambda>()
322 expect.that(timer).isNull() in <lambda>()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserCreationResultTest.java43 assertThat(result.getAndroidFailureStatus()).isNull(); in testConstructor_statusOnly()
44 assertThat(result.getUser()).isNull(); in testConstructor_statusOnly()
45 assertThat(result.getErrorMessage()).isNull(); in testConstructor_statusOnly()
46 assertThat(result.getInternalErrorMessage()).isNull(); in testConstructor_statusOnly()
56 assertThat(result.getAndroidFailureStatus()).isNull(); in testConstructor_statusAndUserOnly()
58 assertThat(result.getErrorMessage()).isNull(); in testConstructor_statusAndUserOnly()
59 assertThat(result.getInternalErrorMessage()).isNull(); in testConstructor_statusAndUserOnly()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBHistogramIdentifierTest.java74 assertThat(originalIdentifier.getHistogramIdentifierForeignKey()).isNull(); in testBuildUnsetForeignKey_success()
109 assertThat(originalIdentifier.getCustomAudienceOwner()).isNull(); in testBuildUnsetCustomAudienceOwner_success()
130 assertThat(originalIdentifier.getCustomAudienceName()).isNull(); in testBuildUnsetCustomAudienceName_success()
151 assertThat(originalIdentifier.getSourceApp()).isNull(); in testBuildUnsetSourceApp_success()
165 assertThat(originalIdentifier.getHistogramIdentifierForeignKey()).isNull(); in testSetNullForeignKey_success()
194 assertThat(originalIdentifier.getCustomAudienceOwner()).isNull(); in testSetNullCustomAudienceOwner_success()
216 assertThat(originalIdentifier.getCustomAudienceName()).isNull(); in testSetNullCustomAudienceName_success()
238 assertThat(originalIdentifier.getSourceApp()).isNull(); in testSetNullSourceApp_success()
304 assertThat(originalIdentifier.getCustomAudienceOwner()).isNull(); in testCreateNullCustomAudienceOwner_success()
326 assertThat(originalIdentifier.getCustomAudienceName()).isNull(); in testCreateNullCustomAudienceName_success()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/android/app/appsearch/testutil/external/testutil/
DSimpleTestLoggerTest.java38 assertThat(logger.mCallStats).isNull(); in testLogger_fieldsAreNullByDefault()
39 assertThat(logger.mPutDocumentStats).isNull(); in testLogger_fieldsAreNullByDefault()
40 assertThat(logger.mInitializeStats).isNull(); in testLogger_fieldsAreNullByDefault()
41 assertThat(logger.mSearchStats).isNull(); in testLogger_fieldsAreNullByDefault()
42 assertThat(logger.mRemoveStats).isNull(); in testLogger_fieldsAreNullByDefault()
43 assertThat(logger.mOptimizeStats).isNull(); in testLogger_fieldsAreNullByDefault()
45 assertThat(logger.mSchemaMigrationStats).isNull(); in testLogger_fieldsAreNullByDefault()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java37 import static org.mockito.ArgumentMatchers.isNull;
238 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover()
239 eq(INADDR_ANY) /* relayAddr */, isNull() /* reqAddr */, isNull() /* hostname */)) in testDiscover()
259 when(mRepository.getCommittedLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_RapidCommit()
260 eq(INADDR_ANY) /* relayAddr */, isNull() /* hostname */)).thenReturn(TEST_LEASE); in testDiscover_RapidCommit()
277 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_OutOfAddresses()
278 eq(INADDR_ANY) /* relayAddr */, isNull() /* reqAddr */, isNull() /* hostname */)) in testDiscover_OutOfAddresses()
305 when(mRepository.requestLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testRequest_Selecting_Ack()
325 when(mRepository.requestLease(isNull(), eq(TEST_CLIENT_MAC), in testRequest_Selecting_Nak()
327 eq(TEST_CLIENT_ADDR) /* reqAddr */, eq(true) /* sidSet */, isNull() /* hostname */)) in testRequest_Selecting_Nak()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DTargetPresentationGetterTest.kt86 assertThat(presentationGetter.getLabel()).isNull() in testActivityInfoLabels_noSubstitutePermission_nullRequestedLabel()
123 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_sameRequestedLabelAndSublabel()
132 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_nullRequestedLabel()
143 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_emptyRequestedLabel()
151 assertThat(presentationGetter.getSubLabel()).isNull() in testActivityInfoLabels_withSubstitutePermission_emptyRequestedSublabel()
207 assertThat(presentationGetter.getSubLabel()).isNull() in testResolveInfoLabels_withSubstitutePermission_sameRequestedLabelAndSublabel()
216 assertThat(presentationGetter.getSubLabel()).isNull() in testResolveInfoLabels_withSubstitutePermission_emptyRequestedSublabel()
224 assertThat(presentationGetter.getSubLabel()).isNull() in testResolveInfoLabels_withSubstitutePermission_emptyRequestedLabelAndSublabel()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java30 import static org.mockito.ArgumentMatchers.isNull;
244 verify(mService, times(2)).setLifecycleListenerForApp(any(), isNull(), any()); in testAddListener_differentListenersAddedTwice()
290 assertThat(response.getErrorMessage()).isNull(); in testSwitchUser_success()
305 assertThat(result.getErrorMessage()).isNull(); in testSwitchUserId_success()
317 assertThat(response.getErrorMessage()).isNull(); in testSwitchUser_remoteException()
332 assertThat(result.getErrorMessage()).isNull(); in testSwitchUserId_remoteException()
343 assertThat(response.getErrorMessage()).isNull(); in testSwitchUser_runtimeException()
357 assertThat(result.getErrorMessage()).isNull(); in testSwitchUserId_runtimeException()
369 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_success()
382 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_remoteException()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPolicyReaderUnitTest.java366 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertValidPolicyPart()
374 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertValidPolicyPart_withCustomComponents()
382 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertNoPolicyPart()
383 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_OFF)).isNull(); in assertNoPolicyPart()
384 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_UNTOUCHED)).isNull(); in assertNoPolicyPart()
385 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_ON)).isNull(); in assertNoPolicyPart()
386 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_NONE)).isNull(); in assertNoPolicyPart()
391 VehicleApPowerStateReport.WAIT_FOR_VHAL)).isNull(); in assertValidPolicyGroupPart()
397 VehicleApPowerStateReport.DEEP_SLEEP_ENTRY)).isNull(); in assertValidPolicyGroupPart()
399 VehicleApPowerStateReport.SHUTDOWN_START)).isNull(); in assertValidPolicyGroupPart()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/
DDefaultCombinedPreferenceControllerTest.java73 assertThat(dcpc.getSettingIntent(null).getPackage()).isNull(); in ensureSettingIntentNullForNewDesign()
92 assertThat(CombinedProviderInfo.createSettingsActivityIntent(null, null)).isNull(); in ensureSettingsActivityIntentCreatedSuccessfully()
93 assertThat(CombinedProviderInfo.createSettingsActivityIntent("", null)).isNull(); in ensureSettingsActivityIntentCreatedSuccessfully()
94 assertThat(CombinedProviderInfo.createSettingsActivityIntent("", "")).isNull(); in ensureSettingsActivityIntentCreatedSuccessfully()
95 assertThat(CombinedProviderInfo.createSettingsActivityIntent("com.test", "")).isNull(); in ensureSettingsActivityIntentCreatedSuccessfully()
121 assertThat(ppp.getSummary()).isNull(); in ensureUpdatePreferenceForProviderPopulatesInfo()
122 assertThat(ppp.getIcon()).isNull(); in ensureUpdatePreferenceForProviderPopulatesInfo()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java92 if (plmnColumn != -1 && !cursor.isNull(plmnColumn)) { in createFromCursor()
100 if (lacColumn != -1 && !cursor.isNull(lacColumn)) { in createFromCursor()
108 if (cidColumn != -1 && !cursor.isNull(cidColumn)) { in createFromCursor()
119 if (etwsWarningTypeColumn != -1 && !cursor.isNull(etwsWarningTypeColumn)) { in createFromCursor()
129 if (cmasMessageClassColumn != -1 && !cursor.isNull(cmasMessageClassColumn)) { in createFromCursor()
135 if (cmasCategoryColumn != -1 && !cursor.isNull(cmasCategoryColumn)) { in createFromCursor()
144 if (cmasResponseTypeColumn != -1 && !cursor.isNull(cmasResponseTypeColumn)) { in createFromCursor()
153 if (cmasSeverityColumn != -1 && !cursor.isNull(cmasSeverityColumn)) { in createFromCursor()
162 if (cmasUrgencyColumn != -1 && !cursor.isNull(cmasUrgencyColumn)) { in createFromCursor()
171 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/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DDialogManagerTest.java68 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in showMaxUserLimitReachedDialog_requestShowMaxUserDialog_callShowMaxUserDialog()
78 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in showConfirmAddUserDialog_requestShowConfirmDialog_callShowConfirmAddUserDialog()
88 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in showAddingDialog_requestShowAddingDialog_callShowAddingDialog()
104 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in dismissAddingDialog_requestDismissAddingDialog_callDismissAddingDialog()
110 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in showSwitchingDialog_requestShowSwitchingDialog_callShowSwitchingDialog()
126 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in dismissSwitchingDialog_requestDismissSwitchingDialog_callDismissSwitchingDialog()
132 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in showConfirmLogoutDialog_callShowConfirmLogoutDialog()

12345678910>>...47