/frameworks/rs/driver/runtime/ |
H A D | rs_mesh.c | 14 return mesh->mHal.state.vertexBuffersCount; 23 return mesh->mHal.state.primitivesCount; 29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) { 33 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]}; 40 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 44 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; 51 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 54 return mesh->mHal.state.primitives[index];
|
H A D | rs_element.c | 14 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 D | rs_program.c | 14 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/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | ec_gains.cpp | 126 state = pointer to a pointer to a structure containing code state data of 144 This function resets the state data for the ec_gain module. 159 int ec_gain_code_reset (ec_gain_codeState *state) 163 if (state == (ec_gain_codeState *) NULL){ 169 state->gbuf[i] = 1; 170 state->past_gain_code = 0; 171 state->prev_gc = 1; 199 Word16 ec_gain_code_reset(ec_gain_codeState *state) argument 203 if (state 315 ec_gain_code( ec_gain_codeState *st, gc_predState *pred_state, Word16 state, Word16 *gain_code, Flag *pOverflow ) argument 577 ec_gain_pitch( ec_gain_pitchState *st, Word16 state, Word16 *gain_pitch, Flag *pOverflow ) argument 686 ec_gain_pitch_reset(ec_gain_pitchState *state) argument [all...] |
H A D | ec_gains.h | 120 * 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 D | ph_disp.h | 129 ; 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 D | sp_dec.cpp | 137 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 D | lsp_avg.h | 118 lsp_avgState *state
|
H A D | post_pro.cpp | 141 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 D | sp_enc.cpp | 110 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 D | cl_ltp.cpp | 127 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/compile/mclinker/include/mcld/LD/ |
H A D | Diagnostic.h | 32 { return m_Engine.state().ID; } 35 { return m_Engine.state().numArgs; } 39 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; 45 return m_Engine.state().ArgumentStrs[pIdx]; 51 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); 57 return (int)m_Engine.state().ArgumentVals[pIdx]; 63 return (unsigned int)m_Engine.state().ArgumentVals[pIdx]; 69 return (unsigned long long)m_Engine.state().ArgumentVals[pIdx]; 75 return (bool)m_Engine.state().ArgumentVals[pIdx]; 81 return m_Engine.state() [all...] |
/frameworks/native/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 68 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 D | rsdFrameBuffer.cpp | 36 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 D | rsdMeshObj.cpp | 55 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 D | rsdShader.cpp | 50 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/av/libvideoeditor/osal/inc/ |
H A D | LV_Macros.h | 72 * @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 D | android_media_AmrInputStream.cpp | 63 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 D | codec.cpp | 111 CodecState *state = local 114 state->mNumBytesDecoded = 0; 115 state->mNumBuffersDecoded = 0; 116 state->mIsAudio = isAudio; 118 state->mCodec = MediaCodec::CreateByType( 121 CHECK(state->mCodec != NULL); 123 err = state->mCodec->configure( 130 state->mSignalledInputEOS = false; 131 state->mSawOutputEOS = false; 139 CodecState *state local 163 CodecState *state = &stateByTrack.editValueFor(trackIndex); local 198 CodecState *state = &stateByTrack.editValueAt(i); local 227 CodecState *state = &stateByTrack.editValueAt(i); local 239 CodecState *state = &stateByTrack.editValueAt(i); local 289 CodecState *state = &stateByTrack.editValueAt(i); local [all...] |
H A D | SimplePlayer.cpp | 313 CodecState *state = local 317 state->mNumFramesWritten = 0; 318 state->mCodec = MediaCodec::CreateByType( 321 CHECK(state->mCodec != NULL); 323 err = state->mCodec->configure( 334 state->mCSD.push_back(buffer); 341 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 343 status_t err = state->mCodec->start(); 346 err = state->mCodec->getInputBuffers(&state 402 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 421 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 476 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local 517 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 569 onOutputFormatChanged( size_t trackIndex, CodecState *state) argument 600 renderAudio( CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | OnObbStateChangeListener.java | 80 * @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 D | StateSetTest.java | 39 // 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/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadsetPhone.aidl | 38 void cdmaSetSecondCallState(boolean state);
|
/frameworks/base/core/java/android/os/ |
H A D | SystemService.java | 44 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 D | MsgHandler.cpp | 33 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;
|