/frameworks/av/media/libmedia/ |
mediarecorder.cpp | 41 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { 42 ALOGE("setCamera called in an invalid state(%d)", mCurrentState); 49 mCurrentState = MEDIA_RECORDER_ERROR; 62 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) { 63 ALOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState); 74 mCurrentState = MEDIA_RECORDER_ERROR; 87 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { 88 ALOGE("init called in an invalid state(%d)", mCurrentState); 95 mCurrentState = MEDIA_RECORDER_ERROR; 102 mCurrentState = MEDIA_RECORDER_ERROR [all...] |
mediaplayer.cpp | 56 mCurrentState = MEDIA_PLAYER_IDLE; 121 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) || 122 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) { 123 ALOGE("attachNewPlayer called in state %d", mCurrentState); 131 mCurrentState = MEDIA_PLAYER_INITIALIZED; 201 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) && 202 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE); 207 ALOGE("invoke failed: wrong state %X", mCurrentState); 243 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) { 248 mCurrentState = MEDIA_PLAYER_PREPARING [all...] |
/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowManager.java | 46 private final State mCurrentState = new State(); 179 mCurrentState.keyguardShowing = showing; 180 apply(mCurrentState); 184 mCurrentState.keyguardOccluded = occluded; 185 apply(mCurrentState); 189 mCurrentState.keyguardNeedsInput = needsInput; 190 apply(mCurrentState); 194 mCurrentState.statusBarExpanded = expanded; 195 mCurrentState.statusBarFocusable = expanded; 196 apply(mCurrentState); [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
PhoneStateBroadcaster.java | 33 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE; 78 return mCurrentState; 82 if (phoneState == mCurrentState) { 86 mCurrentState = phoneState; 96 Log.i(this, "Broadcasted state change: %s", mCurrentState);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkControllerImpl.java | [all...] |
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/ |
MusicProvider.java | 75 private State mCurrentState = State.NON_INITIALIZED; 94 if (mCurrentState != State.INITIALIZED) { 106 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) { 120 if (mCurrentState != State.INITIALIZED) { 150 return mCurrentState == State.INITIALIZED; 161 if (mCurrentState == State.INITIALIZED) { 181 if (mCurrentState == State.NON_INITIALIZED) { 182 mCurrentState = State.INITIALIZING; 203 mCurrentState = State.INITIALIZED; 208 if (mCurrentState != State.INITIALIZED) [all...] |
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/ |
MusicProvider.java | 75 private State mCurrentState = State.NON_INITIALIZED; 94 if (mCurrentState != State.INITIALIZED) { 106 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) { 120 if (mCurrentState != State.INITIALIZED) { 150 return mCurrentState == State.INITIALIZED; 161 if (mCurrentState == State.INITIALIZED) { 181 if (mCurrentState == State.NON_INITIALIZED) { 182 mCurrentState = State.INITIALIZING; 203 mCurrentState = State.INITIALIZED; 208 if (mCurrentState != State.INITIALIZED) [all...] |
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
MusicProvider.java | 75 private State mCurrentState = State.NON_INITIALIZED; 94 if (mCurrentState != State.INITIALIZED) { 106 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) { 120 if (mCurrentState != State.INITIALIZED) { 150 return mCurrentState == State.INITIALIZED; 161 if (mCurrentState == State.INITIALIZED) { 181 if (mCurrentState == State.NON_INITIALIZED) { 182 mCurrentState = State.INITIALIZING; 203 mCurrentState = State.INITIALIZED; 208 if (mCurrentState != State.INITIALIZED) [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.cpp | 101 mCurrentState.active.w = w; 102 mCurrentState.active.h = h; 103 mCurrentState.active.crop.makeInvalid(); 104 mCurrentState.z = 0; 105 mCurrentState.alpha = 0xFF; 106 mCurrentState.layerStack = 0; 107 mCurrentState.flags = layerFlags; 108 mCurrentState.sequence = 0; 109 mCurrentState.transform.set(0, 0); 110 mCurrentState.requested = mCurrentState.active [all...] |
Layer.h | 302 inline const State& getCurrentState() const { return mCurrentState; } 303 inline State& getCurrentState() { return mCurrentState; } 371 State mCurrentState;
|
SurfaceFlinger.cpp | 218 flinger->mCurrentState.displays.removeItem(this); 233 mCurrentState.displays.add(token, info); 241 ssize_t idx = mCurrentState.displays.indexOfKey(display); 247 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 253 mCurrentState.displays.removeItemsAt(idx); 264 mCurrentState.displays.add(mBuiltinDisplays[type], info); 467 mDrawingState = mCurrentState; 815 mCurrentState.displays.removeItem(mBuiltinDisplays[type]); [all...] |
SurfaceFlinger.h | 425 State mCurrentState;
|
/frameworks/rs/driver/ |
rsdShader.cpp | 70 mCurrentState = NULL; 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;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentVideoView.java | 80 private int mCurrentState = STATE_IDLE; 230 if (mCurrentState == STATE_ERROR || mCurrentState == STATE_PLAYBACK_COMPLETED) { 239 mCurrentState = STATE_ERROR; 311 mCurrentState = isPlaying() ? STATE_PLAYING : STATE_PAUSED; 352 mCurrentState = STATE_IDLE; 362 mCurrentState = STATE_PLAYBACK_COMPLETED; 367 return (mCurrentState != STATE_ERROR && mCurrentState != STATE_IDLE); 375 mCurrentState = STATE_PLAYING [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Tab.java | 249 protected PageState mCurrentState; 348 mCurrentState = new PageState(mContext, 415 if (mCurrentState.mSecurityState == SecurityState.SECURITY_STATE_SECURE) { 419 mCurrentState.mSecurityState = SecurityState.SECURITY_STATE_MIXED; 661 mCurrentState.mUrl = view.getUrl(); 662 if (mCurrentState.mUrl == null) { 663 mCurrentState.mUrl = ""; 665 mCurrentState.mOriginalUrl = view.getOriginalUrl(); 666 mCurrentState.mTitle = view.getTitle(); 667 mCurrentState.mFavicon = view.getFavicon() [all...] |
/frameworks/base/core/java/android/widget/ |
VideoView.java | 88 // mCurrentState is a VideoView object's current state. 93 private int mCurrentState = STATE_IDLE; 229 mCurrentState = STATE_IDLE; 312 mCurrentState = STATE_IDLE; 369 mCurrentState = STATE_PREPARING; 373 mCurrentState = STATE_ERROR; 379 mCurrentState = STATE_ERROR; 420 mCurrentState = STATE_PREPARED; 483 mCurrentState = STATE_PLAYBACK_COMPLETED; 508 mCurrentState = STATE_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...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
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...] |
ScreenMagnifier.java | 150 private int mCurrentState; 327 switch (mCurrentState) { 343 throw new IllegalStateException("Unknown state: " + mCurrentState); 362 mCurrentState = STATE_DETECTING; 459 Slog.i(LOG_TAG, "mCurrentState: STATE_DELEGATING"); 462 Slog.i(LOG_TAG, "mCurrentState: STATE_DETECTING"); 465 Slog.i(LOG_TAG, "mCurrentState: STATE_VIEWPORT_DRAGGING"); 468 Slog.i(LOG_TAG, "mCurrentState: STATE_MAGNIFIED_INTERACTION"); 475 mPreviousState = mCurrentState; 476 mCurrentState = state [all...] |
/frameworks/av/include/media/ |
mediarecorder.h | 254 media_recorder_states mCurrentState;
|
mediaplayer.h | 275 media_player_states mCurrentState;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModeListView.java | 142 private ModeListState mCurrentState; 145 return mCurrentState; 149 mCurrentState = state; [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
BackupManagerService.java | [all...] |