Searched refs:state (Results 51 - 75 of 527) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp311 CodecState *state = local
315 state->mNumFramesWritten = 0;
316 state->mCodec = MediaCodec::CreateByType(
319 CHECK(state->mCodec != NULL);
321 err = state->mCodec->configure(
332 state->mCSD.push_back(buffer);
339 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
341 status_t err = state->mCodec->start();
344 err = state->mCodec->getInputBuffers(&state
400 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
419 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
474 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local
515 CodecState *state = &mStateByTrackIndex.editValueAt(i); local
567 onOutputFormatChanged( size_t trackIndex, CodecState *state) argument
598 renderAudio( CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dgain_q.cpp135 Allocates state memory and initializes state memory
174 Word16 gainQuant_init(gainQuantState **state) argument
178 if (state == (gainQuantState **) NULL)
183 *state = NULL;
188 /* fprintf(stderr, "gainQuant_init: can not malloc state structure\n"); */
206 *state = s;
236 Initializes state memory to zero
274 Word16 gainQuant_reset(gainQuantState *state) argument
277 if (state
361 gainQuant_exit(gainQuantState **state) argument
[all...]
H A Dton_stab.cpp104 state = pointer to pointer to structure type tonStabState.
122 Purpose: Allocates state memory and initializes state memory
137 int ton_stab_init (tonStabState **state)
141 if (state == (tonStabState **) NULL){
145 *state = NULL;
149 // fprintf(stderr, "ton_stab_init: can not malloc state structure\n");
155 *state = s;
184 Word16 ton_stab_init(tonStabState **state) argument
188 if (state
381 ton_stab_exit(tonStabState **state) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedGsmCallState.java46 State state; field in class:CallInfo
51 CallInfo (boolean isMT, State state, boolean isMpty, String number) { argument
53 this.state = state;
79 + state.value() + ",0," + (isMpty ? "1" : "0")
93 ret.state = DriverCall.stateFromCLCC(state.value());
110 return state == State.ACTIVE || state == State.HOLDING;
115 return state
[all...]
/frameworks/rs/
H A DrsType.h54 State state; member in struct:android::renderscript::Type::Hal
66 uint32_t getDimX() const {return mHal.state.dimX;}
67 uint32_t getDimY() const {return mHal.state.dimY;}
68 uint32_t getDimZ() const {return mHal.state.dimZ;}
70 bool getDimFaces() const {return mHal.state.faces;}
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
81 rsAssert(lod < mHal.state
[all...]
H A DrsSampler.cpp37 mHal.state.magFilter = magFilter;
38 mHal.state.minFilter = minFilter;
39 mHal.state.wrapS = wrapS;
40 mHal.state.wrapT = wrapT;
41 mHal.state.wrapR = wrapR;
42 mHal.state.aniso = aniso;
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsType.h54 State state; member in struct:android::renderscript::Type::Hal
66 uint32_t getDimX() const {return mHal.state.dimX;}
67 uint32_t getDimY() const {return mHal.state.dimY;}
68 uint32_t getDimZ() const {return mHal.state.dimZ;}
70 bool getDimFaces() const {return mHal.state.faces;}
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
81 rsAssert(lod < mHal.state
[all...]
H A DrsSampler.cpp37 mHal.state.magFilter = magFilter;
38 mHal.state.minFilter = minFilter;
39 mHal.state.wrapS = wrapS;
40 mHal.state.wrapT = wrapT;
41 mHal.state.wrapR = wrapR;
42 mHal.state.aniso = aniso;
89 if (existing->mHal.state.magFilter != magFilter) continue;
90 if (existing->mHal.state.minFilter != minFilter ) continue;
91 if (existing->mHal.state.wrapS != wrapS) continue;
92 if (existing->mHal.state
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h47 } state; member in struct:Allocation::__anon1205
86 } state; member in struct:ProgramStore::__anon1207
113 } state; member in struct:ProgramRaster::__anon1209
144 } state; member in struct:Sampler::__anon1211
182 } state; member in struct:Element::__anon1213
218 } state; member in struct:Type::__anon1215
252 } state; member in struct:Mesh::__anon1217
H A Drs_sampler.c14 return prog->mHal.state.minFilter;
23 return prog->mHal.state.magFilter;
32 return prog->mHal.state.wrapS;
41 return prog->mHal.state.wrapT;
50 return prog->mHal.state.aniso;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOperatorInfo.java37 private State state = State.UNKNOWN; field in class:OperatorInfo
57 return state;
63 State state) {
69 this.state = state;
82 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
95 "RIL impl error: Invalid network state '" + s + "'");
104 + "/" + state;
127 dest.writeSerializable(state);
141 (State) in.readSerializable()); /*state*/
60 OperatorInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument
[all...]
H A DIccCardStatus.java68 public void setCardState(int state) { argument
69 switch(state) {
80 throw new RuntimeException("Unrecognized RIL_CardState: " + state);
84 public void setUniversalPinState(int state) { argument
85 switch(state) {
105 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java74 // Linked list of key state objects.
77 // Current state of the trackball.
140 * Resets the state of the input event consistency verifier.
153 final KeyState state = mKeyStateList;
154 mKeyStateList = state.next;
155 state.recycle();
207 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false);
208 if (state != null) {
213 if (state.unhandled) {
214 state
[all...]
/frameworks/base/core/java/android/util/
H A DBase64.java82 * this object. Will finalize the coder state and
233 * State 6 is the error state; an error has been detected
236 private int state; // state number (0 to 6) field in class:Base64.Decoder
245 state = 0;
260 * @return true if the state machine is still healthy. false if
264 if (this.state == 6) return false;
274 int state = this.state;
295 if (state
[all...]
H A DStateSet.java23 * represents the state of a {@link android.view.View} (e.g. focused,
27 * A state spec is an array of signed ints where each element
29 * {@link android.view.View} state.
31 * Utils dealing with state sets.
33 * In theory we could encapsulate the state set and state spec arrays
47 * @param stateSetOrSpec a state set or state spec.
82 final int state = stateSet[j];
83 if (state
120 stateSetMatches(int[] stateSpec, int state) argument
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DPersistentDataStore.java48 * Manages persistent state recorded by the input manager service as an XML file.
53 * &lt;input-mananger-state>
57 * &gt;/input-manager-state>
63 // Input device state by descriptor.
75 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"));
86 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false);
87 return state != null ? state.getCurrentKeyboardLayout() : null;
92 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true);
93 if (state
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGeofenceState.java25 * Represents state associated with a geofence
41 int mState; // current state
97 String state;
100 state = "IN";
103 state = "OUT";
106 state = "?";
108 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state);
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DTextGraphReader.java199 int state = STATE_COMMAND;
210 switch (state) {
214 state = STATE_IMPORT_PKG;
216 state = STATE_ADD_LIBRARY;
218 state = STATE_FILTER_CLASS;
220 state = STATE_SOURCE_FILTERNAME;
222 state = STATE_ASSIGNMENT;
224 state = STATE_EXTERNAL;
226 state = STATE_SETTING;
236 state
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java431 ParserState state = new ParserState();
432 state.index = 0;
441 current = parseLine(line, state, current);
466 private static Component parseLine(String line, ParserState state, argument
469 state.line = line;
470 int len = state.line.length();
474 for (state.index = 0; state.index < len; ++state.index) {
475 c = line.charAt(state
525 extractValue(ParserState state) argument
541 extractParameter(ParserState state) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dpreemph.cpp118 Initializes state memory to zero
156 Word16 preemphasis_reset(preemphasisState *state) argument
158 if (state == (preemphasisState *) NULL)
164 state->mem_pre = 0;
176 st -- Pointer to preemphasisState -- preemphasis filter state
182 st -- Pointer to preemphasisState -- preemphasis filter state
237 preemphasisState *st, /* (i/o) : preemphasis filter state */
/frameworks/base/libs/storage/
H A DIObbActionListener.cpp33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument
48 int32_t state = data.readInt32(); local
49 onObbResult(filename, nonce, state);
/frameworks/rs/driver/
H A DrsdProgramStore.cpp49 switch (ps->mHal.state.depthFunc) {
80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) &&
81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) {
85 switch (ps->mHal.state.blendSrc) {
118 switch (ps->mHal.state.blendDst) {
159 RSD_CALL_GL(glColorMask, ps->mHal.state.colorRWriteEnable,
160 ps->mHal.state.colorGWriteEnable,
161 ps->mHal.state.colorBWriteEnable,
162 ps->mHal.state.colorAWriteEnable);
172 RSD_CALL_GL(glDepthMask, ps->mHal.state
[all...]
/frameworks/base/core/java/android/os/
H A DConditionVariable.java37 * Create the ConditionVariable in the default closed state.
45 * Create the ConditionVariable with the given state.
50 public ConditionVariable(boolean state) argument
52 mCondition = state;
74 * Reset the condition to the closed state.
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodClient.aidl23 * itself and receive information about changes to the global manager state.
26 void setUsingInputMethod(boolean state);
/frameworks/base/services/jni/
H A Dcom_android_server_LightsService.cpp110 light_state_t state; local
116 memset(&state, 0, sizeof(light_state_t));
117 state.color = colorARGB;
118 state.flashMode = flashMode;
119 state.flashOnMS = onMS;
120 state.flashOffMS = offMS;
121 state.brightnessMode = brightnessMode;
125 devices->lights[light]->set_light(devices->lights[light], &state);

Completed in 547 milliseconds

1234567891011>>