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

<<11121314151617181920>>

/frameworks/wilhelm/tests/examples/
H A DslesTestSawtoothBufferQueue.cpp124 SLBufferQueueState state; local
254 res = (*bufferQueueItf)->GetState(bufferQueueItf, &state);
257 // while (state.playIndex < 100) {
258 while (state.count) {
260 (*bufferQueueItf)->GetState(bufferQueueItf, &state);
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java169 changeListener.onObbStateChange(ev.path, ev.state);
184 void sendObbStateChanged(String path, int state) { argument
185 ObbStateChangedStorageEvent e = new ObbStateChangedStorageEvent(path, state);
196 public final int state; field in class:StorageManager.ObbStateChangedStorageEvent
198 public ObbStateChangedStorageEvent(String path, int state) { argument
201 this.state = state;
240 * Message sent on volume state change.
418 Log.e(TAG, "Failed to get UMS connection state", ex);
433 Log.e(TAG, "Failed to get UMS enable state", re
[all...]
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java97 * Gets the current twilight state.
99 * @return The current twilight state, or null if no information is available.
123 private void setTwilightState(TwilightState state) { argument
125 if (!Objects.equal(mTwilightState, state)) {
127 Slog.d(TAG, "Twilight state changed: " + state);
130 mTwilightState = state;
258 * Listener for changes in twilight state.
490 // set twilight state
491 TwilightState state
[all...]
/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 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;
H A DRootsFragment.java104 final State state = ((DocumentsActivity) context).getDisplayState();
109 return new RootsLoader(context, roots, state);
138 final State state = ((DocumentsActivity) context).getDisplayState();
139 state.showAdvanced = state.forceAdvanced
142 if (state.action == ACTION_GET_CONTENT) {
/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.java108 * will update our internal state, but in a separate thread will set the system
110 * will update the state and broadcast a change and in a separate thread later
360 // SCO audio state is not active
364 // SCO audio state is active or starting due to a request from AudioManager API
369 // SCO audio state is active due to an action in BT handsfree (either voice recognition or
384 // Current connection state indicated by bluetooth headset
532 // state on streams affected by ringer mode.
1209 * Sets the stream state's index, and posts a message to set system volume.
1238 public void setStreamSolo(int streamType, boolean state, IBinder cb) { argument
1245 mStreamStates[stream].mute(cb, state);
1250 setStreamMute(int streamType, boolean state, IBinder cb) argument
1266 setMasterMute(boolean state, int flags, IBinder cb) argument
2130 requestScoState(int state, int targetSdkVersion) argument
2294 broadcastScoConnectionState(int state) argument
2299 onBroadcastScoConnectionState(int state) argument
2801 setWiredDeviceConnectionState(int device, int state, String name) argument
2813 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument
3047 mute(IBinder cb, boolean state) argument
3079 mute(boolean state) argument
3155 getDeathHandler(IBinder cb, boolean state) argument
3494 onPersistSafeVolumeState(int state) argument
3795 onSetA2dpConnectionState(BluetoothDevice btDevice, int state) argument
3900 checkSendBecomingNoisyIntent(int device, int state) argument
3928 sendDeviceConnectionIntent(int device, int state, String name) argument
3981 onSetWiredDeviceConnectionState(int device, int state, String name) argument
4289 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
305 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";
141 * Listens for uevent messages from the kernel to monitor the USB state
148 String state = event.get("USB_STATE");
150 if (state != null) {
151 mHandler.updateState(state);
208 // make sure the ADB_ENABLED setting value matches the current state
310 // current USB state
355 String state = FileUtils.readTextFile(new File(STATE_PATH), 0, null).trim();
356 updateState(state);
411 updateState(String state) argument
435 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);

Completed in 1257 milliseconds

<<11121314151617181920>>