/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DefaultFocusHighlightTest.java | 91 d.setState(FOCUSED_STATE); in testStateListDrawable() 98 d.setState(FOCUSED_STATE); in testStateListDrawable() 105 d.setState(FOCUSED_STATE); in testStateListDrawable() 112 d.setState(FOCUSED_STATE); in testStateListDrawable() 120 d.setState(FOCUSED_STATE); in testStateListDrawable() 128 d.setState(FOCUSED_STATE); in testStateListDrawable() 135 d.setState(FOCUSED_STATE); in testStateListDrawable() 143 d.setState(FOCUSED_STATE); in testRippleDrawable() 151 d.setState(FOCUSED_STATE); in testPictureDrawable() 155 d.setState(FOCUSED_STATE); in testPictureDrawable() [all …]
|
D | ColorStateListDrawableTest.java | 78 mDrawable.setState(STATE_RED); in testDraw() 82 mDrawable.setState(STATE_BLUE); in testDraw() 161 mDrawable.setState(STATE_BLUE); in testSetState() 163 mDrawable.setState(STATE_RED); in testSetState()
|
D | StateListDrawableTest.java | 127 mMockDrawable.setState(mMockDrawable.getState()); in testOnStateChange() 132 mMockDrawable.setState( in testOnStateChange() 137 mMockDrawable.setState(null); in testOnStateChange() 278 mMockDrawable.setState( in testInflate() 281 mMockDrawable.setState(StateSet.WILD_CARD); in testInflate() 301 mMockDrawable.setState( in testInflate() 304 mMockDrawable.setState(StateSet.WILD_CARD); in testInflate()
|
D | AnimatedStateListDrawableTest.java | 151 asld.setState(STATE_EMPTY); in testOnStateChange() 154 asld.setState(STATE_FOCUSED); in testOnStateChange() 157 asld.setState(STATE_FOCUSED); in testOnStateChange()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestImsCallSessionImpl.java | 156 setState(ImsCallSessionImplBase.State.INITIATED); in startInternal() 184 setState(ImsCallSessionImplBase.State.ESTABLISHING); in startInternal() 194 setState(ImsCallSessionImplBase.State.ESTABLISHED); in startInternal() 223 setState(ImsCallSessionImplBase.State.TERMINATED); in startFailed() 244 setState(ImsCallSessionImplBase.State.ESTABLISHED); in accept() 265 setState(ImsCallSessionImplBase.State.TERMINATED); in reject() 281 setState(ImsCallSessionImplBase.State.ESTABLISHED); in update() 310 setState(ImsCallSessionImplBase.State.TERMINATED); in terminate() 333 setState(ImsCallSessionImplBase.State.TERMINATED); in terminateIncomingCall() 353 setState(ImsCallSessionImplBase.State.RENEGOTIATING); in hold() [all …]
|
/cts/tests/quicksettings/src/android/quicksettings/cts/ |
D | ToggleableTestTileService.java | 42 tile.setState(Tile.STATE_INACTIVE); in toggleState() 45 tile.setState(Tile.STATE_ACTIVE); in toggleState()
|
D | TileServiceTest.java | 145 tile.setState(Tile.STATE_ACTIVE); in testTileInDumpAndHasCorrectState()
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccProfileInfoTest.java | 71 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testWriteToParcel() 100 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testWriteToParcelNullCarrierId() 129 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testBuilderAndGetters() 166 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testBuilder_BasedOnAnotherProfile() 191 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testEqualsHashCode() 224 .setState(EuiccProfileInfo.PROFILE_STATE_DISABLED).build(); in testEqualsHashCode()
|
/cts/tests/tests/systemui/PipTestApp/src/android/systemui/cts/tv/pip/ |
D | PipTestActivity.kt | 65 .setState(STATE_STOPPED) in <lambda>() 80 mediaSession.setPlaybackState(playbackBuilder.setState(STATE_PLAYING).build()) in <lambda>() 83 mediaSession.setPlaybackState(playbackBuilder.setState(STATE_PAUSED).build()) in <lambda>() 202 private fun PlaybackState.Builder.setState(state: Int) = apply { in <lambda>() method in android.systemui.cts.tv.pip.PipTestActivity 203 setState(state, 0, 0f) in <lambda>()
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | ServiceStateTest.java | 145 oldSS.setState(ServiceState.STATE_OUT_OF_SERVICE); in testGetVoiceRegState_noChangeObserved() 149 copyOfOldSS.setState(ServiceState.STATE_OUT_OF_SERVICE); in testGetVoiceRegState_noChangeObserved() 166 oldSS.setState(ServiceState.STATE_OUT_OF_SERVICE); in testGetVoiceRegState_changeObserved() 170 newSS.setState(ServiceState.STATE_POWER_OFF); in testGetVoiceRegState_changeObserved() 330 oldSS.setState(ServiceState.STATE_OUT_OF_SERVICE); in testGetDataRegState_noChangeObserved() 334 copyOfOldSS.setState(ServiceState.STATE_OUT_OF_SERVICE); in testGetDataRegState_noChangeObserved()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | PlaybackStateTest.java | 93 .setState(PlaybackState.STATE_PLAYING, TEST_POSITION, TEST_PLAYBACK_SPEED) in testBuilder_setterMethods() 114 PlaybackState state = new PlaybackState.Builder().setState( in testBuilder_setStateWithUpdateTime() 186 new PlaybackState.Builder().setState(PlaybackState.STATE_CONNECTING, TEST_POSITION, in testWriteToParcel() 317 .setState(activeStates[i], 0, 1.0f) in testIsActive() 323 .setState(nonActiveStates[i], 0, 1.0f) in testIsActive()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintJobStateTransitionsTest.java | 152 private static boolean setState(PrintJob job, int state) { 326 boolean success = setState(printJob, mState1); 338 success = setState(printJob, mState2); 349 success = setState(printJob, mState3);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothChatService.java | 121 private synchronized void setState(int state) { in setState() method in BluetoothChatService 147 setState(STATE_LISTEN); in start() 214 setState(STATE_CONNECTING); in connect() 261 setState(STATE_CONNECTED); in connected() 289 setState(STATE_NONE); in stop()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | PreciseDataConnectionStateTest.java | 85 .setState(CONNECTION_STATE) in makeTestPreciseDataConnectionState() 126 .setState(CONNECTION_STATE) in makeTestPreciseDataConnectionStateForNetworkValidation()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
D | PhotoPickerComponentUtils.java | 73 public static void setState(@NonNull ComponentName componentName, int oldState) in setState() method in PhotoPickerComponentUtils
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/ |
D | MtpHostTestActivity.java | 217 item.setState(ITEM_STATE_PASS); in handleMessage() 224 item.setState(ITEM_STATE_FAIL); in handleMessage() 431 void setState(int state) {
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
D | TestTileService.java | 92 tile.setState(Tile.STATE_ACTIVE); in onStartListening()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | GnssMeasurementTest.java | 142 measurement.setState(14); in setTestValues()
|
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/ |
D | MediaSessionManagerTest.java | 190 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in createMediaKeySession()
|
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/ |
D | MediaMetricsAtomHostSideTests.java | 114 .setState(PlaybackStateEvent.STATE_JOINING_FOREGROUND) in testPlaybackStateEvent() 513 .setState(PlaybackStateEvent.STATE_JOINING_FOREGROUND) in testAppBlocklist() 573 .setState(PlaybackStateEvent.STATE_JOINING_FOREGROUND) in testAppAllowlist()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSessionManagerTest.java | 222 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in createMediaKeySession() 264 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testOnMediaKeyEventDispatchedListener() 374 new PlaybackState.Builder().setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testSetOnMediaKeyListener() 438 new PlaybackState.Builder().setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testRemoteUserInfo()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PhotoPickerSettingsTest.java | 111 PhotoPickerComponentUtils.setState(PICKER_SETTINGS_ACTIVITY_COMPONENT, in tearDown()
|
D | ActionGetContentOnlyTest.java | 76 PhotoPickerComponentUtils.setState(GET_CONTENT_ACTIVITY_COMPONENT, in tearDown()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToggleButtonTest.java | 147 drawable.setState(null); in testDrawableStateChanged()
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerServiceHostTest.java | 187 atoms.add(protoBuilder.setState(tuneStates[i]).build()); in createAtomsFromStateList()
|