Home
last modified time | relevance | path

Searched refs:mCurrentState (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPendingAttachmentData.java50 private int mCurrentState; field in PendingAttachmentData
61 mCurrentState = STATE_PENDING; in PendingAttachmentData()
90 return mCurrentState; in getCurrentState()
95 if (mCurrentState != STATE_PENDING) { in loadAttachmentForDraft()
98 mCurrentState = STATE_LOADING; in loadAttachmentForDraft()
123 mCurrentState = STATE_FAILED; in loadAttachmentForDraft()
132 mCurrentState = STATE_LOADED; in loadAttachmentForDraft()
143 mCurrentState = STATE_FAILED; in loadAttachmentForDraft()
155 mCurrentState = in.readInt(); in PendingAttachmentData()
161 out.writeInt(mCurrentState); in writeToParcel()
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DTriggerStateMachine.java57 private State mCurrentState; field in TriggerStateMachine
66 mCurrentState = State.WAITING_FOR_TRIGGER; in TriggerStateMachine()
79 if (mCurrentState == State.WAITING_FOR_TRIGGER) { in update()
82 mCurrentState = State.TRIGGERED; in update()
88 if (mCurrentState == State.TRIGGERED) { in update()
91 mCurrentState = State.WAITING_FOR_TRIGGER; in update()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java39 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE; field in PhoneStateBroadcaster
106 return mCurrentState; in getCallState()
110 if (phoneState == mCurrentState) { in sendPhoneStateChangedBroadcast()
114 mCurrentState = phoneState; in sendPhoneStateChangedBroadcast()
125 Log.i(this, "Broadcasted state change: %s", mCurrentState); in sendPhoneStateChangedBroadcast()
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
DHvacPanelController.java80 private @HvacPanelState int mCurrentState; field in HvacPanelController
142 mCurrentState = STATE_COLLAPSED; in HvacPanelController()
507 if (mCurrentState != STATE_COLLAPSED) {
508 transitionState(mCurrentState, STATE_COLLAPSED);
514 if (mCurrentState != STATE_COLLAPSED) { in toggleHvacUi()
522 if (mCurrentState != STATE_COLLAPSED) { in collapseHvacUi()
533 if (mCurrentState != STATE_FULL_EXPANDED) {
534 transitionState(mCurrentState, STATE_FULL_EXPANDED);
595 mCurrentState = mEndState; in onTransitionComplete()
/packages/services/Car/cpp/evs/apps/default/
DEvsStateControl.cpp53 mCurrentState(OFF), in EvsStateControl()
298 if (mCurrentState == desiredState) { in configureEvsPipeline()
307 LOG(DEBUG) << " Current state " << mCurrentState in configureEvsPipeline()
308 << " has " << mCameraList[mCurrentState].size() << " cameras"; in configureEvsPipeline()
391 mCurrentState = desiredState; in configureEvsPipeline()
DEvsStateControl.h99 State mCurrentState = OFF; variable
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java102 private ChannelState mCurrentState = null; field in TestTvInputService.SimpleSessionImpl
179 mCurrentState = null; in onRelease()
221 mCurrentState = null; in onTune()
318 oldState = mCurrentState; in run()
324 mCurrentState = newState; in run()
328 mCurrentState = null; in run()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java181 private CpmsState mCurrentState; field in CarPowerManagementService
350 mCurrentState = null; in release()
365 writer.printf("mCurrentState: %s\n", mCurrentState); in dump()
448 mCurrentState = state; in doHandlePowerStateChange()
910 if (mCurrentState == null) { in needPowerStateChangeLocked()
912 } else if (mCurrentState.equals(newState)) { in needPowerStateChangeLocked()
919 switch (mCurrentState.mState) { in needPowerStateChangeLocked()
948 mCurrentState.name(), newState.name()); in needPowerStateChangeLocked()
953 mCurrentState.name(), newState.name()); in needPowerStateChangeLocked()
1079 return (mCurrentState == null) ? CarPowerStateListener.INVALID in getPowerState()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java194 int mCurrentState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE; in onCreateView()
198 if (mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL in onCreateView()
199 || mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_FLING) { in onCreateView()
212 mCurrentState = newState; in onCreateView()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java133 private HeadsetStateBase mCurrentState; field in HeadsetStateMachine
231 ProfileService.println(sb, " mCurrentState: " + mCurrentState); in dump()
262 mCurrentState = this; in enter()
1481 if (mCurrentState == null) { in getConnectionState()
1484 return mCurrentState.getConnectionStateInt(); in getConnectionState()
1495 if (mCurrentState == null) { in getAudioState()
1498 return mCurrentState.getAudioStateInt(); in getAudioState()
1666 int flag = (mCurrentState == mAudioOn) ? AudioManager.FLAG_SHOW_UI : 0; in processVolumeEvent()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java647 mCarProjectionStatusListener.mCurrentState, in registerProjectionStatusListener()
853 private @ProjectionState int mCurrentState; field in CarProjectionManager.CarProjectionStatusListenerImpl
870 mCurrentState = projectionState; in onProjectionStatusChanged()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java143 private ModeListState mCurrentState; field in ModeListView.CurrentStateManager
146 return mCurrentState; in getCurrentState()
150 mCurrentState = state; in setCurrentState()