Searched refs:mCurrentState (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/media/libmedia/
H A Dmediarecorder.cpp39 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) {
40 LOGE("setCamera called in an invalid state(%d)", mCurrentState);
47 mCurrentState = MEDIA_RECORDER_ERROR;
60 if (!(mCurrentState & MEDIA_RECORDER_DATASOURCE_CONFIGURED)) {
61 LOGE("setPreviewSurface called in an invalid state(%d)", mCurrentState);
72 mCurrentState = MEDIA_RECORDER_ERROR;
85 if (!(mCurrentState & MEDIA_RECORDER_IDLE)) {
86 LOGE("init called in an invalid state(%d)", mCurrentState);
93 mCurrentState = MEDIA_RECORDER_ERROR;
100 mCurrentState
[all...]
H A Dmediaplayer.cpp56 mCurrentState = MEDIA_PLAYER_IDLE;
116 if ( !( (mCurrentState & MEDIA_PLAYER_IDLE) ||
117 (mCurrentState == MEDIA_PLAYER_STATE_ERROR ) ) ) {
118 LOGE("attachNewPlayer called in state %d", mCurrentState);
126 mCurrentState = MEDIA_PLAYER_INITIALIZED;
192 (mCurrentState != MEDIA_PLAYER_STATE_ERROR) &&
193 ((mCurrentState & MEDIA_PLAYER_IDLE) != MEDIA_PLAYER_IDLE);
198 LOGE("invoke failed: wrong state %X", mCurrentState);
234 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_INITIALIZED | MEDIA_PLAYER_STOPPED) ) ) {
236 mCurrentState
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoView.java38 protected int mCurrentState; field in class:HTML5VideoView
73 if (mCurrentState == STATE_PREPARED) {
90 } else if (mCurrentState == STATE_NOTPREPARED) {
102 if (mCurrentState == STATE_PREPARED) {
110 if (mCurrentState == STATE_PREPARED) {
117 if (mCurrentState == STATE_PREPARED)
124 if (mCurrentState == STATE_PREPARED) {
132 if (mCurrentState != STATE_RELEASED) {
135 mCurrentState = STATE_RELEASED;
139 if (mCurrentState
[all...]
H A DHTML5VideoFullScreen.java85 && mCurrentState == STATE_PREPARED) {
232 mCurrentState = STATE_RELEASED;
/frameworks/base/services/surfaceflinger/
H A DLayerBase.cpp88 mCurrentState.z = 0;
89 mCurrentState.w = w;
90 mCurrentState.h = h;
91 mCurrentState.requested_w = w;
92 mCurrentState.requested_h = h;
93 mCurrentState.alpha = 0xFF;
94 mCurrentState.flags = layerFlags;
95 mCurrentState.sequence = 0;
96 mCurrentState.transform.set(0, 0);
99 mDrawingState = mCurrentState;
[all...]
H A DLayerBase.h220 inline const State& currentState() const { return mCurrentState; }
221 inline State& currentState() { return mCurrentState; }
264 State mCurrentState; member in class:android::LayerBase
H A DSurfaceFlinger.cpp341 const LayerVector& currentLayers = mCurrentState.layersSortedByZ;
498 // with mStateLock held to guarantee that mCurrentState won't change
513 const LayerVector& currentLayers(mCurrentState.layersSortedByZ);
539 if (mCurrentState.orientation != mDrawingState.orientation) {
544 const int orientation = mCurrentState.orientation;
545 // Currently unused: const uint32_t flags = mCurrentState.orientationFlags;
721 mDrawingState = mCurrentState;
1123 ssize_t i = mCurrentState.layersSortedByZ.add(layer);
1156 ssize_t index = mCurrentState.layersSortedByZ.remove(layerBase);
1214 if (mCurrentState
[all...]
H A DSurfaceFlinger.h343 State mCurrentState; member in class:android::SurfaceFlinger
/frameworks/base/core/java/android/widget/
H A DVideoView.java65 // mCurrentState is a VideoView object's current state.
70 private int mCurrentState = STATE_IDLE; field in class:VideoView
164 mCurrentState = STATE_IDLE;
193 mCurrentState = STATE_IDLE;
228 mCurrentState = STATE_PREPARING;
232 mCurrentState = STATE_ERROR;
238 mCurrentState = STATE_ERROR;
276 mCurrentState = STATE_PREPARED;
339 mCurrentState = STATE_PLAYBACK_COMPLETED;
354 mCurrentState
[all...]
H A DAppSecurityPermissions.java84 private State mCurrentState; field in class:AppSecurityPermissions
346 switch(mCurrentState) {
484 mCurrentState = State.NO_PERMS;
486 mCurrentState = (mNormalMap.size() > 0) ? State.BOTH : State.DANGEROUS_ONLY;
488 mCurrentState = State.NORMAL_ONLY;
490 if(localLOGV) Log.i(TAG, "mCurrentState=" + mCurrentState);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestsExecutor.java101 private CurrentState mCurrentState = CurrentState.IDLE; field in class:LayoutTestsExecutor
164 if (mCurrentState == CurrentState.RENDERING_PAGE) {
438 assert mCurrentState == CurrentState.IDLE : "mCurrentState = " + mCurrentState.name();
455 mCurrentState = CurrentState.RENDERING_PAGE;
461 assert mCurrentState.isRunningState() : "mCurrentState = " + mCurrentState.name();
476 assert mCurrentState
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java118 private int mCurrentState = STATE_TOUCH_EXPLORING; field in class:TouchExplorer
164 Slog.d(LOG_TAG_STATE, getStateSymbolicName(mCurrentState));
170 switch(mCurrentState) {
181 throw new IllegalStateException("Illegal state: " + mCurrentState);
316 mCurrentState = STATE_DRAGGING;
327 mCurrentState = STATE_DELEGATING;
345 mCurrentState = STATE_DELEGATING;
453 mCurrentState = STATE_DELEGATING;
471 mCurrentState = STATE_DELEGATING;
480 mCurrentState
[all...]
/frameworks/base/include/media/
H A Dmediaplayer.h220 media_player_states mCurrentState; member in class:android::MediaPlayer
H A Dmediarecorder.h245 media_recorder_states mCurrentState; member in class:android::MediaRecorder
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java1790 BackupState mCurrentState; field in class:BackupManagerService.PerformBackupTask
1815 mCurrentState = BackupState.INITIAL;
1823 switch (mCurrentState) {
2219 mCurrentState = nextState;
4048 private RestoreState mCurrentState; field in class:BackupManagerService.PerformRestoreTask
4073 mCurrentState = RestoreState.INITIAL;
4103 if (MORE_DEBUG) Slog.v(TAG, "*** Executing restore step: " + mCurrentState);
4104 switch (mCurrentState) {
4588 mCurrentState = nextState;

Completed in 227 milliseconds