/frameworks/av/media/libmedia/ |
D | mediarecorder.cpp | 41 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { in setCamera() 42 ALOGE("setCamera called in an invalid state(%d)", mCurrentState); in setCamera() 49 mCurrentState = MEDIA_RECORDER_ERROR; in setCamera() 62 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) { in setPreviewSurface() 63 ALOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState); in setPreviewSurface() 74 mCurrentState = MEDIA_RECORDER_ERROR; in setPreviewSurface() 87 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { in init() 88 ALOGE("init called in an invalid state(%d)", mCurrentState); in init() 95 mCurrentState = MEDIA_RECORDER_ERROR; in init() 102 mCurrentState = MEDIA_RECORDER_ERROR; in init() [all …]
|
D | mediaplayer.cpp | 56 mCurrentState = MEDIA_PLAYER_IDLE; in MediaPlayer() 121 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) || in attachNewPlayer() 122 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) { in attachNewPlayer() 123 ALOGE("attachNewPlayer called in state %d", mCurrentState); in attachNewPlayer() 131 mCurrentState = MEDIA_PLAYER_INITIALIZED; in attachNewPlayer() 201 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) && in invoke() 202 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE); in invoke() 207 ALOGE("invoke failed: wrong state %X", mCurrentState); in invoke() 243 … if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) { in prepareAsync_l() 248 mCurrentState = MEDIA_PLAYER_PREPARING; in prepareAsync_l() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceState.java | 55 private int mCurrentState = STATE_UNCONFIGURED; field in CameraDeviceState 170 if (mCurrentState != STATE_CAPTURING) { in setCaptureResult() 171 Log.e(TAG, "Cannot receive result while in state: " + mCurrentState); in setCaptureResult() 214 if (newState != mCurrentState) { in doStateTransition() 224 if (mCurrentState != newState && mCurrentHandler != null && in doStateTransition() 237 if (mCurrentState != STATE_ERROR && mCurrentHandler != null && in doStateTransition() 246 mCurrentState = STATE_ERROR; in doStateTransition() 249 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) { in doStateTransition() 250 Log.e(TAG, "Cannot call configure while in state: " + mCurrentState); in doStateTransition() 255 if (mCurrentState != STATE_CONFIGURING && mCurrentHandler != null && in doStateTransition() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowManager.java | 46 private final State mCurrentState = new State(); field in StatusBarWindowManager 179 mCurrentState.keyguardShowing = showing; in setKeyguardShowing() 180 apply(mCurrentState); in setKeyguardShowing() 184 mCurrentState.keyguardOccluded = occluded; in setKeyguardOccluded() 185 apply(mCurrentState); in setKeyguardOccluded() 189 mCurrentState.keyguardNeedsInput = needsInput; in setKeyguardNeedsInput() 190 apply(mCurrentState); in setKeyguardNeedsInput() 194 mCurrentState.statusBarExpanded = expanded; in setStatusBarExpanded() 195 mCurrentState.statusBarFocusable = expanded; in setStatusBarExpanded() 196 apply(mCurrentState); in setStatusBarExpanded() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 845 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup( in WifiSignalController() 866 boolean wifiVisible = mCurrentState.enabled in notifyListeners() 867 && (mCurrentState.connected || !mHasMobileData); in notifyListeners() 868 String wifiDesc = wifiVisible ? mCurrentState.ssid : null; in notifyListeners() 869 boolean ssidPresent = wifiVisible && mCurrentState.ssid != null; in notifyListeners() 873 mSignalsChangedCallbacks.get(i).onWifiSignalChanged(mCurrentState.enabled, in notifyListeners() 874 mCurrentState.connected, getQsCurrentIconId(), in notifyListeners() 875 ssidPresent && mCurrentState.activityIn, in notifyListeners() 876 ssidPresent && mCurrentState.activityOut, contentDescription, wifiDesc); in notifyListeners() 892 mCurrentState.enabled = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, in handleBroadcast() [all …]
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 70 mCurrentState = NULL; in initMemberVars() 105 mCurrentState = state; in getStateBasedShaderID() 106 return mCurrentState->mShaderID; in getStateBasedShaderID() 110 mCurrentState = state; in getStateBasedShaderID() 114 return mCurrentState->mShaderID; in getStateBasedShaderID() 202 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES; in appendTextures() 205 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D; in appendTextures() 209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP; in appendTextures() 231 mCurrentState->mShaderID = glCreateShader(mType); in loadShader() 232 rsAssert(mCurrentState->mShaderID); in loadShader() [all …]
|
D | rsdShader.h | 112 StateBasedKey *mCurrentState; variable
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 101 mCurrentState.active.w = w; in Layer() 102 mCurrentState.active.h = h; in Layer() 103 mCurrentState.active.crop.makeInvalid(); in Layer() 104 mCurrentState.z = 0; in Layer() 105 mCurrentState.alpha = 0xFF; in Layer() 106 mCurrentState.layerStack = 0; in Layer() 107 mCurrentState.flags = layerFlags; in Layer() 108 mCurrentState.sequence = 0; in Layer() 109 mCurrentState.transform.set(0, 0); in Layer() 110 mCurrentState.requested = mCurrentState.active; in Layer() [all …]
|
D | Layer.h | 302 inline const State& getCurrentState() const { return mCurrentState; } in getCurrentState() 303 inline State& getCurrentState() { return mCurrentState; } in getCurrentState() 371 State mCurrentState; variable
|
D | SurfaceFlinger.cpp | 218 flinger->mCurrentState.displays.removeItem(this); in createDisplay() 233 mCurrentState.displays.add(token, info); in createDisplay() 241 ssize_t idx = mCurrentState.displays.indexOfKey(display); in destroyDisplay() 247 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); in destroyDisplay() 253 mCurrentState.displays.removeItemsAt(idx); in destroyDisplay() 264 mCurrentState.displays.add(mBuiltinDisplays[type], info); in createBuiltinDisplayLocked() 467 mDrawingState = mCurrentState; in init() 815 mCurrentState.displays.removeItem(mBuiltinDisplays[type]); in onHotplugReceived() 1229 const LayerVector& currentLayers(mCurrentState.layersSortedByZ); in handleTransactionLocked() 1257 const KeyedVector< wp<IBinder>, DisplayDeviceState>& curr(mCurrentState.displays); in handleTransactionLocked() [all …]
|
D | SurfaceFlinger.h | 425 State mCurrentState; variable
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 93 private int mCurrentState = STATE_IDLE; field in VideoView 229 mCurrentState = STATE_IDLE; in initVideoView() 312 mCurrentState = STATE_IDLE; in stopPlayback() 369 mCurrentState = STATE_PREPARING; in openVideo() 373 mCurrentState = STATE_ERROR; in openVideo() 379 mCurrentState = STATE_ERROR; in openVideo() 420 mCurrentState = STATE_PREPARED; 483 mCurrentState = STATE_PLAYBACK_COMPLETED; 508 mCurrentState = STATE_ERROR; 649 mCurrentState = STATE_IDLE; in release() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 125 private int mCurrentState = STATE_TOUCH_EXPLORING; field in TouchExplorer 270 switch (mCurrentState) { in clear() 306 mCurrentState = STATE_TOUCH_EXPLORING; in clear() 324 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState)); in onMotionEvent() 329 switch(mCurrentState) { in onMotionEvent() 343 throw new IllegalStateException("Illegal state: " + mCurrentState); in onMotionEvent() 498 mCurrentState = STATE_GESTURE_DETECTING; in handleMotionEventStateTouchExploring() 581 mCurrentState = STATE_DRAGGING; in handleMotionEventStateTouchExploring() 588 mCurrentState = STATE_DELEGATING; in handleMotionEventStateTouchExploring() 610 mCurrentState = STATE_DELEGATING; in handleMotionEventStateTouchExploring() [all …]
|
D | ScreenMagnifier.java | 150 private int mCurrentState; field in ScreenMagnifier 327 switch (mCurrentState) { in onMotionEvent() 343 throw new IllegalStateException("Unknown state: " + mCurrentState); in onMotionEvent() 362 mCurrentState = STATE_DETECTING; in clear() 475 mPreviousState = mCurrentState; in transitionToState() 476 mCurrentState = state; in transitionToState() 501 if (mCurrentState != STATE_MAGNIFIED_INTERACTION) { in onMotionEvent() 522 if (mCurrentState != STATE_MAGNIFIED_INTERACTION) { in onScroll() 560 return (mCurrentState == STATE_MAGNIFIED_INTERACTION); in onScaleBegin()
|
/frameworks/av/include/media/ |
D | mediarecorder.h | 254 media_recorder_states mCurrentState; variable
|
D | mediaplayer.h | 275 media_player_states mCurrentState; variable
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 2312 BackupState mCurrentState; field in BackupManagerService.PerformBackupTask 2334 mCurrentState = BackupState.INITIAL; in PerformBackupTask() 2344 switch (mCurrentState) { in execute() 2977 mCurrentState = nextState; in executeNextState()
|