/frameworks/av/media/libmedia/ |
D | mediarecorder.cpp | 43 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { in setCamera() 44 ALOGE("setCamera called in an invalid state(%d)", mCurrentState); in setCamera() 51 mCurrentState = MEDIA_RECORDER_ERROR; in setCamera() 64 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) { in setPreviewSurface() 65 ALOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState); in setPreviewSurface() 76 mCurrentState = MEDIA_RECORDER_ERROR; in setPreviewSurface() 89 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) { in init() 90 ALOGE("init called in an invalid state(%d)", mCurrentState); in init() 97 mCurrentState = MEDIA_RECORDER_ERROR; in init() 104 mCurrentState = MEDIA_RECORDER_ERROR; in init() [all …]
|
D | mediaplayer.cpp | 62 mCurrentState = MEDIA_PLAYER_IDLE; in MediaPlayer() 129 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) || in attachNewPlayer() 130 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) { in attachNewPlayer() 131 ALOGE("attachNewPlayer called in state %d", mCurrentState); in attachNewPlayer() 139 mCurrentState = MEDIA_PLAYER_INITIALIZED; in attachNewPlayer() 211 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) && in invoke() 212 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE); in invoke() 217 ALOGE("invoke failed: wrong state %X, mPlayer(%p)", mCurrentState, mPlayer.get()); in invoke() 291 if ( (mPlayer != 0) && ( mCurrentState & (MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) { in prepareAsync_l() 297 mCurrentState = MEDIA_PLAYER_PREPARING; in prepareAsync_l() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowManager.java | 63 private final State mCurrentState = new State(); field in StatusBarWindowManager 287 mCurrentState.keyguardShowing = showing; in setKeyguardShowing() 288 apply(mCurrentState); in setKeyguardShowing() 292 mCurrentState.keyguardOccluded = occluded; in setKeyguardOccluded() 293 apply(mCurrentState); in setKeyguardOccluded() 297 mCurrentState.keyguardNeedsInput = needsInput; in setKeyguardNeedsInput() 298 apply(mCurrentState); in setKeyguardNeedsInput() 302 mCurrentState.panelVisible = visible; in setPanelVisible() 303 mCurrentState.statusBarFocusable = visible; in setPanelVisible() 304 apply(mCurrentState); in setPanelVisible() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 99 mLastState.networkName = mCurrentState.networkName = networkName; in MobileSignalController() 100 mLastState.networkNameData = mCurrentState.networkNameData = networkName; in MobileSignalController() 101 mLastState.enabled = mCurrentState.enabled = hasMobileData; in MobileSignalController() 102 mLastState.iconGroup = mCurrentState.iconGroup = mDefaultIcons; in MobileSignalController() 124 mCurrentState.airplaneMode = airplaneMode; in setAirplaneMode() 129 mCurrentState.userSetup = userSetup; in setUserSetupComplete() 136 mCurrentState.isDefault = connectedTransports.get(mTransportType); in updateConnectivity() 138 mCurrentState.inetCondition = (isValidated || !mCurrentState.isDefault) ? 1 : 0; in updateConnectivity() 143 mCurrentState.carrierNetworkChangeMode = carrierNetworkChangeMode; in setCarrierNetworkChangeMode() 246 if (mCurrentState.iconGroup == TelephonyIcons.CARRIER_NETWORK_CHANGE) { in getCurrentIconId() [all …]
|
D | WifiSignalController.java | 59 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup( in WifiSignalController() 81 boolean wifiVisible = mCurrentState.enabled in notifyListeners() 82 && (mCurrentState.connected || !mHasMobileData); in notifyListeners() 83 String wifiDesc = wifiVisible ? mCurrentState.ssid : null; in notifyListeners() 84 boolean ssidPresent = wifiVisible && mCurrentState.ssid != null; in notifyListeners() 86 if (mCurrentState.inetCondition == 0) { in notifyListeners() 92 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(), in notifyListeners() 94 callback.setWifiIndicators(mCurrentState.enabled, statusIcon, qsIcon, in notifyListeners() 95 ssidPresent && mCurrentState.activityIn, ssidPresent && mCurrentState.activityOut, in notifyListeners() 96 wifiDesc, mCurrentState.isTransient); in notifyListeners() [all …]
|
D | SignalController.java | 43 protected final T mCurrentState; field in SignalController 66 mCurrentState = cleanState(); in SignalController() 77 return mCurrentState; in getState() 81 mCurrentState.inetCondition = validatedTransports.get(mTransportType) ? 1 : 0; in updateConnectivity() 93 mCurrentState.copyFrom(mLastState); in resetLastState() 101 if (!mLastState.equals(mCurrentState)) { in isDirty() 104 + "\tto: " + mCurrentState); in isDirty() 116 mCurrentState.time = System.currentTimeMillis(); in saveLastState() 117 mLastState.copyFrom(mCurrentState); in saveLastState() 124 if (mCurrentState.connected) { in getQsCurrentIconId() [all …]
|
D | EthernetSignalController.java | 34 mCurrentState.iconGroup = mLastState.iconGroup = new IconGroup( in EthernetSignalController() 45 mCurrentState.connected = connectedTransports.get(mTransportType); in updateConnectivity() 51 boolean ethernetVisible = mCurrentState.connected; in notifyListeners()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceState.java | 55 private int mCurrentState = STATE_UNCONFIGURED; field in CameraDeviceState 173 if (mCurrentState != STATE_CAPTURING) { in setCaptureResult() 174 Log.e(TAG, "Cannot receive result while in state: " + mCurrentState); in setCaptureResult() 254 if (newState != mCurrentState) { in doStateTransition() 264 if (mCurrentState != newState && mCurrentHandler != null && in doStateTransition() 277 if (mCurrentState != STATE_ERROR && mCurrentHandler != null && in doStateTransition() 286 mCurrentState = STATE_ERROR; in doStateTransition() 289 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) { in doStateTransition() 290 Log.e(TAG, "Cannot call configure while in state: " + mCurrentState); in doStateTransition() 295 if (mCurrentState != STATE_CONFIGURING && mCurrentHandler != null && in doStateTransition() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 131 mCurrentState.active.w = w; in Layer() 132 mCurrentState.active.h = h; in Layer() 133 mCurrentState.active.transform.set(0, 0); in Layer() 134 mCurrentState.crop.makeInvalid(); in Layer() 135 mCurrentState.finalCrop.makeInvalid(); in Layer() 136 mCurrentState.requestedFinalCrop = mCurrentState.finalCrop; in Layer() 137 mCurrentState.requestedCrop = mCurrentState.crop; in Layer() 138 mCurrentState.z = 0; in Layer() 140 mCurrentState.alpha = 1.0f; in Layer() 142 mCurrentState.alpha = 0xFF; in Layer() [all …]
|
D | SurfaceInterceptor.cpp | 98 addPositionLocked(transaction, layerId, layer->mCurrentState.active.transform.tx(), in addInitialSurfaceStateLocked() 99 layer->mCurrentState.active.transform.ty()); in addInitialSurfaceStateLocked() 100 addDepthLocked(transaction, layerId, layer->mCurrentState.z); in addInitialSurfaceStateLocked() 101 addAlphaLocked(transaction, layerId, layer->mCurrentState.alpha); in addInitialSurfaceStateLocked() 102 addTransparentRegionLocked(transaction, layerId, layer->mCurrentState.activeTransparentRegion); in addInitialSurfaceStateLocked() 103 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack); in addInitialSurfaceStateLocked() 104 addCropLocked(transaction, layerId, layer->mCurrentState.crop); in addInitialSurfaceStateLocked() 105 if (layer->mCurrentState.barrierLayer != nullptr) { in addInitialSurfaceStateLocked() 106 addDeferTransactionLocked(transaction, layerId, layer->mCurrentState.barrierLayer.promote(), in addInitialSurfaceStateLocked() 107 layer->mCurrentState.frameNumber); in addInitialSurfaceStateLocked() [all …]
|
D | SurfaceFlinger_hwc1.cpp | 265 flinger->mCurrentState.displays.removeItem(this); in createDisplay() 279 mCurrentState.displays.add(token, info); in createDisplay() 287 ssize_t idx = mCurrentState.displays.indexOfKey(display); in destroyDisplay() 293 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); in destroyDisplay() 299 mCurrentState.displays.removeItemsAt(idx); in destroyDisplay() 309 mCurrentState.displays.add(mBuiltinDisplays[type], info); in createBuiltinDisplayLocked() 595 mDrawingState = mCurrentState; in init() 1075 mCurrentState.displays.removeItem(mBuiltinDisplays[type]); in onHotplugReceived() 1599 mCurrentState.traverseInZOrder([](Layer* layer) { in handleTransactionLocked() 1609 mCurrentState.traverseInZOrder([&](Layer* layer) { in handleTransactionLocked() [all …]
|
D | SurfaceFlinger.cpp | 308 flinger->mCurrentState.displays.removeItem(this); in createDisplay() 322 mCurrentState.displays.add(token, info); in createDisplay() 330 ssize_t idx = mCurrentState.displays.indexOfKey(display); in destroyDisplay() 336 const DisplayDeviceState& info(mCurrentState.displays.valueAt(idx)); in destroyDisplay() 342 mCurrentState.displays.removeItemsAt(idx); in destroyDisplay() 353 mCurrentState.displays.add(mBuiltinDisplays[type], info); in createBuiltinDisplayLocked() 633 mDrawingState = mCurrentState; in init() 1321 mCurrentState.displays.removeItem(mBuiltinDisplays[type]); in onHotplugReceived() 2037 mCurrentState.traverseInZOrder([](Layer* layer) { in handleTransactionLocked() 2047 mCurrentState.traverseInZOrder([&](Layer* layer) { in handleTransactionLocked() [all …]
|
D | Layer.h | 479 inline const State& getCurrentState() const { return mCurrentState; } in getCurrentState() 480 inline State& getCurrentState() { return mCurrentState; } in getCurrentState() 703 State mCurrentState; variable
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 74 mCurrentState = nullptr; in initMemberVars() 109 mCurrentState = state; in getStateBasedShaderID() 110 return mCurrentState->mShaderID; in getStateBasedShaderID() 114 mCurrentState = state; in getStateBasedShaderID() 118 return mCurrentState->mShaderID; in getStateBasedShaderID() 206 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES; in appendTextures() 209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D; in appendTextures() 213 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP; in appendTextures() 235 mCurrentState->mShaderID = glCreateShader(mType); in loadShader() 236 rsAssert(mCurrentState->mShaderID); in loadShader() [all …]
|
D | rsdShader.h | 113 StateBasedKey *mCurrentState; variable
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/ |
D | MusicProvider.java | 76 private volatile State mCurrentState = State.NON_INITIALIZED; field in MusicProvider 95 if (mCurrentState != State.INITIALIZED) { in getGenres() 105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) { in getMusicsByGenre() 117 if (mCurrentState != State.INITIALIZED) { in searchMusic() 170 return mCurrentState == State.INITIALIZED; in isInitialized() 179 if (mCurrentState == State.INITIALIZED) { in retrieveMediaAsync() 190 return mCurrentState; in retrieveMediaAsync() 221 if (mCurrentState == State.NON_INITIALIZED) { in retrieveMedia() 222 mCurrentState = State.INITIALIZING; in retrieveMedia() 239 mCurrentState = State.INITIALIZED; in retrieveMedia() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 105 private int mCurrentState = STATE_IDLE; field in VideoView 165 mCurrentState = STATE_IDLE; in VideoView() 354 mCurrentState = STATE_IDLE; in stopPlayback() 416 mCurrentState = STATE_PREPARING; in openVideo() 420 mCurrentState = STATE_ERROR; in openVideo() 426 mCurrentState = STATE_ERROR; in openVideo() 467 mCurrentState = STATE_PREPARED; 530 mCurrentState = STATE_PLAYBACK_COMPLETED; 558 mCurrentState = STATE_ERROR; 699 mCurrentState = STATE_IDLE; in release() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | DetailsBackgroundVideoHelper.java | 54 private int mCurrentState = INITIAL; field in DetailsBackgroundVideoHelper 113 return mCurrentState == PLAY_VIDEO; in isVideoVisible() 117 if (state == mCurrentState) { in updateState() 120 mCurrentState = state; in updateState() 125 switch (mCurrentState) { in applyState()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 104 private int mCurrentState = STATE_TOUCH_EXPLORING; field in TouchExplorer 221 switch (mCurrentState) { in clear() 255 mCurrentState = STATE_TOUCH_EXPLORING; in clear() 277 Slog.d(LOG_TAG, getStateSymbolicName(mCurrentState)); in onMotionEvent() 295 switch(mCurrentState) { in onMotionEvent() 309 throw new IllegalStateException("Illegal state: " + mCurrentState); in onMotionEvent() 364 if (mCurrentState != STATE_TOUCH_EXPLORING) { in onDoubleTapAndHold() 389 mCurrentState = STATE_DELEGATING; in onDoubleTapAndHold() 396 if (mCurrentState != STATE_TOUCH_EXPLORING) { in onDoubleTap() 451 mCurrentState = STATE_GESTURE_DETECTING; in onGestureStarted() [all …]
|
D | MagnificationGestureHandler.java | 115 private int mCurrentState; field in MagnificationGestureHandler 172 switch (mCurrentState) { in onMotionEvent() 192 throw new IllegalStateException("Unknown state: " + mCurrentState); in onMotionEvent() 255 mCurrentState = STATE_DETECTING; in clear() 374 mPreviousState = mCurrentState; in transitionToState() 375 mCurrentState = state; in transitionToState() 416 if (mCurrentState != STATE_MAGNIFIED_INTERACTION) { in onMotionEvent() 433 if (mCurrentState != STATE_MAGNIFIED_INTERACTION) { in onScroll() 488 return (mCurrentState == STATE_MAGNIFIED_INTERACTION); in onScaleBegin()
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | PerformBackupTask.java | 120 BackupState mCurrentState; field in PerformBackupTask 173 mCurrentState = BackupState.FINAL; in PerformBackupTask() 176 mCurrentState = BackupState.INITIAL; in PerformBackupTask() 217 switch (mCurrentState) { in execute() 1115 mCurrentState = nextState; in executeNextState()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediarecorder.h | 266 media_recorder_states mCurrentState; variable
|
D | mediaplayer.h | 294 media_player_states mCurrentState; variable
|
/frameworks/av/include/media/ |
D | mediarecorder.h | 266 media_recorder_states mCurrentState; variable
|
D | mediaplayer.h | 294 media_player_states mCurrentState; variable
|