HomeSort by relevance Sort by last modified time
    Searched full:mcurrentstate (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/av/media/libmedia/
mediarecorder.cpp 42 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) {
43 ALOGE("setCamera called in an invalid state(%d)", mCurrentState);
50 mCurrentState = MEDIA_RECORDER_ERROR;
63 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) {
64 ALOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState);
75 mCurrentState = MEDIA_RECORDER_ERROR;
88 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) {
89 ALOGE("init called in an invalid state(%d)", mCurrentState);
96 mCurrentState = MEDIA_RECORDER_ERROR;
103 mCurrentState = MEDIA_RECORDER_ERROR
    [all...]
mediaplayer.cpp 59 mCurrentState = MEDIA_PLAYER_IDLE;
124 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) ||
125 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) {
126 ALOGE("attachNewPlayer called in state %d", mCurrentState);
134 mCurrentState = MEDIA_PLAYER_INITIALIZED;
220 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) &&
221 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE);
226 ALOGE("invoke failed: wrong state %X", mCurrentState);
262 if ( (mPlayer != 0) && ( mCurrentState & (MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) {
268 mCurrentState = MEDIA_PLAYER_PREPARING
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
StatusBarWindowManager.java 51 private final State mCurrentState = new State();
209 mCurrentState.keyguardShowing = showing;
210 apply(mCurrentState);
214 mCurrentState.keyguardOccluded = occluded;
215 apply(mCurrentState);
219 mCurrentState.keyguardNeedsInput = needsInput;
220 apply(mCurrentState);
224 mCurrentState.panelVisible = visible;
225 mCurrentState.statusBarFocusable = visible;
226 apply(mCurrentState);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
WifiSignalController.java 57 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup(
78 boolean wifiVisible = mCurrentState.enabled
79 && (mCurrentState.connected || !mHasMobileData);
80 String wifiDesc = wifiVisible ? mCurrentState.ssid : null;
81 boolean ssidPresent = wifiVisible && mCurrentState.ssid != null;
85 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(),
87 mCallbackHandler.setWifiIndicators(mCurrentState.enabled, statusIcon, qsIcon,
88 ssidPresent && mCurrentState.activityIn, ssidPresent && mCurrentState.activityOut,
98 mCurrentState.enabled = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE
    [all...]
MobileSignalController.java 93 mLastState.networkName = mCurrentState.networkName = networkName;
94 mLastState.networkNameData = mCurrentState.networkNameData = networkName;
95 mLastState.enabled = mCurrentState.enabled = hasMobileData;
96 mLastState.iconGroup = mCurrentState.iconGroup = mDefaultIcons;
112 mCurrentState.airplaneMode = airplaneMode;
119 mCurrentState.isDefault = connectedTransports.get(mTransportType);
121 mCurrentState.inetCondition = (isValidated || !mCurrentState.isDefault) ? 1 : 0;
126 mCurrentState.carrierNetworkChangeMode = carrierNetworkChangeMode;
208 boolean showDataIcon = mCurrentState.dataConnecte
    [all...]
SignalController.java 42 protected final T mCurrentState;
65 mCurrentState = cleanState();
76 return mCurrentState;
80 mCurrentState.inetCondition = validatedTransports.get(mTransportType) ? 1 : 0;
92 mCurrentState.copyFrom(mLastState);
100 if (!mLastState.equals(mCurrentState)) {
103 + "\tto: " + mCurrentState);
115 mCurrentState.time = System.currentTimeMillis();
116 mLastState.copyFrom(mCurrentState);
123 if (mCurrentState.connected)
    [all...]
EthernetSignalController.java 33 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup(
44 mCurrentState.connected = connectedTransports.get(mTransportType);
50 boolean ethernetVisible = mCurrentState.connected;
  /frameworks/base/core/java/android/hardware/camera2/legacy/
CameraDeviceState.java 55 private int mCurrentState = STATE_UNCONFIGURED;
170 if (mCurrentState != STATE_CAPTURING) {
171 Log.e(TAG, "Cannot receive result while in state: " + mCurrentState);
214 if (newState != mCurrentState) {
224 if (mCurrentState != newState && mCurrentHandler != null &&
237 if (mCurrentState != STATE_ERROR && mCurrentHandler != null &&
246 mCurrentState = STATE_ERROR;
249 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) {
250 Log.e(TAG, "Cannot call configure while in state: " + mCurrentState);
    [all...]
  /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;
  /packages/services/Telecomm/src/com/android/server/telecom/
PhoneStateBroadcaster.java 33 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE;
79 return mCurrentState;
83 if (phoneState == mCurrentState) {
87 mCurrentState = phoneState;
97 Log.i(this, "Broadcasted state change: %s", 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...]
  /frameworks/rs/driver/
rsdShader.cpp 70 mCurrentState = nullptr;
105 mCurrentState = state;
106 return mCurrentState->mShaderID;
110 mCurrentState = state;
114 return mCurrentState->mShaderID;
202 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES;
205 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D;
209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP;
231 mCurrentState->mShaderID = glCreateShader(mType);
232 rsAssert(mCurrentState->mShaderID)
    [all...]
rsdShader.h 112 StateBasedKey *mCurrentState;
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/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...]
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/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...]
  /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...]
  /packages/apps/ExactCalculator/src/com/android/calculator2/
Calculator.java 140 if (mCurrentState != CalculatorState.EVALUATE) {
191 private CalculatorState mCurrentState;
281 mCurrentState = CalculatorState.INPUT;
286 mCurrentState = CalculatorState.INPUT;
298 if (mCurrentState != CalculatorState.INPUT) {
320 outState.putInt(KEY_DISPLAY_STATE, mCurrentState.ordinal());
336 if (mCurrentState != state) {
340 mCurrentState = state;
342 if (mCurrentState == CalculatorState.RESULT) {
351 if (mCurrentState == CalculatorState.ERROR)
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
Calculator.java 101 final boolean isEdited = mCurrentState == CalculatorState.INPUT
102 || mCurrentState == CalculatorState.ERROR;
107 private CalculatorState mCurrentState;
165 outState.putInt(KEY_CURRENT_STATE, mCurrentState.ordinal());
171 if (mCurrentState != state) {
172 mCurrentState = state;
257 if (mCurrentState == CalculatorState.INPUT) {
263 } else if (mCurrentState == CalculatorState.EVALUATE) {
273 if (mCurrentState != CalculatorState.INPUT) {
298 if (mCurrentState == CalculatorState.INPUT)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
Tab.java 247 protected PageState mCurrentState;
346 mCurrentState = new PageState(mContext,
413 if (mCurrentState.mSecurityState == SecurityState.SECURITY_STATE_SECURE) {
417 mCurrentState.mSecurityState = SecurityState.SECURITY_STATE_MIXED;
640 mCurrentState.mUrl = view.getUrl();
641 if (mCurrentState.mUrl == null) {
642 mCurrentState.mUrl = "";
644 mCurrentState.mOriginalUrl = view.getOriginalUrl();
645 mCurrentState.mTitle = view.getTitle();
646 mCurrentState.mFavicon = view.getFavicon()
    [all...]
  /frameworks/base/core/java/android/widget/
VideoView.java 86 // mCurrentState is a VideoView object's current state.
91 private int mCurrentState = STATE_IDLE;
220 mCurrentState = STATE_IDLE;
303 mCurrentState = STATE_IDLE;
363 mCurrentState = STATE_PREPARING;
367 mCurrentState = STATE_ERROR;
373 mCurrentState = STATE_ERROR;
414 mCurrentState = STATE_PREPARED;
477 mCurrentState = STATE_PLAYBACK_COMPLETED;
502 mCurrentState = STATE_ERROR
    [all...]
  /frameworks/native/services/surfaceflinger/
Layer.cpp 106 mCurrentState.active.w = w;
107 mCurrentState.active.h = h;
108 mCurrentState.active.crop.makeInvalid();
109 mCurrentState.z = 0;
110 mCurrentState.alpha = 0xFF;
111 mCurrentState.layerStack = 0;
112 mCurrentState.flags = layerFlags;
113 mCurrentState.sequence = 0;
114 mCurrentState.transform.set(0, 0);
115 mCurrentState.requested = mCurrentState.active
    [all...]
SurfaceFlinger.cpp 223 flinger->mCurrentState.displays.removeItem(this);
238 mCurrentState.displays.add(token, info);
246 ssize_t idx = mCurrentState.displays.indexOfKey(display);
252 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx));
258 mCurrentState.displays.removeItemsAt(idx);
269 mCurrentState.displays.add(mBuiltinDisplays[type], info);
514 mDrawingState = mCurrentState;
866 mCurrentState.displays.removeItem(mBuiltinDisplays[type]);
    [all...]
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
ScreenMagnifier.java 149 private int mCurrentState;
329 switch (mCurrentState) {
345 throw new IllegalStateException("Unknown state: " + mCurrentState);
364 mCurrentState = STATE_DETECTING;
461 Slog.i(LOG_TAG, "mCurrentState: STATE_DELEGATING");
464 Slog.i(LOG_TAG, "mCurrentState: STATE_DETECTING");
467 Slog.i(LOG_TAG, "mCurrentState: STATE_VIEWPORT_DRAGGING");
470 Slog.i(LOG_TAG, "mCurrentState: STATE_MAGNIFIED_INTERACTION");
477 mPreviousState = mCurrentState;
478 mCurrentState = state
    [all...]
TouchExplorer.java 125 private int mCurrentState = STATE_TOUCH_EXPLORING;
270 switch (mCurrentState) {
306 mCurrentState = STATE_TOUCH_EXPLORING;
324 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState));
329 switch(mCurrentState) {
343 throw new IllegalStateException("Illegal state: " + mCurrentState);
498 mCurrentState = STATE_GESTURE_DETECTING;
581 mCurrentState = STATE_DRAGGING;
588 mCurrentState = STATE_DELEGATING;
610 mCurrentState = STATE_DELEGATING
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ConversationListFragment.java 194 int mCurrentState = AbsListView.OnScrollListener.SCROLL_STATE_IDLE;
198 if (mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_TOUCH_SCROLL
199 || mCurrentState == AbsListView.OnScrollListener.SCROLL_STATE_FLING) {
212 mCurrentState = newState;

Completed in 1829 milliseconds

1 2