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

<<11121314151617181920>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java140 mParent = parentFromDCState (dc.state);
434 // Returns true if state has changed, false if nothing changed
442 newParent = parentFromDCState(dc.state);
478 /** Some state-transition events */
659 PostDialState state = mPostDialState;
662 ar.userObj = state;
684 parentFromDCState (DriverCall.State state) { argument
685 switch (state) {
702 throw new RuntimeException("illegal call state: " + state);
[all...]
/frameworks/rs/driver/runtime/
H A Drs_allocation.c27 return alloc->mHal.state.hasMipmaps;
33 return alloc->mHal.state.hasFaces;
44 Type_t *type = (Type_t *)alloc->mHal.state.type;
45 rs_element returnElem = {type->mHal.state.element};
166 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
174 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
183 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
192 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
200 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
209 const uint32_t eSize = alloc->mHal.state
[all...]
/frameworks/base/core/java/android/preference/
H A DVolumePreference.java156 // No need to save instance state since it's persistent
168 protected void onRestoreInstanceState(Parcelable state) { argument
169 if (state == null || !state.getClass().equals(SavedState.class)) {
170 // Didn't save state for us in onSaveInstanceState
171 super.onRestoreInstanceState(state);
175 SavedState myState = (SavedState) state;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java99 private static final String EXTRA_STATE = "state";
642 * Update UI to reflect internal state changes not from user.
649 * Set state sort order based on explicit user action.
657 * Set state mode based on explicit user action.
684 protected void onSaveInstanceState(Bundle state) { argument
685 super.onSaveInstanceState(state);
686 state.putParcelable(EXTRA_STATE, mState);
690 protected void onRestoreInstanceState(Bundle state) { argument
691 super.onRestoreInstanceState(state);
1134 /** Instance state fo
[all...]
H A DRecentsCreateFragment.java100 final State state = ((DocumentsActivity) getActivity()).getDisplayState();
105 return new RecentsCreateLoader(context, roots, state);
114 if (mAdapter.isEmpty() && !state.stackTouched) {
152 public RecentsCreateLoader(Context context, RootsCache roots, State state) { argument
155 mState = state;
/frameworks/base/services/java/com/android/server/am/
H A DBroadcastRecord.java65 int state; field in class:BroadcastRecord
151 if (state != IDLE) {
153 switch (state) {
159 pw.print(prefix); pw.print("state="); pw.print(state); pw.println(stateStr);
202 state = IDLE;
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp50 // Session state
56 // Effect/Preprocessor state
88 uint32_t state; // current state (enum preproc_effect_state) member in struct:preproc_effect_s
101 uint32_t state; // current state (enum preproc_session_state) member in struct:preproc_session_s
636 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to);
638 int Effect_SetState(preproc_effect_t *effect, uint32_t state) argument
641 ALOGV("Effect_SetState proc %d, new %d old %d", effect->procId, state, effect->state);
[all...]
/frameworks/base/media/java/android/media/
H A DAudioService.java104 * will update our internal state, but in a separate thread will set the system
106 * will update the state and broadcast a change and in a separate thread later
354 // SCO audio state is not active
358 // SCO audio state is active or starting due to a request from AudioManager API
363 // SCO audio state is active due to an action in BT handsfree (either voice recognition or
378 // Current connection state indicated by bluetooth headset
526 // state on streams affected by ringer mode.
1203 * Sets the stream state's index, and posts a message to set system volume.
1232 public void setStreamSolo(int streamType, boolean state, IBinder cb) { argument
1239 mStreamStates[stream].mute(cb, state);
1244 setStreamMute(int streamType, boolean state, IBinder cb) argument
1260 setMasterMute(boolean state, int flags, IBinder cb) argument
2124 requestScoState(int state, int targetSdkVersion) argument
2288 broadcastScoConnectionState(int state) argument
2293 onBroadcastScoConnectionState(int state) argument
2795 setWiredDeviceConnectionState(int device, int state, String name) argument
2807 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument
3040 mute(IBinder cb, boolean state) argument
3072 mute(boolean state) argument
3148 getDeathHandler(IBinder cb, boolean state) argument
3480 onPersistSafeVolumeState(int state) argument
3781 onSetA2dpConnectionState(BluetoothDevice btDevice, int state) argument
3883 checkSendBecomingNoisyIntent(int device, int state) argument
3911 sendDeviceConnectionIntent(int device, int state, String name) argument
3964 onSetWiredDeviceConnectionState(int device, int state, String name) argument
4272 setPlaybackStateForRcc(int rccId, int state, long timeMs, float speed) 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...]
H A DOMXNodeInstance.cpp148 // Transition the node from its current state all the way down
159 OMX_STATETYPE state; local
160 CHECK_EQ(OMX_GetState(mHandle, &state), OMX_ErrorNone);
161 switch (state) {
168 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
169 && state != OMX_StateIdle
170 && state != OMX_StateInvalid) {
172 ALOGE("component failed to enter Idle state, aborting.");
173 state = OMX_StateInvalid;
181 if (state
300 getState(OMX_STATETYPE* state) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp144 result = String8::format(" Current capture state: %s\n",
210 ALOGV("Camera %d: New capture state %s",
256 switch (l.mParameters.state) {
269 l.mParameters.state = Parameters::STOPPED;
272 l.mParameters.state = Parameters::RECORD;
276 "in state %s!",
278 Parameters::getStateName(l.mParameters.state));
327 l.mParameters.state == Parameters::STILL_CAPTURE) {
331 l.mParameters.state == Parameters::STILL_CAPTURE &&
438 // Waiting to see PRECAPTURE state
[all...]
/frameworks/base/services/java/com/android/server/print/
H A DRemotePrintSpooler.java105 public final List<PrintJobInfo> getPrintJobInfos(ComponentName componentName, int state, argument
114 componentName, state, appId);
205 public final boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument
213 printJobId, state, error);
215 Slog.e(LOG_TAG, "Error setting print job state.", re);
217 Slog.e(LOG_TAG, "Error setting print job state.", te);
475 ComponentName componentName, int state, int appId)
478 target.getPrintJobInfos(mCallback, componentName, state, appId, sequence);
474 getPrintJobInfos(IPrintSpooler target, ComponentName componentName, int state, int appId) argument
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java64 * UsbDeviceManager manages USB state in device mode.
78 "/sys/class/android_usb/android0/state";
134 * Listens for uevent messages from the kernel to monitor the USB state
141 String state = event.get("USB_STATE");
143 if (state != null) {
144 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.java580 NetworkState[] state = null;
592 state = new NetworkState[] { buildWifi() };
593 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
606 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
656 NetworkState[] state = null;
668 state = new NetworkState[] {};
674 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
692 state = new NetworkState[] { buildWifi() };
698 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce();
763 expect(mConnManager.getAllNetworkState()).andReturn(state)
[all...]
/frameworks/av/include/media/
H A DIAudioPolicyService.h44 audio_policy_dev_state_t state,
48 virtual status_t setPhoneState(audio_mode_t state) = 0;
/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.aidl75 void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl54 void setWindowState(int window, int state);
/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);
475 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);
/frameworks/base/libs/hwui/font/
H A DFont.h90 * Creates a new font associated with the specified font state.
92 static Font* create(FontRenderer* state, const SkPaint* paint, const mat4& matrix);
97 Font(FontRenderer* state, const Font::FontDescription& desc);
/frameworks/base/services/common_time/
H A Dcommon_clock_service.cpp85 status_t CommonClockService::getState(State* state) { argument
86 *state = mTimeServer.getState();
/frameworks/native/opengl/libagl/
H A DAndroid.mk11 state.cpp \

Completed in 1498 milliseconds

<<11121314151617181920>>