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

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dlpc.cpp100 state = pointer to pointer of state data of type lpcState
117 This function initializes the state data for the LPC module.
135 if (state == (lpcState **) NULL){
139 *state = NULL;
143 // fprintf(stderr, "lpc_init: can not malloc state structure\n");
157 *state = s;
183 Word16 lpc_init(lpcState **state) argument
187 if (state == (lpcState **) NULL)
192 *state
286 lpc_reset(lpcState *state) argument
374 lpc_exit(lpcState **state) argument
[all...]
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/core/java/android/nfc/
H A DNfcActivityManager.java51 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one
52 final List<NfcActivityState> mActivities; // Activities that have NFC state
107 * NFC state associated with an {@link Activity}
161 /** find activity state from mActivities */
163 for (NfcActivityState state : mActivities) {
164 if (state.activity == activity) {
165 return state;
171 /** find or create activity state from mActivities */
173 NfcActivityState state = findActivityState(activity);
174 if (state
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java331 private void moveCursorToRightCursorableOffset(EditorState state, TextPaint paint) { argument
332 assertEquals("The editor has selection", state.mSelectionStart, state.mSelectionEnd);
333 final Layout layout = builder().setText(state.mText.toString()).setPaint(paint).build();
334 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart);
335 state.mSelectionStart = state.mSelectionEnd = newOffset;
338 private void moveCursorToLeftCursorableOffset(EditorState state, TextPaint paint) { argument
339 assertEquals("The editor has selection", state.mSelectionStart, state
[all...]
/frameworks/base/libs/input/
H A DSpriteController.cpp139 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) {
140 update.state.surfaceWidth = update.state.icon.bitmap.width();
141 update.state.surfaceHeight = update.state.icon.bitmap.height();
142 update.state.surfaceDrawn = false;
143 update.state.surfaceVisible = false;
144 update.state.surfaceControl = obtainSurface(
145 update.state
[all...]
/frameworks/rs/
H A DrsMesh.cpp26 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 DrsFBOCache.cpp28 mHal.state.colorTargetsCount = 1;
29 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount];
30 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount];
35 delete[] mHal.state.colorTargets;
48 if (slot >= mHal.state.colorTargetsCount) {
53 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) {
59 mHal.state.colorTargets[slot] = a;
71 mHal.state.depthTarget = a;
76 for (uint32_t i = 0; i < mHal.state
[all...]
H A DrsProgramStore.cpp31 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...]
/frameworks/compile/mclinker/lib/LD/
H A DMsgHandler.cpp31 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
32 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr.data();
38 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
39 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr;
46 m_Engine.state().ArgumentKinds[m_NumArgs] = pKind;
47 m_Engine.state().ArgumentVals[m_NumArgs++] = pValue;
/frameworks/base/libs/hwui/tests/microbench/
H A DLinearAllocatorBench.cpp26 static void BM_LinearStdAllocator_vectorBaseline(benchmark::State& state) { argument
27 while (state.KeepRunning()) {
37 static void BM_LinearStdAllocator_vector(benchmark::State& state) { argument
38 while (state.KeepRunning()) {
H A DTaskManagerBench.cpp41 void BM_TaskManager_allocateTask(benchmark::State& state) { argument
43 tasks.reserve(state.max_iterations);
45 while (state.KeepRunning()) {
52 void BM_TaskManager_enqueueTask(benchmark::State& state) { argument
56 tasks.reserve(state.max_iterations);
58 while (state.KeepRunning()) {
70 void BM_TaskManager_enqueueRunDeleteTask(benchmark::State& state) { argument
74 tasks.reserve(state.max_iterations);
76 while (state.KeepRunning()) {
81 state
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantState.java26 * state. This is more fine-grained than most users will be interested in.
31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>.
35 * This state indicates that client is not associated, but is likely to
36 * start looking for an access point. This state is entered when a
44 * This state is entered if the network interface is disabled.
51 * Inactive state (wpa_supplicant disabled).
53 * This state is entered if there are no enabled networks in the
63 * This state is entered when wpa_supplicant starts scanning for a
71 * This state is entered when wpa_supplicant has found a suitable BSS
80 * This state i
169 isValidState(SupplicantState state) argument
175 isHandshakeState(SupplicantState state) argument
198 isConnecting(SupplicantState state) argument
221 isDriverActive(SupplicantState state) argument
[all...]
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c69 FILE *state = fopen(DIR ".tmp", "wb"); local
70 if (!state) {
71 ALOGE("Cannot create state: %s", strerror(errno));
77 fprintf(state, "%s\n", argv[1]);
78 fprintf(state, "%s/32\n", argv[4]);
79 fprintf(state, "0.0.0.0/0\n");
80 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2"));
81 fprintf(state, "\n");
82 fprintf(state, "\n");
118 fprintf(state, "
[all...]
/frameworks/base/media/java/android/media/
H A DIRemoteDisplayCallback.aidl25 void onStateChanged(in RemoteDisplayState state);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dec_gains.cpp126 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 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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java106 protected void handleUpdateState(BooleanState state, Object arg) { argument
110 state.value = enabled;
111 state.autoMirrorDrawable = false;
112 state.minimalContentDescription =
115 state.label = null;
117 state.icon = ResourceIcon.get(R.drawable.ic_qs_bluetooth_connected);
118 state.label = mController.getLastDeviceName();
119 state.contentDescription = mContext.getString(
120 R.string.accessibility_bluetooth_name, state.label);
121 state
216 setToggleState(boolean state) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateChangeResult.java23 * 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/base/libs/hwui/tests/unit/
H A DBakedOpStateTests.cpp38 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false);
39 EXPECT_MATRIX_APPROX_EQ(state.transform, translate10x20);
40 EXPECT_EQ(Rect(100, 200), state.clipRect());
41 EXPECT_EQ(Rect(40, 60, 100, 200), state.clippedBounds); // translated and also clipped
42 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state.clipSideFlags);
47 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false);
51 EXPECT_MATRIX_APPROX_EQ(expectedTranslate, state.transform);
54 EXPECT_EQ(Rect(10, 20, 100, 200), state.clipRect());
57 EXPECT_EQ(Rect(50, 80, 100, 200), state.clippedBounds);
58 EXPECT_EQ(OpClipSideFlags::Right | OpClipSideFlags::Bottom, state
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DUserState.java38 // User is in the locked state.
40 // User is in the unlocking state.
42 // User is in the running state.
54 public int state = STATE_BOOTING; field in class:UserState
70 if (state == oldState) {
74 Slog.w(TAG, "Expected user " + mHandle.getIdentifier() + " in state "
75 + stateToString(oldState) + " but was in state " + stateToString(state));
82 Slog.i(TAG, "User " + mHandle.getIdentifier() + " state changed from "
83 + stateToString(state)
89 stateToString(int state) argument
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnostic.h28 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 DPackageSettingBase.java40 * Indicates the state of installation. Used by PackageManager to figure out
41 * incomplete installations. Say a package is being installed (the state is
44 * PackageManager will no longer maintain state information associated with
264 PackageUserState state = userState.get(userId);
265 if (state == null) {
266 state = new PackageUserState();
267 userState.put(userId, state);
269 return state;
273 PackageUserState state = userState.get(userId);
274 if (state !
280 setEnabled(int state, int userId, String callingPackage) argument
[all...]

Completed in 432 milliseconds

1234567891011>>