/frameworks/av/media/libmedia/ |
H A D | mediarecorder.cpp | 43 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { 44 ALOGE("setCamera called in an invalid state(%d)", mCurrentState); 51 mCurrentState = MEDIA_RECORDER_ERROR; 64 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) { 65 ALOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState); 76 mCurrentState = MEDIA_RECORDER_ERROR; 89 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { 90 ALOGE("init called in an invalid state(%d)", mCurrentState); 97 mCurrentState = MEDIA_RECORDER_ERROR; 104 mCurrentState [all...] |
H A D | 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; 204 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) && 205 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE); 210 ALOGE("invoke failed: wrong state %X, mPlayer(%p)", mCurrentState, mPlayer.get()); 246 if ( (mPlayer != 0) && ( mCurrentState & (MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) { 252 mCurrentState [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarWindowManager.java | 52 private final State mCurrentState = new State(); field in class:StatusBarWindowManager 228 mCurrentState.keyguardShowing = showing; 229 apply(mCurrentState); 233 mCurrentState.keyguardOccluded = occluded; 234 apply(mCurrentState); 238 mCurrentState.keyguardNeedsInput = needsInput; 239 apply(mCurrentState); 243 mCurrentState.panelVisible = visible; 244 mCurrentState.statusBarFocusable = visible; 245 apply(mCurrentState); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | WifiSignalController.java | 59 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup( 80 boolean wifiVisible = mCurrentState.enabled 81 && (mCurrentState.connected || !mHasMobileData); 82 String wifiDesc = wifiVisible ? mCurrentState.ssid : null; 83 boolean ssidPresent = wifiVisible && mCurrentState.ssid != null; 85 if (mCurrentState.inetCondition == 0) { 91 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(), 93 callback.setWifiIndicators(mCurrentState.enabled, statusIcon, qsIcon, 94 ssidPresent && mCurrentState.activityIn, ssidPresent && mCurrentState [all...] |
H A D | MobileSignalController.java | 94 mLastState.networkName = mCurrentState.networkName = networkName; 95 mLastState.networkNameData = mCurrentState.networkNameData = networkName; 96 mLastState.enabled = mCurrentState.enabled = hasMobileData; 97 mLastState.iconGroup = mCurrentState.iconGroup = mDefaultIcons; 113 mCurrentState.airplaneMode = airplaneMode; 118 mCurrentState.userSetup = userSetup; 125 mCurrentState.isDefault = connectedTransports.get(mTransportType); 127 mCurrentState.inetCondition = (isValidated || !mCurrentState.isDefault) ? 1 : 0; 132 mCurrentState [all...] |
H A D | SignalController.java | 43 protected final T mCurrentState; field in class:SignalController 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 [all...] |
H A D | EthernetSignalController.java | 34 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup( 45 mCurrentState.connected = connectedTransports.get(mTransportType); 51 boolean ethernetVisible = mCurrentState.connected;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceState.java | 55 private int mCurrentState = STATE_UNCONFIGURED; field in class:CameraDeviceState 172 if (mCurrentState != STATE_CAPTURING) { 173 Log.e(TAG, "Cannot receive result while in state: " + mCurrentState); 237 if (newState != mCurrentState) { 247 if (mCurrentState != newState && mCurrentHandler != null && 260 if (mCurrentState != STATE_ERROR && mCurrentHandler != null && 269 mCurrentState = STATE_ERROR; 272 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) { 273 Log.e(TAG, "Cannot call configure while in state: " + mCurrentState); [all...] |
/frameworks/rs/driver/ |
H A D | 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 [all...] |
H A D | rsdShader.h | 112 StateBasedKey *mCurrentState; member in class:RsdShader
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 122 mCurrentState.active.w = w; 123 mCurrentState.active.h = h; 124 mCurrentState.active.transform.set(0, 0); 125 mCurrentState.crop.makeInvalid(); 126 mCurrentState.finalCrop.makeInvalid(); 127 mCurrentState.z = 0; 129 mCurrentState.alpha = 1.0f; 131 mCurrentState.alpha = 0xFF; 133 mCurrentState.layerStack = 0; 134 mCurrentState [all...] |
H A D | Layer.h | 394 inline const State& getCurrentState() const { return mCurrentState; } 395 inline State& getCurrentState() { return mCurrentState; } 526 State mCurrentState; member in class:android::Layer
|
H A D | SurfaceFlinger.cpp | 230 flinger->mCurrentState.displays.removeItem(this); 244 mCurrentState.displays.add(token, info); 252 ssize_t idx = mCurrentState.displays.indexOfKey(display); 258 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 264 mCurrentState.displays.removeItemsAt(idx); 275 mCurrentState.displays.add(mBuiltinDisplays[type], info); 495 mDrawingState = mCurrentState; 888 mCurrentState.displays.removeItem(mBuiltinDisplays[type]); 1329 // with mStateLock held to guarantee that mCurrentState won't change 1343 const LayerVector& currentLayers(mCurrentState [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 229 flinger->mCurrentState.displays.removeItem(this); 243 mCurrentState.displays.add(token, info); 251 ssize_t idx = mCurrentState.displays.indexOfKey(display); 257 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); 263 mCurrentState.displays.removeItemsAt(idx); 273 mCurrentState.displays.add(mBuiltinDisplays[type], info); 525 mDrawingState = mCurrentState; 893 mCurrentState.displays.removeItem(mBuiltinDisplays[type]); 1342 // with mStateLock held to guarantee that mCurrentState won't change 1356 const LayerVector& currentLayers(mCurrentState [all...] |
H A D | SurfaceFlinger.h | 441 State mCurrentState; member in class:android::SurfaceFlinger
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 87 // mCurrentState is a VideoView object's current state. 92 private int mCurrentState = STATE_IDLE; field in class:VideoView 221 mCurrentState = STATE_IDLE; 304 mCurrentState = STATE_IDLE; 365 mCurrentState = STATE_PREPARING; 369 mCurrentState = STATE_ERROR; 375 mCurrentState = STATE_ERROR; 416 mCurrentState = STATE_PREPARED; 479 mCurrentState = STATE_PLAYBACK_COMPLETED; 504 mCurrentState [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | TouchExplorer.java | 103 private int mCurrentState = STATE_TOUCH_EXPLORING; field in class:TouchExplorer 220 switch (mCurrentState) { 254 mCurrentState = STATE_TOUCH_EXPLORING; 276 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState)); 294 switch(mCurrentState) { 308 throw new IllegalStateException("Illegal state: " + mCurrentState); 363 if (mCurrentState != STATE_TOUCH_EXPLORING) { 388 mCurrentState = STATE_DELEGATING; 395 if (mCurrentState != STATE_TOUCH_EXPLORING) { 443 mCurrentState [all...] |
H A D | MagnificationGestureHandler.java | 102 private int mCurrentState; field in class:MagnificationGestureHandler 139 switch (mCurrentState) { 159 throw new IllegalStateException("Unknown state: " + mCurrentState); 200 mCurrentState = STATE_DETECTING; 298 Slog.i(LOG_TAG, "mCurrentState: STATE_DELEGATING"); 302 Slog.i(LOG_TAG, "mCurrentState: STATE_DETECTING"); 306 Slog.i(LOG_TAG, "mCurrentState: STATE_VIEWPORT_DRAGGING"); 310 Slog.i(LOG_TAG, "mCurrentState: STATE_MAGNIFIED_INTERACTION"); 318 mPreviousState = mCurrentState; 319 mCurrentState [all...] |
/frameworks/av/include/media/ |
H A D | mediarecorder.h | 262 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 | 2639 BackupState mCurrentState; field in class:BackupManagerService.PerformBackupTask 2668 mCurrentState = BackupState.INITIAL; 2678 switch (mCurrentState) { 3441 mCurrentState = nextState;
|