/frameworks/rs/ |
H A D | rsMesh.cpp | 26 mHal.state.primitives = nullptr; 27 mHal.state.primitivesCount = 0; 28 mHal.state.indexBuffers = nullptr; 29 mHal.state.indexBuffersCount = 0; 30 mHal.state.vertexBuffers = nullptr; 31 mHal.state.vertexBuffersCount = 0; 42 mHal.state.primitivesCount = primitivesCount; 43 mHal.state.indexBuffersCount = primitivesCount; 44 mHal.state.primitives = new RsPrimitive[mHal.state [all...] |
H A D | rsProgramStore.cpp | 31 mHal.state.ditherEnable = ditherEnable; 33 mHal.state.colorRWriteEnable = colorMaskR; 34 mHal.state.colorGWriteEnable = colorMaskG; 35 mHal.state.colorBWriteEnable = colorMaskB; 36 mHal.state.colorAWriteEnable = colorMaskA; 37 mHal.state.blendSrc = srcFunc; 38 mHal.state.blendDst = destFunc; 40 mHal.state.depthWriteEnable = depthMask; 41 mHal.state.depthFunc = depthFunc; 57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { argument [all...] |
H A D | rsType.cpp | 56 if (mHal.state.lodCount) { 57 delete [] mHal.state.lodDimX; 58 delete [] mHal.state.lodDimY; 59 delete [] mHal.state.lodDimZ; 61 if (mHal.state.arrayCount > 0) { 62 delete [] mHal.state.arrays; 76 uint32_t oldLODCount = mHal.state.lodCount; 78 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; 79 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; 80 uint32_t l2z = rsFindHighBit(mHal.state [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrintJob.java | 22 * on it as well as methods for querying its state. A snapshot of the 23 * print job state is represented by the {@link PrintJobInfo} class. 24 * The state of a print job may change over time. An application receives 52 * current print job state. Every call to this method returns a fresh 53 * info object that reflects the current print job state. 79 final int state = getInfo().getState(); 80 if (state == PrintJobInfo.STATE_QUEUED 81 || state == PrintJobInfo.STATE_STARTED 82 || state == PrintJobInfo.STATE_BLOCKED 83 || state [all...] |
/frameworks/base/media/java/android/media/ |
H A D | IRemoteDisplayCallback.aidl | 25 void onStateChanged(in RemoteDisplayState state);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_mesh.c | 16 return mesh->mHal.state.vertexBuffersCount; 25 return mesh->mHal.state.primitivesCount; 31 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount) { 35 rs_allocation returnAlloc = {mesh->mHal.state.vertexBuffers[index]}; 42 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 46 rs_allocation returnAlloc = {mesh->mHal.state.indexBuffers[index]}; 53 if (mesh == NULL || index >= mesh->mHal.state.primitivesCount) { 56 return mesh->mHal.state.primitives[index];
|
/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...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | Condition.java | 50 public final int state; field in class:Condition 54 int state, int flags) { 59 if (!isValidState(state)) throw new IllegalArgumentException("state is invalid: " + state); 65 this.state = state; 79 private static boolean isValidState(int state) { argument 80 return state >= STATE_FALSE && state < 53 Condition(Uri id, String summary, String line1, String line2, int icon, int state, int flags) argument 107 stateToString(int state) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | StateChangeResult.java | 23 * Stores supplicant state change information passed from WifiMonitor to 24 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine 25 * are example state machines that handle it. 30 SupplicantState state) { 31 this.state = state; 40 SupplicantState state; field in class:StateChangeResult 49 sb.append(" state: ").append(state); 29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, SupplicantState state) argument
|
/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 | 28 unsigned int getID() const { return m_Engine.state().ID; } 30 unsigned int getNumArgs() const { return m_Engine.state().numArgs; } 34 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; 40 return m_Engine.state().ArgumentStrs[pIdx]; 46 return reinterpret_cast<const char*>(m_Engine.state().ArgumentVals[pIdx]); 52 return static_cast<int>(m_Engine.state().ArgumentVals[pIdx]); 58 return (unsigned int)m_Engine.state().ArgumentVals[pIdx]; 64 return (unsigned long long)m_Engine.state().ArgumentVals[pIdx]; 70 return static_cast<bool>(m_Engine.state().ArgumentVals[pIdx]); 76 return m_Engine.state() [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSettingBase.java | 37 * 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 113 * platform will refuse to launch packages in a frozen state. 245 PackageUserState state = userState.get(userId); 246 if (state == null) { 247 state = new PackageUserState(); 248 userState.put(userId, state); 250 return state; 254 PackageUserState state 261 setEnabled(int state, int userId, String callingPackage) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdFrameBuffer.cpp | 36 if (fb->mHal.state.depthTarget != nullptr) { 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] != nullptr) { 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...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 196 final ColorState state = mColorState; 197 if (state.mTint != null && state.mTintMode != null) { 198 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); 243 * Updates the constant state from the values in the typed array. 246 final ColorState state = mColorState; 249 state.mChangingConfigurations |= a.getChangingConfigurations(); 252 state.mThemeAttrs = a.extractThemeAttrs(); 254 state 303 ColorState(ColorState state) argument 335 ColorDrawable(ColorState state, Resources res) argument [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | StateWaiter.java | 31 * Block until a specific state change occurs. 33 * <p>Provides wait calls that block until the next unobserved state of the 58 * Create a new state waiter. 60 * <p>All {@code state}/{@code states} arguments used in other methods must be 72 public void onStateChanged(int state) { 73 queueStateTransition(checkStateInRange(state)); 83 * Wait until the desired state is observed, checking all state 84 * transitions since the last time a state was waited on. 86 * <p>Any intermediate state transition 97 waitForState(int state, long timeoutMs) argument 173 getStateName(int state) argument 194 queueStateTransition(int state) argument 204 checkStateInRange(int state) argument [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | codec.cpp | 116 CodecState *state = local 119 state->mNumBytesDecoded = 0; 120 state->mNumBuffersDecoded = 0; 121 state->mIsAudio = isAudio; 123 state->mCodec = MediaCodec::CreateByType( 126 CHECK(state->mCodec != NULL); 128 err = state->mCodec->configure( 135 state->mSignalledInputEOS = false; 136 state->mSawOutputEOS = false; 145 CodecState *state local 169 CodecState *state = &stateByTrack.editValueFor(trackIndex); local 204 CodecState *state = &stateByTrack.editValueAt(i); local 233 CodecState *state = &stateByTrack.editValueAt(i); local 245 CodecState *state = &stateByTrack.editValueAt(i); local 311 CodecState *state = &stateByTrack.editValueAt(i); local [all...] |
/frameworks/av/services/audiopolicy/common/include/ |
H A D | policy.h | 45 * Check if the state given correspond to an in call state. 46 * @TODO find a better name for widely call state 48 * @param[in] state to consider 50 * @return true if given state represents a device in a telephony or VoIP call 52 static inline bool is_state_in_call(int state) argument 54 return (state == AUDIO_MODE_IN_CALL) || (state == AUDIO_MODE_IN_COMMUNICATION);
|
/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/base/telecomm/java/android/telecom/ |
H A D | AudioState.java | 26 * Encapsulates the telecom audio state, including the current audio routing, supported audio 66 public AudioState(AudioState state) { argument 67 isMuted = state.isMuted(); 68 route = state.getRoute(); 69 supportedRouteMask = state.getSupportedRouteMask(); 72 public AudioState(CallAudioState state) { argument 73 isMuted = state.isMuted(); 74 route = state.getRoute(); 75 supportedRouteMask = state.getSupportedRouteMask(); 86 AudioState state [all...] |
H A D | CallAudioState.java | 25 * Encapsulates the telecom audio state, including the current audio routing, supported audio 79 public CallAudioState(CallAudioState state) { argument 80 isMuted = state.isMuted(); 81 route = state.getRoute(); 82 supportedRouteMask = state.getSupportedRouteMask(); 87 public CallAudioState(AudioState state) { argument 88 isMuted = state.isMuted(); 89 route = state.getRoute(); 90 supportedRouteMask = state.getSupportedRouteMask(); 101 CallAudioState state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollState.java | 35 * A state of a {@link com.android.systemui.statusbar.stack.NotificationStackScrollLayout} which 106 StackViewState state = mStateMap.get(child); 107 if (!applyState(child, state)) { 111 performSpeedBumpAnimation(i, (SpeedBumpView) child, state, 0); 114 boolean visible = state.topOverLap < mClearAllTopPadding; 118 boolean visible = state.topOverLap <= 0; 128 * @return whether the state was applied correctly 130 public boolean applyState(ExpandableView view, StackViewState state) { argument 131 if (state == null) { 132 Log.wtf(CHILD_NOT_FOUND_TAG, "No child state wa 181 applyViewState(View view, ViewState state) argument 236 performSpeedBumpAnimation(int i, SpeedBumpView speedBump, StackViewState state, long delay) argument [all...] |