/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 71 /** indicates AudioTrack state is stopped */ 73 /** indicates AudioTrack state is paused */ 75 /** indicates AudioTrack state is playing */ 146 * Indicates the state of the AudioTrack instance. 150 * Indicates the play state of the AudioTrack instance. 154 * Lock to make sure mPlayState updates are reflecting the actual state of the object. 534 * Returns the state of the AudioTrack instance. This is useful after the 547 * Returns the playback state of the AudioTrack instance. 805 * Sets the initialization state of the instance. To be used in an AudioTrack subclass 806 * constructor to set a subclass-specific post-initialization state 809 setState(int state) argument [all...] |
H A D | AudioManager.java | 543 * @param state The required solo state: true for solo ON, false for solo OFF 545 public void setStreamSolo(int streamType, boolean state) { argument 548 service.setStreamSolo(streamType, state, mICallBack); 572 * @param state The required mute state: true for mute ON, false for mute OFF 574 public void setStreamMute(int streamType, boolean state) { argument 577 service.setStreamMute(streamType, state, mICallBack); 697 * connection state has changed. The intent contains on extra {@link #EXTRA_SCO_AUDIO_STATE} 698 * indicating the new state whic [all...] |
H A D | AudioService.java | 69 * will update our internal state, but in a separate thread will set the system 71 * will update the state and broadcast a change and in a separate thread later 261 // Bluetooth headset connection state 290 // state on streams affected by ringer mode. 315 // Register for phone state monitoring 498 * Sets the stream state's index, and posts a message to set system volume. 530 public void setStreamSolo(int streamType, boolean state, IBinder cb) { argument 534 mStreamStates[stream].mute(cb, state); 539 public void setStreamMute(int streamType, boolean state, IBinder cb) { argument 541 mStreamStates[streamType].mute(cb, state); 1069 requestScoState(int state) argument 1359 mute(IBinder cb, boolean state) argument 1386 mute(boolean state) argument 1460 getDeathHandler(IBinder cb, boolean state) argument [all...] |
/frameworks/base/media/libmedia/ |
H A D | AudioSystem.cpp | 83 status_t AudioSystem::muteMicrophone(bool state) { argument 86 return af->setMicMute(state); 89 status_t AudioSystem::isMicrophoneMuted(bool* state) { argument 92 *state = af->getMicMute(); 173 status_t AudioSystem::isStreamActive(int stream, bool* state) { argument 176 *state = af->isStreamActive(stream); 510 device_connection_state state, 516 return aps->setDeviceConnectionState(device, state, device_address); 528 status_t AudioSystem::setPhoneState(int state) argument 533 return aps->setPhoneState(state); 509 setDeviceConnectionState(audio_devices device, device_connection_state state, const char *device_address) argument [all...] |
H A D | IAudioFlinger.cpp | 302 virtual status_t setMicMute(bool state) argument 306 data.writeInt32(state); 820 int state = data.readInt32(); local 821 reply->writeInt32( setMicMute(state) );
|
/frameworks/base/services/audioflinger/ |
H A D | AudioPolicyManagerBase.cpp | 32 AudioSystem::device_connection_state state, 36 LOGV("setDeviceConnectionState() device: %x, state %d, address %s", device, state, device_address); 56 switch (state) 117 LOGE("setDeviceConnectionState() invalid state: %x", state); 126 if (state == AudioSystem::DEVICE_STATE_UNAVAILABLE && AudioSystem::isA2dpDevice(device)) { 147 switch (state) 169 LOGE("setDeviceConnectionState() invalid state: %x", state); 31 setDeviceConnectionState(AudioSystem::audio_devices device, AudioSystem::device_connection_state state, const char *device_address) argument 197 AudioSystem::device_connection_state state = AudioSystem::DEVICE_STATE_UNAVAILABLE; local 222 setPhoneState(int state) argument 1973 isStateInCall(int state) argument [all...] |
H A D | AudioPolicyService.cpp | 110 AudioSystem::device_connection_state state, 122 if (state != AudioSystem::DEVICE_STATE_AVAILABLE && 123 state != AudioSystem::DEVICE_STATE_UNAVAILABLE) { 129 return mpPolicyManager->setDeviceConnectionState(device, state, device_address); 145 status_t AudioPolicyService::setPhoneState(int state) argument 153 if (state < 0 || state >= AudioSystem::NUM_MODES) { 160 AudioSystem::setMode(state); 163 mpPolicyManager->setPhoneState(state); 109 setDeviceConnectionState(AudioSystem::audio_devices device, AudioSystem::device_connection_state state, const char *device_address) argument
|
H A D | AudioFlinger.h | 107 virtual status_t setMicMute(bool state); 506 // FILLED state is used for suppressing volume ramp at begin of playing 915 // state changes or resource modifications. Always respect the following order 922 // to all client applications using this effect and notifies applications of effect state, 923 // control or parameter changes. It manages the activation state machine to send appropriate 958 uint32_t state() { function in class:android::AudioFlinger::EffectModule 1019 uint32_t mState; // current activation state (effect_state) 1028 // ownership and state and has a pointer to the EffectModule object it is controlling.
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | DataConnectionTracker.java | 40 * IDLE: ready to start data connection setup, default state 41 * INITING: state of issued setupDefaultPDP() but not finish yet 42 * CONNECTING: state of issued startPppd() but not finish yet 170 protected State state = State.IDLE; field in class:DataConnectionTracker 206 return state; 210 switch (state) { 345 * Report the current state of data connectivity (enabled or disabled) 448 + isApnTypeActive(type) + " and state = " + state); 461 if (state [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCode.java | 119 State state = State.PENDING; field in class:GsmMmiCode 219 ret.state = State.PENDING; 221 ret.state = State.COMPLETE; 231 ret.state = State.PENDING; 391 return state; 403 if (state == State.COMPLETE || state == State.FAILED) { 407 state = State.CANCELLED; 742 state = State.FAILED; 749 state [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
H A D | SipPhone.java | 164 throw new CallStateException("cannot dial in current state"); 171 throw new CallStateException("cannot dial in current state"); 201 throw new CallStateException("wrong state to merge calls: fg=" 293 // state with AudioManager instead of keeping a state here so the 294 // method with a state argument is redundant. Also rename the method 364 state = that.state; 407 if (state.isAlive()) { 462 if (state 771 setState(Call.State state) argument [all...] |
H A D | SipPhoneBase.java | 53 private State state = State.IDLE; field in class:SipPhoneBase 118 return state; 154 * Notify any interested party of a Phone state change {@link Phone.State} 161 * Notify registrants of a change in the call state. This notifies changes in {@link Call.State} 162 * Use this when changes in the precise call state are needed, else use notifyPhoneStateChanged. 423 State oldState = state; 426 state = State.RINGING; 429 state = State.IDLE; 431 state = State.OFFHOOK; 434 if (state ! [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 174 int state = TICK_START; local 179 if (state == TICK_START || 180 (state == TICK_OUTSIDE_1 && multipleAllowed)) { 187 state = TICK_INSIDE_1; 188 } else if (state == TICK_OUTSIDE_1) { 194 if (state == TICK_INSIDE_1) { 199 state = TICK_OUTSIDE_1; 223 int state = TICK_START; local 228 if (state == TICK_START || 229 (state [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1609 public void activityPaused(IBinder token, Bundle state) throws RemoteException argument 1615 data.writeBundle(state);
|
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 38 * scan code ({@link #getScanCode()}) and meta state ({@link #getMetaState()}). 42 * Meta states describe the pressed state of key modifiers 934 * <p>Returns the state of the meta keys.</p> 974 * <p>Returns the pressed state of the ALT meta key.</p> 987 * <p>Returns the pressed state of the SHIFT meta key.</p> 1000 * <p>Returns the pressed state of the SYM meta key.</p> 1244 * @param state State information retained across events. 1249 public final boolean dispatch(Callback receiver, DispatcherState state, argument 1254 if (DEBUG) Log.v(TAG, "Key down to " + target + " in " + state 1257 if (state ! [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 30 * Manages settings state for a WebView. When a WebView is first created, it 124 * The plugin state effects how plugins are treated on a page. ON means 1063 * @param state One of the PluginState values. 1065 public synchronized void setPluginState(PluginState state) { argument 1066 if (mPluginState != state) { 1067 mPluginState = state; 1242 * Return the current plugin state.
|
/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 507 // cleanup the state of our footers and headers 3461 * List allows up to one item to be in a chosen state. By setting the choiceMode to 3519 * Sets the checked state of the specified position. The is only valid if 3523 * @param position The item whose checked state is to be checked 3524 * @param value The new checked state for the item 3569 * Returns the checked state of the specified position. The result is only 3573 * @param position The item whose checked state to return 3574 * @return The item's checked state or <code>false</code> if choice mode 3762 public void onRestoreInstanceState(Parcelable state) { argument 3763 SavedState ss = (SavedState) state; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | EditStyledText.java | 87 * The state of selection. 89 /** The state that selection isn't started. */ 91 /** The state that selection is started. */ 93 /** The state that selection is done, but not fixed. */ 95 /** The state that selection is done and not fixed. */ 119 public void notifyStateChanged(int mode, int state); argument 424 * Get the state of the selection. 426 * @return The state of the selection. 446 * Get the state of the selection. 448 * @return The state o 564 notifyStateChanged(int mode, int state) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 424 * Native state for interacting with the NativeActivity class. 765 jbyte* state = (jbyte*)code->callbacks.onSaveInstanceState(code, &len); local 769 env->SetByteArrayRegion(array, 0, len, state); 772 if (state != NULL) { 773 free(state);
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1021 status_t MediaPlayerService::Client::isPlaying(bool* state) argument 1023 *state = false; 1026 *state = p->isPlaying(); 1027 LOGV("[%d] isPlaying: %d", mConnId, *state);
|
/frameworks/base/media/libstagefright/ |
H A D | AwesomePlayer.cpp | 1776 SuspensionState *state = mSuspensionState; local 1779 mSuspensionState = state; 1799 SuspensionState *state = new SuspensionState; local 1800 state->mUri = mUri; 1801 state->mUriHeaders = mUriHeaders; 1802 state->mFileSource = mFileSource; 1804 state->mFlags = mFlags & (PLAYING | AUTO_LOOPING | LOOPING | AT_EOS); 1805 getPosition(&state->mPositionUs); 1815 state->mLastVideoFrameSize = size; 1816 state 1851 SuspensionState *state = mSuspensionState; local [all...] |
H A D | OMXCodec.cpp | 1565 bool OMXCodec::isIntermediateState(State state) { argument 1566 return state == LOADED_TO_IDLE 1567 || state == IDLE_TO_EXECUTING 1568 || state == EXECUTING_TO_IDLE 1569 || state == IDLE_TO_LOADED 1570 || state == RECONFIGURING; 2148 // releases the lock and ::init can notice the state change and 2587 // unblock the reader if we enter ERROR state.
|
/frameworks/base/opengl/libs/EGL/ |
H A D | egl.cpp | 176 state(NOT_INITIALIZED), numConfigs(0) { } 179 EGLint state; member in struct:android::egl_display_t::DisplayImpl 701 dp->disp[i].state = egl_display_t::INITIALIZED; 796 if (cnx->dso && dp->disp[i].state == egl_display_t::INITIALIZED) { 806 dp->disp[i].state = egl_display_t::TERMINATED;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarService.java | 213 // Set up the initial icon state 224 // Set up the initial notification state 622 public void disable(int state) { argument 624 final int diff = state ^ old; 625 mDisabled = state; 628 if ((state & StatusBarManager.DISABLE_EXPAND) != 0) { 634 if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) { 648 if (mTicking && (state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) { 792 if (SPEW) Slog.d(TAG, "Animation completed to expanded state."); 798 if (SPEW) Slog.d(TAG, "Animation completed to collapsed state [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 88 * Internal vold volume state constants 174 * Mounted OBB tracking information. Used to track the current state of all 446 String state = getVolumeState(path); 448 if (state.equals(Environment.MEDIA_UNMOUNTED)) { 453 } else if (state.equals(Environment.MEDIA_SHARED)) { 455 * Bootstrap UMS enabled state since vold indicates 509 private void updatePublicVolumeState(String path, String state) { argument 515 if (mLegacyState.equals(state)) { 516 Slog.w(TAG, String.format("Duplicate state transition (%s -> %s)", mLegacyState, state)); [all...] |