Searched refs:active (Results 1 - 25 of 54) sorted by path

123

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp477 bool active; local
492 active = mActive;
493 if (CC_UNLIKELY(!active)) {
568 active = mActive;
569 return active ? status_t(NO_ERROR) : status_t(STOPPED);
668 bool active = mActive; local
736 if (active && (cblk->framesAvailable() == 0)) {
737 // The value of active is stale, but we are almost sure to be active here because
H A DAudioTrack.cpp946 bool active; local
967 active = mActive;
968 if (CC_UNLIKELY(!active)) {
969 ALOGV("Not active and NO_MORE_BUFFERS");
1052 active = mActive;
1053 return active ? status_t(NO_ERROR) : status_t(STOPPED);
1206 bool active = mActive; local
1210 if (active && (cblk->framesAvailable() == cblk->frameCount)) {
1448 snprintf(buffer, 255, " active(%d), latency (%d)\n", mActive, mLatency);
/frameworks/av/media/libstagefright/
H A DACodec.cpp243 bool active() const { return mActive; } function in struct:android::ACodec::ExecutingState
3403 ALOGV("[%s] We're already active, no need to resume.",
3631 if (mCodec->mExecutingState->active()) {
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns_func.h36 Word16 active);
43 Word16 active);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c138 Word16 active) /*!< tns active flag */
156 tC->tnsActive = active;
205 Word16 active) /*!< tns active flag */
222 tC->tnsActive = active;
133 InitTnsConfigurationLong(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_LONG *pC, Word16 active) argument
200 InitTnsConfigurationShort(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_SHORT *pC, Word16 active) argument
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp131 // This ensures that all active buffers are properly freed even
726 ActiveBuffer active; local
727 active.mPortIndex = portIndex;
728 active.mID = id;
729 mActiveBuffers.push(active);
745 ALOGW("Attempt to remove an active buffer we know nothing about...");
751 // the active buffer from the vector...
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp132 // minimum sleep time for the mixer thread loop when tracks are active but in underrun
134 // maximum divider applied to the active sleep time in the mixer thread loop
1638 snprintf(buffer, SIZE, "Output thread %p active tracks\n", this);
1980 // active tracks are removed by threadLoop()
2950 // the track never becomes active so it's fast mixer slot is never touched.
2951 // The converse, of removing an (active) track and then creating a new track
2972 // or stopped which can occur when flush() is called while active
2982 // track stays active in STOPPING_1 state until first underrun
3001 // no recent underruns: stay active
3018 // remove from active lis
5662 int active; local
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java1616 // First collect all active fragments.
1618 FragmentState[] active = new FragmentState[N];
1625 "Failure saving state: active " + f
1632 active[i] = fs;
1681 "Failure saving state: active " + mAdded.get(i)
1704 fms.mActive = active;
1738 // Build the full list of active fragments, instantiating them from
1748 if (DEBUG) Log.v(TAG, "restoreAllState: active #" + i + ": " + f);
/frameworks/base/core/java/android/net/
H A DCaptivePortalTracker.java202 if (DBG) log("Disconnected from active network " + info);
267 NetworkInfo active = mConnService.getActiveNetworkInfo();
268 if (active != null && active.getType() == info.getType()) {
H A DEthernetDataTracker.java103 public void interfaceClassDataActivityChanged(String label, boolean active) { argument
H A DINetworkManagementEventObserver.aidl69 * @param active True if the interface is actively transmitting data, false if it is idle.
71 void interfaceClassDataActivityChanged(String label, boolean active);
/frameworks/base/core/java/android/net/http/
H A DConnectionThread.java135 String active = mWaiting ? "w" : "a";
136 return "cid " + mId + " " + active + " " + con;
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java199 * be active at a time, so you must be sure to always call this from the
237 Object[] active = mActiveBroadcast;
238 if (active == null || active.length < N) {
239 mActiveBroadcast = active = new Object[N];
243 active[i++] = cb;
250 * Retrieve an item in the active broadcast that was previously started
297 Object[] active = mActiveBroadcast;
298 if (active != null) {
301 active[
[all...]
/frameworks/base/core/java/android/view/
H A DVolumePanel.java126 /** Currently active stream that shows up at the top of the list of sliders */
422 StreamControl active = mStreamControls.get(activeStreamType);
423 if (active == null) {
427 mSliderGroup.addView(active.group);
429 active.group.setVisibility(View.VISIBLE);
430 updateSlider(active);
440 // Skip the phone specific ones and the active one
644 // Special case for when Bluetooth is active for music
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java89 * one such client is ever active (working with the IME) at a time.
162 * be active at a time. The inactive clients can not interact with key
168 * the active client will be processed by the current IME. This is enforced
173 * <li> <p>Only the active client's {@link InputConnection} will accept
174 * operations. The IMF tells each client process whether it is active, and
247 * True if this input method client is active, initially false.
412 final boolean active = msg.arg1 != 0;
414 Log.i(TAG, "handleMessage: MSG_SET_ACTIVE " + active + ", was " + mActive);
417 mActive = active;
419 if (!active) {
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java2076 * Remove Find or Select ActionModes, if active.
5436 void setActive(boolean active) { argument
5437 if (active) {
5491 * not draw the blinking cursor. It gets set to "active" to draw the cursor
5494 /* package */ void setFocusControllerActive(boolean active) { argument
5496 mWebViewCore.sendMessage(EventHub.SET_ACTIVE, active ? 1 : 0, 0);
5498 if (active && mListBoxMessage != null) {
H A DWebViewCore.java644 boolean active);
643 nativeSetFocusControllerActive(int nativeClass, boolean active) argument
/frameworks/base/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java87 final boolean active = reader.nextInt() != 0;
95 // fold in active numbers, but only when active
96 if (active) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java151 // A set of pools of currently active timers. When a timer is queried, we will divide the
152 // elapsed time by the number of active timers to arrive at that timer's share of the time.
153 // In order to do this, we must refresh each timer whenever the number of active timers
929 // Accumulate time to all currently active timers before adding
932 // Add this timer to the active pool
957 // Accumulate time to all active counters, scaled by the total
958 // active in the pool, before taking this one out of the pool.
960 // Remove this timer from the active pool
2724 boolean active = false;
2727 active |
[all...]
H A DProcessStats.java201 public boolean active; field in class:ProcessStats.Stats
381 if (st.active) {
382 st.active = false;
387 if (!st.active) {
388 st.active = true;
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java120 * <p>After starting mS5 the list of active states is mP0, mP1, mS1 and mS5.
130 * mS4.enter. The new list of active states is mP0, mP1, mS2 and mS4. So
698 boolean active; field in class:StateMachine.SmHandler.StateInfo
705 return "state=" + state.getName() + ",active=" + active
947 mStateStack[mStateStackTopIndex].active = false;
959 mStateStack[i].active = true;
1012 * state that is already active i.e. StateInfo.active == true.
1021 * Search up the parent list of the destination state for an active
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodClient.aidl29 void setActive(boolean active);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java462 // Inform listener of any active targets. Typically only one will be active.
484 private void hideUnselected(int active) { argument
486 if (i != active) {
830 // Drop the active target if canceled.
H A DMultiWaveView.java502 // Inform listener of any active targets. Typically only one will be active.
525 private void hideUnselected(int active) { argument
527 if (i != active) {
812 // We should drop the active target here but it interferes with
817 // mActiveTarget = -1; // Drop the active target if canceled.
/frameworks/base/core/jni/
H A Dandroid_net_TrafficStats.cpp92 int active; local
97 if (sscanf(buffer, "%31s %d %llu %llu %llu %llu %llu %llu %llu %llu", cur_iface, &active,
109 if (active) {

Completed in 2478 milliseconds

123