/frameworks/base/libs/hwui/tests/microbench/ |
H A D | FontBench.cpp | 27 void BM_FontRenderer_precache_cachehits(benchmark::State& state) { argument 28 TestUtils::runOnRenderThread([&state](renderthread::RenderThread& thread) { 45 while (state.KeepRunning()) {
|
H A D | LinearAllocatorBench.cpp | 26 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 D | PathParserBench.cpp | 29 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()) {
|
H A D | FrameBuilderBench.cpp | 61 void BM_FrameBuilder_defer(benchmark::State& state) { argument 62 TestUtils::runOnRenderThread([&state](RenderThread& thread) { 64 while (state.KeepRunning()) { 74 void BM_FrameBuilder_deferAndRender(benchmark::State& state) { argument 75 TestUtils::runOnRenderThread([&state](RenderThread& thread) { 81 while (state.KeepRunning()) { 114 void BM_FrameBuilder_defer_scene(benchmark::State& state) { argument 115 TestUtils::runOnRenderThread([&state](RenderThread& thread) { 116 const char* sceneName = *(SCENES.begin() + state.range_x()); 117 state 130 BM_FrameBuilder_deferAndRender_scene(benchmark::State& state) argument [all...] |
H A D | TaskManagerBench.cpp | 41 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/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_plsf.cpp | 114 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 D | preemph.cpp | 118 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/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | q_plsf.cpp | 74 * 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/av/services/audioflinger/ |
H A D | AutoPark.h | 29 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 D | ConditionVariable.java | 37 * 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 D | PrintProgressFragment.java | 36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayBlanker.java | 20 * Interface used to update the actual display state. 23 void requestDisplayState(int state, int brightness); argument
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | StateChangeListener.java | 20 void onStateChanged(int state); argument
|
/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 | lpc.cpp | 100 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 D | pre_proc.cpp | 131 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...] |
H A D | sid_sync.cpp | 46 Description: Changed type definition of state pointer to 'void' for 107 state = pointer containing a pointer to the state structure used for 114 return_value = status of sid_sync_reset function; -1, if state is pointing 127 the pointer to state struct in *st. This pointer has to be passed to sid_sync 166 Word16 sid_sync_init(void **state) argument 170 if (state == NULL) 172 /* fprintf(stderr, "sid_sync_init:invalid state parameter\n"); */ 176 *state = NULL; 184 "can not malloc state structur 260 sid_syncState *state = (sid_syncState *) st; local 335 sid_sync_exit(void **state) argument 495 sid_sync(void *state, enum Mode mode, enum TXFrameType *tx_frame_type) argument [all...] |
/frameworks/base/core/java/android/net/metrics/ |
H A D | DhcpClientEvent.java | 66 public static void logStateEvent(String ifName, String state) { argument 67 logEvent(new DhcpClientEvent(ifName, state));
|
/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/java/com/android/internal/app/procstats/ |
H A D | DurationsTable.java | 42 * Add the value into the value stored for the state. 47 public void addDuration(int state, long value) { argument 48 final int key = getOrAddKey((byte)state, 1); 53 public long getDuration(int state, long now) { 54 final int key = getKey((byte)state);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | TestedActivity.java | 37 protected void onRestoreInstanceState(Bundle state) argument 39 super.onRestoreInstanceState(state);
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
H A D | BackspaceTest.java | 42 // Sync the state to the TextView and call onKeyDown with KEYCODE_DEL key event. 43 // Then update the state to the result of TextView. 44 private void backspace(final EditorState state, int modifiers) { argument 47 mTextView.setText(state.mText, BufferType.EDITABLE); 49 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); 63 state.mText = mTextView.getText(); 64 state.mSelectionStart = mTextView.getSelectionStart(); 65 state.mSelectionEnd = mTextView.getSelectionEnd(); 70 EditorState state [all...] |
H A D | ForwardDeleteTest.java | 42 // Sync the state to the TextView and call onKeyDown with KEYCODE_FORWARD_DEL key event. 43 // Then update the state to the result of TextView. 44 private void forwardDelete(final EditorState state, int modifiers) { argument 47 mTextView.setText(state.mText, BufferType.EDITABLE); 49 mTextView.setSelection(state.mSelectionStart, state.mSelectionEnd); 63 state.mText = mTextView.getText(); 64 state.mSelectionStart = mTextView.getSelectionStart(); 65 state.mSelectionEnd = mTextView.getSelectionEnd(); 70 EditorState state [all...] |
/frameworks/base/libs/storage/ |
H A D | IObbActionListener.cpp | 34 const int32_t /* state */) { } 49 int32_t state = data.readInt32(); local 50 onObbResult(filename, nonce, state);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | BluetoothCallback.java | 30 void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state); argument
|