Home
last modified time | relevance | path

Searched defs:session (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java80 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnOpenSuccessCalled() local
96 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled() local
119 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingOpened_CannotOpenClosedSession() local
143 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen() local
159 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingClosed_OnClosedCalled() local
174 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testOnRangingResult_OnReportReceivedCalled() local
190 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStart_CannotStartIfAlreadyStarted() local
207 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStop_CannotStopIfAlreadyStopped() local
226 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testStop_CannotStopIfOpenFailed() local
246 RangingSession session = new RangingSession(EXECUTOR, callback, adapter, handle); in testCallbacks_OnlyWhenOpened() local
[all …]
/packages/modules/Uwb/framework/java/android/uwb/
DRangingManager.java81 RangingSession session = in openSession() local
114 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingOpened() local
130 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingOpenFailed() local
146 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingReconfigured() local
161 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingReconfigureFailed() local
176 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingStarted() local
191 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingStartFailed() local
206 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingStopped() local
221 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingStopFailed() local
236 RangingSession session = mRangingSessionTable.get(sessionHandle); in onRangingClosed() local
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DLoggingCallbacks.java65 public void onConfigured(CameraCaptureSession session) { in onConfigured()
72 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed()
78 public void onReady(CameraCaptureSession session) { in onReady()
86 public void onActive(CameraCaptureSession session) { in onActive()
94 public void onClosed(CameraCaptureSession session) { in onClosed()
104 …public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp,… in onCaptureStarted()
112 …public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, CaptureResul… in onCaptureProgressed()
120 …public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureR… in onCaptureCompleted()
128 …public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, CaptureFailure f… in onCaptureFailed()
133 …public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, long frameNum… in onCaptureSequenceCompleted()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DCameraCaptureSessionProxy.java40 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureCompleted()
43 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureFailed()
46 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureProgressed()
49 public void onCaptureSequenceAborted(CameraCaptureSessionProxy session, int sequenceId); in onCaptureSequenceAborted()
51 public void onCaptureSequenceCompleted(CameraCaptureSessionProxy session, int sequenceId, in onCaptureSequenceCompleted()
54 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureStarted()
59 public void onActive(CameraCaptureSessionProxy session); in onActive()
61 public void onClosed(CameraCaptureSessionProxy session); in onClosed()
63 public void onConfigureFailed(CameraCaptureSessionProxy session); in onConfigureFailed()
65 public void onConfigured(CameraCaptureSessionProxy session); in onConfigured()
[all …]
DAndroidCameraDeviceProxy.java43 public void onConfigured(CameraCaptureSession session) { in onConfigured()
48 public void onConfigureFailed(CameraCaptureSession session) { in onConfigureFailed()
53 public void onReady(CameraCaptureSession session) { in onReady()
58 public void onActive(CameraCaptureSession session) { in onActive()
63 public void onClosed(CameraCaptureSession session) { in onClosed()
DAndroidCameraCaptureSessionProxy.java42 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, in onCaptureStarted()
49 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, in onCaptureProgressed()
56 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in onCaptureCompleted()
62 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, in onCaptureFailed()
68 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, in onCaptureSequenceCompleted()
75 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { in onCaptureSequenceAborted()
82 public AndroidCameraCaptureSessionProxy(CameraCaptureSession session) { in AndroidCameraCaptureSessionProxy()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DMinimalCpmChatService.java109 SimpleChatSession session = new SimpleChatSession(mContext, this, mMsrpManager); in startOriginatingChatSession() local
114 ListenableFuture<Boolean> sendSipRequest(SIPRequest msg, SimpleChatSession session) { in sendSipRequest()
117 mTransactions.put(msg.getTransactionId(), session); in sendSipRequest() local
128 ListenableFuture<Boolean> sendSipResponse(SIPResponse msg, SimpleChatSession session) { in sendSipResponse()
135 mDialogs.put(msg.getDialogId(/* isServer= */ true), session); in sendSipResponse() local
145 SimpleChatSession session = mDialogs.get(dialogId); in handleRequest() local
148 SimpleChatSession session = new SimpleChatSession(mContext, this, mMsrpManager); in handleRequest() local
181 SimpleChatSession session = mTransactions.get(response.getTransactionId()); in handleResponse() local
190 mDialogs.put(response.getDialogId(/* isServer= */ false), session); in handleResponse() local
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DExerciseDurationAggregationTest.java80 ExerciseSessionRecord session = in testSimpleAggregation_oneSession_returnsItsDuration() local
103 ExerciseSessionRecord session = in testSimpleAggregation_oneSessionStartEarlierThanWindow_returnsOverlapDuration() local
124 ExerciseSessionRecord session = in testSimpleAggregation_oneSessionBiggerThanWindow_returnsOverlapDuration() local
151 ExerciseSessionRecord session = in testSimpleAggregation_oneSessionWithRest_returnsDurationMinusRest() local
186 ExerciseSessionRecord session = in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups() local
220 ExerciseSessionRecord session = in testAggregation_oneSessionLocalTimeFilter_findsSessionWithMinOffset() local
248 ExerciseSessionRecord session = in testAggregation_oneSessionLocalTimeFilterExcludeSegment_substractsExcludeInterval() local
DSleepDurationAggregationTest.java64 SleepSessionRecord session = in testSimpleAggregation_oneSession_returnsItsDuration() local
88 SleepSessionRecord session = in testSimpleAggregation_oneSessionWithAwake_returnsDurationMinusAwake() local
129 SleepSessionRecord session = in testAggregationByDuration_oneSession_returnsSplitDurationIntoGroups() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementImplTest.java348 MockitoSession session = in testGetSourceType_clickVerificationDisabled_returnsNavigationSourceType() local
383 MockitoSession session = in testDeleteRegistrations_success_recordsDeletionInSystemServer() local
428 MockitoSession session = in testDeleteRegistrations_success_recordsDeletionInAppSearch() local
476 MockitoSession session = in testDeleteRegistrations_success_recordsDeletionInSystemServer_flagOff() local
520 MockitoSession session = in testDeleteRegistrations_success_recordsDeletionInAppSearch_flagOff() local
570 MockitoSession session = in testDeletePackageRecords_success_recordsDeletionInSystemServer() local
609 MockitoSession session = in testDeletePackageRecords_success_recordsDeletionInAppSearch() local
650 MockitoSession session = in testDeletePackageRecords_noDeletion_doesNotRecordDeletion() local
689 MockitoSession session = in testDeleteAllMeasurementData_success_recordsDeletionInSystemServer() local
726 MockitoSession session = in testDeleteAllMeasurementData_success_recordsDeletionInAppSearch() local
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java89 WifiWakeStats.Session session = wifiWakeStats.sessions[i]; in buildsMultiSessionProto_greaterThanMax() local
183 WifiWakeStats.Session session = wifiWakeStats.sessions[0]; in ignoresEventsAfterResetAndBeforeStartCalled() local
239 WifiWakeMetrics.Session session = in session_buildsEmptyProto() local
253 WifiWakeMetrics.Session session = in session_recordsEvents() local
274 WifiWakeMetrics.Session session = in session_buildProto() local
296 WifiWakeMetrics.Session session = in session_ignoresRepeatedEvents() local
311 WifiWakeMetrics.Session session = in session_hasWakeupTriggered() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioManager.cpp51 auto session = mSessions.find(sessionId); in getState() local
73 std::unique_ptr<AudioSession> session(new AudioSession()); in openSession() local
105 auto session = mSessions.find(sessionId); in modifySession() local
138 auto session = mSessions.find(sessionId); in addConfig() local
154 auto session = mSessions.find(sessionId); in deleteConfig() local
169 auto session = mSessions.find(sessionId); in confirmConfig() local
184 auto session = mSessions.find(sessionId); in sendDtmf() local
199 auto session = mSessions.find(sessionId); in sendRtpHeaderExtension() local
213 auto session = mSessions.find(sessionId); in setMediaQualityThreshold() local
228 auto session = mSessions.find(sessionId); in SendInternalEvent() local
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java140 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyInitAndConnect() local
168 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyValidateProviderWithMultipleProviderLangs() local
194 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyValidateProviderWithMismatchedProviderLang() local
219 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyValidateProviderWithSameLangButDifferentRegion() local
323 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyInitAndConnectInvalidProviderIdentity() local
371 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyExchangeSoapMessageWithException() local
397 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyExchangeSoapMessage() local
445 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse() local
482 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyRetrieveTrustRootCertsWithoutError() local
539 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyCleanup() local
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/mdd/
DMddJobServiceTest.java79 MockitoSession session = ExtendedMockito.mockitoSession().spyStatic( in onStartJobTest() local
104 MockitoSession session = ExtendedMockito.mockitoSession().spyStatic( in onStartJobNoTaskTagTest() local
124 MockitoSession session = ExtendedMockito.mockitoSession().spyStatic( in onStartJobFailHandleTaskTest() local
149 MockitoSession session = ExtendedMockito.mockitoSession().strictness( in onStopJobTest() local
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DSleepSessionInternalTest.java33 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternal(); in testSessionConvertToExternal_convertToExternal_fieldsIsEqual() local
40 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternalNoExtraFields(); in testSessionConvertToExternal_convertToExternalNoExtra_fieldsIsEqual() local
47 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternal(); in testSessionWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical() local
55 SleepSessionRecordInternal session = TestUtils.buildSleepSessionInternalNoExtraFields(); in testSessionWriteToParcel_populateToParcelAndFromNoExtra_restoredFieldsAreIdentical() local
61 SleepSessionRecordInternal session) { in writeAndRestoreFromParcel()
DExerciseSessionInternalTest.java37 ExerciseSessionRecordInternal session = TestUtils.buildExerciseSessionInternal(); in testSessionConvertToExternal_convertToExternal_fieldsIsEqual() local
44 ExerciseSessionRecordInternal session = in testSessionConvertToExternal_convertToExternalNoExtra_fieldsIsEqual() local
52 ExerciseSessionRecordInternal session = TestUtils.buildExerciseSessionInternal(); in testSessionWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical() local
61 ExerciseSessionRecordInternal session = in testSessionWriteToParcel_populateToParcelAndFromNoExtra_restoredFieldsAreIdentical() local
75 ExerciseSessionRecordInternal session) { in writeAndRestoreFromParcel()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/videoshare/
DVideoShareSessionListener.java22 void onSessionTerminated(VideoShareSession session); in onSessionTerminated()
24 void onSessionInitializationFailed(VideoShareSession session, Exception e); in onSessionInitializationFailed()
32 void onSessionTimedOut(VideoShareSession session); in onSessionTimedOut()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DTagDispatchCaptureSession.java57 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureStarted()
64 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureProgressed()
71 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureCompleted()
78 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, in onCaptureFailed()
85 public void onCaptureSequenceAborted(CameraCaptureSessionProxy session, int sequenceId) { in onCaptureSequenceAborted()
92 public void onCaptureSequenceCompleted(CameraCaptureSessionProxy session, int sequenceId, in onCaptureSequenceCompleted()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoManager.cpp49 auto session = mSessions.find(sessionId); in getState() local
73 std::unique_ptr<VideoSession> session(new VideoSession()); in openSession() local
107 auto session = mSessions.find(sessionId); in setPreviewSurfaceToSession() local
123 auto session = mSessions.find(sessionId); in setDisplaySurfaceToSession() local
139 auto session = mSessions.find(sessionId); in modifySession() local
155 auto session = mSessions.find(sessionId); in setMediaQualityThreshold() local
244 auto session = mSessions.find(sessionId); in SendInternalEvent() local
/packages/modules/Connectivity/framework/src/android/net/
DIQosCallback.aidl31 void onQosEpsBearerSessionAvailable(in QosSession session, in onQosEpsBearerSessionAvailable()
33 void onNrQosSessionAvailable(in QosSession session, in onNrQosSessionAvailable()
35 void onQosSessionLost(in QosSession session); in onQosSessionLost()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DPackageChangedReceiverTest.java453 MockitoSession session = in runPackageFullyRemovedForTopicsKillSwitchOff() local
492 MockitoSession session = in runPackageFullyRemovedForTopicsKillSwitchOn() local
520 MockitoSession session = in runPackageFullyRemovedForMsmtKillSwitchOff() local
558 MockitoSession session = in runPackageFullyRemovedForMsmtKillSwitchOn() local
598 MockitoSession session = in runPackageFullyRemovedForFledgeKillSwitchOff() local
655 MockitoSession session = in runPackageFullyRemovedForFledgeKillSwitchOn() local
685 MockitoSession session = in runPackageFullyRemovedForConsent() local
722 MockitoSession session = in validateConsentWhenPackageUidAbsent() local
766 MockitoSession session = in runPackageAddedForTopics() local
799 MockitoSession session = in runPackageAddedMsmtKillSwitchOff() local
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/
DRemotePreviewHandler.java91 final RemotePreviewSession session = createRemotePreviewSession(item, viewHolder); in onViewAttachedToWindow() local
118 RemotePreviewSession session = getSessionForItem(item); in onHandlePageSelected() local
163 RemotePreviewSession session = createRemotePreviewSession(mCurrentPreviewState.item, in restorePreviewState() local
263 final RemotePreviewSession session = getSessionForSurfaceId(surfaceId); in setPlaybackState() local
288 RemotePreviewSession session = mSessionMap.get(holder); in surfaceCreated() local
297 RemotePreviewSession session = mSessionMap.get(holder); in surfaceChanged() local
305 RemotePreviewSession session = mSessionMap.get(holder); in surfaceDestroyed() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextManager.cpp49 auto session = mSessions.find(sessionId); in getState() local
73 std::unique_ptr<TextSession> session(new TextSession()); in openSession() local
107 auto session = mSessions.find(sessionId); in modifySession() local
133 auto session = mSessions.find(sessionId); in setMediaQualityThreshold() local
148 auto session = mSessions.find(sessionId); in sendRtt() local
376 for (auto const& session : mSessions) in isOtherSessionActive() local
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2Service.java179 public abstract MediaNotification onUpdateNotification(@NonNull MediaSession2 session); in onUpdateNotification()
190 public final void addSession(@NonNull MediaSession2 session) { in addSession()
206 mSessions.put(session.getId(), session); in addSession() local
217 public final void removeSession(@NonNull MediaSession2 session) { in removeSession()
268 void onPlaybackActiveChanged(MediaSession2 session, boolean playbackActive) { in onPlaybackActiveChanged()
408 final MediaSession2 session; in connect() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DBaseTunerTvInputService.java123 RecordingSession session = in onCreateRecordingSession() local
140 final Session session = in onCreateSession() local
172 private void onReleased(Session session) { in onReleased()
177 private void onReleased(RecordingSession session) { in onReleased()

12345678910>>...12