/frameworks/av/media/libmedia/ |
H A D | 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 [all...] |
H A D | 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 [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceState.java | 55 private int mCurrentState = STATE_UNCONFIGURED; field in class:CameraDeviceState 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/ |
H A D | StatusBarWindowManager.java | 46 private final State mCurrentState = new State(); field in class:StatusBarWindowManager 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerImpl.java | 845 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup( 866 boolean wifiVisible = mCurrentState.enabled 867 && (mCurrentState.connected || !mHasMobileData); 868 String wifiDesc = wifiVisible ? mCurrentState.ssid : null; 869 boolean ssidPresent = wifiVisible && mCurrentState.ssid != null; 873 mSignalsChangedCallbacks.get(i).onWifiSignalChanged(mCurrentState.enabled, 874 mCurrentState.connected, getQsCurrentIconId(), 875 ssidPresent && mCurrentState.activityIn, 876 ssidPresent && mCurrentState.activityOut, contentDescription, wifiDesc); 892 mCurrentState 1502 protected final T mCurrentState; field in class:NetworkControllerImpl.SignalController [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | 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 [all...] |
H A D | Layer.h | 302 inline const State& getCurrentState() const { return mCurrentState; } 303 inline State& getCurrentState() { return mCurrentState; } 371 State mCurrentState; member in class:android::Layer
|
H A D | 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]); 1215 // with mStateLock held to guarantee that mCurrentState won't change 1229 const LayerVector& currentLayers(mCurrentState [all...] |
H A D | SurfaceFlinger.h | 425 State mCurrentState; member in class:android::SurfaceFlinger
|
/frameworks/rs/driver/ |
H A D | 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 [all...] |
H A D | rsdShader.h | 112 StateBasedKey *mCurrentState; member in class:RsdShader
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 88 // mCurrentState is a VideoView object's current state. 93 private int mCurrentState = STATE_IDLE; field in class:VideoView 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 [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 125 private int mCurrentState = STATE_TOUCH_EXPLORING; field in class:TouchExplorer 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 [all...] |
H A D | ScreenMagnifier.java | 150 private int mCurrentState; field in class:ScreenMagnifier 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 [all...] |
/frameworks/av/include/media/ |
H A D | mediarecorder.h | 254 media_recorder_states mCurrentState; member in class:android::MediaRecorder
|
H A D | mediaplayer.h | 275 media_player_states mCurrentState; member in class:android::MediaPlayer
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 2312 BackupState mCurrentState; field in class:BackupManagerService.PerformBackupTask 2334 mCurrentState = BackupState.INITIAL; 2344 switch (mCurrentState) { 2977 mCurrentState = nextState;
|