HomeSort by relevance Sort by last modified time
    Searched defs:mCurrentState (Results 1 - 25 of 32) sorted by null

1 2

  /packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
TriggerStateMachine.java 57 private State mCurrentState;
66 mCurrentState = State.WAITING_FOR_TRIGGER;
79 if (mCurrentState == State.WAITING_FOR_TRIGGER) {
82 mCurrentState = State.TRIGGERED;
88 if (mCurrentState == State.TRIGGERED) {
91 mCurrentState = State.WAITING_FOR_TRIGGER;
  /frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/
ConstraintTracker.java 40 private T mCurrentState;
56 mCurrentState = getInitialState();
58 mCurrentState));
61 listener.onConstraintChanged(mCurrentState);
83 if (mCurrentState == newState
84 || (mCurrentState != null && mCurrentState.equals(newState))) {
87 mCurrentState = newState;
89 listener.onConstraintChanged(mCurrentState);
  /packages/services/Telecomm/src/com/android/server/telecom/
PhoneStateBroadcaster.java 34 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE;
98 return mCurrentState;
102 if (phoneState == mCurrentState) {
106 mCurrentState = phoneState;
118 Log.i(this, "Broadcasted state change: %s", mCurrentState);
  /frameworks/av/media/libmediaplayer2/include/mediaplayer2/
mediaplayer2.h 149 media_player2_internal_states mCurrentState;
  /frameworks/rs/driver/
rsdShader.h 113 StateBasedKey *mCurrentState;
  /packages/apps/Messaging/src/com/android/messaging/datamodel/data/
PendingAttachmentData.java 50 private int mCurrentState;
61 mCurrentState = STATE_PENDING;
90 return mCurrentState;
95 if (mCurrentState != STATE_PENDING) {
98 mCurrentState = STATE_LOADING;
123 mCurrentState = STATE_FAILED;
132 mCurrentState = STATE_LOADED;
143 mCurrentState = STATE_FAILED;
155 mCurrentState = in.readInt();
161 out.writeInt(mCurrentState);
    [all...]
  /packages/services/Car/evs/app/
EvsStateControl.h 94 State mCurrentState = OFF;
  /tools/tradefederation/core/src/com/android/tradefed/device/
DumpsysPackageReceiver.java 190 private ParserState mCurrentState = new PackagesParserState();
220 mCurrentState = mCurrentState.parse(line);
  /frameworks/base/core/java/android/hardware/camera2/legacy/
CameraDeviceState.java 55 private int mCurrentState = STATE_UNCONFIGURED;
173 if (mCurrentState != STATE_CAPTURING) {
174 Log.e(TAG, "Cannot receive result while in state: " + mCurrentState);
254 if (newState != mCurrentState) {
264 if (mCurrentState != newState && mCurrentHandler != null &&
277 if (mCurrentState != STATE_ERROR && mCurrentHandler != null &&
286 mCurrentState = STATE_ERROR;
289 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) {
290 Log.e(TAG, "Cannot call configure while in state: " + mCurrentState);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SignalController.java 43 protected final T mCurrentState;
66 mCurrentState = cleanState();
77 return mCurrentState;
81 mCurrentState.inetCondition = validatedTransports.get(mTransportType) ? 1 : 0;
93 mCurrentState.copyFrom(mLastState);
101 if (!mLastState.equals(mCurrentState)) {
104 + "\tto: " + mCurrentState);
116 mCurrentState.time = System.currentTimeMillis();
117 mLastState.copyFrom(mCurrentState);
124 if (mCurrentState.connected)
    [all...]
  /frameworks/support/leanback/src/main/java/androidx/leanback/app/
DetailsBackgroundVideoHelper.java 55 private int mCurrentState = INITIAL;
114 return mCurrentState == PLAY_VIDEO;
118 if (state == mCurrentState) {
121 mCurrentState = state;
126 switch (mCurrentState) {
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
MusicProvider.java 76 private volatile State mCurrentState = State.NON_INITIALIZED;
94 if (mCurrentState != State.INITIALIZED) {
105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) {
117 if (mCurrentState != State.INITIALIZED) {
170 return mCurrentState == State.INITIALIZED;
179 if (mCurrentState == State.INITIALIZED) {
190 return mCurrentState;
219 if (mCurrentState == State.NON_INITIALIZED) {
220 mCurrentState = State.INITIALIZING;
237 mCurrentState = State.INITIALIZED
    [all...]
  /frameworks/av/media/libmedia/include/media/
mediaplayer.h 293 media_player_states mCurrentState;
mediarecorder.h 276 media_recorder_states mCurrentState;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarWindowManager.java 68 private final State mCurrentState = new State();
298 mCurrentState.keyguardShowing = showing;
299 apply(mCurrentState);
303 mCurrentState.keyguardOccluded = occluded;
304 apply(mCurrentState);
308 mCurrentState.keyguardNeedsInput = needsInput;
309 apply(mCurrentState);
313 mCurrentState.panelVisible = visible;
314 mCurrentState.statusBarFocusable = visible;
315 apply(mCurrentState);
    [all...]
  /frameworks/base/services/core/java/com/android/server/power/batterysaver/
BatterySavingStats.java 154 private int mCurrentState = STATE_NOT_INITIALIZED;
305 if (mCurrentState == newState) {
313 BatterySaverState.fromIndex(mCurrentState) != BatterySaverState.OFF;
333 if (mCurrentState < 0) {
336 final Stat stat = getStat(mCurrentState);
351 Slog.d(TAG, "State summary: " + stateToString(mCurrentState)
360 BatterySaverState.fromIndex(mCurrentState),
361 InteractiveState.fromIndex(mCurrentState),
362 DozeState.fromIndex(mCurrentState),
377 mCurrentState = newState
    [all...]
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/
MusicProvider.java 76 private volatile State mCurrentState = State.NON_INITIALIZED;
95 if (mCurrentState != State.INITIALIZED) {
105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) {
117 if (mCurrentState != State.INITIALIZED) {
170 return mCurrentState == State.INITIALIZED;
179 if (mCurrentState == State.INITIALIZED) {
190 return mCurrentState;
221 if (mCurrentState == State.NON_INITIALIZED) {
222 mCurrentState = State.INITIALIZING;
239 mCurrentState = State.INITIALIZED
    [all...]
  /frameworks/base/core/java/android/widget/
VideoView.java 100 // mCurrentState is a VideoView object's current state.
105 private int mCurrentState = STATE_IDLE;
165 mCurrentState = STATE_IDLE;
354 mCurrentState = STATE_IDLE;
416 mCurrentState = STATE_PREPARING;
420 mCurrentState = STATE_ERROR;
426 mCurrentState = STATE_ERROR;
467 mCurrentState = STATE_PREPARED;
530 mCurrentState = STATE_PLAYBACK_COMPLETED;
558 mCurrentState = STATE_ERROR
    [all...]
  /frameworks/native/services/surfaceflinger/
Layer.h 533 inline const State& getCurrentState() const { return mCurrentState; }
534 inline State& getCurrentState() { return mCurrentState; }
719 State mCurrentState;
  /packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/
HvacPanelController.java 80 private @HvacPanelState int mCurrentState;
142 mCurrentState = STATE_COLLAPSED;
507 if (mCurrentState != STATE_COLLAPSED) {
508 transitionState(mCurrentState, STATE_COLLAPSED);
514 if(mCurrentState != STATE_COLLAPSED) {
527 if (mCurrentState != STATE_FULL_EXPANDED) {
528 transitionState(mCurrentState, STATE_FULL_EXPANDED);
589 mCurrentState = mEndState;
  /packages/apps/Music/src/com/android/music/utils/
MusicProvider.java 79 private volatile State mCurrentState = State.NON_INITIALIZED;
93 return mCurrentState == State.INITIALIZED;
102 if (mCurrentState != State.INITIALIZED) {
114 if (mCurrentState != State.INITIALIZED) {
130 if (mCurrentState != State.INITIALIZED) {
145 if (mCurrentState != State.INITIALIZED || !mArtistAlbumDb.containsKey(artist)) {
156 if (mCurrentState != State.INITIALIZED || !mMusicListByAlbum.containsKey(album)) {
167 if (mCurrentState != State.INITIALIZED || !mMusicListByPlaylist.containsKey(playlist)) {
197 if (mCurrentState != State.INITIALIZED) {
221 if (mCurrentState == State.INITIALIZED)
    [all...]
  /packages/apps/TV/tests/input/src/com/android/tv/testinput/
TestTvInputService.java 102 private ChannelState mCurrentState = null;
179 mCurrentState = null;
221 mCurrentState = null;
318 oldState = mCurrentState;
324 mCurrentState = newState;
328 mCurrentState = null;
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
MagnificationGestureHandler.java 142 @VisibleForTesting State mCurrentState;
219 handleEventWith(mCurrentState, event, rawEvent, policyFlags);
265 mCurrentState = mDetectingState;
358 (State.nameOf(mCurrentState) + " -> " + State.nameOf(state)
362 mPreviousState = mCurrentState;
363 mCurrentState = state;
436 if (mCurrentState != mPanningScalingState) {
489 return /* continue recognizing: */ (mCurrentState == mPanningScalingState);
    [all...]
TouchExplorer.java 105 private int mCurrentState = STATE_TOUCH_EXPLORING;
217 switch (mCurrentState) {
251 mCurrentState = STATE_TOUCH_EXPLORING;
266 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState));
284 switch(mCurrentState) {
298 Slog.e(LOG_TAG, "Illegal state: " + mCurrentState);
345 if (mCurrentState != STATE_TOUCH_EXPLORING) {
370 mCurrentState = STATE_DELEGATING;
377 if (mCurrentState != STATE_TOUCH_EXPLORING) {
432 mCurrentState = STATE_GESTURE_DETECTING
    [all...]
  /frameworks/base/services/backup/java/com/android/server/backup/internal/
PerformBackupTask.java 122 private BackupState mCurrentState;
183 mCurrentState = BackupState.FINAL;
186 mCurrentState = BackupState.INITIAL;
227 switch (mCurrentState) {
    [all...]

Completed in 1394 milliseconds

1 2