Home
last modified time | relevance | path

Searched refs:isNotNull (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/packages/apps/Dialer/java/com/android/dialer/protos/
DProtoParsers.java38 Assert.isNotNull(bundle); in get()
39 Assert.isNotNull(key); in get()
40 Assert.isNotNull(defaultInstance); in get()
55 Assert.isNotNull(contentValues); in get()
56 Assert.isNotNull(key); in get()
57 Assert.isNotNull(defaultInstance); in get()
99 Assert.isNotNull(intent); in getTrusted()
109 Assert.isNotNull(message); in put()
110 Assert.isNotNull(bundle); in put()
111 Assert.isNotNull(key); in put()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
DPhoneLookupInfoConsolidator.java159 return Assert.isNotNull(firstDefaultCp2Contact).getName(); in getName()
161 return Assert.isNotNull(firstExtendedCp2Contact).getName(); in getName()
188 return Assert.isNotNull(firstDefaultCp2Contact).getPhotoThumbnailUri(); in getPhotoThumbnailUri()
190 return Assert.isNotNull(firstExtendedCp2Contact).getPhotoThumbnailUri(); in getPhotoThumbnailUri()
214 return Assert.isNotNull(firstDefaultCp2Contact).getPhotoUri(); in getPhotoUri()
216 return Assert.isNotNull(firstExtendedCp2Contact).getPhotoUri(); in getPhotoUri()
238 return Math.max(Assert.isNotNull(firstDefaultCp2Contact).getPhotoId(), 0); in getPhotoId()
240 return Math.max(Assert.isNotNull(firstExtendedCp2Contact).getPhotoId(), 0); in getPhotoId()
261 return Assert.isNotNull(firstDefaultCp2Contact).getLookupUri(); in getLookupUri()
263 return Assert.isNotNull(firstExtendedCp2Contact).getLookupUri(); in getLookupUri()
[all …]
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorSimCallManager.java69 Assert.isNotNull(context); in register()
80 Assert.isNotNull(context); in unregister()
102 Assert.isNotNull(context); in addNewOutgoingCall()
103 Assert.isNotNull(extras); in addNewOutgoingCall()
104 Assert.isNotNull(phoneNumber); in addNewOutgoingCall()
105 Assert.isNotNull(extras); in addNewOutgoingCall()
146 Assert.isNotNull(context); in addNewIncomingCall()
147 Assert.isNotNull(callerId); in addNewIncomingCall()
148 Assert.isNotNull(extras); in addNewIncomingCall()
224 return Assert.isNotNull(connectionTag); in getConnectionTag()
[all …]
/packages/apps/Dialer/java/com/android/dialer/duo/stub/
DDuoStub.java62 Assert.isNotNull(context); in isReachable()
73 Assert.isNotNull(context); in supportsUpgrade()
81 Assert.isNotNull(context); in updateReachability()
82 Assert.isNotNull(numbers); in updateReachability()
108 Assert.isNotNull(number); in getCallIntent()
131 Assert.isNotNull(call); in requestUpgrade()
138 Assert.isNotNull(listener); in registerListener()
145 Assert.isNotNull(listener); in unregisterListener()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java105 assertThat(app.extraInfo).isNotNull(); in test_appInstalledSameDayNeverUsed_isInvalid()
119 assertThat(app.extraInfo).isNotNull(); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
133 assertThat(app.extraInfo).isNotNull(); in test_unusedApp_isValid()
147 assertThat(app.extraInfo).isNotNull(); in test_noThresholdFilter_unusedApp_isValid()
162 assertThat(app.extraInfo).isNotNull(); in test_unknownLastUse_isFilteredOut()
177 assertThat(app.extraInfo).isNotNull(); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
192 assertThat(app.extraInfo).isNotNull(); in test_oldAppRecentlyUsed_isNotValid()
207 assertThat(app.extraInfo).isNotNull(); in test_noThresholdFilter_oldAppRecentlyUsed_isValid()
222 assertThat(app.extraInfo).isNotNull(); in test_oldUnusedApp_isValid()
237 assertThat(app.extraInfo).isNotNull(); in test_noThresholdFilter_oldUnusedApp_isValid()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDefaultDialerExecutorFactory.java65 Assert.isNotNull(fragmentManager), in createUiTaskBuilder()
66 Assert.isNotNull(taskId), in createUiTaskBuilder()
67 Assert.isNotNull(worker), in createUiTaskBuilder()
76 return new NonUiTaskBuilder<>(Assert.isNotNull(worker), nonUiSerialExecutor, nonUiThreadPool); in createNonUiTaskBuilder()
103 this.successListener = Assert.isNotNull(successListener); in onSuccess()
110 this.failureListener = Assert.isNotNull(failureListener); in onFailure()
156 super(worker, Assert.isNotNull(serialExecutor), Assert.isNotNull(parallelExecutor)); in NonUiTaskBuilder()
197 dialerUiTaskFragment.executeOnCustomExecutor(Assert.isNotNull(executorService), input); in executeOnCustomExecutorService()
248 Assert.isNotNull(executorService).execute(() -> run(input)); in executeOnCustomExecutorService()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DAppsSettingsRetainFilterTests.java64 assertThat(calculator).isNotNull(); in testDisablingSystemAppAndRotateDevice()
70 assertThat(disableButton).isNotNull(); in testDisablingSystemAppAndRotateDevice()
77 assertThat(dialogDisableButton).isNotNull(); in testDisablingSystemAppAndRotateDevice()
83 assertThat(enableButton).isNotNull(); in testDisablingSystemAppAndRotateDevice()
90 assertThat(spinnerHeader).isNotNull(); in testDisablingSystemAppAndRotateDevice()
95 assertThat(optionDisabledApps).isNotNull(); in testDisablingSystemAppAndRotateDevice()
115 assertThat(spinnerDisabledApps).isNotNull(); in testDisablingSystemAppAndRotateDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupSkipDialogTest.java53 assertThat(alertDialog).isNotNull(); in frpMessages_areShownCorrectly_whenNotSupported()
68 assertThat(alertDialog).isNotNull(); in frpMessages_areShownCorrectly_whenSupported()
83 assertThat(alertDialog).isNotNull(); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()
98 assertThat(alertDialog).isNotNull(); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()
113 assertThat(alertDialog).isNotNull(); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()
128 assertThat(alertDialog).isNotNull(); in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly()
143 assertThat(alertDialog).isNotNull(); in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly()
158 assertThat(alertDialog).isNotNull(); in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly()
DSetupChooseLockPasswordTest.java96 assertThat(optionsButton).isNotNull(); in createActivity_withShowOptionsButtonExtra_shouldShowButton()
98 assertThat(ShadowDialog.getLatestDialog()).isNotNull(); in createActivity_withShowOptionsButtonExtra_shouldShowButton()
106 assertThat(optionsButton).isNotNull(); in createActivity_withShowOptionsButtonExtra_buttonNotVisibleIfNoVisibleLockTypes()
139 assertThat(nextStartedActivity).isNotNull(); in createActivity_clickDifferentOption_extrasShouldBePropagated()
153 assertThat(skipOrClearButton).isNotNull(); in createActivity_skipButtonInIntroductionStage_shouldBeVisible()
158 assertThat(chooserDialog).isNotNull(); in createActivity_skipButtonInIntroductionStage_shouldBeVisible()
DSetupChooseLockPatternTest.java96 assertThat(button).isNotNull(); in optionsButton_whenPatternSelected_shouldBeVisible()
108 assertThat(button).isNotNull(); in verifyScreenLockOptionsShown()
113 assertThat(chooserDialog).isNotNull(); in verifyScreenLockOptionsShown()
132 assertThat(button).isNotNull(); in verifyScreenLockOptionsHidden()
153 assertThat(skipOrClearButton).isNotNull(); in skipButton_shouldBeVisible_duringNonFingerprintFlow()
158 assertThat(chooserDialog).isNotNull(); in skipButton_shouldBeVisible_duringNonFingerprintFlow()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayer.java47 mediaPlayer = Assert.isNotNull(player); in NewVoicemailMediaPlayer()
99 Assert.isNotNull( in verifyListenersNotNull()
103 Assert.isNotNull( in verifyListenersNotNull()
107 Assert.isNotNull( in verifyListenersNotNull()
167 Assert.isNotNull(uri, "cannot download a null voicemail"); in setVoicemailRequestedToDownload()
190 Assert.isNotNull(voicemailLastPlayedOrPlayingUri); in getLastPlayedOrPlayingVoicemailUri()
201 return Assert.isNotNull( in getLastPreparedOrPreparingToPlayVoicemailUri()
/packages/apps/Dialer/java/com/android/dialer/notification/
DDialerNotificationManager.java42 Assert.isNotNull(context); in notify()
43 Assert.isNotNull(notification); in notify()
49 Assert.isNotNull(context); in notify()
50 Assert.isNotNull(notification); in notify()
62 Assert.isNotNull(context); in cancel()
68 Assert.isNotNull(context); in cancel()
102 Assert.isNotNull(context); in getActiveNotifications()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridItemData.java46 filePath = Assert.isNotNull(copyData.getFilePath()); in GalleryGridItemData()
47 mimeType = Assert.isNotNull(copyData.getMimeType()); in GalleryGridItemData()
48 dateModifiedSeconds = Assert.isNotNull(copyData.getDateModifiedSeconds()); in GalleryGridItemData()
56 mimeType = Assert.isNotNull(cursor.getString(INDEX_MIME_TYPE)); in bind()
57 String dateModified = Assert.isNotNull(cursor.getString(INDEX_DATE_MODIFIED)); in bind()
59 filePath = Assert.isNotNull(cursor.getString(INDEX_DATA_PATH)); in bind()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveHandleTest.java179 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_sevenZFile_shouldNotNull()
187 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_zipFile_shouldNotNull()
206 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_tarFile_shouldNotNull()
214 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_tgzFile_shouldNotNull()
223 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_tarGzFile_shouldNotNull()
232 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_tarBzipFile_shouldNotNull()
241 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_tarXzFile_shouldNotNull()
250 assertThat(archiveHandle).isNotNull(); in buildArchiveHandle_tarBrFile_shouldNotNull()
346 assertThat(inputStream).isNotNull(); in closeInputStream_zipFile_shouldBeSuccess()
363 assertThat(fileInputStream).isNotNull(); in close_zipFile_shouldNotOpen()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java31 assertThat(IconUtils.loadMimeIcon(mTargetContext, AUDIO_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isAudioMimeType()
36 assertThat(IconUtils.loadMimeIcon(mTargetContext, IMAGE_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isImageMimeType()
41 assertThat(IconUtils.loadMimeIcon(mTargetContext, GENERIC_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isGenericMimeType()
46 assertThat(IconUtils.loadMimeIcon(mTargetContext, VIDEO_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isVideoMimeType()
51 assertThat(IconUtils.loadMimeIcon(mTargetContext, TEXT_MIME_TYPE)).isNotNull(); in testLoadMimeIcon_isTextMimeType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java103 assertThat(ssid).isNotNull(); in ssidExceeds32Bytes_shouldShowSsidTooLongWarning()
117 assertThat(ssid).isNotNull(); in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
134 assertThat(ssid).isNotNull(); in isSubmittable_noSSID_shouldReturnFalse()
142 assertThat(password).isNotNull(); in isSubmittable_longPsk_shouldReturnFalse()
150 assertThat(password).isNotNull(); in isSubmittable_shortPsk_shouldReturnFalse()
158 assertThat(password).isNotNull(); in isSubmittable_goodPsk_shouldReturnTrue()
166 assertThat(password).isNotNull(); in isSubmittable_hexPsk_shouldReturnTrue()
174 assertThat(password).isNotNull(); in isSubmittable_savedConfigZeroLengthPassword_shouldReturnTrue()
194 assertThat(password).isNotNull(); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
195 assertThat(securitySpinner).isNotNull(); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java142 assertThat(arguments).isNotNull(); in setUp()
144 assertThat(arguments[0]).isNotNull(); in setUp()
211 assertThat(mUserServiceCallback).isNotNull(); in testLoadsLocationWithHeadlessSystemUser()
239 assertThat(mUserServiceCallback).isNotNull(); in testDoesNotLoadLocationWhenNoFileExists()
254 assertThat(mUserServiceCallback).isNotNull(); in testDoesNotLoadLocationFromIncompleteFile()
269 assertThat(mUserServiceCallback).isNotNull(); in testDoesNotLoadLocationFromCorruptFile()
285 assertThat(mUserServiceCallback).isNotNull(); in testDoesNotLoadIncompleteLocation()
301 assertThat(mUserServiceCallback).isNotNull(); in testDoesNotLoadOldLocation()
/packages/apps/Dialer/java/com/android/dialer/common/
DPackageUtils.java28 Assert.isNotNull(packageName); in isPackageInstalled()
29 Assert.isNotNull(context); in isPackageInstalled()
44 Assert.isNotNull(packageName); in isPackageEnabled()
45 Assert.isNotNull(context); in isPackageEnabled()
/packages/apps/Dialer/java/com/android/dialer/preferredsim/
DPreferredAccountRecorder.java92 this.phoneAccountHandle = Assert.isNotNull(phoneAccountHandle); in UserSelectionReporter()
93 this.number = Assert.isNotNull(number); in UserSelectionReporter()
116 this.context = Assert.isNotNull(context); in WritePreferredAccountWorkerInput()
117 this.dataId = Assert.isNotNull(dataId); in WritePreferredAccountWorkerInput()
118 this.phoneAccountHandle = Assert.isNotNull(phoneAccountHandle); in WritePreferredAccountWorkerInput()
/packages/services/Car/EncryptionRunner/test/android/car/encryptionrunner/
DEncryptionRunnerTest.java62 assertThat(finalServerMessage.getKey()).isNotNull(); in verifyRunners()
68 assertThat(finalClientMessage.getKey()).isNotNull(); in verifyRunners()
86 assertThat(initialClientMessage.getNextMessage()).isNotNull(); in verifyHandshake()
99 assertThat(initialServerMessage.getNextMessage()).isNotNull(); in verifyHandshake()
111 assertThat(clientMessage.getNextMessage()).isNotNull(); in verifyHandshake()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionUtilTest.java68 assertThat(subs).isNotNull(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()
77 assertThat(subs).isNotNull(); in getAvailableSubscriptions_oneSubscription_oneResult()
87 assertThat(subs).isNotNull(); in getAvailableSubscriptions_twoSubscriptions_twoResults()
167 assertThat(subs).isNotNull(); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()
176 assertThat(subs).isNotNull(); in getActiveSubscriptions_oneSubscription_oneResult()
187 assertThat(subs).isNotNull(); in getActiveSubscriptions_twoSubscriptions_twoResults()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonController.java79 Assert.isNotNull(delegate); in CheckableButtonController()
459 Assert.isNotNull(delegate); in AddCallButtonController()
477 Assert.isNotNull(delegate); in SwapButtonController()
495 Assert.isNotNull(delegate); in MergeButtonController()
513 Assert.isNotNull(delegate); in UpgradeToVideoButtonController()
531 Assert.isNotNull(delegate); in UpgradeToRttButtonController()
551 Assert.isNotNull(inCallScreenDelegate); in ManageConferenceButtonController()
572 Assert.isNotNull(inCallScreenDelegate); in SwitchToSecondaryButtonController()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/
DWifiInfoProviderImplTest.java133 assertThat(mWifiInfoProviderImpl.getNetworkInfo()).isNotNull(); in onStart_allFieldsInitialized()
134 assertThat(mWifiInfoProviderImpl.getWifiInfo()).isNotNull(); in onStart_allFieldsInitialized()
135 assertThat(mWifiInfoProviderImpl.getNetwork()).isNotNull(); in onStart_allFieldsInitialized()
136 assertThat(mWifiInfoProviderImpl.getNetworkCapabilities()).isNotNull(); in onStart_allFieldsInitialized()
137 assertThat(mWifiInfoProviderImpl.getNetworkConfiguration()).isNotNull(); in onStart_allFieldsInitialized()
138 assertThat(mWifiInfoProviderImpl.getLinkProperties()).isNotNull(); in onStart_allFieldsInitialized()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java163 assertThat(entry.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_modeAllowed_isPermissible()
178 assertThat(entry.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_modeDefault_isPermissible()
193 assertThat(entry.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible()
213 assertThat(entry1.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_multipleApps()
214 assertThat(entry2.extraInfo).isNotNull(); in loadsAppOpsExtraInfo_multipleApps()
249 assertThat(entry1.extraInfo).isNotNull(); in loadsAppOpExtraInfo_multipleProfiles()
250 assertThat(entry2.extraInfo).isNotNull(); in loadsAppOpExtraInfo_multipleProfiles()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DPreCallCoordinatorImpl.java63 this.activity = Assert.isNotNull(activity); in PreCallCoordinatorImpl()
70 builder = Assert.isNotNull(savedInstanceState.getParcelable(EXTRA_CALL_INTENT_BUILDER)); in onCreate()
72 builder = Assert.isNotNull(intent.getParcelableExtra(EXTRA_CALL_INTENT_BUILDER)); in onCreate()
120 Assert.isNotNull(currentAction); in onActionFinished()
153 Assert.isNotNull(currentAction); in startPendingAction()

12345678910>>...14