/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 89 preproc_session_t *session; // session the effect is on member 282 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate() 445 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); in AecCreate() 470 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); in AecGetParameter() 490 status = effect->session->apm->set_stream_delay_ms(value/1000); in AecSetParameter() 574 effect->session->apm->SetExtraOptions(config); in NsInit() 577 effect->session->apm->SetExtraOptions(config); in NsInit() 584 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); in NsCreate() 623 effect->session->apm->SetExtraOptions(config); in NsSetParameter() 645 effect->session->apm->SetExtraOptions(config); in NsEnable() [all …]
|
/frameworks/av/camera/ndk/ |
D | NdkCameraCaptureSession.cpp | 36 void ACameraCaptureSession_close(ACameraCaptureSession* session) { in ACameraCaptureSession_close() argument 38 if (session != nullptr) { in ACameraCaptureSession_close() 39 session->closeByApp(); in ACameraCaptureSession_close() 46 ACameraCaptureSession* session, ACameraDevice **device) { in ACameraCaptureSession_getDevice() argument 48 if (session == nullptr || device == nullptr) { in ACameraCaptureSession_getDevice() 50 __FUNCTION__, session, device); in ACameraCaptureSession_getDevice() 54 if (session->isClosed()) { in ACameraCaptureSession_getDevice() 55 ALOGE("%s: session %p is already closed", __FUNCTION__, session); in ACameraCaptureSession_getDevice() 60 *device = session->getDevice(); in ACameraCaptureSession_getDevice() 71 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_capture() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 171 @NonNull PackageInstallerSession session) throws PackageManagerException { in submitSessionToApexService() 173 if (session.isMultiPackage()) { in submitSessionToApexService() 174 for (int id : session.getChildSessionIds()) { in submitSessionToApexService() 182 final ApexInfoList apexInfoList = mApexManager.submitStagedSession(session.sessionId, in submitSessionToApexService() 205 checkRequiredVersionCode(session, activePackage); in submitSessionToApexService() 206 checkDowngrade(session, activePackage, packageInfo); in submitSessionToApexService() 209 Slog.d(TAG, "Session " + session.sessionId + " has following APEX packages: [" in submitSessionToApexService() 214 private void checkRequiredVersionCode(final PackageInstallerSession session, in checkRequiredVersionCode() argument 216 if (session.params.requiredInstalledVersionCode == PackageManager.VERSION_CODE_HIGHEST) { in checkRequiredVersionCode() 220 if (activeVersion != session.params.requiredInstalledVersionCode) { in checkRequiredVersionCode() [all …]
|
D | PackageInstallerService.java | 231 final PackageInstallerSession session = mSessions.valueAt(i); in systemReady() local 232 unclaimedIcons.remove(buildAppIconFile(session.sessionId)); in systemReady() 252 final PackageInstallerSession session = mSessions.valueAt(i); in restoreAndApplyStagedSessionIfNeeded() local 253 if (session.isStaged()) { in restoreAndApplyStagedSessionIfNeeded() 254 stagedSessionsToRestore.add(session); in restoreAndApplyStagedSessionIfNeeded() 261 for (PackageInstallerSession session : stagedSessionsToRestore) { in restoreAndApplyStagedSessionIfNeeded() 262 if (!session.isStagedAndInTerminalState() && session.hasParentSessionId() in restoreAndApplyStagedSessionIfNeeded() 263 && getSession(session.getParentSessionId()) == null) { in restoreAndApplyStagedSessionIfNeeded() 264 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_ACTIVATION_FAILED, in restoreAndApplyStagedSessionIfNeeded() 265 "An orphan staged session " + session.sessionId + " is found, " in restoreAndApplyStagedSessionIfNeeded() [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsCallSessionListener.aidl | 38 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile); in callSessionProgressing() argument 40 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile); in callSessionStarted() argument 42 void callSessionStartFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionStartFailed() argument 44 void callSessionTerminated(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionTerminated() argument 50 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile); in callSessionHeld() argument 52 void callSessionHoldFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionHoldFailed() argument 54 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionHoldReceived() argument 56 void callSessionResumed(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumed() argument 58 void callSessionResumeFailed(in IImsCallSession session, in ImsReasonInfo reasonInfo); in callSessionResumeFailed() argument 60 void callSessionResumeReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumeReceived() argument [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiWakeMetricsTest.java | 89 WifiWakeStats.Session session = wifiWakeStats.sessions[i]; in buildsMultiSessionProto_greaterThanMax() local 90 assertNotNull(session); in buildsMultiSessionProto_greaterThanMax() 91 assertEquals(session.lockedNetworksAtStart, i); in buildsMultiSessionProto_greaterThanMax() 92 assertEquals(session.lockedNetworksAtInitialize, i); in buildsMultiSessionProto_greaterThanMax() 183 WifiWakeStats.Session session = wifiWakeStats.sessions[0]; in ignoresEventsAfterResetAndBeforeStartCalled() local 184 assertNotNull(session.wakeupEvent); in ignoresEventsAfterResetAndBeforeStartCalled() 185 assertEquals(session.wakeupEvent.elapsedScans, 1); in ignoresEventsAfterResetAndBeforeStartCalled() 239 WifiWakeMetrics.Session session = in session_buildsEmptyProto() local 242 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildsEmptyProto() 253 WifiWakeMetrics.Session session = in session_recordsEvents() local [all …]
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingSessionCallback.java | 153 public void onActive(CameraCaptureSession session) { in onActive() argument 154 mSessionFuture.setSession(session); in onActive() 155 if (mProxy != null) mProxy.onActive(session); in onActive() 160 public void onClosed(CameraCaptureSession session) { in onClosed() argument 161 mSessionFuture.setSession(session); in onClosed() 162 if (mProxy != null) mProxy.onClosed(session); in onClosed() 165 mPreparedSurfaces.remove(session); in onClosed() 170 public void onConfigured(CameraCaptureSession session) { in onConfigured() argument 171 mSessionFuture.setSession(session); in onConfigured() 173 mProxy.onConfigured(session); in onConfigured() [all …]
|
D | BlockingCaptureCallback.java | 125 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted() argument 127 if (mProxy != null) mProxy.onCaptureStarted(session, request, timestamp, frameNumber); in onCaptureStarted() 132 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() argument 134 if (mProxy != null) mProxy.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed() 139 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() argument 141 if (mProxy != null) mProxy.onCaptureCompleted(session, request, result); in onCaptureCompleted() 146 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed() argument 148 if (mProxy != null) mProxy.onCaptureFailed(session, request, failure); in onCaptureFailed() 153 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument 155 if (mProxy != null) mProxy.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted() [all …]
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipSessionAdapter.java | 25 public void onCalling(ISipSession session) { in onCalling() argument 28 public void onRinging(ISipSession session, SipProfile caller, in onRinging() argument 32 public void onRingingBack(ISipSession session) { in onRingingBack() argument 35 public void onCallEstablished(ISipSession session, in onCallEstablished() argument 39 public void onCallEnded(ISipSession session) { in onCallEnded() argument 42 public void onCallBusy(ISipSession session) { in onCallBusy() argument 45 public void onCallTransferring(ISipSession session, in onCallTransferring() argument 49 public void onCallChangeFailed(ISipSession session, int errorCode, in onCallChangeFailed() argument 53 public void onError(ISipSession session, int errorCode, String message) { in onError() argument 56 public void onRegistering(ISipSession session) { in onRegistering() argument [all …]
|
D | SipSession.java | 117 public void onCalling(SipSession session) { in onCalling() argument 127 public void onRinging(SipSession session, SipProfile caller, in onRinging() argument 136 public void onRingingBack(SipSession session) { in onRingingBack() argument 145 public void onCallEstablished(SipSession session, in onCallEstablished() argument 154 public void onCallEnded(SipSession session) { in onCallEnded() argument 162 public void onCallBusy(SipSession session) { in onCallBusy() argument 184 public void onError(SipSession session, int errorCode, in onError() argument 195 public void onCallChangeFailed(SipSession session, int errorCode, in onCallChangeFailed() argument 204 public void onRegistering(SipSession session) { in onRegistering() argument 213 public void onRegistrationDone(SipSession session, int duration) { in onRegistrationDone() argument [all …]
|
D | ISipSessionListener.aidl | 32 void onCalling(in ISipSession session); in onCalling() argument 41 void onRinging(in ISipSession session, in SipProfile caller, in onRinging() argument 49 void onRingingBack(in ISipSession session); in onRingingBack() argument 57 void onCallEstablished(in ISipSession session, in onCallEstablished() argument 65 void onCallEnded(in ISipSession session); in onCallEnded() argument 72 void onCallBusy(in ISipSession session); in onCallBusy() argument 90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() argument 99 void onCallChangeFailed(in ISipSession session, int errorCode, in onCallChangeFailed() argument 107 void onRegistering(in ISipSession session); in onRegistering() argument 115 void onRegistrationDone(in ISipSession session, int duration); in onRegistrationDone() argument [all …]
|
D | SipManager.java | 446 ISipSession session = mSipService.getPendingSession(callId, in takeAudioCall() local 448 if (session == null) { in takeAudioCall() 452 mContext, session.getLocalProfile()); in takeAudioCall() 453 call.attachCall(new SipSession(session), offerSd); in takeAudioCall() 529 ISipSession session = mSipService.createSession(localProfile, in register() local 532 if (session == null) { in register() 536 session.register(expiryTime); in register() 556 ISipSession session = mSipService.createSession(localProfile, in unregister() local 559 if (session == null) { in unregister() 563 session.unregister(); in unregister() [all …]
|
/frameworks/base/media/apex/java/android/media/ |
D | MediaSession2Service.java | 32 import android.media.session.MediaSessionManager; 33 import android.media.session.MediaSessionManager.RemoteUserInfo; 66 public void onPlaybackActiveChanged(MediaSession2 session, boolean playbackActive) { 67 MediaSession2Service.this.onPlaybackActiveChanged(session, playbackActive); 71 public void onSessionClosed(MediaSession2 session) { 72 removeSession(session); 135 for (MediaSession2 session : sessions) { in onDestroy() 136 removeSession(session); in onDestroy() 179 public abstract MediaNotification onUpdateNotification(@NonNull MediaSession2 session); in onUpdateNotification() argument 190 public final void addSession(@NonNull MediaSession2 session) { in addSession() argument [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionListenerProxy.java | 47 public void onCalling(final ISipSession session) { in onCalling() argument 53 mListener.onCalling(session); in onCalling() 62 public void onRinging(final ISipSession session, final SipProfile caller, in onRinging() argument 69 mListener.onRinging(session, caller, sessionDescription); in onRinging() 78 public void onRingingBack(final ISipSession session) { in onRingingBack() argument 84 mListener.onRingingBack(session); in onRingingBack() 93 public void onCallEstablished(final ISipSession session, in onCallEstablished() argument 100 mListener.onCallEstablished(session, sessionDescription); in onCallEstablished() 109 public void onCallEnded(final ISipSession session) { in onCallEnded() argument 115 mListener.onCallEnded(session); in onCallEnded() [all …]
|
/frameworks/av/camera/ndk/include/camera/ |
D | NdkCameraCaptureSession.h | 64 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session); 171 void* context, ACameraCaptureSession* session, 188 void* context, ACameraCaptureSession* session, 206 void* context, ACameraCaptureSession* session, 219 void* context, ACameraCaptureSession* session, 231 void* context, ACameraCaptureSession* session, 248 void* context, ACameraCaptureSession* session, 416 void ACameraCaptureSession_close(ACameraCaptureSession* session); 437 ACameraCaptureSession* session, /*out*/ACameraDevice** device) __INTRODUCED_IN(24); 472 ACameraCaptureSession* session, [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CallbackProxies.java | 50 public void onConfigured(CameraCaptureSession session) { in onConfigured() argument 53 mExecutor.execute(() -> mCallback.onConfigured(session)); in onConfigured() 61 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed() argument 64 mExecutor.execute(() -> mCallback.onConfigureFailed(session)); in onConfigureFailed() 71 public void onReady(CameraCaptureSession session) { in onReady() argument 74 mExecutor.execute(() -> mCallback.onReady(session)); in onReady() 81 public void onActive(CameraCaptureSession session) { in onActive() argument 84 mExecutor.execute(() -> mCallback.onActive(session)); in onActive() 91 public void onCaptureQueueEmpty(CameraCaptureSession session) { in onCaptureQueueEmpty() argument 94 mExecutor.execute(() -> mCallback.onCaptureQueueEmpty(session)); in onCaptureQueueEmpty() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCall.java | 711 public static boolean isSessionAlive(ImsCallSession session) { in isSessionAlive() argument 712 return session != null && session.isAlive(); in isSessionAlive() 1089 public void attachSession(ImsCallSession session) throws ImsException { in attachSession() argument 1090 logi("attachSession :: session=" + session); in attachSession() 1093 mSession = session; in attachSession() 1112 public void start(ImsCallSession session, String callee) in start() argument 1114 logi("start(1) :: session=" + session); in start() 1117 mSession = session; in start() 1120 session.setListener(createCallSessionListener()); in start() 1121 session.start(callee, mCallProfile); in start() [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2CaptureCallbackSplitter.java | 50 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted() argument 53 target.onCaptureCompleted(session, request, result); in onCaptureCompleted() 58 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed() argument 61 target.onCaptureFailed(session, request, failure); in onCaptureFailed() 66 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed() argument 69 target.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed() 74 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted() argument 76 target.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted() 81 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted() argument 84 target.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted() [all …]
|
D | Camera2CaptureCallbackForwarder.java | 41 public void onCaptureCompleted(final CameraCaptureSession session, final CaptureRequest request, in onCaptureCompleted() argument 46 mListener.onCaptureCompleted(session, request, result); in onCaptureCompleted() 51 public void onCaptureFailed(final CameraCaptureSession session, final CaptureRequest request, in onCaptureFailed() argument 56 mListener.onCaptureFailed(session, request, failure); in onCaptureFailed() 61 public void onCaptureProgressed(final CameraCaptureSession session, in onCaptureProgressed() argument 67 mListener.onCaptureProgressed(session, request, partialResult); in onCaptureProgressed() 72 public void onCaptureSequenceAborted(final CameraCaptureSession session, final int sequenceId) { in onCaptureSequenceAborted() argument 76 mListener.onCaptureSequenceAborted(session, sequenceId); in onCaptureSequenceAborted() 81 public void onCaptureSequenceCompleted(final CameraCaptureSession session, final int sequenceId, in onCaptureSequenceCompleted() argument 86 mListener.onCaptureSequenceCompleted(session, sequenceId, frameNumber); in onCaptureSequenceCompleted() [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSession.java | 17 package android.media.session; 33 import android.media.session.MediaSessionManager.RemoteUserInfo; 1153 public CallbackStub(MediaSession session) { in CallbackStub() argument 1154 mMediaSession = new WeakReference<>(session); in CallbackStub() 1164 MediaSession session = mMediaSession.get(); in onCommand() local 1165 if (session != null) { in onCommand() 1166 session.dispatchCommand(createRemoteUserInfo(packageName, pid, uid), in onCommand() 1174 MediaSession session = mMediaSession.get(); in onMediaButton() local 1176 if (session != null) { in onMediaButton() 1177 session.dispatchMediaButton(createRemoteUserInfo(packageName, pid, uid), in onMediaButton() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraCaptureSession.java | 902 public abstract void onConfigured(@NonNull CameraCaptureSession session); in onConfigured() argument 917 public abstract void onConfigureFailed(@NonNull CameraCaptureSession session); in onConfigureFailed() argument 932 public void onReady(@NonNull CameraCaptureSession session) { in onReady() argument 948 public void onActive(@NonNull CameraCaptureSession session) { in onActive() argument 978 public void onCaptureQueueEmpty(@NonNull CameraCaptureSession session) { in onCaptureQueueEmpty() argument 996 public void onClosed(@NonNull CameraCaptureSession session) { in onClosed() argument 1015 public void onSurfacePrepared(@NonNull CameraCaptureSession session, in onSurfacePrepared() argument 1084 public void onCaptureStarted(@NonNull CameraCaptureSession session, in onCaptureStarted() argument 1114 public void onCapturePartial(CameraCaptureSession session, in onCapturePartial() argument 1158 public void onCaptureProgressed(@NonNull CameraCaptureSession session, in onCaptureProgressed() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallSession.java | 104 public void callSessionProgressing(ImsCallSession session, in callSessionProgressing() argument 114 public void callSessionStarted(ImsCallSession session, in callSessionStarted() argument 125 public void callSessionStartFailed(ImsCallSession session, in callSessionStartFailed() argument 135 public void callSessionTerminated(ImsCallSession session, in callSessionTerminated() argument 144 public void callSessionHeld(ImsCallSession session, in callSessionHeld() argument 154 public void callSessionHoldFailed(ImsCallSession session, in callSessionHoldFailed() argument 163 public void callSessionHoldReceived(ImsCallSession session, in callSessionHoldReceived() argument 172 public void callSessionResumed(ImsCallSession session, in callSessionResumed() argument 182 public void callSessionResumeFailed(ImsCallSession session, in callSessionResumeFailed() argument 191 public void callSessionResumeReceived(ImsCallSession session, in callSessionResumeReceived() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 19 import android.media.session.MediaController.PlaybackInfo; 20 import android.media.session.MediaSession; 21 import android.media.session.PlaybackState; 231 for (MediaSessionRecord session : mSessions) { in findMediaButtonSession() 232 if (uid == session.getUid()) { in findMediaButtonSession() 233 if (session.getPlaybackState() != null && session.isPlaybackActive() == in findMediaButtonSession() 234 mAudioPlayerStateMonitor.isPlaybackActive(session.getUid())) { in findMediaButtonSession() 237 return session; in findMediaButtonSession() 242 mediaButtonSession = session; in findMediaButtonSession() 346 final MediaSessionRecord session = mSessions.get(i); in getPriorityList() local [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LooperStats.java | 81 DispatchSession session = mSessionPool.poll(); in messageDispatchStarting() local 82 session = session == null ? new DispatchSession() : session; in messageDispatchStarting() 83 session.startTimeMicro = getElapsedRealtimeMicro(); in messageDispatchStarting() 84 session.cpuStartMicro = getThreadTimeMicro(); in messageDispatchStarting() 85 session.systemUptimeMillis = getSystemUptimeMillis(); in messageDispatchStarting() 86 return session; in messageDispatchStarting() 98 DispatchSession session = (DispatchSession) token; in messageDispatched() local 99 Entry entry = findEntry(msg, /* allowCreateNew= */session != DispatchSession.NOT_SAMPLED); in messageDispatched() 103 if (session != DispatchSession.NOT_SAMPLED) { in messageDispatched() 105 final long latency = getElapsedRealtimeMicro() - session.startTimeMicro; in messageDispatched() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | SoundTriggerSession.cpp | 25 status_t SoundTriggerSessionCollection::acquireSession(audio_session_t session, in acquireSession() argument 28 add(session, ioHandle); in acquireSession() 33 status_t SoundTriggerSessionCollection::releaseSession(audio_session_t session) in releaseSession() argument 35 ssize_t index = indexOfKey(session); in releaseSession() 37 ALOGW("releaseSession() session %d not registered", session); in releaseSession() 41 removeItem(session); in releaseSession()
|