/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/work/domain/interactor/ |
D | WorkModeTileDataInteractorTest.kt | 63 assertThat(data).isInstanceOf(WorkModeTileModel.HasActiveProfile::class.java) in <lambda>() 67 assertThat(data).isInstanceOf(WorkModeTileModel.HasActiveProfile::class.java) in <lambda>() 71 assertThat(data).isInstanceOf(WorkModeTileModel.HasActiveProfile::class.java) in <lambda>() 81 assertThat(data).isInstanceOf(WorkModeTileModel.NoActiveProfile::class.java) in <lambda>() 84 assertThat(data).isInstanceOf(WorkModeTileModel.HasActiveProfile::class.java) in <lambda>() 87 assertThat(data).isInstanceOf(WorkModeTileModel.NoActiveProfile::class.java) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | AlternateBouncerMessageAreaViewModelTest.kt | 80 assertThat(message).isInstanceOf(FingerprintFailureMessage::class.java) in fingerprintMessage() 118 assertThat(message).isInstanceOf(FaceFailureMessage::class.java) in faceFailMessage() 128 assertThat(message).isInstanceOf(FaceFailureMessage::class.java) in faceThenFingerprintMessage() 131 assertThat(message).isInstanceOf(FingerprintFailureMessage::class.java) in faceThenFingerprintMessage() 141 assertThat(message).isInstanceOf(FingerprintFailureMessage::class.java) in fingerprintMessagePreventsFaceMessageFromShowing() 144 assertThat(message).isInstanceOf(FingerprintFailureMessage::class.java) in fingerprintMessagePreventsFaceMessageFromShowing() 154 assertThat(message).isInstanceOf(FingerprintFailureMessage::class.java) in fingerprintMessageAllowsFaceMessageAfter4000ms() 159 assertThat(message).isInstanceOf(FaceFailureMessage::class.java) in fingerprintMessageAllowsFaceMessageAfter4000ms()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LocalImageResolverTest.java | 75 assertThat(d).isInstanceOf(ColorDrawable.class); in resolveImage_nonBitmapResourceIcon_fallsBackToNonResizingLoad() 98 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeBitmapIcon_defaultSize_resizeToDefaultSize() 114 assertThat(d).isInstanceOf(AdaptiveIconDrawable.class); in resolveImage_largeAdaptiveBitmapIcon_defaultSize_resizeToDefaultSize() 129 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeResourceIcon_defaultSize_resizeToDefaultSize() 143 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeResourceIcon_passedSize_resizeToDefinedSize() 155 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeResourceIcon_negativeWidth_dontResize() 167 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeResourceIcon_negativeHeight_dontResize() 180 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeBitmapIcon_passedNegativeWidth_dontResize() 193 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_largeBitmapIcon_passedNegativeHeight_dontResize() 204 assertThat(d).isInstanceOf(BitmapDrawable.class); in resolveImage_smallBitmapIcon_passedSmallerSize_dontResize() [all …]
|
D | CachingIconViewTest.java | 65 assertThat(drawable).isInstanceOf(InsetDrawable.class); in customDrawable_setImageIcon_skipsResizeSuccessfully() 74 assertThat(drawable).isInstanceOf(InsetDrawable.class); in customDrawable_setImageIconAsync_skipsResizeSuccessfully() 83 assertThat(drawable).isInstanceOf(InsetDrawable.class); in customDrawable_setImageResource_skipsResizeSuccessfully() 92 assertThat(drawable).isInstanceOf(InsetDrawable.class); in customDrawable_setImageResourceAsync_skipsResizeSuccessfully() 103 assertThat(drawable).isInstanceOf(InsetDrawable.class); in customDrawable_setImageUri_skipsResizeSuccessfully() 114 assertThat(drawable).isInstanceOf(InsetDrawable.class); in customDrawable_setImageUriAsync_skipsResizeSuccessfully() 239 assertThat(drawable).isInstanceOf(BitmapDrawable.class); in assertDrawableResized() 254 assertThat(drawable).isInstanceOf(BitmapDrawable.class); in assertDrawableNotResized()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/media/ |
D | InfoMediaManagerIntegTest.java | 69 assertThat(manager).isInstanceOf(RouterInfoMediaManager.class); in createInstance_withMR2FlagOn_returnsRouterInfoMediaManager() 77 assertThat(manager).isInstanceOf(NoOpInfoMediaManager.class); in createInstance_withMR2FlagOn_withFakePackage_returnsNoOpInfoMediaManager() 85 assertThat(manager).isInstanceOf(RouterInfoMediaManager.class); in createInstance_withMR2FlagOn_withNullPackage_returnsRouterInfoMediaManager() 94 assertThat(manager).isInstanceOf(ManagerInfoMediaManager.class); in createInstance_withMR2FlagOff_returnsManagerInfoMediaManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/ |
D | ShareToAppChipViewModelTest.kt | 89 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_notProjectingState_isHidden() 103 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_singleTaskState_otherDevicesPackage_isHidden() 114 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_entireScreenState_otherDevicesPackage_isHidden() 128 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_singleTaskState_normalPackage_isShown() 141 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_entireScreenState_normalPackage_isShown() 155 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare() 159 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_timeResetsOnEachNewShare() 168 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/ |
D | CastToOtherDeviceChipViewModelTest.kt | 89 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_notProjectingState_isHidden() 103 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_singleTaskState_otherDevicesPackage_isShown() 116 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_entireScreenState_otherDevicesPackage_isShown() 129 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_singleTaskState_normalPackage_isHidden() 140 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_entireScreenState_normalPackage_isHidden() 152 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare() 156 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_timeResetsOnEachNewShare() 165 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewShare()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawableTest.java | 52 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class); in testCreateLayerDrawable_configCorrect() 53 assertThat(drawable.getDrawable(1)).isInstanceOf( in testCreateLayerDrawable_configCorrect() 65 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class); in testCreateLayerDrawable_withIconScale_configCorrect() 66 assertThat(drawable.getDrawable(1)).isInstanceOf( in testCreateLayerDrawable_withIconScale_configCorrect()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/ |
D | AlarmTileDataInteractorTest.kt | 73 assertThat(dataList[0]).isInstanceOf(AlarmTileModel.NoAlarmSet::class.java) in <lambda>() 74 assertThat(dataList[1]).isInstanceOf(AlarmTileModel.NextAlarmSet::class.java) in <lambda>() 79 assertThat(dataList[2]).isInstanceOf(AlarmTileModel.NoAlarmSet::class.java) in <lambda>() 96 assertThat(model).isInstanceOf(AlarmTileModel.NextAlarmSet::class.java) in <lambda>() 115 assertThat(model).isInstanceOf(AlarmTileModel.NextAlarmSet::class.java) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/mediaprojection/domain/interactor/ |
D | MediaProjectionChipInteractorTest.kt | 64 assertThat(latest).isInstanceOf(ProjectionChipModel.NotProjecting::class.java) in projection_notProjectingState_isNotProjecting() 78 assertThat(latest).isInstanceOf(ProjectionChipModel.Projecting::class.java) in projection_singleTaskState_otherDevicesPackage_isCastToOtherDeviceType() 93 assertThat(latest).isInstanceOf(ProjectionChipModel.Projecting::class.java) in projection_entireScreenState_otherDevicesPackage_isCastToOtherDeviceChipType() 106 assertThat(latest).isInstanceOf(ProjectionChipModel.Projecting::class.java) in projection_singleTaskState_normalPackage_isShareToAppChipType() 119 assertThat(latest).isInstanceOf(ProjectionChipModel.Projecting::class.java) in projection_entireScreenState_normalPackage_isShareToAppChipType()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | TextPrecomputerTest.kt | 52 assertThat(precomputeResult).isInstanceOf(Runnable::class.java) in precompute_returnRunnable() 61 assertThat(textView.text).isInstanceOf(PrecomputedText::class.java) in precomputeRunnable_anyText_setPrecomputedText() 75 assertThat(textView.text).isInstanceOf(String::class.java) in precomputeRunnable_differentPrecomputedTextConfig_notSetPrecomputedText()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/anc/domain/interactor/ |
D | AncSliceInteractorTest.kt | 69 assertThat(slice).isInstanceOf(AncSlices.Unavailable::class.java) in errorSlice_returnsUnavailable() 86 assertThat(slice).isInstanceOf(AncSlices.Unavailable::class.java) in noSliceItem_returnsUnavailable() 103 assertThat(slice).isInstanceOf(AncSlices.Unavailable::class.java) in sliceItem_noError_noDevice_returnsUnavailable() 125 assertThat(slice).isInstanceOf(AncSlices.Ready::class.java) in sliceItem_noError_returnsSlice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/ |
D | ScreenRecordChipViewModelTest.kt | 86 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_doingNothingState_isHidden() 96 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_startingState_isHidden() 106 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_recordingState_isShownWithIcon() 119 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewRecording() 123 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_timeResetsOnEachNewRecording() 128 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_timeResetsOnEachNewRecording()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/ |
D | CallChipViewModelTest.kt | 67 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_noCall_isHidden() 77 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_inCall_isShown() 117 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_resetsCorrectly() 122 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Hidden::class.java) in chip_resetsCorrectly() 130 assertThat(latest).isInstanceOf(OngoingActivityChipModel.Shown::class.java) in chip_resetsCorrectly()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/ |
D | CommunalViewModelTest.kt | 231 .isInstanceOf(CommunalContentModel.Smartspace::class.java) in <lambda>() 232 assertThat(communalContent?.get(1)).isInstanceOf(CommunalContentModel.Umo::class.java) in <lambda>() 234 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>() 236 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>() 238 .isInstanceOf(CommunalContentModel.CtaTileInViewMode::class.java) in <lambda>() 249 assertThat(communalContent?.get(0)).isInstanceOf(CommunalContentModel.Umo::class.java) in <lambda>() 263 .isInstanceOf(CommunalContentModel.CtaTileInViewMode::class.java) in <lambda>() 325 .isInstanceOf(CommunalContentModel.CtaTileInViewMode::class.java) in <lambda>() 677 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>() 679 .isInstanceOf(CommunalContentModel.WidgetContent::class.java) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/ |
D | PackageChangeRepositoryTest.kt | 92 assertThat(packageChange).isInstanceOf(PackageChangeModel.Uninstalled::class.java) in <lambda>() 109 assertThat(packageChange).isInstanceOf(PackageChangeModel.UpdateStarted::class.java) in <lambda>() 127 .isInstanceOf(PackageChangeModel.UpdateFinished::class.java) in <lambda>() 144 assertThat(packageChange).isInstanceOf(PackageChangeModel.Installed::class.java) in <lambda>() 162 assertThat(packageChange).isInstanceOf(PackageChangeModel.Changed::class.java) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/domain/interactor/ |
D | AudioOutputInteractorTest.kt | 98 assertThat(device).isInstanceOf(AudioOutputDevice.BuiltIn::class.java) in inCall_builtIn_returnsCommunicationDevice() 118 assertThat(device).isInstanceOf(AudioOutputDevice.Wired::class.java) in inCall_wired_returnsCommunicationDevice() 151 assertThat(device).isInstanceOf(AudioOutputDevice.Bluetooth::class.java) in inCall_bluetooth_returnsCommunicationDevice() 172 assertThat(device).isInstanceOf(AudioOutputDevice.BuiltIn::class.java) in notInCall_builtIn_returnsMediaDevice() 193 assertThat(device).isInstanceOf(AudioOutputDevice.Wired::class.java) in notInCall_wired_returnsMediaDevice() 214 assertThat(device).isInstanceOf(AudioOutputDevice.Bluetooth::class.java) in notInCall_bluetooth_returnsMediaDevice()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | HomeControlsKeyguardQuickAffordanceConfigTest.kt | 79 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java) in <lambda>() 98 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java) in <lambda>() 108 assertThat(onClickedResult).isInstanceOf(OnTriggeredResult.StartActivity::class.java) in <lambda>() 118 assertThat(onClickedResult).isInstanceOf(OnTriggeredResult.StartActivity::class.java) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/data/repository/ |
D | MediaProjectionManagerRepositoryTest.kt | 62 assertThat(state).isInstanceOf(MediaProjectionState.Projecting.SingleTask::class.java) in switchProjectedTask_stateIsUpdatedWithNewTask() 105 assertThat(state).isInstanceOf(MediaProjectionState.Projecting.EntireScreen::class.java) in mediaProjectionState_onSessionSet_contentToRecordDisplay_emitsEntireScreen() 118 assertThat(state).isInstanceOf(MediaProjectionState.Projecting.EntireScreen::class.java) in mediaProjectionState_sessionSet_taskWithToken_noMatchingRunningTask_emitsEntireScreen() 153 assertThat(state).isInstanceOf(MediaProjectionState.Projecting.SingleTask::class.java) in mediaProjectionState_sessionSet_taskWithToken_matchingRunningTask_emitsSingleTask()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/ |
D | SpatialAudioComponentInteractorTest.kt | 173 .isInstanceOf(SpatialAudioAvailabilityModel.SpatialAudio::class.java) in connectedDeviceSupports_isAvailable_SpatialAudio() 188 .isInstanceOf(SpatialAudioAvailabilityModel.HeadTracking::class.java) in connectedDeviceSupportsHeadTracking_isAvailable_HeadTracking() 202 .isInstanceOf(SpatialAudioAvailabilityModel.Unavailable::class.java) in connectedDeviceDoesntSupport_isAvailable_Unavailable() 217 .isInstanceOf(SpatialAudioAvailabilityModel.SpatialAudio::class.java) in noConnectedDeviceBuiltinSupports_isAvailable_SpatialAudio() 232 .isInstanceOf(SpatialAudioAvailabilityModel.Unavailable::class.java) in noConnectedDeviceBuiltinDoesntSupport_isAvailable_Unavailable()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | RichTextViewTest.java | 59 assertThat(text).isInstanceOf(Spanned.class); in testLinkAnnotation() 61 assertThat(textView.getMovementMethod()).isInstanceOf(TouchableLinkMovementMethod.class); in testLinkAnnotation() 68 assertThat(spans[0]).isInstanceOf(LinkSpan.class); in testLinkAnnotation() 160 assertThat(text).isInstanceOf(Spanned.class); in testTextStyle() 167 assertThat(spans[0]).isInstanceOf(TextAppearanceSpan.class); in testTextStyle()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/media/ |
D | DeviceRouteControllerTest.java | 63 Truth.assertThat(deviceRouteController).isInstanceOf(LegacyDeviceRouteController.class); in createInstance_audioPoliciesFlagIsDisabled_createsLegacyController() 73 Truth.assertThat(deviceRouteController).isInstanceOf(AudioManagerRouteController.class); in createInstance_audioPoliciesFlagIsEnabled_createsAudioPoliciesController()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CbGeoUtilsTest.java | 65 assertThat(geo.get(0)).isInstanceOf(CbGeoUtils.Polygon.class); in testEncodeGeometries() 80 assertThat(geo.get(1)).isInstanceOf(CbGeoUtils.Circle.class); in testEncodeGeometries() 97 assertThat(geo.get(0)).isInstanceOf(CbGeoUtils.Polygon.class); in testParseGeometriesFromString() 112 assertThat(geo.get(1)).isInstanceOf(CbGeoUtils.Circle.class); in testParseGeometriesFromString()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SystemRequestObserverTest.kt | 63 assertThat(vote).isInstanceOf(SupportedModesVote::class.java) in requestDisplayModes adds vote to storage() 83 assertThat(vote).isInstanceOf(SupportedModesVote::class.java) in requestDisplayModes overrides votes in storage() 181 assertThat(vote).isInstanceOf(SupportedModesVote::class.java) in requestDisplayModes subset modes from different tokens() 205 assertThat(vote).isInstanceOf(SupportedModesVote::class.java) in recalculates vote if one binder dies()
|
D | SkinThermalStatusObserverTest.java | 109 assertThat(vote).isInstanceOf(RefreshRateVote.RenderVote.class); in testNotifyWithDefaultVotesForCritical() 118 assertThat(vote).isInstanceOf(RefreshRateVote.RenderVote.class); in testNotifyWithDefaultVotesForCritical() 176 assertThat(vote).isInstanceOf(RefreshRateVote.RenderVote.class); in testNotifiesWithConfigVotes() 199 assertThat(vote).isInstanceOf(RefreshRateVote.RenderVote.class); in testDisplayAdded()
|