Searched refs:state (Results 251 - 275 of 527) sorted by relevance

<<11121314151617181920>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java169 throw new CallStateException("cannot dial in current state");
176 throw new CallStateException("cannot dial in current state");
206 throw new CallStateException("wrong state to merge calls: fg="
298 // state with AudioManager instead of keeping a state here so the
299 // method with a state argument is redundant. Also rename the method
369 state = that.state;
412 if (state.isAlive()) {
467 if (state
776 setState(Call.State state) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp326 OMX_ERRORTYPE SimpleSoftOMXComponent::getState(OMX_STATETYPE *state) {
329 *state = mState;
420 void SimpleSoftOMXComponent::onChangeState(OMX_STATETYPE state) {
421 // We shouldn't be in a state transition already.
426 CHECK_EQ((int)state, (int)OMX_StateIdle);
429 CHECK(state == OMX_StateLoaded || state == OMX_StateExecuting);
433 CHECK_EQ((int)state, (int)OMX_StateIdle);
440 notify(OMX_EventCmdComplete, OMX_CommandStateSet, state, NULL);
448 mTargetState = state;
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DCaptureSequencer.cpp141 result = String8::format(" Current capture state: %s\n",
202 ALOGV("Camera %d: New capture state %s",
246 switch (l.mParameters.state) {
253 l.mParameters.state = Parameters::STOPPED;
256 l.mParameters.state = Parameters::RECORD;
260 "in state %s!",
262 Parameters::getStateName(l.mParameters.state));
302 l.mParameters.state == Parameters::STILL_CAPTURE) {
306 l.mParameters.state == Parameters::STILL_CAPTURE &&
399 // Waiting to see PRECAPTURE state
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java143 * called before the state of the Preference is about to be updated and
144 * before the state is persisted.
148 * @return True to update the state of the Preference with the new value.
550 * Makes sure the view (and any children) get the enabled state changed.
723 // Enabled state can change dependent preferences' states, so notify
766 * clickable 2) should not have the view set to the disabled state.
799 * update the preference's state with the new value.
888 * internal state is set. This allows the client to ignore the user value.
900 * user (but before the internal state has been updated).
910 * user (but before the internal state ha
1776 onRestoreInstanceState(Parcelable state) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioService.java93 * will update our internal state, but in a separate thread will set the system
95 * will update the state and broadcast a change and in a separate thread later
364 // SCO audio state is not active
368 // SCO audio state is active or starting due to a local request to start a virtual call
373 // SCO audio state is active due to an action in BT handsfree (either voice recognition or
380 // Current connection state indicated by bluetooth headset
492 // state on streams affected by ringer mode.
528 // Register for phone state monitoring
1107 * Sets the stream state's index, and posts a message to set system volume.
1154 public void setStreamSolo(int streamType, boolean state, IBinde argument
1163 setStreamMute(int streamType, boolean state, IBinder cb) argument
1175 setMasterMute(boolean state, int flags, IBinder cb) argument
1994 requestScoState(int state) argument
2143 broadcastScoConnectionState(int state) argument
2575 setWiredDeviceConnectionState(int device, int state, String name) argument
2587 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument
2901 mute(IBinder cb, boolean state) argument
2933 mute(boolean state) argument
3028 getDeathHandler(IBinder cb, boolean state) argument
3528 onSetA2dpConnectionState(BluetoothDevice btDevice, int state) argument
3618 checkSendBecomingNoisyIntent(int device, int state) argument
3646 sendDeviceConnectionIntent(int device, int state, String name) argument
3699 onSetWiredDeviceConnectionState(int device, int state, String name) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java25 * Contains phone state and service related information.
30 * <li>Service state: IN_SERVICE, OUT_OF_SERVICE, EMERGENCY_ONLY, POWER_OFF
170 * @param s Source service state
249 * Get current service state of phone
487 private void setNullState(int state) { argument
488 mState = state;
513 public void setState(int state) { argument
514 mState = state;
595 mState = m.getInt("state");
611 * Set intent notifier Bundle based on service state
634 setRadioTechnology(int state) argument
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java62 * UsbDeviceManager manages USB state in device mode.
76 "/sys/class/android_usb/android0/state";
132 * Listens for uevent messages from the kernel to monitor the USB state
139 String state = event.get("USB_STATE");
141 if (state != null) {
142 mHandler.updateState(state);
201 // make sure the ADB_ENABLED setting value matches the current state
300 // current USB state
345 String state = FileUtils.readTextFile(new File(STATE_PATH), 0, null).trim();
346 updateState(state);
401 updateState(String state) argument
425 waitForState(String state) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java561 NetworkState[] state = null;
573 state = new NetworkState[] { buildWifi() };
574 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
587 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
637 NetworkState[] state = null;
649 state = new NetworkState[] {};
655 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
673 state = new NetworkState[] { buildWifi() };
679 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
744 expect(mConnManager.getAllNetworkState()).andReturn(state)
[all...]
/frameworks/av/media/libstagefright/include/
H A DSoftOMXComponent.h96 virtual OMX_ERRORTYPE getState(OMX_STATETYPE *state);
166 OMX_STATETYPE *state);
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp31 memset(&left, 0, sizeof(state));
32 memset(&right, 0, sizeof(state));
106 // advance sample state
172 // advance sample state
/frameworks/base/core/java/android/bluetooth/
H A DIBluetooth.aidl74 void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DTestedScreen.java63 protected void onRestoreInstanceState(Bundle state) { argument
64 super.onRestoreInstanceState(state);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java72 * constant state.
75 * @param state The constant drawable state.
77 LayerDrawable(Drawable[] layers, LayerState state) { argument
78 this(state, null);
98 LayerDrawable(LayerState state, Resources res) { argument
99 LayerState as = createConstantState(state, res);
106 LayerState createConstantState(LayerState state, Resources res) { argument
107 return new LayerState(state, this, res);
445 protected boolean onStateChange(int[] state) { argument
[all...]
H A DLevelListDrawable.java69 // in case the new state matches our current state...
212 private LevelListDrawable(LevelListState state, Resources res) { argument
213 LevelListState as = new LevelListState(state, this, res);
H A DMipmapDrawable.java306 private MipmapDrawable(MipmapContainerState state, Resources res) { argument
307 MipmapContainerState as = new MipmapContainerState(state, this, res);
/frameworks/base/libs/hwui/font/
H A DFont.h65 * Creates a new font associated with the specified font state.
67 static Font* create(FontRenderer* state, uint32_t fontId, float fontSize,
91 Font(FontRenderer* state, uint32_t fontId, float fontSize, int flags, uint32_t italicStyle,
/frameworks/base/services/common_time/
H A Dcommon_clock_service.cpp85 status_t CommonClockService::getState(State* state) { argument
86 *state = mTimeServer.getState();
H A Dcommon_clock_service.h45 virtual status_t getState(ICommonClock::State* state);
/frameworks/native/opengl/libagl/
H A DAndroid.mk11 state.cpp \
/frameworks/native/opengl/libs/EGL/
H A Degl_display.h114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { }
116 EGLint state; member in struct:android::egl_display_t::DisplayImpl
151 // EGLDisplay is entering or leaving a long-term idle state.
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_Thread.h106 M4OSA_ThreadState* state );
/frameworks/native/include/gui/
H A DISurfaceComposer.h81 virtual void setTransactionState(const Vector<ComposerState>& state,
/frameworks/native/include/private/gui/
H A DLayerState.h93 layer_state_t state; member in struct:android::ComposerState
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerAdapter.java233 * Save any instance state associated with this adapter and its pages that should be
234 * restored if the current UI state needs to be reconstructed.
236 * @return Saved state for this adapter
243 * Restore any instance state associated with this adapter and its pages
246 * @param state State previously saved by a call to {@link #saveState()}
249 public void restoreState(Parcelable state, ClassLoader loader) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java105 // state of inet connection - 0 not connected, 100 connected
108 // sync state
182 // Sync state
263 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
264 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON;
266 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE,
268 if (state == BluetoothAdapter.STATE_CONNECTED) {

Completed in 1153 milliseconds

<<11121314151617181920>>