Searched refs:state (Results 26 - 50 of 527) sorted by relevance

1234567891011>>

/frameworks/base/services/java/com/android/server/pm/
H A DPackageSettingBase.java37 * Indicates the state of installation. Used by PackageManager to figure out
38 * incomplete installations. Say a package is being installed (the state is
41 * PackageManager will no longer maintain state information associated with
176 PackageUserState state = userState.get(userId);
177 if (state == null) {
178 state = new PackageUserState();
179 userState.put(userId, state);
181 return state;
185 PackageUserState state = userState.get(userId);
186 if (state !
192 setEnabled(int state, int userId) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dec_gains.h120 * Purpose : Resets state memory
124 ec_gain_codeState *state
136 gc_predState *pred_state, /* i/o : MA predictor state */
137 Word16 state, /* i : state of the state machine */
144 * Purpose : update the codebook gain concealment state;
160 * Purpose: Resets state memory
163 ec_gain_pitchState *state
168 * Purpose : The memory used for state memor
[all...]
H A Dph_disp.h129 ; Purpose: Initializes state memory
132 Word16 ph_disp_reset(ph_dispState *state);
137 ; Purpose: The memory used for state memory is freed
140 void ph_disp_exit(ph_dispState **state);
145 ; Purpose: mark phase dispersion as locked in state struct
148 void ph_disp_lock(ph_dispState *state);
153 ; Purpose: mark phase dispersion as unlocked in state struct
157 void ph_disp_release(ph_dispState *state);
169 ph_dispState *state, /* i/o : State struct */
H A Dsp_dec.cpp137 state = pointer to an array of pointers to structures of type
145 to by state is set to NULL
147 by state is set to NULL
149 by state is set to NULL
151 to by state is set to the input no_hp_post_MR122
166 This function allocates memory for filter structure and initializes state
185 int Speech_Decode_Frame_init (Speech_Decode_FrameState **state,
190 if (state == (Speech_Decode_FrameState **) NULL){
194 *state = NULL;
199 fprintf(stderr, "Speech_Decode_Frame_init: can not malloc state "
376 Speech_Decode_FrameState *state = local
487 Speech_Decode_FrameState **state = local
[all...]
H A Dlsp_avg.h118 lsp_avgState *state
H A Dpost_pro.cpp141 state = pointer to a structure of type Post_ProcessState
144 structure pointed to by state will have all its fields initialized
159 This function initializes state memory to zero.
174 int Post_Process_reset (Post_ProcessState *state)
176 if (state == (Post_ProcessState *) NULL){
181 state->y2_hi = 0;
182 state->y2_lo = 0;
183 state->y1_hi = 0;
184 state->y1_lo = 0;
185 state
213 Post_Process_reset(Post_ProcessState *state) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dsp_enc.cpp110 state = pointer to an array of pointers to structures of type
117 by state is set to NULL
119 by state is set to NULL
120 dtx field of the structure pointed to by the pointer pointed to by state
136 This function allocates memory for filter structure and initializes state
168 fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state "
233 /* fprintf(stderr, "Speech_Encode_Frame_init: can not malloc state "
264 state = pointer to structures of type Speech_Decode_FrameState
281 This function resets state memory
299 Speech_Encode_FrameState *state
344 Speech_Encode_FrameState *state = local
453 Speech_Encode_FrameState **state = local
[all...]
H A Dcl_ltp.cpp127 state = Pointer to a pointer to a clLtpState structure
130 state points to the newly created clLtpState structure.
144 Allocates state memory and initializes state memory
159 int cl_ltp_init (clLtpState **state)
163 if (state == (clLtpState **) NULL){
167 *state = NULL;
171 fprintf(stderr, "cl_ltp_init: can not malloc state structure\n");
175 // init the sub state
183 *state
212 cl_ltp_init(clLtpState **state) argument
319 cl_ltp_reset(clLtpState *state) argument
414 cl_ltp_exit(clLtpState **state) argument
[all...]
/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/rs/driver/
H A DrsdFrameBuffer.cpp36 if (fb->mHal.state.depthTarget != NULL) {
37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv;
40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget,
50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) {
52 if (fb->mHal.state.colorTargets[i] != NULL) {
53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv;
56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i],
82 if (fb->mHal.state.colorTargets[0]) {
83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(),
84 fb->mHal.state
[all...]
H A DrsdMeshObj.cpp55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType;
63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx];
77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) {
100 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) {
101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement();
102 uint32_t stride = elem->mHal.state.elementSizeBytes;
103 for (uint32_t fieldI=0; fieldI < elem->mHal.state
[all...]
H A DrsdShader.cpp50 StateBasedKey *state = mStateBasedShaders.itemAt(i); local
51 if (state->mShaderID) {
52 glDeleteShader(state->mShaderID);
54 delete state;
81 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) {
83 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) {
84 Allocation *a = mRSProgram->mHal.state.textures[ct];
85 if (a && a->mHal.state.surfaceTextureID) {
103 StateBasedKey *state = getExistingState(); local
104 if (state !
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnostic.h33 { return m_Engine.state().ID; }
36 { return m_Engine.state().numArgs; }
40 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx];
46 return m_Engine.state().ArgumentStrs[pIdx];
52 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]);
58 return (int)m_Engine.state().ArgumentVals[pIdx];
64 return (unsigned int)m_Engine.state().ArgumentVals[pIdx];
70 return (bool)m_Engine.state().ArgumentVals[pIdx];
76 return m_Engine.state().ArgumentVals[pIdx];
/frameworks/av/libvideoeditor/osal/inc/
H A DLV_Macros.h72 * @note This macro compares a current state with a state value. If they are different,
78 #define CHECK_STATE(fct, stateValue, state) \
80 if((stateValue) != (state)) \
82 M4OSA_TRACE1_1("" #fct " called in bad state %d", state) ; \
/frameworks/base/media/jni/
H A Dandroid_media_AmrInputStream.cpp63 GsmAmrEncoderState *state = (GsmAmrEncoderState *) gae; local
64 int32_t nResult = AMREncodeInit(&state->mEncState, &state->mSidState, false);
79 GsmAmrEncoderState *state = (GsmAmrEncoderState *) gae; local
80 int32_t length = AMREncode(state->mEncState, state->mSidState,
84 (Frame_Type_3GPP*) &state->mLastModeUsed,
109 GsmAmrEncoderState *state = (GsmAmrEncoderState *)gae; local
110 AMREncodeExit(&state->mEncState, &state
[all...]
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp110 CodecState *state = local
113 state->mNumBytesDecoded = 0;
114 state->mNumBuffersDecoded = 0;
115 state->mIsAudio = isAudio;
117 state->mCodec = MediaCodec::CreateByType(
120 CHECK(state->mCodec != NULL);
122 err = state->mCodec->configure(
129 state->mSignalledInputEOS = false;
130 state->mSawOutputEOS = false;
138 CodecState *state local
162 CodecState *state = &stateByTrack.editValueFor(trackIndex); local
197 CodecState *state = &stateByTrack.editValueAt(i); local
226 CodecState *state = &stateByTrack.editValueAt(i); local
238 CodecState *state = &stateByTrack.editValueAt(i); local
288 CodecState *state = &stateByTrack.editValueAt(i); local
[all...]
/frameworks/base/core/java/android/os/storage/
H A DOnObbStateChangeListener.java80 * @param path path to the OBB file the state change has happened on
81 * @param state the current state of the OBB
83 public void onObbStateChange(String path, int state) { argument
/frameworks/base/core/tests/coretests/src/android/util/
H A DStateSetTest.java39 // Add another state to the spec which the stateSet doesn't match
45 // Add an irrelevent state to the stateSpec
63 // Add another matching state to the the stateSet. We still fail
80 // Add another arrelevent state to the stateSet
86 // Add another state to the spec which the stateSet doesn't match
89 // Add an irrelevent state to the stateSet
124 int state;
127 state = 1;
128 assertTrue(StateSet.stateSetMatches(stateSpec, state));
130 state
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_element.c14 return element->mHal.state.fieldsCount;
20 if (element == NULL || index >= element->mHal.state.fieldsCount) {
24 rs_element returnElem = {element->mHal.state.fields[index]};
31 if (element == NULL || index >= element->mHal.state.fieldsCount) {
34 return element->mHal.state.fieldNameLengths[index];
40 if (element == NULL || index >= element->mHal.state.fieldsCount ||
45 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index];
52 const char *nameSource = element->mHal.state.fieldNames[index];
62 if (element == NULL || index >= element->mHal.state.fieldsCount) {
65 return element->mHal.state
[all...]
H A Drs_allocation.c9 return alloc->mHal.state.dimensionX;
15 return alloc->mHal.state.dimensionY;
21 return alloc->mHal.state.dimensionZ;
27 return alloc->mHal.state.hasMipmaps;
33 return alloc->mHal.state.hasFaces;
40 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
48 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
57 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
59 const uint32_t dimY = alloc->mHal.state.dimensionY;
70 Type_t *type = (Type_t *)alloc->mHal.state
[all...]
H A Drs_program.c14 return prog->mHal.state.depthFunc;
23 return prog->mHal.state.depthWriteEnable;
32 return prog->mHal.state.colorRWriteEnable;
41 return prog->mHal.state.colorGWriteEnable;
50 return prog->mHal.state.colorBWriteEnable;
59 return prog->mHal.state.colorAWriteEnable;
68 return prog->mHal.state.blendSrc;
77 return prog->mHal.state.blendDst;
86 return prog->mHal.state.ditherEnable;
98 return prog->mHal.state
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java36 /*package*/ State state = State.IDLE; field in class:CdmaCall
50 default: throw new RuntimeException ("illegal call state:" + dcState);
73 return state;
96 return state.toString();
105 state = stateFromDCState (dc.state);
109 attachFake(Connection conn, State state) { argument
112 this.state = state;
120 if (state !
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadsetPhone.aidl38 void cdmaSetSecondCallState(boolean state);
/frameworks/base/core/java/android/os/
H A DSystemService.java44 State(String state) { argument
45 sStates.put(state, this);
78 * Return current state of given service.
82 final State state = sStates.get(rawState);
83 if (state != null) {
84 return state;
105 * Wait until given service has entered specific state.
107 public static void waitForState(String service, State state, long timeoutMillis) argument
113 if (state.equals(currentState)) {
119 + "; waited " + timeoutMillis + "ms for " + state);
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DMsgHandler.cpp33 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
34 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr.data();
41 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
42 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr;
49 m_Engine.state().ArgumentKinds[m_NumArgs] = pKind;
50 m_Engine.state().ArgumentVals[m_NumArgs++] = pValue;

Completed in 2007 milliseconds

1234567891011>>