Searched defs:active (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/services/java/com/android/server/net/
H A DBaseNetworkObserver.java49 public void interfaceClassDataActivityChanged(String label, boolean active) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataCallResponse.java43 public int active = 0; field in class:DataCallResponse
82 .append(" active=").append(active)
/frameworks/wilhelm/src/itf/
H A DIStreamInformation.c263 XAboolean active, /* [in] */
261 IStreamInformation_SetActiveStream( XAStreamInformationItf self, XAuint32 streamNum, XAboolean active, XAboolean commitNow) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserAvatar.java159 public void setActive(boolean active, boolean animate, final Runnable onComplete) { argument
160 if (mActive != active || mInit) {
161 mActive = active;
163 if (active) {
176 void updateVisualsForActive(boolean active, boolean animate, int duration, argument
178 final float finalAlpha = active ? mActiveAlpha : mInactiveAlpha;
179 final float initAlpha = active ? mInactiveAlpha : mActiveAlpha;
180 final float finalScale = active ? 1f : 1f / mActiveScale;
182 final int finalTextAlpha = active ? (int) (mActiveTextAlpha * 255) :
184 final int initTextAlpha = active
[all...]
/frameworks/base/core/java/android/net/
H A DEthernetDataTracker.java104 public void interfaceClassDataActivityChanged(String label, boolean active) { argument
/frameworks/native/services/surfaceflinger/
H A DLayer.h97 Geometry active; member in struct:android::Layer::State
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp495 bool active; local
510 active = mActive;
511 if (CC_UNLIKELY(!active)) {
590 active = mActive;
591 return active ? status_t(NO_ERROR) : status_t(STOPPED);
695 bool active = mActive; local
764 if (active && (mProxy->framesAvailable() == 0)) {
765 // The value of active is stale, but we are almost sure to be active here because
H A DAudioTrack.cpp950 bool active; local
971 active = mActive;
972 if (CC_UNLIKELY(!active)) {
973 ALOGV("Not active and NO_MORE_BUFFERS");
1056 active = mActive;
1057 return active ? status_t(NO_ERROR) : status_t(STOPPED);
1248 bool active = mActive; local
1255 if (active && (mProxy->framesAvailable() == mFrameCount)) {
1483 snprintf(buffer, 255, " active(%d), latency (%d)\n", mActive, mLatency);
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp146 // This ensures that all active buffers are properly freed even
875 ActiveBuffer active; local
876 active.mPortIndex = portIndex;
877 active.mID = id;
878 mActiveBuffers.push(active);
894 ALOGW("Attempt to remove an active buffer we know nothing about...");
900 // the active buffer from the vector...
/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/base/core/java/com/android/internal/os/
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.java121 * <p>After starting mS5 the list of active states is mP0, mP1, mS1 and mS5.
131 * mS4.enter. The new list of active states is mP0, mP1, mS2 and mS4. So
726 boolean active; field in class:StateMachine.SmHandler.StateInfo
733 return "state=" + state.getName() + ",active=" + active + ",parent="
996 mStateStack[mStateStackTopIndex].active = false;
1008 mStateStack[i].active = true;
1061 * state that is already active i.e. StateInfo.active == true.
1070 * Search up the parent list of the destination state for an active
[all...]
/frameworks/native/opengl/libagl/
H A Dtexture.cpp107 c->rasterizer.procs.activeTexture(c, c->textures.active);
116 * If the active textures are EGLImage, they need to be locked before
172 c->rasterizer.procs.activeTexture(c, c->textures.active);
311 const int active = c->textures.active; local
312 const GLuint name = c->textures.tmu[active].name;
315 texture_unit_t& u(c->textures.tmu[active]);
333 // bind this texture to the current active texture unit
338 invalidate_texture(c, active);
353 // bind this texture to the current active textur
367 const int active = c->textures.active; local
384 const int active = c->textures.active; local
620 const int active = c->textures.active; local
[all...]
H A Dcontext.h356 int active; // active tmu member in struct:android::gl::texture_state_t
/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/services/java/com/android/server/
H A DNetworkManagementService.java154 /** Set of interfaces with active quotas. */
156 /** Set of interfaces with active alerts. */
158 /** Set of UIDs with active reject rules. */
162 /** Set of interfaces with active idle timers. */
311 private void notifyInterfaceClassActivity(String label, boolean active) { argument
315 mObservers.getBroadcastItem(i).interfaceClassDataActivityChanged(label, active);
350 Slog.d(TAG, "pushing " + size + " active quota rules");
360 Slog.d(TAG, "pushing " + size + " active alert rules");
370 Slog.d(TAG, "pushing " + size + " active uid rules");
454 * An network interface class state changed (active/idl
[all...]
H A DConnectivityService.java192 /** Currently active network rules by UID. */
874 * Return NetworkInfo for the active (i.e., connected) network interface.
875 * It is assumed that at most one network is active at a time. If more
876 * than one is active, it is indeterminate which will be returned.
877 * @return the info for the active network, or {@code null} if none is
878 * active
944 * Return LinkProperties for the active (i.e., connected) default
946 * is active at a time. If more than one is active, it is indeterminate
948 * @return the ip properties for the active networ
1942 sendDataActivityBroadcast(int deviceType, boolean active) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java298 if (VDBG) Log.d(TAG, "active iface (" + iface + ") reported as added, ignoring");
324 public void interfaceClassDataActivityChanged(String label, boolean active) {} argument
1324 /* If we've found an active upstream connection that's not DUN/HIPRI
/frameworks/av/media/libstagefright/
H A DACodec.cpp265 bool active() const { return mActive; } function in struct:android::ACodec::ExecutingState
3609 // We'll be active soon enough.
3669 // We'll be active soon enough.
3752 ALOGV("[%s] We're already active, no need to resume.",
4039 if (mCodec->mExecutingState->active()) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java481 ArrayList<String> active; field in class:WifiStateMachine.TetherStateChange
484 active = ac;
596 ArrayList<String> active = intent.getStringArrayListExtra(
598 sendMessage(CMD_TETHER_STATE_CHANGE, new TetherStateChange(available, active));
1037 * Enabling would set active power mode and disable suspend optimizations;
1259 private boolean isWifiTethered(ArrayList<String> active) { argument
1264 for (String intf : active) {
1749 * mode to active when bluetooth coexistence mode is
1752 * We set Wi-Fi to active mode when
1757 * In order for this active powe
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java646 boolean active);
645 nativeSetFocusControllerActive(int nativeClass, boolean active) argument
H A DWebViewClassic.java2112 * Remove Find or Select ActionModes, if active.
5474 void setActive(boolean active) { argument
5475 if (active) {
5529 * not draw the blinking cursor. It gets set to "active" to draw the cursor
5532 /* package */ void setFocusControllerActive(boolean active) { argument
5534 mWebViewCore.sendMessage(EventHub.SET_ACTIVE, active ? 1 : 0, 0);
5536 if (active && mListBoxMessage != null) {

Completed in 593 milliseconds