Home
last modified time | relevance | path

Searched refs:setState (Results 1 – 25 of 179) sorted by relevance

12345678

/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp80 setState(BadBit); in open()
94 setState(FailBit); in open()
99 setState(FailBit); in open()
108 setState(BadBit); in delegate()
117 setState(FailBit); in delegate()
126 setState(BadBit); in close()
132 setState(FailBit); in close()
146 setState(BadBit); in truncate()
151 setState(FailBit); in truncate()
161 setState(BadBit); in read()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java95 mClientRecord.setState(PRE_ON_CREATE); in testLifecycleFromPreOnCreate()
109 mClientRecord.setState(ON_CREATE); in testLifecycleFromOnCreate()
121 mClientRecord.setState(ON_START); in testLifecycleFromOnStart()
133 mClientRecord.setState(ON_RESUME); in testLifecycleFromOnResume()
144 mClientRecord.setState(ON_PAUSE); in testLifecycleFromOnPause()
155 mClientRecord.setState(ON_STOP); in testLifecycleFromOnStop()
166 mClientRecord.setState(ON_DESTROY); in testLifecycleFromOnDestroy()
178 mClientRecord.setState(PRE_ON_CREATE); in testLifecycleExcludeLastItem()
192 mClientRecord.setState(UNDEFINED); in testLifecycleUndefinedStartState()
198 mClientRecord.setState(PRE_ON_CREATE); in testLifecycleUndefinedFinishState()
[all …]
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp46 setState(STATE_BYPASS); in reset()
58 setState(STATE_NORMAL); in setCoefs()
60 setState(STATE_TRANSITION_TO_NORMAL); in setCoefs()
73 setState(STATE_NORMAL); in enable()
75 setState(STATE_TRANSITION_TO_NORMAL); in enable()
82 setState(STATE_BYPASS); in disable()
84 setState(STATE_TRANSITION_TO_BYPASS); in disable()
88 void AudioBiquadFilter::setState(state_t state) { in setState() function in android::AudioBiquadFilter
186 setState(STATE_NORMAL); in process_transition_normal_mono()
195 setState(STATE_NORMAL); in process_transition_bypass_mono()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java183 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped()
191 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped()
200 mActivity.setState(INITIALIZING, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped()
208 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped behind"); in testPausingWhenVisibleFromStopped()
217 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped behind non-opaque"); in testPausingWhenVisibleFromStopped()
289 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NotDragResizing()
312 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_DragResizing()
337 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NonResizeConfigChanges()
363 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetRequestedOrientationUpdatesConfiguration()
486 mActivity.setState(ActivityStack.ActivityState.STOPPED, "Testing"); in testShouldMakeActive_deferredResume()
[all …]
DRootWindowContainerTests.java157 activity.setState(PAUSING, "test PAUSING"); in testAllPausedActivitiesComplete()
160 activity.setState(PAUSED, "test PAUSED"); in testAllPausedActivitiesComplete()
163 activity.setState(STOPPED, "test STOPPED"); in testAllPausedActivitiesComplete()
166 activity.setState(STOPPING, "test STOPPING"); in testAllPausedActivitiesComplete()
169 activity.setState(FINISHING, "test FINISHING"); in testAllPausedActivitiesComplete()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamTrack.cpp215 setState(AAUDIO_STREAM_STATE_OPEN); in open()
313 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart()
317 setState(originalState); in requestStart()
329 setState(AAUDIO_STREAM_STATE_PAUSING); in requestPause()
345 setState(AAUDIO_STREAM_STATE_FLUSHING); in requestFlush()
359 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop()
377 setState(AAUDIO_STREAM_STATE_STARTED); in updateStateMachine()
387 setState(AAUDIO_STREAM_STATE_PAUSED); in updateStateMachine()
399 setState(AAUDIO_STREAM_STATE_FLUSHED); in updateStateMachine()
405 setState(AAUDIO_STREAM_STATE_STOPPED); in updateStateMachine()
[all …]
DAudioStreamRecord.cpp276 setState(AAUDIO_STREAM_STATE_OPEN); in open()
351 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart()
357 setState(originalState); in requestStart()
367 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop()
391 setState(AAUDIO_STREAM_STATE_STARTED); in updateStateMachine()
396 setState(AAUDIO_STREAM_STATE_STOPPED); in updateStateMachine()
460 setState(AAUDIO_STREAM_STATE_DISCONNECTED); in read()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarViewModelTest.kt137 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationWithPlayback()
175 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNegative()
196 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationZero()
211 setState(PlaybackState.STATE_PLAYING, position, 1f) in updateElapsedTime()
393 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in queuePollTaskWhenPlaying()
407 setState(PlaybackState.STATE_STOPPED, 200L, 1f) in noQueuePollTaskWhenStopped()
427 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in queuePollTaskWhenListening()
447 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenNotListening()
461 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in pollTaskQueuesAnotherPollTaskWhenPlaying()
481 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenSeeking()
[all …]
/frameworks/base/core/java/android/printservice/
DPrintJob.java221 return setState(PrintJobInfo.STATE_STARTED, null); in start()
244 return setState(PrintJobInfo.STATE_BLOCKED, reason); in block()
261 return setState(PrintJobInfo.STATE_COMPLETED, null); in complete()
283 return setState(PrintJobInfo.STATE_FAILED, error); in fail()
304 return setState(PrintJobInfo.STATE_CANCELED, null); in cancel()
465 private boolean setState(int state, @Nullable String error) { in setState() method in PrintJob
471 mCachedInfo.setState(state); in setState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DSlashImageViewTest.java52 mSlashView.setState(mockState, mockDrawable); in testSetNonNullSlashStateCreatesSlashDrawable()
62 mSlashView.setState(mockState, mockDrawable); in testSetNullSlashStateRemovesSlashDrawable()
66 mSlashView.setState(null, mockDrawable); in testSetNullSlashStateRemovesSlashDrawable()
78 mSlashView.setState(mockState, mockDrawable); in testSetNullDrawableRemovesSlashDrawable()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureMatcher.java91 private void setState( in setState() method in GestureMatcher
100 setState(STATE_GESTURE_STARTED, event, rawEvent, policyFlags); in startGesture()
105 setState(STATE_GESTURE_CANCELED, event, rawEvent, policyFlags); in cancelGesture()
110 setState(STATE_GESTURE_COMPLETED, event, rawEvent, policyFlags); in completeGesture()
148 setState(STATE_GESTURE_CANCELED, event, rawEvent, policyFlags); in onMotionEvent()
361 setState(mTargetState, mEvent, mRawEvent, mPolicyFlags); in run()
DTouchState.java95 setState(STATE_CLEAR); in clear()
224 public void setState(@State int state) { in setState() method in TouchState
238 setState(STATE_TOUCH_EXPLORING); in startTouchExploring()
247 setState(STATE_DELEGATING); in startDelegating()
256 setState(STATE_GESTURE_DETECTING); in startGestureDetecting()
265 setState(STATE_DRAGGING); in startDragging()
277 setState(STATE_TOUCH_INTERACTING); in startTouchInteracting()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java468 setState(Call.State.IDLE); in reset()
512 setState(Call.State.DIALING); in dial()
525 setState(State.DISCONNECTING); in hangup()
560 setState(newState); in initIncomingCall()
612 setState(State.HOLDING); in hold()
620 setState(State.ACTIVE); in unhold()
658 that.setState(Call.State.IDLE); in merge()
700 protected void setState(State newState) { in setState() method in SipPhone.SipCall
722 setState(conn.getState()); in onConnectionStateChanged()
741 if (allConnectionsDisconnected) setState(State.DISCONNECTED); in onConnectionEnded()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java266 setState(STATE_READY); in onPrepared()
276 setState(STATE_PLAYING); in onPrepared()
307 setState(STATE_ENDED); in onCompletion()
400 setState(STATE_PREPARING); in setContent()
500 setState(STATE_PLAYING); in onPlay()
524 setState(STATE_PAUSED); in onPause()
549 setState(STATE_PAUSED); in onSeekTo()
570 setState(STATE_STOPPED); in onStop()
603 private void setState(int state) { in setState() method in LocalRenderer
623 setState(STATE_PREPARING); in preparePlayer()
[all …]
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java48 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testWriteToParcel()
77 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testWriteToParcelNullCarrierId()
106 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testBuilderAndGetters()
143 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testBuilder_BasedOnAnotherProfile()
168 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testEqualsHashCode()
201 .setState(EuiccProfileInfo.PROFILE_STATE_DISABLED).build(); in testEqualsHashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DIntentFilterVerificationState.java53 public void setState(int state) { in setState() method in IntentFilterVerificationState
66 setState(STATE_VERIFICATION_PENDING); in setPendingState()
118 setState(state); in setVerifierResponse()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp269 setState(AAUDIO_STREAM_STATE_OPEN); in open()
293 setState(AAUDIO_STREAM_STATE_CLOSING); in release_l()
351 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart()
361 setState(AAUDIO_STREAM_STATE_DISCONNECTED); in requestStart()
378 setState(originalState); in requestStart()
438 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop()
553 setState(AAUDIO_STREAM_STATE_STARTED); in onEventFromServer()
559 setState(AAUDIO_STREAM_STATE_PAUSED); in onEventFromServer()
565 setState(AAUDIO_STREAM_STATE_STOPPED); in onEventFromServer()
571 setState(AAUDIO_STREAM_STATE_FLUSHED); in onEventFromServer()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java250 private void setState(MtpObjectState state) { in setState() method in MtpStorageManager.MtpObject
671 obj.setState(MtpObjectState.FROZEN_ADDED); in handleAddedObject()
674 obj.setState(MtpObjectState.NORMAL); in handleAddedObject()
734 obj.setState(MtpObjectState.FROZEN_REMOVED); in handleRemovedObject()
740 obj.setState(MtpObjectState.FROZEN_REMOVED); in handleRemovedObject()
899 obj.setState(MtpObjectState.FROZEN); in beginSendObject()
959 temp.setState(obj.getState()); in endRenameObject()
962 oldObj.setState(oldState); in endRenameObject()
1064 temp.setState(newObj.getState()); in endMoveObject()
1067 oldObj.setState(oldState); in endMoveObject()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCall.java65 setState(State.ACTIVE); in setActive()
72 setState(State.DISCONNECTED); in setTerminated()
/frameworks/base/services/core/java/com/android/server/location/
DAbstractLocationProvider.java219 protected void setState(State newState) { in setState() method in AbstractLocationProvider
238 private void setState(UnaryOperator<State> operator) { in setState() method in AbstractLocationProvider
288 setState(state -> state.withAllowed(allowed)); in setAllowed()
295 setState(state -> state.withProperties(properties)); in setProperties()
302 setState(state -> state.withProviderPackageNames(packageNames)); in setPackageNames()
/frameworks/base/services/core/java/com/android/server/am/
DUserState.java80 public boolean setState(int oldState, int newState) { in setState() method in UserState
82 setState(newState); in setState()
91 public void setState(int newState) { in setState() method in UserState
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionService.java81 connection.setState(parcel.getState());
115 .setState(Connection.STATE_ACTIVE);
118 .setState(Connection.STATE_ACTIVE);
125 .setState(Connection.STATE_RINGING);
131 .setState(Connection.STATE_DIALING);
137 .setState(Connection.STATE_PULLING_CALL);
156 .setState(Connection.STATE_HOLDING);
159 .setState(Connection.STATE_HOLDING);
250 conference.setState(parcel.getState());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java115 private void setState(ScrollState newState) { in setState() method in SwipeDetector
222 setState(ScrollState.DRAGGING); in onTouchEvent()
249 setState(ScrollState.DRAGGING); in onTouchEvent()
260 setState(ScrollState.SETTLING); in onTouchEvent()
270 setState(ScrollState.IDLE); in finishedScrolling()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraStateHolder.java35 setState(state); in CameraStateHolder()
44 public synchronized void setState(int state) { in setState() method in CameraStateHolder
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DSoundTriggerModule.java459 private void setState(@NonNull ModelState state) { in setState() method in SoundTriggerModule.Session.Model
471 setState(ModelState.LOADED); in load()
485 setState(ModelState.LOADED); in load()
512 setState(ModelState.ACTIVE); in startRecognition()
521 setState(ModelState.LOADED); in stopRecognition()
612 setState(ModelState.LOADED); in recognitionCallback()
634 setState(ModelState.LOADED); in phraseRecognitionCallback()

12345678