/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 346 // phone state, match audio_mode??? 379 public static native int setDeviceConnectionState(int device, int state, String device_address); argument 381 public static native int setPhoneState(int state); argument
|
H A D | AudioTrack.java | 72 /** indicates AudioTrack state is stopped */ 74 /** indicates AudioTrack state is paused */ 76 /** indicates AudioTrack state is playing */ 148 * Indicates the state of the AudioTrack instance. 152 * Indicates the play state of the AudioTrack instance. 156 * Lock to make sure mPlayState updates are reflecting the actual state of the object. 584 * Returns the state of the AudioTrack instance. This is useful after the 597 * Returns the playback state of the AudioTrack instance. 863 * Sets the initialization state of the instance. To be used in an AudioTrack subclass 864 * constructor to set a subclass-specific post-initialization state 867 setState(int state) argument [all...] |
H A D | RemoteControlClient.java | 68 * Playback state of a RemoteControlClient which is stopped. 74 * Playback state of a RemoteControlClient which is paused. 80 * Playback state of a RemoteControlClient which is playing media. 86 * Playback state of a RemoteControlClient which is fast forwarding in the media 93 * Playback state of a RemoteControlClient which is fast rewinding in the media 100 * Playback state of a RemoteControlClient which is skipping to the next 107 * Playback state of a RemoteControlClient which is skipping back to the previous 114 * Playback state of a RemoteControlClient which is buffering data to play before it can 121 * Playback state of a RemoteControlClient which cannot perform any playback related 131 * The value of a playback state whe 594 setPlaybackState(int state) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_AmrInputStream.cpp | 63 GsmAmrEncoderState *state = (GsmAmrEncoderState *) gae; local 64 int32_t nResult = AMREncodeInit(&state->mEncState, &state->mSidState, false); 79 GsmAmrEncoderState *state = (GsmAmrEncoderState *) gae; local 80 int32_t length = AMREncode(state->mEncState, state->mSidState, 84 (Frame_Type_3GPP*) &state->mLastModeUsed, 109 GsmAmrEncoderState *state = (GsmAmrEncoderState *)gae; local 110 AMREncodeExit(&state->mEncState, &state [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorMain.cpp | 91 ManualEditState state; member in struct:__anon29 1638 // Make sure that we are in a correct state. 1640 (pContext->state != ManualEditState_INITIALIZED), 2614 // Set the state to not initialized. 2615 pContext->state = ManualEditState_NOT_INITIALIZED; 2735 // Set the state to initialized. 2736 pContext->state = ManualEditState_INITIALIZED; 2775 // We start in Analyzing state 2776 pContext->state = ManualEditState_INITIALIZED; 2820 &&(pContext->state! [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerStateUnitTestTemplate.java | 151 * Calls method under test in the given state of the MediaPlayer object. 153 * @param state the MediaPlayer state in which the method under test is called. 155 private void callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState state) { argument 156 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); 157 setMediaPlayerToState(state); 163 Log.v(TAG, "callMediaPlayerMethodUnderTestInState: wait is interrupted in state " + state); 166 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " 334 setMediaPlayerToState(MediaPlayerStateErrors.MediaPlayerState state) argument 379 setStateError(MediaPlayerStateErrors.MediaPlayerState state, boolean error) argument [all...] |
H A D | MediaRecorderStateUnitTestTemplate.java | 65 * Calls method under test in the given state of the MediaRecorder object. 67 * @param state the MediaRecorder state in which the method under test is called. 69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { argument 70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); 71 setMediaRecorderToState(state); 77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); 82 * object to the corresponding state, give 215 setMediaRecorderToState(MediaRecorderStateErrors.MediaRecorderState state) argument 251 setStateError(MediaRecorderStateErrors.MediaRecorderState state, boolean error) argument [all...] |
/frameworks/base/native/android/ |
H A D | storage_manager.cpp | 45 const int32_t state); 105 void fireCallback(const char* filename, const int32_t nonce, const int32_t state) { argument 121 target->cb(filename, state, target->data); 166 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) { argument 167 mStorageManager->fireCallback(String8(filename).string(), nonce, state);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 87 public void disable(int state); argument 148 public void disable(int state) { argument 151 mHandler.obtainMessage(MSG_DISABLE, state, 0, null).sendToTarget();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 48 public void go(int state) { argument 49 if (DEBUG) LOG("go state: %d -> %d", mState, state); 50 mState = state; 111 if (DEBUG) LOG("PanelBar.onTouch: state=%d ACTION_DOWN: panel %s %s", mState, panel, 141 if (DEBUG) LOG("panelExpansionChanged: start state=%d panel=%s", mState, panel.getName()); 174 if (DEBUG) LOG("panelExpansionChanged: end state=%d [%s%s ]", mState,
|
H A D | PhoneStatusBar.java | 685 // we want to freeze the sysui state wherever it is 1166 public void disable(int state) { argument 1168 final int diff = state ^ old; 1169 mDisabled = state; 1173 old, state, diff)); 1178 flagdbg.append(((state & StatusBarManager.DISABLE_EXPAND) != 0) ? "EXPAND" : "expand"); 1180 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "ICONS" : "icons"); 1182 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "ALERTS" : "alerts"); 1184 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) ? "TICKER" : "ticker"); 1186 flagdbg.append(((state [all...] |
H A D | QuickSettingsModel.java | 62 /** Represents the state of a given attribute. */ 95 public void refreshView(QuickSettingsTileView view, State state); argument 339 intent.putExtra("state", enabled); 345 // TODO: If view is in awaiting state, disable 383 // TODO: If view is in awaiting state, disable 422 // TODO: If view is in awaiting state, disable 464 // TODO: If view is in awaiting state, disable 694 // User switch: need to update visuals of all tiles known to have per-user state
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBar.java | 889 public void disable(int state) { argument 891 int diff = state ^ old; 892 mDisabled = state; 896 boolean show = (state & StatusBarManager.DISABLE_CLOCK) == 0; 901 boolean show = (state & StatusBarManager.DISABLE_SYSTEM_INFO) == 0; 906 if ((state & StatusBarManager.DISABLE_EXPAND) != 0) { 916 if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) { 926 if ((state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) { 933 setNavigationVisibility(state); 935 if ((state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 60 public void disable(int state) { argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 123 // get notified of phone state changes 183 // Simple toggle style if there's no vibrator, otherwise use a tri-state 214 // In ECM mode airplane state cannot be changed 525 * A single press action maintains no state, just responds to a press 702 * Implementations may override this if their state can be in on of the intermediate 713 public void updateState(State state) { argument 714 mState = state; 887 // Let the service state callbacks handle the state. 908 intent.putExtra("state", o [all...] |
H A D | PhoneWindow.java | 360 * @param st The panel state to prepare. 387 // Init the panel state's menu--return false if init failed 428 // Restore action view state before we prepare. This gives apps 429 // an opportunity to override frozen/restored state in onPrepare. 453 // Set other state 463 // Action bars handle their own menu state 468 // Freeze state 469 final Bundle state = new Bundle(); 471 st.iconMenuPresenter.saveHierarchyState(state); 474 st.listMenuPresenter.saveHierarchyState(state); 3451 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardHostView.java | 202 // view state manager and wire up necessary listeners / callbacks. 665 // This avoids unwanted asynchronous events from messing with the state. 1288 public void onRestoreInstanceState(Parcelable state) { argument 1290 if (!(state instanceof SavedState)) { 1291 super.onRestoreInstanceState(state); 1294 SavedState ss = (SavedState) state; 1317 int state = mViewStateManager.getTransportState(); 1319 || state == KeyguardViewStateManager.TRANSPORT_VISIBLE; 1323 } else if (state == KeyguardViewStateManager.TRANSPORT_VISIBLE) {
|
H A D | KeyguardSimPukView.java | 54 private int state = ENTER_PUK; field in class:KeyguardSimPukView.StateMachine 58 if (state == ENTER_PUK) { 60 state = ENTER_PIN; 65 } else if (state == ENTER_PIN) { 67 state = CONFIRM_PIN; 72 } else if (state == CONFIRM_PIN) { 74 state = DONE; 79 state = ENTER_PIN; // try again? 92 state = ENTER_PUK;
|
H A D | KeyguardTransportControlView.java | 143 public void setPlaybackState(int generationId, int state, long stateChangeTimeMs) { argument 146 handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget(); 349 private void updatePlayPauseState(int state) { argument 351 "updatePlayPauseState(), old=" + mCurrentPlayState + ", state=" + state); 352 if (state == mCurrentPlayState) { 357 switch (state) { 383 mCurrentPlayState = state; 426 public void onRestoreInstanceState(Parcelable state) { argument 427 if (!(state instanceo 487 wasPlayingRecently(int state, long stateChangeTimeMs) argument [all...] |
H A D | KeyguardUpdateMonitor.java | 91 // Telephony state 100 // Device provisioning state 190 Log.v(TAG, "action " + action + " state" + 199 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 200 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state)); 223 SimArgs(IccCardConstants.State state) { argument 224 simState = state; 228 IccCardConstants.State state; 239 state = IccCardConstants.State.PERM_DISABLED; 241 state 805 isSimLocked(IccCardConstants.State state) argument 815 isSimPinSecure(IccCardConstants.State state) argument [all...] |
H A D | KeyguardUpdateMonitorCallback.java | 51 * @param state the current ringer state, as defined in 54 void onRingerModeChanged(int state) { } argument 57 * Called when the phone state changes. String will be one of: 93 * Called when the SIM state changes.
|
H A D | KeyguardViewStateManager.java | 47 // Paged view state 154 // We only modify the page state if it is not currently under control by the slider. 249 // Whether dragging or settling, if the last state was idle, we use this signal 313 public void setTransportState(int state) { argument 314 mTransportState = state;
|
H A D | SlidingChallengeLayout.java | 61 // Drawn to show the drag handle in closed state; crossfades to the challenge view 188 * Listener interface that reports changes in scroll state of the challenge area. 192 * The scroll state itself changed. 205 * while the scroll state is not <code>SCROLL_STATE_IDLE</code>.</p> 207 * @param scrollState The new scroll state of the challenge area. 348 void setScrollState(int state) { argument 349 if (mScrollState != state) { 350 mScrollState = state; 352 animateHandle(state == SCROLL_STATE_IDLE && !mChallengeShowing); 354 mScrollListener.onScrollStateChanged(state); [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | KeyguardUpdateMonitor.java | 81 // Telephony state 165 Log.v(TAG, "action " + action + " state" + 174 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 175 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state)); 199 SimArgs(IccCardConstants.State state) { argument 200 simState = state; 204 IccCardConstants.State state; 215 state = IccCardConstants.State.PERM_DISABLED; 217 state = IccCardConstants.State.ABSENT; 220 state [all...] |
H A D | KeyguardUpdateMonitorCallback.java | 51 * @param state the current ringer state, as defined in 54 void onRingerModeChanged(int state) { } argument 57 * Called when the phone state changes. String will be one of: 87 * Called when the SIM state changes.
|