Searched defs:state (Results 51 - 75 of 340) sorted by path

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dphase_dispersion.cpp160 int16 i, j, state; local
173 state = 0;
177 state = 1;
181 state = 2;
193 if (state < 2)
195 state++;
211 state = 0;
213 if (state > *prev_state + 1)
215 state--;
220 *prev_state = state;
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dwb_vad.c622 * Purpose: Allocates state memory and initializes state memory
627 VadVars ** state, /* i/o : State structure */
633 if (state == (VadVars **) NULL)
638 *state = NULL;
643 fprintf(stderr, "vad_init: can not malloc state structure\n");
648 *state = s;
656 * Purpose: Initializes state memory
661 VadVars * state /* i/o : State structure */
666 if (state
626 wb_vad_init( VadVars ** state, VO_MEM_OPERATOR *pMemOP ) argument
715 wb_vad_exit( VadVars ** state, VO_MEM_OPERATOR *pMemOP ) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp66 ALOGW("Warning message %s unhandled in root state.",
70 void AHierarchicalStateMachine::changeState(const sp<AState> &state) { argument
71 if (state == mState) {
87 cur = state;
102 mState = state;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp881 } state; local
884 state = SKIP_TO_VISUAL_OBJECT_SEQ_START;
886 state = SKIP_TO_VOP_START;
899 switch (state) {
905 state = EXPECT_VISUAL_OBJECT_START;
915 state = EXPECT_VO_START;
922 state = EXPECT_VOL_START;
934 state = WAIT_FOR_VOP_START;
964 state = SKIP_TO_VOP_START;
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp314 node_id node, OMX_STATETYPE* state) {
316 state);
313 getState( node_id node, OMX_STATETYPE* state) argument
H A DOMXNodeInstance.cpp129 // Transition the node from its current state all the way down
140 OMX_STATETYPE state; local
141 CHECK_EQ(OMX_GetState(mHandle, &state), OMX_ErrorNone);
142 switch (state) {
149 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
150 && state != OMX_StateIdle
151 && state != OMX_StateInvalid) {
153 ALOGE("component failed to enter Idle state, aborting.");
154 state = OMX_StateInvalid;
162 if (state
269 getState(OMX_STATETYPE* state) argument
[all...]
H A DSoftOMXComponent.cpp249 OMX_STATETYPE *state) {
254 return me->getState(state);
322 OMX_ERRORTYPE SoftOMXComponent::getState(OMX_STATETYPE *state) { argument
247 GetStateWrapper( OMX_HANDLETYPE component, OMX_STATETYPE *state) argument
/frameworks/av/media/libstagefright/wifi-display/
H A DANetworkSession.cpp65 State state,
129 State state,
133 mState(state),
837 Session::State state; local
840 state = Session::CONNECTING;
844 state = Session::CONNECTING;
848 state = Session::LISTENING_TCP_DGRAMS;
852 state = Session::LISTENING_RTSP;
857 state = Session::DATAGRAM;
863 state,
127 Session( int32_t sessionID, State state, int s, const sp<AMessage> &notify) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp161 static uint32_t gScreenState; // incremented by 2 when screen state changes, bit 0 == 1 means "off"
385 // get state of hardware lock
675 status_t AudioFlinger::setMicMute(bool state) argument
690 ret = dev->set_mic_mute(dev, state);
702 bool state = AUDIO_MODE_INVALID; local
706 dev->get_mic_mute(dev, &state);
708 return state;
2335 FastMixerState *state = sq->begin(); local
2336 FastTrack *fastTrack = &state->mFastTracks[0];
2341 state
2401 FastMixerState *state = sq->begin(); local
2733 FastMixerState *state = sq->begin(); local
2810 FastMixerState *state = sq->begin(); local
2930 FastMixerState *state = NULL; local
3457 FastMixerState *state = sq->begin(); local
3573 FastMixerState *state = sq->begin(); local
4423 track_state state = mState; local
4583 track_state state = mState; local
4625 track_state state = mState; local
[all...]
H A DAudioMixer.cpp625 void AudioMixer::process__validate(state_t* state, int64_t pts) argument
627 ALOGW_IF(!state->needsChanged,
630 uint32_t changed = state->needsChanged;
631 state->needsChanged = 0; // clear the validation flag
640 track_t& t = state->tracks[i];
643 state->enabledTracks &= ~disabled;
644 state->enabledTracks |= enabled;
651 uint32_t en = state->enabledTracks;
657 track_t& t = state->tracks[i];
700 state
1047 process__nop(state_t* state, int64_t pts) argument
1089 process__genericNoResampling(state_t* state, int64_t pts) argument
1186 process__genericResampling(state_t* state, int64_t pts) argument
1255 process__OneTrack16BitsStereoNoResampling(state_t* state, int64_t pts) argument
[all...]
H A DAudioPolicyService.cpp131 audio_policy_dev_state_t state,
143 if (state != AUDIO_POLICY_DEVICE_STATE_AVAILABLE &&
144 state != AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE) {
151 state, device_address);
165 status_t AudioPolicyService::setPhoneState(audio_mode_t state) argument
173 if (uint32_t(state) >= AUDIO_MODE_CNT) {
180 AudioSystem::setMode(state);
183 mpAudioPolicy->set_phone_state(mpAudioPolicy, state);
130 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
H A DAudioResamplerCubic.h44 } state; typedef in class:android::AudioResamplerCubic
50 static inline int32_t interp(state* p, int32_t x) {
53 static inline void advance(state* p, int16_t in) {
62 state left, right;
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp63 l.mParameters.state = Parameters::DISCONNECTED;
158 result.append(Parameters::getStateName(p.state));
270 result.append(" Focus state: ");
387 if (l.mParameters.state == Parameters::DISCONNECTED) return;
388 l.mParameters.state = Parameters::DISCONNECTED;
470 if (l.mParameters.state == Parameters::RECORD ||
471 l.mParameters.state == Parameters::VIDEO_SNAPSHOT) {
532 Parameters::State state; local
535 state = l.mParameters.state;
742 Parameters::State state; local
[all...]
H A DCamera2Device.cpp1217 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1246 int state = stream->mState; local
1247 if (state != ACTIVE) {
1248 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, state);
1281 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1301 int state = static_cast<const StreamAdapter*>(w)->mState; local
1302 if (state != ACTIVE) {
1303 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, state);
1485 int state = stream->mState; local
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp773 // Set up initial state for non-Camera.Parameters state variables
800 state = STOPPED;
1001 if (state >= PREVIEW) {
1068 if (state >= PREVIEW) {
1539 if (state == RECORD) {
1816 const char* Parameters::getStateName(State state) { argument
1818 switch(state) {
1827 return "Unknown state!";
H A DParameters.h35 * Current camera state; this is the full state of the Camera under the old
37 * format, plus other state). The enum values are mostly based off the
43 * Parameters and other state
91 uint8_t focusState; // Latest focus state from HAL
131 // These parameters are also part of the camera API-visible state, but not
149 // Overall camera state
158 } state; member in struct:android::camera2::Parameters
250 static const char *getStateName(State state);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java990 int waitControllerLocked(int pid, int state) { argument
1047 mState = state;
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java138 private void runSetEnabled(boolean state) { argument
147 boolean res = mImm.setInputMethodEnabled(id, state);
148 if (state) {
/frameworks/base/cmds/ip-up-vpn/
H A Dip-up-vpn.c68 FILE *state = fopen(DIR ".tmp", "wb"); local
69 if (!state) {
70 ALOGE("Cannot create state: %s", strerror(errno));
76 fprintf(state, "%s\n", argv[1]);
77 fprintf(state, "%s/32\n", argv[4]);
78 fprintf(state, "0.0.0.0/0\n");
79 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2"));
80 fprintf(state, "\n");
137 fprintf(state, "%s\n", interface);
138 fprintf(state, "
[all...]
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java1180 private static String enabledSettingToString(int state) { argument
1181 switch (state) {
1203 private void runSetEnabledSetting(int state) { argument
1226 mPm.setApplicationEnabledSetting(pkg, state, 0, userId);
1227 System.err.println("Package " + pkg + " new state: "
1236 mPm.setComponentEnabledSetting(cn, state, 0, userId);
1237 System.err.println("Component " + cn.toShortString() + " new state: "
1526 System.err.println("pm enable, disable, disable-user: these commands change the enabled state");
/frameworks/base/core/java/android/app/
H A DActivity.java167 * maintains all state and member information and remains attached to
171 * it is <em>stopped</em>. It still retains all state and member information,
178 * completely restarted and restored to its previous state.</li>
181 * <p>The following diagram shows the important state paths of an Activity.
196 * of "global" state in onCreate(), and release all remaining resources in
225 * to do appropriate work when the activity changes state. All
270 * frozen state, if there was one.
352 * in such a background state, allowing you to save away any dynamic instance
353 * state in your activity into the given Bundle, to be later received in
365 * is not in the killable state unti
975 createDialog(Integer dialogId, Bundle state, Bundle args) argument
[all...]
H A DActivityManagerNative.java2230 public void activityStopped(IBinder token, Bundle state, argument
2237 data.writeBundle(state);
H A DActivityThread.java268 Bundle state; field in class:ActivityThread.ActivityClientRecord
597 Bundle state, List<ResultInfo> pendingResults,
607 r.state = state;
2000 Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state,
2006 r.state = state;
2101 if (r.state != null) {
2102 r.state.setClassLoader(cl);
2144 mInstrumentation.callActivityOnCreate(activity, r.state);
595 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
1999 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument
3044 Bundle state; field in class:ActivityThread.StopInfo
[all...]
H A DApplicationThreadNative.java137 Bundle state = data.readBundle();
146 scheduleLaunchActivity(intent, b, ident, info, curConfig, compatInfo, state, ri, pi,
683 Bundle state, List<ResultInfo> pendingResults,
695 data.writeBundle(state);
681 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
H A DExpandableListActivity.java205 protected void onRestoreInstanceState(Bundle state) { argument
207 super.onRestoreInstanceState(state);
211 * Updates the screen state (current list and other views) when the

Completed in 3243 milliseconds

1234567891011>>