/frameworks/compile/mclinker/lib/Support/ |
D | FileHandle.cpp | 80 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/ |
D | TransactionExecutorTests.java | 97 mClientRecord.setState(PRE_ON_CREATE); in testLifecycleFromPreOnCreate() 111 mClientRecord.setState(ON_CREATE); in testLifecycleFromOnCreate() 123 mClientRecord.setState(ON_START); in testLifecycleFromOnStart() 135 mClientRecord.setState(ON_RESUME); in testLifecycleFromOnResume() 146 mClientRecord.setState(ON_PAUSE); in testLifecycleFromOnPause() 157 mClientRecord.setState(ON_STOP); in testLifecycleFromOnStop() 168 mClientRecord.setState(ON_DESTROY); in testLifecycleFromOnDestroy() 180 mClientRecord.setState(PRE_ON_CREATE); in testLifecycleExcludeLastItem() 194 mClientRecord.setState(UNDEFINED); in testLifecycleUndefinedStartState() 200 mClientRecord.setState(PRE_ON_CREATE); in testLifecycleUndefinedFinishState() [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 46 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/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | SeekBarViewModelTest.kt | 140 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationWithPlayback() 179 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNegative() 200 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationZero() 217 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNoMetadata() 232 setState(PlaybackState.STATE_PLAYING, position, 1f) in updateElapsedTime() 418 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in queuePollTaskWhenPlaying() 432 setState(PlaybackState.STATE_STOPPED, 200L, 1f) in noQueuePollTaskWhenStopped() 452 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in queuePollTaskWhenListening() 472 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenNotListening() 486 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in pollTaskQueuesAnotherPollTaskWhenPlaying() [all …]
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 221 setState(AAUDIO_STREAM_STATE_OPEN); in open() 329 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart_l() 333 setState(originalState); in requestStart_l() 345 setState(AAUDIO_STREAM_STATE_PAUSING); in requestPause_l() 361 setState(AAUDIO_STREAM_STATE_FLUSHING); in requestFlush_l() 375 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop_l() 393 setState(AAUDIO_STREAM_STATE_STARTED); in updateStateMachine() 403 setState(AAUDIO_STREAM_STATE_PAUSED); in updateStateMachine() 415 setState(AAUDIO_STREAM_STATE_FLUSHED); in updateStateMachine() 421 setState(AAUDIO_STREAM_STATE_STOPPED); in updateStateMachine() [all …]
|
D | AudioStreamRecord.cpp | 292 setState(AAUDIO_STREAM_STATE_OPEN); in open() 383 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart_l() 389 setState(originalState); in requestStart_l() 399 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop_l() 423 setState(AAUDIO_STREAM_STATE_STARTED); in updateStateMachine() 428 setState(AAUDIO_STREAM_STATE_STOPPED); in updateStateMachine() 492 setState(AAUDIO_STREAM_STATE_DISCONNECTED); in read()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintJob.java | 222 return setState(PrintJobInfo.STATE_STARTED, null); in start() 245 return setState(PrintJobInfo.STATE_BLOCKED, reason); in block() 262 return setState(PrintJobInfo.STATE_COMPLETED, null); in complete() 284 return setState(PrintJobInfo.STATE_FAILED, error); in fail() 305 return setState(PrintJobInfo.STATE_CANCELED, null); in cancel() 466 private boolean setState(int state, @Nullable String error) { in setState() method in PrintJob 472 mCachedInfo.setState(state); in setState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | SlashImageViewTest.java | 52 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/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | SysuiStatusBarStateController.java | 62 default boolean setState(int state) { in setState() method 63 return setState(state, false /* force */); in setState() 74 boolean setState(int state, boolean force); in setState() method
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | GestureMatcher.java | 93 private void setState( in setState() method in GestureMatcher 104 setState(STATE_GESTURE_STARTED, event, rawEvent, policyFlags); in startGesture() 109 setState(STATE_GESTURE_CANCELED, event, rawEvent, policyFlags); in cancelGesture() 114 setState(STATE_GESTURE_COMPLETED, event, rawEvent, policyFlags); in completeGesture() 156 setState(STATE_GESTURE_CANCELED, event, rawEvent, policyFlags); in onMotionEvent() 369 setState(mTargetState, mEvent, mRawEvent, mPolicyFlags); in run()
|
D | TouchState.java | 95 setState(STATE_CLEAR); in clear() 226 public void setState(@State int state) { in setState() method in TouchState 240 setState(STATE_TOUCH_EXPLORING); in startTouchExploring() 249 setState(STATE_DELEGATING); in startDelegating() 258 setState(STATE_GESTURE_DETECTING); in startGestureDetecting() 267 setState(STATE_DRAGGING); in startDragging() 279 setState(STATE_TOUCH_INTERACTING); in startTouchInteracting()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRecordTests.java | 235 activity.setState(STOPPED, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped() 243 activity.setState(STOPPED, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped() 252 activity.setState(INITIALIZING, "testPausingWhenVisibleFromStopped"); in testPausingWhenVisibleFromStopped() 260 activity.setState(STOPPED, "testPausingWhenVisibleFromStopped behind"); in testPausingWhenVisibleFromStopped() 270 activity.setState(STOPPED, "testPausingWhenVisibleFromStopped behind non-opaque"); in testPausingWhenVisibleFromStopped() 347 activity.setState(Task.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NotDragResizing() 372 activity.setState(Task.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_DragResizing() 399 activity.setState(Task.ActivityState.RESUMED, "Testing"); in testRelaunchClearTopWaitingTranslucent() 420 activity.setState(Task.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NonResizeConfigChanges() 447 activity.setState(DESTROYED, "Testing"); in testDestroyedActivityNotScheduleConfigChanged() [all …]
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
D | EuiccProfileInfoTest.java | 48 .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/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhone.java | 472 setState(Call.State.IDLE); in reset() 516 setState(Call.State.DIALING); in dial() 529 setState(State.DISCONNECTING); in hangup() 564 setState(newState); in initIncomingCall() 616 setState(State.HOLDING); in hold() 624 setState(State.ACTIVE); in unhold() 662 that.setState(Call.State.IDLE); in merge() 704 protected void setState(State newState) { in setState() method in SipPhone.SipCall 726 setState(conn.getState()); in onConnectionStateChanged() 745 if (allConnectionsDisconnected) setState(State.DISCONNECTED); in onConnectionEnded() [all …]
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | LocalRenderer.java | 266 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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedControllerTest.java | 156 mSpiedTransitionState.setState(STATE_NONE); in testStartOneHandedShouldTriggerScheduleOffset() 166 mSpiedTransitionState.setState(STATE_ENTERING); in testStartOneHandedShouldNotTriggerScheduleOffset() 174 mSpiedTransitionState.setState(STATE_NONE); in testStopOneHanded() 197 mSpiedTransitionState.setState(STATE_ENTERING); in testStopOneHandedShouldRemoveTimer() 276 mSpiedTransitionState.setState(STATE_NONE); in testKeyguardShowingLockOneHandedDisabled() 286 mSpiedTransitionState.setState(STATE_NONE); in testResetKeyguardShowingLockOneHandedDisabled() 298 mSpiedTransitionState.setState(STATE_NONE); in testRotation90CanNotStartOneHanded() 311 mSpiedTransitionState.setState(STATE_NONE); in testRotation180CanStartOneHanded() 325 mSpiedTransitionState.setState(STATE_NONE); in testRotation270CanNotStartOneHanded() 378 verify(mSpiedTransitionState, never()).setState(STATE_EXITING); in testEnteringTransition_shortcutRequestActivate_skipActions() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationAnimationController.java | 118 setState(STATE_ENABLED); in enableWindowMagnification() 128 setState(STATE_ENABLING); in enableWindowMagnification() 187 setState(STATE_DISABLING); in deleteWindowMagnification() 209 private void setState(@MagnificationState int state) { in setState() method in WindowMagnificationAnimationController 228 setState(STATE_DISABLED); in onAnimationEnd() 230 setState(STATE_ENABLED); in onAnimationEnd()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | IntentFilterVerificationState.java | 53 public void setState(int state) { in setState() method in IntentFilterVerificationState 66 setState(STATE_VERIFICATION_PENDING); in setPendingState() 118 setState(state); in setVerifierResponse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionControllerTest.kt | 142 verify(statusbarStateController).setState(StatusBarState.SHADE_LOCKED) in testGoingToLockedShade() 153 verify(statusbarStateController, never()).setState(anyInt()) in testGoToLockedShadeOnlyOnKeyguard() 160 verify(statusbarStateController, never()).setState(anyInt()) in testDontGoWhenShadeDisabled() 175 verify(statusbarStateController, never()).setState(anyInt()) in testTriggeringBouncerWhenPrivateNotificationsArentAllowed() 184 verify(statusbarStateController, never()).setState(anyInt()) in testTriggeringBouncerNoNotificationsOnLockscreen() 192 verify(statusbarStateController).setState(StatusBarState.SHADE_LOCKED) in testGoToLockedShadeCreatesQSAnimation() 200 verify(statusbarStateController).setState(StatusBarState.SHADE_LOCKED) in testGoToLockedShadeDoesntCreateQSAnimation()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 288 setState(AAUDIO_STREAM_STATE_OPEN); in open() 312 setState(AAUDIO_STREAM_STATE_CLOSING); in release_l() 370 setState(AAUDIO_STREAM_STATE_STARTING); in requestStart_l() 382 setState(AAUDIO_STREAM_STATE_DISCONNECTED); in requestStart_l() 399 setState(originalState); in requestStart_l() 462 setState(AAUDIO_STREAM_STATE_STOPPING); in requestStop_l() 577 setState(AAUDIO_STREAM_STATE_STARTED); in onEventFromServer() 583 setState(AAUDIO_STREAM_STATE_PAUSED); in onEventFromServer() 589 setState(AAUDIO_STREAM_STATE_STOPPED); in onEventFromServer() 595 setState(AAUDIO_STREAM_STATE_FLUSHED); in onEventFromServer() [all …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 257 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/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalCall.java | 66 setState(State.ACTIVE); in setActive() 73 setState(State.DISCONNECTED); in setTerminated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 89 owner.setState(Lifecycle.State.RESUMED); in testCallbackIsRemovedOnDestroy() 92 owner.setState(Lifecycle.State.DESTROYED); in testCallbackIsRemovedOnDestroy() 104 public void setState(Lifecycle.State state) { in setState() method in CallbackControllerTest.SimpleLifecycleOwner
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserState.java | 80 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/services/tests/servicestests/src/com/android/server/devicestate/ |
D | DeviceStateManagerServiceTest.java | 82 mProvider.setState(OTHER_DEVICE_STATE.getIdentifier()); in baseStateChanged() 94 mProvider.setState(OTHER_DEVICE_STATE.getIdentifier()); in baseStateChanged_withStatePendingPolicyCallback() 101 mProvider.setState(DEFAULT_DEVICE_STATE.getIdentifier()); in baseStateChanged_withStatePendingPolicyCallback() 119 mProvider.setState(UNSUPPORTED_DEVICE_STATE.getIdentifier()); in baseStateChanged_unsupportedState() 132 mProvider.setState(INVALID_DEVICE_STATE); in baseStateChanged_invalidState() 205 mProvider.setState(OTHER_DEVICE_STATE.getIdentifier()); in registerCallback() 211 mProvider.setState(DEFAULT_DEVICE_STATE.getIdentifier()); in registerCallback() 218 mProvider.setState(OTHER_DEVICE_STATE.getIdentifier()); in registerCallback() 393 mProvider.setState(OTHER_DEVICE_STATE.getIdentifier()); in requestState_flagCancelWhenBaseChanges() 554 public void setState(int identifier) { in setState() method in DeviceStateManagerServiceTest.TestDeviceStateProvider
|