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

12

/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp94 virtual status_t setCaptureState(bool active) argument
98 data.writeInt32(active);
H A DSoundTrigger.cpp116 status_t SoundTrigger::setCaptureState(bool active) argument
118 ALOGV("setCaptureState(%d)", active);
123 return service->setCaptureState(active);
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java61 public void interfaceClassDataActivityChanged(String label, boolean active, long tsNanos) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeHost.java37 void onPowerSaveChanged(boolean active); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataCallResponse.java44 public int active = 0; field in class:DataCallResponse
85 .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/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java157 public void setActive(boolean active, boolean animate, final Runnable onComplete) { argument
158 if (mActive != active || mInit) {
159 mActive = active;
161 if (active) {
174 void updateVisualsForActive(boolean active, boolean animate, int duration, argument
176 final float finalAlpha = active ? mActiveAlpha : mInactiveAlpha;
177 final float initAlpha = active ? mInactiveAlpha : mActiveAlpha;
178 final float finalScale = active ? 1f : 1f / mActiveScale;
180 final int finalTextAlpha = active ? (int) (mActiveTextAlpha * 255) :
182 final int initTextAlpha = active
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java232 * Gets if this window is active. An active window is the one
236 * @return Whether this is the active window.
243 * Sets if this window is active, which is this is the window
247 * @param active Whether this is the active window.
251 public void setActive(boolean active) { argument
252 setBooleanProperty(BOOLEAN_PROPERTY_ACTIVE, active);
473 builder.append(", active=").append(isActive());
/frameworks/native/services/surfaceflinger/
H A DLayer.h103 Geometry active; member in struct:android::Layer::State
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java79 public static void setActive(Object sessionObj, boolean active) { argument
80 ((MediaSession)sessionObj).setActive(active);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp791 bool active = mActive; local
857 if (!active) {
H A DAudioTrack.cpp733 // See setPosition() regarding setting parameters such as loop points or position while active
891 // See setPosition() regarding setting parameters such as loop points or position while active
1569 bool active = mState == STATE_ACTIVE; local
1576 // the track stays active in continuous underrun state. It's up to the application
1582 active = false;
1693 if (!active) {
/frameworks/av/services/soundtrigger/
H A DSoundTriggerHwService.cpp154 status_t SoundTriggerHwService::setCaptureState(bool active) argument
156 ALOGV("setCaptureState %d", active);
158 mCaptureState = active;
160 mModules.valueAt(i)->setCaptureState_l(active);
757 void SoundTriggerHwService::Module::setCaptureState_l(bool active) argument
759 ALOGV("Module::setCaptureState_l %d", active);
766 state = (active && !mDescriptor.properties.concurrent_capture) ?
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java571 private void applyActiveState(boolean active) { argument
573 setInfoViewVisibility(active);
576 //setExtraVisibility(active);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c140 Word16 active) /*!< tns active flag */
158 tC->tnsActive = active;
207 Word16 active) /*!< tns active flag */
224 tC->tnsActive = active;
135 InitTnsConfigurationLong(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_LONG *pC, Word16 active) argument
202 InitTnsConfigurationShort(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_SHORT *pC, Word16 active) argument
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java471 * A session is considered active whenever there is ongoing forward
481 public abstract void onActiveChanged(int sessionId, boolean active); argument
528 final boolean active = msg.arg2 != 0;
529 mCallback.onActiveChanged(sessionId, active);
552 public void onSessionActiveChanged(int sessionId, boolean active) { argument
553 mHandler.obtainMessage(MSG_SESSION_ACTIVE_CHANGED, sessionId, active ? 1 : 0)
1048 * Details for an active install session.
1063 public boolean active; field in class:PackageInstaller.SessionInfo
1087 active = source.readInt() != 0;
1124 * Return if this session is currently active
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DProcessCpuTracker.java216 public boolean active; field in class:ProcessCpuTracker.Stats
402 if (st.active) {
403 st.active = false;
408 if (!st.active) {
409 st.active = true;
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java122 * <p>After starting mS5 the list of active states is mP0, mP1, mS1 and mS5.
132 * mS4.enter. The new list of active states is mP0, mP1, mS2 and mS4. So
727 boolean active; field in class:StateMachine.SmHandler.StateInfo
734 return "state=" + state.getName() + ",active=" + active + ",parent="
997 mStateStack[mStateStackTopIndex].active = false;
1009 mStateStack[i].active = true;
1062 * state that is already active i.e. StateInfo.active == true.
1071 * Search up the parent list of the destination state for an active
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleDrawable.java284 private void setRippleActive(boolean active) { argument
285 if (mRippleActive != active) {
286 mRippleActive = active;
287 if (active) {
295 private void setBackgroundActive(boolean active, boolean focused) { argument
296 if (mBackgroundActive != active) {
297 mBackgroundActive = active;
298 if (active) {
489 * Creates an active hotspot at the specified location.
508 * Attempts to start an enter animation for the active hotspo
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java138 /** Upper bound on number of active sessions for a UID */
217 // Ignore stages and icons claimed by active sessions
250 // Ignore stages claimed by active sessions
256 // Claimed by active session, mount it
562 "Too many active sessions for UID " + callingUid);
972 private void notifySessionActiveChanged(int sessionId, int userId, boolean active) { argument
973 obtainMessage(MSG_SESSION_ACTIVE_CHANGED, sessionId, userId, active).sendToTarget();
1022 public void onSessionActiveChanged(PackageInstallerSession session, boolean active) { argument
1023 mCallbacks.notifySessionActiveChanged(session.sessionId, session.userId, active);
/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...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp246 // This ensures that all active buffers are properly freed even
1323 ActiveBuffer active; local
1324 active.mPortIndex = portIndex;
1325 active.mID = id;
1326 mActiveBuffers.push(active);
1347 CLOGW("Attempt to remove an active buffer [%#x] we know nothing about...", id);
1352 // the active buffer from the vector...
/frameworks/av/services/audioflinger/
H A DTracks.cpp282 // been played. Unless it's not in the active track list, in which
442 // fast track becomes active. Since fast tracks are a scarce resource,
505 void AudioFlinger::PlaybackThread::Track::dump(char* buffer, size_t size, bool active) argument
570 active ? "yes" : "no",
704 // track was already in the active list, not a problem
712 // and for fast tracks the track is not yet in the fast mixer thread's active set.
731 // If the track is not active (PAUSED and buffers full), flush buffers
792 // and keep the track active to avoid problems if user is seeking
808 ALOGV("flush called in active state, resetting buffer time out retry count");
825 // remove from active trac
2111 dump(char* buffer, size_t size, bool active) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp227 res = waitUntilStateThenRelock(/*active*/ false, kShutdownTimeout);
559 waitUntilStateThenRelock(/*active*/true, kActiveTimeout);
561 SET_ERR_L("Can't transition to active in %f seconds!",
708 // Continue captures if active at start
788 // Continue captures if active at start
866 // Continue captures if active at start
1093 status_t res = waitUntilStateThenRelock(/*active*/ false, kShutdownTimeout);
1107 status_t res = waitUntilStateThenRelock(/*active*/ false, kShutdownTimeout);
1122 res = waitUntilStateThenRelock(/*active*/ true, kActiveTimeout);
1124 SET_ERR_L("Can't transition to active i
1131 waitUntilStateThenRelock(bool active, nsecs_t timeout) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java468 // Inform listener of any active targets. Typically only one will be active.
490 private void hideUnselected(int active) { argument
492 if (i != active) {
836 // Drop the active target if canceled.

Completed in 4183 milliseconds

12