Home
last modified time | relevance | path

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

1234567

/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/av/media/libaaudio/src/legacy/
DAudioStreamTrack.cpp206 setState(AAUDIO_STREAM_STATE_OPEN); in open()
246 setState(AAUDIO_STREAM_STATE_CLOSED); in close()
288 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart()
299 setState(AAUDIO_STREAM_STATE_PAUSING); in requestPause()
315 setState(AAUDIO_STREAM_STATE_FLUSHING); in requestFlush()
329 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop()
347 setState(AAUDIO_STREAM_STATE_STARTED); in updateStateMachine()
357 setState(AAUDIO_STREAM_STATE_PAUSED); in updateStateMachine()
369 setState(AAUDIO_STREAM_STATE_FLUSHED); in updateStateMachine()
375 setState(AAUDIO_STREAM_STATE_STOPPED); in updateStateMachine()
[all …]
DAudioStreamRecord.cpp265 setState(AAUDIO_STREAM_STATE_OPEN); in open()
285 setState(AAUDIO_STREAM_STATE_CLOSED); in close()
341 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart()
350 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop()
374 setState(AAUDIO_STREAM_STATE_STARTED); in updateStateMachine()
379 setState(AAUDIO_STREAM_STATE_STOPPED); in updateStateMachine()
443 setState(AAUDIO_STREAM_STATE_DISCONNECTED); in read()
/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/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/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 testBuilder_BasedOnAnotherProfileWithEmptyAccessRules()
191 .setState(EuiccProfileInfo.PROFILE_STATE_ENABLED) in testEqualsHashCode()
224 .setState(EuiccProfileInfo.PROFILE_STATE_DISABLED).build(); in testEqualsHashCode()
/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/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp236 setState(AAUDIO_STREAM_STATE_OPEN); in open()
258 setState(AAUDIO_STREAM_STATE_CLOSING); in close()
266 setState(AAUDIO_STREAM_STATE_CLOSED); in close()
314 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart()
335 setState(originalState); in requestStart()
390 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop()
498 setState(AAUDIO_STREAM_STATE_STARTED); in onEventFromServer()
504 setState(AAUDIO_STREAM_STATE_PAUSED); in onEventFromServer()
510 setState(AAUDIO_STREAM_STATE_STOPPED); in onEventFromServer()
516 setState(AAUDIO_STREAM_STATE_FLUSHED); in onEventFromServer()
[all …]
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java257 private void setState(MtpObjectState state) { in setState() method in MtpStorageManager.MtpObject
678 obj.setState(MtpObjectState.FROZEN_ADDED); in handleAddedObject()
681 obj.setState(MtpObjectState.NORMAL); in handleAddedObject()
741 obj.setState(MtpObjectState.FROZEN_REMOVED); in handleRemovedObject()
747 obj.setState(MtpObjectState.FROZEN_REMOVED); in handleRemovedObject()
906 obj.setState(MtpObjectState.FROZEN); in beginSendObject()
966 temp.setState(obj.getState()); in endRenameObject()
969 oldObj.setState(oldState); in endRenameObject()
1071 temp.setState(newObj.getState()); in endMoveObject()
1074 oldObj.setState(oldState); in endMoveObject()
[all …]
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.cpp155 setState(AAUDIO_STREAM_STATE_CLOSED); in close()
193 setState(AAUDIO_STREAM_STATE_STARTED); in start()
233 setState(AAUDIO_STREAM_STATE_PAUSED); in pause()
243 setState(AAUDIO_STREAM_STATE_STOPPING); in stop()
268 setState(AAUDIO_STREAM_STATE_STOPPED); in stop()
289 setState(AAUDIO_STREAM_STATE_FLUSHED); in flush()
324 setState(AAUDIO_STREAM_STATE_DISCONNECTED); in disconnect()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java145 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped()
153 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped()
162 mActivity.setState(INITIALIZING, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped()
170 mActivity.setState(STOPPED, "testPausingWhenVisibleFromStopped behind"); in testPausingWhenVisibleFromStopped()
198 mActivity.setState(ActivityStack.ActivityState.RESUMED, "testRestart"); in testRestartProcessIfVisible()
278 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NotDragResizing()
300 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_DragResizing()
324 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NonResizeConfigChanges()
346 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetRequestedOrientationUpdatesConfiguration()
386 mActivity.setState(ActivityStack.ActivityState.STOPPED, "Testing"); in testShouldMakeActive_deferredResume()
[all …]
/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/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCall.java65 setState(State.ACTIVE); in setActive()
72 setState(State.DISCONNECTED); in setTerminated()
/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/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/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/base/core/java/android/widget/
DScrollBarDrawable.java181 changed |= mVerticalTrack.setState(state); in onStateChange()
184 changed |= mVerticalThumb.setState(state); in onStateChange()
187 changed |= mHorizontalTrack.setState(state); in onStateChange()
190 changed |= mHorizontalThumb.setState(state); in onStateChange()
317 d.setState(getState()); in propagateCurrentState()
/frameworks/compile/mclinker/lib/Support/Unix/
DFileSystem.inc156 setState(BadBit);
178 setState(BadBit);
185 setState(FailBit);
194 setState(BadBit);
199 setState(FailBit);
/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/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java195 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimInvalid_ServiceState_InService()
212 state.setState(ServiceState.STATE_POWER_OFF); in testTelephonyCapable_SimValid_ServiceState_PowerOff()
232 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_ServiceState_OutOfService()
245 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_SimState_NotReady()
260 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testTelephonyCapable_BootInitState_SimState_Ready()
276 state.setState(ServiceState.STATE_POWER_OFF); in testTelephonyCapable_BootInitState_ServiceState_PowerOff()
289 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_ServiceState_InService()
301 state.setState(ServiceState.STATE_IN_SERVICE); in testTelephonyCapable_SimValid_SimState_Loaded()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java142 bob.setState(newState, position, rate, SystemClock.elapsedRealtime()); in updateState()
168 bob.setState(PlaybackState.STATE_ERROR, -1, 0, 0); in onError()
213 bob.setState(pbState, position, rate, SystemClock.elapsedRealtime()); in onStateChanged()
231 bob.setState(PlaybackState.STATE_PAUSED, position, 0, SystemClock.elapsedRealtime()); in onFocusLost()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnContextTest.java100 mApnContext.setState(DctConstants.State.DISCONNECTING); in testState()
105 mApnContext.setState(DctConstants.State.RETRYING); in testState()
109 mApnContext.setState(DctConstants.State.FAILED); in testState()
111 mApnContext.setState(DctConstants.State.IDLE); in testState()

1234567