/frameworks/av/camera/ndk/ |
D | NdkCameraCaptureSession.cpp | 38 void ACameraCaptureSession_close(ACameraCaptureSession* session) { in ACameraCaptureSession_close() argument 40 if (session != nullptr) { in ACameraCaptureSession_close() 41 session->closeByApp(); in ACameraCaptureSession_close() 48 ACameraCaptureSession* session, ACameraDevice **device) { in ACameraCaptureSession_getDevice() argument 50 if (session == nullptr || device == nullptr) { in ACameraCaptureSession_getDevice() 52 __FUNCTION__, session, device); in ACameraCaptureSession_getDevice() 56 if (session->isClosed()) { in ACameraCaptureSession_getDevice() 57 ALOGE("%s: session %p is already closed", __FUNCTION__, session); in ACameraCaptureSession_getDevice() 62 *device = session->getDevice(); in ACameraCaptureSession_getDevice() 73 ACameraCaptureSession* session, /*optional*/ACameraCaptureSession_captureCallbacks* cbs, in ACameraCaptureSession_capture() argument [all …]
|
D | NdkCameraCaptureSession.inc | 25 ACameraCaptureSession* session, 30 if (session == nullptr || requests == nullptr || numRequests < 1) { 31 ALOGE("%s: Error: invalid input: session %p, numRequest %d, requests %p", 32 __FUNCTION__, session, numRequests, requests); 36 if (session->isClosed()) { 37 ALOGE("%s: session %p is already closed", __FUNCTION__, session); 44 return session->capture( 50 ACameraCaptureSession* session, 55 if (session == nullptr || requests == nullptr || numRequests < 1) { 56 ALOGE("%s: Error: invalid input: session %p, numRequest %d, requests %p", [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | MainContentCaptureSessionTest.java | 87 MainContentCaptureSession session = createSession(); in onSessionStarted_contentProtectionEnabled_processorCreated() local 88 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionEnabled_processorCreated() 90 session.onSessionStarted(/* resultCode= */ 0, /* binder= */ null); in onSessionStarted_contentProtectionEnabled_processorCreated() 92 assertThat(session.mContentProtectionEventProcessor).isNotNull(); in onSessionStarted_contentProtectionEnabled_processorCreated() 97 MainContentCaptureSession session = in onSessionStarted_contentProtectionDisabled_processorNotCreated() local 101 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in onSessionStarted_contentProtectionDisabled_processorNotCreated() 103 session.onSessionStarted(/* resultCode= */ 0, /* binder= */ null); in onSessionStarted_contentProtectionDisabled_processorNotCreated() 105 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionDisabled_processorNotCreated() 116 MainContentCaptureSession session = createSession(options); in onSessionStarted_contentProtectionNoBuffer_processorNotCreated() local 117 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in onSessionStarted_contentProtectionNoBuffer_processorNotCreated() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSessionVerifier.java | 94 public void verify(PackageInstallerSession session, Callback callback) { in verify() argument 97 storeSession(session.mStagedSession); in verify() 98 if (session.isMultiPackage()) { in verify() 99 for (PackageInstallerSession child : session.getChildSessions()) { in verify() 105 checkApexUpdateAllowed(session); in verify() 106 checkRebootlessApex(session); in verify() 107 checkApexSignature(session); in verify() 109 verifyAPK(session, callback); in verify() 112 session.setSessionFailed(e.error, errorMessage); in verify() 134 private void checkApexSignature(PackageInstallerSession session) in checkApexSignature() argument [all …]
|
D | StagingManager.java | 248 private List<StagedSession> extractApexSessions(StagedSession session) { in extractApexSessions() argument 250 if (session.isMultiPackage()) { in extractApexSessions() 251 for (StagedSession s : session.getChildSessions()) { in extractApexSessions() 257 apexSessions.add(session); in extractApexSessions() 268 private void checkInstallationOfApkInApexSuccessful(StagedSession session) in checkInstallationOfApkInApexSuccessful() argument 270 final List<StagedSession> apexSessions = extractApexSessions(session); in checkInstallationOfApkInApexSuccessful() 291 private void snapshotAndRestoreForApexSession(StagedSession session) { in snapshotAndRestoreForApexSession() argument 293 (session.sessionParams().installFlags & PackageManager.INSTALL_ENABLE_ROLLBACK) != 0 in snapshotAndRestoreForApexSession() 294 || session.sessionParams().installReason == PackageManager.INSTALL_REASON_ROLLBACK; in snapshotAndRestoreForApexSession() 300 final List<StagedSession> apexSessions = extractApexSessions(session); in snapshotAndRestoreForApexSession() [all …]
|
D | PackageInstallerService.java | 334 final PackageInstallerSession session = mSessions.valueAt(i); in systemReady() local 335 unclaimedIcons.remove(buildAppIconFile(session.sessionId)); in systemReady() 362 final PackageInstallerSession session = mSessions.valueAt(i); in restoreAndApplyStagedSessionIfNeeded() local 363 if (!session.isStaged()) { in restoreAndApplyStagedSessionIfNeeded() 366 StagingManager.StagedSession stagedSession = session.mStagedSession; in restoreAndApplyStagedSessionIfNeeded() 393 final PackageInstallerSession session = mSessions.valueAt(i); in reconcileStagesLocked() local 394 unclaimedStages.remove(session.stageDir); in reconcileStagesLocked() 432 final PackageInstallerSession session = mSessions.valueAt(i); in freeStageDirs() local 433 if (!unclaimedStagingDirsOnVolume.contains(session.stageDir)) { in freeStageDirs() 437 final long age = currentTimeMillis - session.createdMillis; in freeStageDirs() [all …]
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 89 preproc_session_t* session; // session the effect is on member 262 effect->session->config = effect->session->apm->GetConfig(); in Agc2Init() 263 effect->session->config.gain_controller2.fixed_digital.gain_db = 0.f; in Agc2Init() 264 effect->session->apm->ApplyConfig(effect->session->config); in Agc2Init() 270 effect->session->config = effect->session->apm->GetConfig(); in AgcInit() 271 effect->session->config.gain_controller1.target_level_dbfs = kAgcDefaultTargetLevel; in AgcInit() 272 effect->session->config.gain_controller1.compression_gain_db = kAgcDefaultCompGain; in AgcInit() 273 effect->session->config.gain_controller1.enable_limiter = kAgcDefaultLimiter; in AgcInit() 274 effect->session->apm->ApplyConfig(effect->session->config); in AgcInit() 325 effect->session->config = effect->session->apm->GetConfig(); in Agc2GetParameter() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | FakeSessionTest.java | 46 FakeSession session = new FakeSession( in testNonEmptyResult_hasImage() local 55 ScrollCaptureClient.CaptureResult result = getUnchecked(session.requestTile(0)); in testNonEmptyResult_hasImage() 62 FakeSession session = new FakeSession( in testEmptyResult_hasNullImage() local 71 ScrollCaptureClient.CaptureResult result = getUnchecked(session.requestTile(-100)); in testEmptyResult_hasNullImage() 77 FakeSession session = new FakeSession( in testCaptureAtZero() local 87 ScrollCaptureClient.CaptureResult result = getUnchecked(session.requestTile(0)); in testCaptureAtZero() 92 assertEquals("scroll delta", 0, session.getScrollDelta()); in testCaptureAtZero() 97 FakeSession session = new FakeSession( in testCaptureAtPageBottom() local 107 ScrollCaptureClient.CaptureResult result = getUnchecked(session.requestTile(90)); in testCaptureAtPageBottom() 112 assertEquals("scroll delta", 0, session.getScrollDelta()); in testCaptureAtPageBottom() [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/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthSessionTest.java | 137 final AuthSession session = createAuthSession(mSensors, in testNewAuthSession_eligibleSensorsSetToStateUnknown() local 144 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testNewAuthSession_eligibleSensorsSetToStateUnknown() 159 final AuthSession session = createAuthSession(mSensors, in testStartNewAuthSession() local 165 assertEquals(mSensors.size(), session.mPreAuthInfo.eligibleSensors.size()); in testStartNewAuthSession() 167 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() 172 session.goToInitialState(); in testStartNewAuthSession() 173 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() 189 final int cookie1 = session.mPreAuthInfo.eligibleSensors.get(0).getCookie(); in testStartNewAuthSession() 190 session.onCookieReceived(cookie1); in testStartNewAuthSession() 191 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() [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 | 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 | SipSession.java | 119 public void onCalling(SipSession session) { in onCalling() argument 129 public void onRinging(SipSession session, SipProfile caller, in onRinging() argument 138 public void onRingingBack(SipSession session) { in onRingingBack() argument 147 public void onCallEstablished(SipSession session, in onCallEstablished() argument 156 public void onCallEnded(SipSession session) { in onCallEnded() argument 164 public void onCallBusy(SipSession session) { in onCallBusy() argument 186 public void onError(SipSession session, int errorCode, in onError() argument 197 public void onCallChangeFailed(SipSession session, int errorCode, in onCallChangeFailed() argument 206 public void onRegistering(SipSession session) { in onRegistering() argument 215 public void onRegistrationDone(SipSession session, int duration) { in onRegistrationDone() argument [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 …]
|
/frameworks/av/camera/ndk/include/camera/ |
D | NdkCameraCaptureSession.h | 62 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session); 128 ACameraCaptureSession *session); 201 void* context, ACameraCaptureSession* session, 218 void* context, ACameraCaptureSession* session, 236 void* context, ACameraCaptureSession* session, 249 void* context, ACameraCaptureSession* session, 261 void* context, ACameraCaptureSession* session, 278 void* context, ACameraCaptureSession* session, 450 void ACameraCaptureSession_close(ACameraCaptureSession* session); 474 ACameraCaptureSession* session, /*out*/ACameraDevice** device) __INTRODUCED_IN(24); [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/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserJourneyLoggerTest.java | 74 final UserJourneyLogger.UserJourneySession session = new UserJourneyLogger in testUserStartLifecycleJourneyReported() local 77 report1.captureLogAndAssert(mUserJourneyLogger, session, in testUserStartLifecycleJourneyReported() 87 final UserJourneyLogger.UserJourneySession session = new UserJourneyLogger in testUserLifecycleEventOccurred() local 90 report1.captureLogAndAssert(mUserJourneyLogger, session, 0, in testUserLifecycleEventOccurred() 97 final UserJourneyLogger.UserJourneySession session = mUserJourneyLogger in testLogUserLifecycleEvent() local 100 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testLogUserLifecycleEvent() 106 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testLogUserLifecycleEvent() 115 final UserJourneyLogger.UserJourneySession session = mUserJourneyLogger in testCreateUserJourney() local 118 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, -1, in testCreateUserJourney() 127 report1.captureAndAssert(mUserJourneyLogger, session.mSessionId, 10, in testCreateUserJourney() [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/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillInlineSuggestionsRequestSession.java | 385 AutofillInlineSuggestionsRequestSession session) { in InlineSuggestionsRequestCallbackImpl() argument 386 mSession = new WeakReference<>(session); in InlineSuggestionsRequestCallbackImpl() 393 final AutofillInlineSuggestionsRequestSession session = mSession.get(); in onInlineSuggestionsUnsupported() local 394 if (session != null) { in onInlineSuggestionsUnsupported() 395 session.mHandler.sendMessage(obtainMessage( in onInlineSuggestionsUnsupported() 396 AutofillInlineSuggestionsRequestSession::handleOnReceiveImeRequest, session, in onInlineSuggestionsUnsupported() 406 final AutofillInlineSuggestionsRequestSession session = mSession.get(); in onInlineSuggestionsRequest() local 407 if (session != null) { in onInlineSuggestionsRequest() 408 session.mHandler.sendMessage(obtainMessage( in onInlineSuggestionsRequest() 409 AutofillInlineSuggestionsRequestSession::handleOnReceiveImeRequest, session, in onInlineSuggestionsRequest() [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/native/libs/binder/ |
D | RpcState.cpp | 67 status_t RpcState::onBinderLeaving(const sp<RpcSession>& session, const sp<IBinder>& binder, in onBinderLeaving() argument 72 if (isRpc && binder->remoteBinder()->getPrivateAccessor().rpcSession() != session) { in onBinderLeaving() 113 bool forServer = session->server() != nullptr; in onBinderLeaving() 150 status_t RpcState::onBinderEntering(const sp<RpcSession>& session, uint64_t address, in onBinderEntering() argument 181 if ((addr.options & RPC_WIRE_ADDRESS_OPTION_FOR_SERVER) == !!session->server()) { in onBinderEntering() 192 it->second.binder = *out = BpBinder::PrivateAccessor::create(session, it->first); in onBinderEntering() 197 status_t RpcState::flushExcessBinderRefs(const sp<RpcSession>& session, uint64_t address, in flushExcessBinderRefs() argument 224 return session->sendDecStrongToTarget(address, 0); in flushExcessBinderRefs() 230 status_t RpcState::sendObituaries(const sp<RpcSession>& session) { in sendObituaries() argument 247 binder->remoteBinder()->getPrivateAccessor().rpcSession() == session) { in sendObituaries() [all …]
|
D | RpcState.h | 67 const sp<RpcSession>& session, uint32_t* version); 69 const sp<RpcSession>& session); 71 const sp<RpcSession>& session); 75 const sp<RpcSession>& session); 77 const sp<RpcSession>& session, size_t* maxThreadsOut); 79 const sp<RpcSession>& session, 84 const sp<RpcSession>& session, Parcel* reply, uint32_t flags); 87 const sp<RpcSession>& session, Parcel* reply, 110 const sp<RpcSession>& session, uint64_t address, 118 const sp<RpcSession>& session, CommandType type); [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ContentRecordingSessionTest.java | 52 ContentRecordingSession session = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testParcelable() local 53 session.setVirtualDisplayId(DISPLAY_ID); in testParcelable() 56 session.writeToParcel(parcel, 0 /* flags */); in testParcelable() 59 assertThat(session).isEqualTo(session2); in testParcelable() 65 ContentRecordingSession session = ContentRecordingSession.createTaskSession(WINDOW_TOKEN); in testTaskConstructor() local 66 assertThat(session.getContentToRecord()).isEqualTo(RECORD_CONTENT_TASK); in testTaskConstructor() 67 assertThat(session.getTokenToRecord()).isEqualTo(WINDOW_TOKEN); in testTaskConstructor() 72 ContentRecordingSession session = ContentRecordingSession.createDisplaySession( in testDisplayConstructor() local 74 assertThat(session.getContentToRecord()).isEqualTo(RECORD_CONTENT_DISPLAY); in testDisplayConstructor() 75 assertThat(session.getTokenToRecord()).isNull(); in testDisplayConstructor() [all …]
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | HotwordDetectionConnection.java | 291 runForEachDetectorSessionLocked((session) -> { in cancelLocked() argument 292 session.destroyLocked(); in cancelLocked() 340 final DetectorSession session = getDetectorSessionByTokenLocked(token); in updateStateLocked() local 341 if (session == null) { in updateStateLocked() 345 session.updateStateLocked(options, sharedMemory, mLastRestartInstant); in updateStateLocked() 359 final SoftwareTrustedHotwordDetectorSession session = in startListeningFromMicLocked() local 361 if (session == null) { in startListeningFromMicLocked() 364 session.startListeningFromMicLocked(audioFormat, callback); in startListeningFromMicLocked() 369 final VisualQueryDetectorSession session = getVisualQueryDetectorSessionLocked(); in setVisualQueryDetectionAttentionListenerLocked() local 370 if (session == null) { in setVisualQueryDetectionAttentionListenerLocked() [all …]
|