Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleViewInfoTest.kt173 assertThat(info!!).isNotNull() in <lambda>()
175 assertThat(info.imageView).isNotNull() in <lambda>()
176 assertThat(info.expandedView).isNotNull() in <lambda>()
179 assertThat(info.shortcutInfo).isNotNull() in <lambda>()
181 assertThat(info.rawBadgeBitmap).isNotNull() in <lambda>()
182 assertThat(info.dotPath).isNotNull() in <lambda>()
183 assertThat(info.bubbleBitmap).isNotNull() in <lambda>()
184 assertThat(info.badgeBitmap).isNotNull() in <lambda>()
201 assertThat(info!!).isNotNull() in <lambda>()
205 assertThat(info.bubbleBarExpandedView).isNotNull() in <lambda>()
[all …]
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperEventLoggerTest.java85 assertThat(result).isNotNull(); in onSystemImgWallpaperBackedUp_logsSuccess()
96 assertThat(result).isNotNull(); in onLockImgWallpaperBackedUp_logsSuccess()
107 assertThat(result).isNotNull(); in onSystemLiveWallpaperBackedUp_logsSuccess()
118 assertThat(result).isNotNull(); in onLockLiveWallpaperBackedUp_logsSuccess()
129 assertThat(result).isNotNull(); in onImgWallpaperBackedUp_nullInfo_doesNotLogMetadata()
141 assertThat(result).isNotNull(); in onLiveWallpaperBackedUp_logsMetadata()
142 assertThat(result.getMetadataHash()).isNotNull(); in onLiveWallpaperBackedUp_logsMetadata()
153 assertThat(result).isNotNull(); in onSystemImgWallpaperBackupFailed_logsFail()
165 assertThat(result).isNotNull(); in onLockImgWallpaperBackupFailed_logsFail()
178 assertThat(result).isNotNull(); in onSystemLiveWallpaperBackupFailed_logsFail()
[all …]
DWallpaperBackupAgentTest.java448 assertThat(result).isNotNull(); in testOnFullBackup_systemWallpaperImgSuccess_logsSuccess()
462 assertThat(result).isNotNull(); in testOnFullBackup_systemWallpaperImgIneligible_logsFailure()
473 assertThat(result).isNotNull(); in testOnFullBackup_systemWallpaperImgMissing_logsFailure()
488 assertThat(result).isNotNull(); in testOnFullBackup_systemWallpaperImgMissingButHasLiveComponent_logsLiveSuccess()
490 assertThat(result.getMetadataHash()).isNotNull(); in testOnFullBackup_systemWallpaperImgMissingButHasLiveComponent_logsLiveSuccess()
515 assertThat(result).isNotNull(); in testOnFullBackup_lockWallpaperImgSuccess_logsSuccess()
529 assertThat(result).isNotNull(); in testOnFullBackup_lockWallpaperImgIneligible_logsFailure()
540 assertThat(result).isNotNull(); in testOnFullBackup_lockWallpaperImgMissing_logsFailure()
555 assertThat(result).isNotNull(); in testOnFullBackup_lockWallpaperImgMissingButHasLiveComponent_logsLiveSuccess()
557 assertThat(result.getMetadataHash()).isNotNull(); in testOnFullBackup_lockWallpaperImgMissingButHasLiveComponent_logsLiveSuccess()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionScenariosTest.kt185 animatorAssertion = { it.isNotNull() } in lockscreenToPrimaryBouncerViaBouncerShowingCall()
210 animatorAssertion = { it.isNotNull() } in occludedToDozing()
235 animatorAssertion = { it.isNotNull() } in occludedToAod()
264 animatorAssertion = { it.isNotNull() } in lockscreenToDreaming()
294 animatorAssertion = { it.isNotNull() } in lockscreenToDreamingLockscreenHosted()
319 animatorAssertion = { it.isNotNull() } in lockscreenToDozing()
344 animatorAssertion = { it.isNotNull() } in lockscreenToAod()
375 animatorAssertion = { it.isNotNull() } in dreamingLockscreenHostedToLockscreen()
402 animatorAssertion = { it.isNotNull() } in dreamingLockscreenHostedToGone()
431 animatorAssertion = { it.isNotNull() } in dreamingLockscreenHostedToPrimaryBouncer()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepositoryTest.kt67 ).isNotNull() in testGetEntry()
77 ).isNotNull() in testGetEntry()
87 ).isNotNull() in testGetEntry()
97 ).isNotNull() in testGetEntry()
102 ).isNotNull() in testGetEntry()
107 ).isNotNull() in testGetEntry()
112 ).isNotNull() in testGetEntry()
117 ).isNotNull() in testGetEntry()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsHistoryIteratorTest.java92 assertThat(item = iterator.next()).isNotNull(); in unconstrainedIteration()
95 assertThat(item = iterator.next()).isNotNull(); in unconstrainedIteration()
100 assertThat(item = iterator.next()).isNotNull(); in unconstrainedIteration()
105 assertThat(item = iterator.next()).isNotNull(); in unconstrainedIteration()
111 assertThat(item = iterator.next()).isNotNull(); in unconstrainedIteration()
194 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory()
199 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory()
208 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory()
218 assertThat(item = iterator.next()).isNotNull(); in tagsLongHistory()
262 assertThat(item = iterator.next()).isNotNull(); in cpuSuspendHistoryEvents()
[all …]
DBatteryStatsHistoryTest.java288 assertThat(parcel).isNotNull(); in unconstrainedIteration()
295 assertThat(parcel).isNotNull(); in unconstrainedIteration()
301 assertThat(parcel).isNotNull(); in unconstrainedIteration()
330 assertThat(parcel).isNotNull(); in constrainedIteration()
337 assertThat(parcel).isNotNull(); in constrainedIteration()
418 assertThat(item = iterator.next()).isNotNull(); // First item contains current time only in recordPowerStats()
420 assertThat(item = iterator.next()).isNotNull(); in recordPowerStats()
448 assertThat(item = iterator.next()).isNotNull(); // First item contains current time only in testNrState_dump()
450 assertThat(item = iterator.next()).isNotNull(); in testNrState_dump()
455 assertThat(item = iterator.next()).isNotNull(); in testNrState_dump()
[all …]
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatActivityInterceptorTest.java165 assertThat(result).isNotNull(); in displayCompatActivity_returnsHost()
166 assertThat(result.getInterceptResult()).isNotNull(); in displayCompatActivity_returnsHost()
167 assertThat(result.getInterceptResult().getIntent()).isNotNull(); in displayCompatActivity_returnsHost()
171 assertThat(launchIntent).isNotNull(); in displayCompatActivity_returnsHost()
188 assertThat(result).isNotNull(); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost()
189 assertThat(result.getInterceptResult()).isNotNull(); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost()
190 assertThat(result.getInterceptResult().getIntent()).isNotNull(); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost()
194 assertThat(launchIntent).isNotNull(); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost()
216 assertThat(result).isNotNull(); in displayCompatActivity_noPermission_returnsHost()
217 assertThat(result.getInterceptResult()).isNotNull(); in displayCompatActivity_noPermission_returnsHost()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/fragment/src/test/java/org/robolectric/shadows/androidx/fragment/
DFragmentControllerTest.java81 assertThat(controller.get().getActivity()).isNotNull(); in attachedAfterCreate()
94 assertThat(controller.get().getActivity()).isNotNull(); in attachedAfterCreate_customActivity()
107 assertThat(controller.get().getView()).isNotNull(); in attachedAfterCreate_customizedViewId()
108 assertThat(controller.get().getActivity()).isNotNull(); in attachedAfterCreate_customizedViewId()
111 assertThat((TextView) controller.get().getView().findViewById(R.id.tacos)).isNotNull(); in attachedAfterCreate_customizedViewId()
121 assertThat(controller.get().getView()).isNotNull(); in hasViewAfterStart()
131 assertThat(controller.get().getView()).isNotNull(); in isResumed()
132 assertThat(controller.get().getActivity()).isNotNull(); in isResumed()
135 assertThat((TextView) controller.get().getView().findViewById(R.id.tacos)).isNotNull(); in isResumed()
145 assertThat(controller.get().getView()).isNotNull(); in isPaused()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplRebootTests.java76 expect.that(o1).isNotNull(); in testImmutableEnabledChange()
84 expect.that(o2).isNotNull(); in testImmutableEnabledChange()
92 expect.that(o3).isNotNull(); in testImmutableEnabledChange()
109 expect.that(o1).isNotNull(); in testMutableEnabledChangeHasNoEffect()
117 expect.that(o2).isNotNull(); in testMutableEnabledChangeHasNoEffect()
125 expect.that(o3).isNotNull(); in testMutableEnabledChangeHasNoEffect()
143 expect.that(o).isNotNull(); in testMutableEnabledToImmutableEnabled()
193 expect.that(o1).isNotNull(); in testMutablePriorityChange()
199 expect.that(o2).isNotNull(); in testMutablePriorityChange()
213 expect.that(o3).isNotNull(); in testMutablePriorityChange()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java178 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews()
186 assertThat(title.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews()
193 assertThat(parent.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews()
231 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithOneBigView()
239 assertThat(title.getAutofillId()).isNotNull(); in assertStructureWithOneBigView()
246 assertThat(parent.getAutofillId()).isNotNull(); in assertStructureWithOneBigView()
266 assertThat(view.getViewRootImpl()).isNotNull(); in testViewNodeParcelableForCredentialManager()
290 assertThat(view.getViewRootImpl()).isNotNull(); in testViewNodeClearCredentialManagerRequest()
316 assertThat(view.getViewRootImpl()).isNotNull(); in testViewNodeParcelableForAutofill()
336 assertThat(view.getViewRootImpl()).isNotNull(); in testViewNodeParcelableControlFlags()
[all …]
/frameworks/base/media/tests/projection/src/android/media/projection/
DMediaProjectionTest.java139 assertThat(mMediaProjection).isNotNull(); in testConstruction()
159 assertThat(createVirtualDisplay(null)).isNotNull(); in createVirtualDisplay_noCallbackRequired_missingMediaProjectionCallback()
160 assertThat(createVirtualDisplay(mVirtualDisplayCallback)).isNotNull(); in createVirtualDisplay_noCallbackRequired_missingMediaProjectionCallback()
167 assertThat(createVirtualDisplay(null)).isNotNull(); in createVirtualDisplay_noCallbackRequired_givenMediaProjectionCallback()
168 assertThat(createVirtualDisplay(mVirtualDisplayCallback)).isNotNull(); in createVirtualDisplay_noCallbackRequired_givenMediaProjectionCallback()
182 assertThat(createVirtualDisplay(null)).isNotNull(); in createVirtualDisplay_callbackRequired_givenMediaProjectionCallback()
183 assertThat(createVirtualDisplay(mVirtualDisplayCallback)).isNotNull(); in createVirtualDisplay_callbackRequired_givenMediaProjectionCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseViewTest.kt96 assertThat(turbulenceNoiseView.currentAnimator).isNotNull() in finish_animationPlaying_finishesAnimation()
115 assertThat(turbulenceNoiseView.turbulenceNoiseShader).isNotNull() in initShader_createsShaderCorrectly()
126 assertThat(shader).isNotNull() in initShader_changesConfig_doesNotCreateNewShader()
132 assertThat(newShader).isNotNull() in initShader_changesConfig_doesNotCreateNewShader()
143 assertThat(shader).isNotNull() in initShader_changesBaseType_createsNewShader()
148 assertThat(newShader).isNotNull() in initShader_changesBaseType_createsNewShader()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySourceTest.java129 assertThat(data.getValue().getStatus()).isNotNull(); in enableNullCipherIssue_statusWithoutIssues()
141 assertThat(data.getAllValues().get(1).getStatus()).isNotNull(); in setNullCipherState_encrypted_statusWithoutIssue()
153 assertThat(data.getAllValues().get(1).getStatus()).isNotNull(); in setNullCipherState_notifyEncrypted_statusWithIssue()
165 assertThat(data.getAllValues().get(1).getStatus()).isNotNull(); in setNullCipherState_notifyNonEncrypted_statusWithIssue()
178 assertThat(data.getAllValues().get(2).getStatus()).isNotNull(); in setNullCipherState_multipleNonEncrypted_statusWithTwoIssues()
194 assertThat(data.getAllValues().get(1).getStatus()).isNotNull(); in clearNullCipherState()
198 assertThat(data.getAllValues().get(2).getStatus()).isNotNull(); in clearNullCipherState()
223 assertThat(data.getAllValues().get(1).getStatus()).isNotNull(); in enableIdentifierDisclosureIssue_enableTwice()
234 assertThat(data.getValue().getStatus()).isNotNull(); in enableIdentifierDisclosueIssue_statusWithoutIssues()
246 assertThat(data.getAllValues().get(1).getStatus()).isNotNull(); in setIdentifierDisclosure_singleDisclosure_statusWithIssue()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSecurityEventTest.java116 assertThat(event.redact(10)).isNotNull(); in testSecurityEventRedaction()
123 assertThat(event.redact(10)).isNotNull(); in testSecurityEventRedaction()
130 assertThat(event.redact(20)).isNotNull(); in testSecurityEventRedaction()
138 assertThat(event.redact(0)).isNotNull(); in testSecurityEventRedaction()
146 assertThat(event.redact(1)).isNotNull(); in testSecurityEventRedaction()
154 assertThat(event.redact(2)).isNotNull(); in testSecurityEventRedaction()
162 assertThat(event.redact(2)).isNotNull(); in testSecurityEventRedaction()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java155 assertThat(userInfo).isNotNull(); in testAddGuest()
178 .that(userTypeDetails).isNotNull(); in testCloneUser()
186 assertThat(cloneProfileUser).isNotNull(); in testCloneUser()
236 assertThat(parentProfileInfo).isNotNull(); in testCloneUser()
255 assertWithMessage("Couldn't create communal profile").that(communal).isNotNull(); in testCommunalProfile()
259 assertWithMessage("No communal user type on device").that(userTypeDetails).isNotNull(); in testCommunalProfile()
322 .that(userTypeDetails).isNotNull(); in testPrivateProfile()
334 assertThat(privateProfileUser).isNotNull(); in testPrivateProfile()
374 assertThat(parentProfileInfo).isNotNull(); in testPrivateProfile()
387 assertThat(user1).isNotNull(); in testGetProfileAccessibilityString_throwsExceptionForNonProfileUser()
[all …]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java93 .isNotNull(); in testGetScrollView()
219 .isNotNull(); in testPeekProgressBar()
230 .isNotNull(); in testMixins()
233 .isNotNull(); in testMixins()
242 assertThat((View) layout.findViewById(android.R.id.text1)).isNotNull(); in testInflateFooter()
257 assertThat((View) layout.findViewById(android.R.id.text1)).isNotNull(); in testInflateFooterBlankTemplate()
275 assertThat((View) layout.findViewById(android.R.id.text1)).isNotNull(); in testFooterXml()
284 assertThat((View) layout.findViewById(android.R.id.text1)).isNotNull(); in inflateStickyHeader_shouldAddViewToLayout()
302 assertThat((View) layout.findViewById(android.R.id.text1)).isNotNull(); in inflateStickyHeader_whenInXml_shouldAddViewToLayout()
311 assertThat((View) layout.findViewById(android.R.id.text1)).isNotNull(); in inflateStickyHeader_whenOnBlankTemplate_shouldAddViewToLayout()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigServiceManagerTest.java52 assertThat(mRegisterer.getOrThrow()).isNotNull(); in testGetOrThrow()
62 assertThat(mRegisterer.get()).isNotNull(); in testGet()
68 assertThat(mRegisterer.tryGet()).isNotNull(); in testTryGet()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerActionButtonInteractorTest.kt125 assertThat(actionButton).isNotNull() in duringCall_returnToCallButton()
127 assertThat(actionButton?.onClick).isNotNull() in duringCall_returnToCallButton()
151 assertThat(actionButton).isNotNull() in noCall_secureAuthMethod_emergencyCallButton()
153 assertThat(actionButton?.onClick).isNotNull() in noCall_secureAuthMethod_emergencyCallButton()
154 assertThat(actionButton?.onLongClick).isNotNull() in noCall_secureAuthMethod_emergencyCallButton()
184 assertThat(actionButton).isNotNull() in noCall_insecureAuthMethodButSecureSim_emergencyCallButton()
186 assertThat(actionButton?.onClick).isNotNull() in noCall_insecureAuthMethodButSecureSim_emergencyCallButton()
187 assertThat(actionButton?.onLongClick).isNotNull() in noCall_insecureAuthMethodButSecureSim_emergencyCallButton()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/dialog/
DAccessibilityServiceWarningTest.java99 assertThat(dialogWindow).isNotNull(); in createAccessibilityServiceWarningDialog_hasExpectedWindowParams()
111 assertThat(title).isNotNull(); in createAccessibilityServiceWarningDialog_hasExpectedServiceName()
120 assertThat(allowButton).isNotNull(); in createAccessibilityServiceWarningDialog_clickAllow()
133 assertThat(denyButton).isNotNull(); in createAccessibilityServiceWarningDialog_clickDeny()
146 assertThat(uninstallButton).isNotNull(); in createAccessibilityServiceWarningDialog_clickUninstall()
159 assertThat(allowButton).isNotNull(); in getTouchConsumingListener()
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/
DBubbleExpandedViewPinControllerTest.kt142 assertThat(dropTargetView).isNotNull() in <lambda>()
159 assertThat(dropTargetView).isNotNull() in <lambda>()
181 assertThat(dropTargetView).isNotNull() in <lambda>()
188 assertThat(dropTargetView).isNotNull() in <lambda>()
212 assertThat(dropTargetView).isNotNull() in <lambda>()
217 assertThat(dropTargetView).isNotNull() in <lambda>()
304 assertThat(dropTargetView).isNotNull() in <lambda>()
322 assertThat(dropTargetView).isNotNull() in <lambda>()
342 assertThat(dropTargetView).isNotNull() in <lambda>()
365 assertThat(dropTargetView).isNotNull() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
DTestUnfoldProgressListener.kt45 .isNotNull() in onTransitionProgress()
53 .isNotNull() in onTransitionFinishing()
61 .isNotNull() in onTransitionFinished()
72 assertWithMessage("Transition didn't start").that(currentRecording).isNotNull() in assertStarted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/
DDisplayRepositoryTest.kt189 assertThat(pendingDisplay).isNotNull() in <lambda>()
202 assertThat(pendingDisplay).isNotNull() in <lambda>()
206 assertThat(pendingDisplay).isNotNull() in <lambda>()
294 assertThat(pendingDisplay).isNotNull() in <lambda>()
310 assertThat(pendingDisplay).isNotNull() in <lambda>()
315 assertThat(pendingDisplay).isNotNull() in <lambda>()
333 assertThat(pendingDisplay).isNotNull() in <lambda>()
354 assertThat(pendingDisplay).isNotNull() in <lambda>()
369 assertThat(pendingDisplay).isNotNull() in <lambda>()
390 assertThat(pendingDisplay).isNotNull() in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/
DTaskViewTransitionsTest.java112 assertThat(pending).isNotNull(); in testSetTaskBounds_taskVisible_boundsChangeTransaction()
127 .isNotNull(); in testSetTaskBounds_taskVisible_boundsChangeTransaction()
138 assertThat(pending).isNotNull(); in testSetTaskBounds_taskVisibleWithPending_noTransaction()
155 assertThat(pending).isNotNull(); in testSetTaskBounds_sameBounds_noTransaction()
171 assertThat(pendingBounds).isNotNull(); in testSetTaskBounds_sameBounds_noTransaction()
219 assertThat(pending).isNotNull(); in testReorderTask_movedToFrontTransaction()
240 assertThat(pending).isNotNull(); in testReorderTask_movedToBackTransaction()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DStorageManagerServiceTest.java84 .that(mStorageManagerInternal).isNotNull(); in setFixtures()
100 assertThat(storageLockEventListeners).isNotNull(); in testRegisterLockEventListener()
117 assertThat(mStorageManagerService.getCeStorageEventCallbacks()).isNotNull(); in testDispatchCeStorageLockEvent()
135 assertThat(mStorageManagerService.getCeStorageEventCallbacks()).isNotNull(); in assertNumberOfStorageCallbackReceivers()

12345678910>>...17