Searched defs:state (Results 1 - 25 of 841) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/tests/microbench/
H A DFontBench.cpp27 void BM_FontRenderer_precache_cachehits(benchmark::State& state) { argument
28 TestUtils::runOnRenderThread([&state](renderthread::RenderThread& thread) {
45 while (state.KeepRunning()) {
H A DRenderNodeBench.cpp24 void BM_RenderNode_create(benchmark::State& state) { argument
25 while (state.KeepRunning()) {
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 DPathParserBench.cpp29 void BM_PathParser_parseStringPathForSkPath(benchmark::State& state) { argument
33 while (state.KeepRunning()) {
41 void BM_PathParser_parseStringPathForPathData(benchmark::State& state) { argument
45 while (state.KeepRunning()) {
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_plsf.cpp114 state = pointer to structure of type D_plsf_reset
117 fields of the structure pointed to by state is initialized to zero
131 Resets state memory
146 int D_plsf_reset (D_plsfState *state)
150 if (state == (D_plsfState *) NULL){
156 state->past_r_q[i] = 0; // Past quantized prediction error
160 Copy(mean_lsf, &state->past_lsf_q[0], M);
187 Word16 D_plsf_reset(D_plsfState *state) argument
191 if (state == (D_plsfState *) NULL)
199 state
[all...]
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/minikin/tests/perftests/
H A DFontFamily.cpp23 static void BM_FontFamily_create(benchmark::State& state) { argument
27 while (state.KeepRunning()) {
H A DFontLanguage.cpp22 static void BM_FontLanguage_en_US(benchmark::State& state) { argument
23 while (state.KeepRunning()) {
29 static void BM_FontLanguage_en_Latn_US(benchmark::State& state) { argument
30 while (state.KeepRunning()) {
36 static void BM_FontLanguage_en_Latn_US_u_em_emoji(benchmark::State& state) { argument
37 while (state.KeepRunning()) {
H A DWordBreaker.cpp23 static void BM_WordBreaker_English(benchmark::State& state) { argument
30 while (state.KeepRunning()) {
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf.cpp74 * Purpose : Allocates memory and initializes state variables
78 Word16 Q_plsf_init(Q_plsfState **state) argument
82 if (state == (Q_plsfState **) NULL)
87 *state = NULL;
92 /* fprintf(stderr, "Q_plsf_init: can not malloc state structure\n"); */
97 *state = s;
106 * Purpose : Resets state memory
110 Word16 Q_plsf_reset(Q_plsfState *state) argument
114 if (state == (Q_plsfState *) NULL)
121 state
134 Q_plsf_exit(Q_plsfState **state) argument
[all...]
/frameworks/base/libs/androidfw/tests/
H A DSparseEntry_bench.cpp28 static void BM_SparseEntryGetResourceSparseSmall(benchmark::State& state) { argument
33 sparse::R::integer::foo_9, state);
37 static void BM_SparseEntryGetResourceNotSparseSmall(benchmark::State& state) { argument
42 sparse::R::integer::foo_9, state);
46 static void BM_SparseEntryGetResourceSparseLarge(benchmark::State& state) { argument
51 sparse::R::string::foo_999, state);
55 static void BM_SparseEntryGetResourceNotSparseLarge(benchmark::State& state) { argument
60 sparse::R::string::foo_999, state);
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightListener.java22 * Callback for when the twilight state has changed.
26 * Called when the twilight state has changed.
28 void onTwilightStateChanged(@Nullable TwilightState state); argument
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
H A DTestMMTelFeature.java32 public void sendSetFeatureState(int state) { argument
33 setFeatureState(state);
/frameworks/av/media/libaaudio/examples/write_sine/src/
H A Dwrite_sine_callback.cpp82 aaudio_stream_state_t state; local
85 &state,
91 if (state != AAUDIO_STREAM_STATE_STARTING && state != AAUDIO_STREAM_STATE_STARTED) {
92 printf("Stream state is %d %s!\n", state, AAudio_convertStreamStateToText(state));
/frameworks/av/services/audioflinger/
H A DAutoPark.h29 FastThreadState *state = sq->begin(); local
30 if (!(state->mCommand & FastThreadState::IDLE)) {
31 mPreviousCommand = state->mCommand;
32 state->mCommand = FastThreadState::HOT_IDLE;
47 FastThreadState *state = sq->begin(); local
48 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE);
49 state->mCommand = mPreviousCommand;
57 // if !&IDLE, holds the FastThread state to restore after new parameters processed
/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/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayBlanker.java20 * Interface used to update the actual display state.
23 void requestDisplayState(int state, int brightness); argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneConstantConversions.java32 public static int convertCallState(PhoneConstants.State state) { argument
33 switch (state) {
47 public static PhoneConstants.State convertCallState(int state) { argument
48 switch (state) {
62 public static int convertDataState(PhoneConstants.DataState state) { argument
63 switch (state) {
79 public static PhoneConstants.DataState convertDataState(int state) { argument
80 switch (state) {
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DStateChangeListener.java20 void onStateChanged(int state); argument
/frameworks/native/cmds/surfacereplayer/replayer/
H A DEvent.cpp35 void Event::waitUntil(Event::EventState state) { argument
37 mCond.wait(lock, [this, state] { return (mState == state); });
40 void Event::changeState(Event::EventState state) { argument
42 mState = state;
/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/av/media/libaaudio/examples/input_monitor/src/
H A Dinput_monitor_callback.cpp37 aaudio_stream_state_t state; local
72 &state,
78 if (state != AAUDIO_STREAM_STATE_STARTING && state != AAUDIO_STREAM_STATE_STARTED) {
79 printf("Stream state is %d %s!\n", state, AAudio_convertStreamStateToText(state));
105 state = AAudioStream_getState(recorder.getStream());
106 if (state != AAUDIO_STREAM_STATE_STARTING && state !
[all...]
/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 Dpre_proc.cpp131 state = pointer to an array of pointer to structures of type
135 Structure pointed to by the pointer pointed to by state is
137 state points to the allocated memory
152 Allocates state memory and initializes state memory.
167 int Pre_Process_init (Pre_ProcessState **state)
171 if (state == (Pre_ProcessState **) NULL){
175 *state = NULL;
179 fprintf(stderr, "Pre_Process_init: can not malloc state structure\n");
184 *state
212 Pre_Process_init(Pre_ProcessState **state) argument
320 Pre_Process_reset(Pre_ProcessState *state) argument
416 Pre_Process_exit(Pre_ProcessState **state) argument
[all...]

Completed in 416 milliseconds

1234567891011>>