/frameworks/base/core/tests/coretests/src/android/app/assist/ |
D | AssistStructureTest.java | 146 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews() 154 assertThat(title.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews() 161 assertThat(parent.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews() 199 assertThat(rootView.getAutofillId()).isNotNull(); in assertStructureWithOneBigView() 207 assertThat(title.getAutofillId()).isNotNull(); in assertStructureWithOneBigView() 214 assertThat(parent.getAutofillId()).isNotNull(); in assertStructureWithOneBigView() 234 assertThat(view.getViewRootImpl()).isNotNull(); in testViewNodeParcelableForAutofill() 254 assertThat(view.getViewRootImpl()).isNotNull(); in testViewNodeParcelableControlFlags() 292 assertThat(view.getAutofillId()).isNotNull(); in assertSmallView() 317 assertThat(view.getAutofillId()).isNotNull(); in assertBigView() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SecurityEventTest.java | 116 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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/ |
D | GlifLayoutTest.java | 93 .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/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 150 assertThat(userInfo).isNotNull(); in testAddGuest() 171 assertThat(userInfo).isNotNull(); in testCloneUser() 192 assertThat(parentProfileInfo).isNotNull(); in testCloneUser() 204 assertThat(user1).isNotNull(); in testAdd2Users() 205 assertThat(user2).isNotNull(); in testAdd2Users() 257 assertThat(user).isNotNull(); in testAddTooManyUsers() 471 assertThat(userInfo1).isNotNull(); in testThereCanBeOnlyOneGuest() 480 assertThat(userInfo1).isNotNull(); in testFindExistingGuest_guestExists() 482 assertThat(foundGuest).isNotNull(); in testFindExistingGuest_guestExists() 512 assertThat(userInfo).isNotNull(); in testGetProfileParent() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/ |
D | TestUnfoldProgressListener.kt | 41 .isNotNull() in onTransitionProgress() 48 .isNotNull() in onTransitionFinishing() 55 .isNotNull() in onTransitionFinished() 66 assertWithMessage("Transition didn't start").that(currentRecording).isNotNull() in assertStarted()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardTransitionScenariosTest.kt | 233 assertThat(info.animator).isNotNull() in DREAMING to LOCKSCREEN() 273 assertThat(info.animator).isNotNull() in LOCKSCREEN to PRIMARY_BOUNCER via bouncer showing call() 314 assertThat(info.animator).isNotNull() in OCCLUDED to DOZING() 355 assertThat(info.animator).isNotNull() in OCCLUDED to AOD() 399 assertThat(info.animator).isNotNull() in LOCKSCREEN to DREAMING() 440 assertThat(info.animator).isNotNull() in LOCKSCREEN to DOZING() 481 assertThat(info.animator).isNotNull() in LOCKSCREEN to AOD() 518 assertThat(info.animator).isNotNull() in DOZING to LOCKSCREEN() 555 assertThat(info.animator).isNotNull() in DOZING to GONE() 596 assertThat(info.animator).isNotNull() in GONE to DOZING() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackNavigationControllerTests.java | 84 assertWithMessage("BackNavigationInfo").that(backNavigationInfo).isNotNull(); in backNavInfo_HomeWhenBackToLauncher() 86 assertThat(backNavigationInfo.getDepartingAnimationTarget()).isNotNull(); in backNavInfo_HomeWhenBackToLauncher() 87 assertThat(backNavigationInfo.getTaskWindowConfiguration()).isNotNull(); in backNavInfo_HomeWhenBackToLauncher() 100 assertWithMessage("BackNavigationInfo").that(backNavigationInfo).isNotNull(); in backTypeCrossTaskWhenBackToPreviousTask() 114 assertWithMessage("BackNavigationInfo").that(backNavigationInfo).isNotNull(); in backTypeCrossActivityWhenBackToPreviousActivity() 142 assertWithMessage("BackNavigationInfo").that(backNavigationInfo).isNotNull(); in backInfoWindowWithNoActivity() 205 assertWithMessage("BackNavigationInfo").that(backNavigationInfo).isNotNull(); in testUnregisterCallbacksWithSystemCallback() 207 assertThat(callback).isNotNull(); in testUnregisterCallbacksWithSystemCallback()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | FullBackupJobTest.java | 75 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserOneId))).isNotNull(); in testSchedule_afterScheduling_jobExists() 76 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserTwoId))).isNotNull(); in testSchedule_afterScheduling_jobExists() 94 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserOneId))).isNotNull(); in testSchedule_onlySchedulesForRequestedUser() 105 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserTwoId))).isNotNull(); in testCancel_onlyCancelsForRequestedUser()
|
/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 257 bool isNotNull; in readNullableFromParcel() local 258 SAFE_PARCEL(parcel.readBool, &isNotNull); in readNullableFromParcel() 259 if (isNotNull) { in readNullableFromParcel() 268 auto isNotNull = surfaceControl != nullptr; in writeNullableToParcel() local 269 SAFE_PARCEL(parcel.writeBool, isNotNull); in writeNullableToParcel() 270 if (isNotNull) { in writeNullableToParcel()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 171 assertThat(event).isNotNull(); in newEventForSessionStarted() 185 assertThat(clientContext).isNotNull(); in assertSessionStartedEvent() 193 assertThat(event).isNotNull(); in testSessionFinished_directly() 202 assertThat(event).isNotNull(); in testSessionFinished_throughParcel() 223 assertThat(event).isNotNull(); in testContextUpdated_directly() 231 assertThat(event).isNotNull(); in testContextUpdated_throughParcel() 311 assertThat(clientContext).isNotNull(); in assertContextUpdatedEvent() 329 assertThat(clone).isNotNull(); in cloneThroughParcel()
|
D | ContentCaptureSessionTest.java | 87 assertThat(mMockView.getAutofillId()).isNotNull(); // validity check in testNewViewStructure() 89 assertThat(structure).isNotNull(); in testNewViewStructure() 97 assertThat(structure).isNotNull(); in testNewVirtualViewStructure()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/ |
D | MediaDataCombineLatestTest.java | 116 assertThat(captor.getValue().getDevice()).isNotNull(); in emitEventAfterDeviceFirst() 130 assertThat(captor.getValue().getDevice()).isNotNull(); in emitEventAfterMediaFirst() 147 assertThat(captor.getValue().getDevice()).isNotNull(); in migrateKeyMediaFirst() 163 assertThat(captor.getValue().getDevice()).isNotNull(); in migrateKeyDeviceFirst() 181 assertThat(captor.getValue().getDevice()).isNotNull(); in migrateKeyMediaAfter() 199 assertThat(captor.getValue().getDevice()).isNotNull(); in migrateKeyDeviceAfter()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManagerTest.java | 147 assertThat(cachedDevice1).isNotNull(); in addDevice_validCachedDevices_devicesAdded() 149 assertThat(cachedDevice2).isNotNull(); in addDevice_validCachedDevices_devicesAdded() 221 assertThat(cachedDevice1).isNotNull(); in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded() 223 assertThat(cachedDevice2).isNotNull(); in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded() 225 assertThat(cachedDevice3).isNotNull(); in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded() 227 assertThat(cachedDevice4).isNotNull(); in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded() 254 assertThat(cachedDevice1).isNotNull(); in getName_validCachedDevice_nameFound() 264 assertThat(cachedDevice1).isNotNull(); in onDeviceNameUpdated_validName_nameUpdated() 279 assertThat(cachedDevice1).isNotNull(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() 281 assertThat(cachedDevice2).isNotNull(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/OverlayActor/src/com/android/server/pm/test/overlay/actor/ |
D | OverlayableVisibilityTest.kt | 38 assertThat(packageManager.getApplicationInfo(TARGET_PACKAGE, 0)).isNotNull() in verifyVisible() 39 assertThat(packageManager.getApplicationInfo(OVERLAY_PACKAGE, 0)).isNotNull() in verifyVisible()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | DeviceConfigProxyFakeTest.java | 62 assertThat(onPropertiesChangedListener.mProperties).isNotNull(); in testOnPropertiesChanged() 79 assertThat(onPropertiesChangedListener.mProperties).isNotNull(); in testOnMultiplePropertiesChanged() 85 assertThat(onPropertiesChangedListener.mProperties).isNotNull(); in testOnMultiplePropertiesChanged()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | SharedLibrariesImplTest.kt | 140 assertThat(builtinLibs).isNotNull() in <lambda>() 154 assertThat(mSharedLibrariesImpl.getSharedLibraryInfos(TEST_LIB_NAME)).isNotNull() in <lambda>() 156 .isNotNull() in <lambda>() 166 assertThat(sharedLibInfo).isNotNull() in <lambda>() 178 .isNotNull() in <lambda>() 180 .isNotNull() in <lambda>() 181 assertThat(sharedLibInfos).isNotNull() in <lambda>() 182 assertThat(sharedLibInfos.get(testInfo.longVersion)).isNotNull() in <lambda>() 214 assertThat(latestInfo).isNotNull() in <lambda>() 231 assertThat(latestInfoSetting).isNotNull() in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/ |
D | WindowExtensionsTest.java | 50 assertThat(mExtensions.getWindowLayoutComponent()).isNotNull(); in testGetWindowLayoutComponent() 55 assertThat(mExtensions.getActivityEmbeddingComponent()).isNotNull(); in testGetActivityEmbeddingComponent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TileStateToProtoTest.kt | 36 assertThat(proto).isNotNull() in platformTile_INACTIVE() 57 assertThat(proto).isNotNull() in componentTile_UNAVAILABLE() 81 assertThat(proto).isNotNull() in booleanState_ACTIVE()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedTouchHandlerTest.java | 77 assertThat(mTouchHandler.mInputMonitor).isNotNull(); in testOneHandedEnabled_monitorInputChannel() 78 assertThat(mTouchHandler.mInputEventReceiver).isNotNull(); in testOneHandedEnabled_monitorInputChannel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuControllerTest.java | 120 assertThat(mController.mFloatingMenu).isNotNull(); in onUserUnlocked_keyguardNotShow_showWidget() 157 assertThat(mController.mFloatingMenu).isNotNull(); in onKeyguardVisibilityChanged_notShow_showWidget() 201 assertThat(mController.mFloatingMenu).isNotNull(); in onUserSwitch_onKeyguardVisibilityChangedToFalse_showWidget() 213 assertThat(mController.mFloatingMenu).isNotNull(); in onAccessibilityButtonModeChanged_floatingModeAndHasButtonTargets_showWidget() 259 assertThat(mController.mFloatingMenu).isNotNull(); in onAccessibilityButtonTargetsChanged_floatingModeAndHasButtonTargets_showWidget()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/ |
D | FooterActionsViewModelTest.kt | 100 assertThat(power).isNotNull() in <lambda>() 170 assertThat(userSwitcher).isNotNull() in <lambda>() 244 assertThat(security).isNotNull() in <lambda>() 247 assertThat(security.onClick).isNotNull() in <lambda>() 253 assertThat(security).isNotNull() in <lambda>() 300 assertThat(foregroundServices).isNotNull() in <lambda>() 304 assertThat(foregroundServices.onClick).isNotNull() in <lambda>()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | SparseSetArrayTest.java | 67 assertThat(array).isNotNull(); in testCopyConstructor() 68 assertThat(arrayCopy).isNotNull(); in testCopyConstructor()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | MockableLocationProviderTest.java | 167 assertThat(newState).isNotNull(); in testSetState() 172 assertThat(newState).isNotNull(); in testSetState() 177 assertThat(newState).isNotNull(); in testSetState() 185 assertThat(newState).isNotNull(); in testSetState()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | IllustrationVideoViewTest.java | 72 assertThat(view.mMediaPlayer).isNotNull(); in testPausedWhenWindowFocusLost() 73 assertThat(view.surface).isNotNull(); in testPausedWhenWindowFocusLost() 93 assertThat(view.mMediaPlayer).isNotNull(); in testSurfaceReleasedWhenTextureDestroyed() 94 assertThat(view.surface).isNotNull(); in testSurfaceReleasedWhenTextureDestroyed()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | BubbleOverflowTest.java | 72 assertThat(mOverflow.getExpandedView()).isNotNull(); in test_initialize() 79 assertThat(mOverflow.getExpandedView()).isNotNull(); in test_cleanUpExpandedState()
|