/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SessionTest.java | 22 import android.telecom.Logging.Session; 60 Session childSession = Log.getSessionManager() in testRecursion_printFullSessionTree() 63 Session parentSession = childSession.getParentSession(); in testRecursion_printFullSessionTree() 91 Session childSession = Log.getSessionManager() in testRecursion_getFullMethodPath() 94 Session parentSession = childSession.getParentSession(); in testRecursion_getFullMethodPath() 122 Session childSession = Log.getSessionManager() in testRecursion_getFullMethodPathTruncated() 125 Session parentSession = childSession.getParentSession(); in testRecursion_getFullMethodPathTruncated() 154 Session childSession = Log.getSessionManager() in testRecursion_toString() 157 Session parentSession = childSession.getParentSession(); in testRecursion_toString() 186 Session childSession = Log.getSessionManager() in testRecursion_toString_childCircDep() [all …]
|
D | SessionManagerTest.java | 27 import android.telecom.Logging.Session; 57 private long mfullSessionCompleteTime = Session.UNDEFINED; 75 mfullSessionCompleteTime = Session.UNDEFINED; in tearDown() 92 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testStartSession() 115 Session testChildSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testStartInvisibleChildSession() 134 Session testSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testEndSession() 161 Session testChildSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testEndInvisibleChildSession() 167 Session testParentSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testEndInvisibleChildSession() 184 Session testSession = mTestSessionManager.createSubsession(); in testCreateSubsession() 187 Session parentSession = mTestSessionManager.mSessionMapper.get(TEST_PARENT_THREAD_ID); in testCreateSubsession() [all …]
|
D | ConnectionServiceFixture.java | 45 import android.telecom.Logging.Session; 227 Session.Info info) throws RemoteException { in addConnectionServiceAdapter() 237 Session.Info info) throws RemoteException { in removeConnectionServiceAdapter() 248 Session.Info info) throws RemoteException { in createConnection() 272 public void createConnectionComplete(String id, Session.Info info) throws RemoteException { in createConnectionComplete() 280 Session.Info sessionInfo) throws RemoteException { in createConnectionFailed() 297 Session.Info sessionInfo) { } in createConference() 300 public void createConferenceComplete(String id, Session.Info sessionInfo) { } in createConferenceComplete() 308 Session.Info sessionInfo) { } in createConferenceFailed() 311 public void abort(String callId, Session.Info info) throws RemoteException { } in abort() [all …]
|
D | CallerInfoLookupHelperTest.java | 37 import android.telecom.Logging.Session; 136 ArgumentCaptor<Session> logSessionCaptor = ArgumentCaptor.forClass(Session.class); in testSimpleLookup() 175 ArgumentCaptor<Session> logSessionCaptor = ArgumentCaptor.forClass(Session.class); in testLookupWithTwoListeners() 215 ArgumentCaptor<Session> logSessionCaptor = ArgumentCaptor.forClass(Session.class); in testListenerAddedAfterCallerInfoBeforePhoto()
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/extensions/ |
D | StateExtension.java | 21 import com.android.dialer.enrichedcall.Session; 22 import com.android.dialer.enrichedcall.Session.State; 30 if (callComposerState == Session.STATE_NONE) { in toString() 33 if (callComposerState == Session.STATE_STARTING) { in toString() 36 if (callComposerState == Session.STATE_STARTED) { in toString() 39 if (callComposerState == Session.STATE_START_FAILED) { in toString() 42 if (callComposerState == Session.STATE_MESSAGE_SENT) { in toString() 45 if (callComposerState == Session.STATE_MESSAGE_FAILED) { in toString() 48 if (callComposerState == Session.STATE_CLOSED) { in toString()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | FrameServerImpl.java | 36 public class Session implements FrameServer.Session { class in FrameServerImpl 40 private Session() { in Session() method in FrameServerImpl.Session 76 private final FrameServer.Session mCaptureSession; 83 public FrameServerImpl(FrameServer.Session captureSession) { in FrameServerImpl() 90 public Session createExclusiveSession() throws InterruptedException { in createExclusiveSession() 94 return new Session(); in createExclusiveSession() 99 public Session tryCreateExclusiveSession() { in tryCreateExclusiveSession() 104 return new Session(); in tryCreateExclusiveSession()
|
D | ObservableFrameServer.java | 51 private class SessionImpl implements Session { 53 private final Session mDelegate; 55 private SessionImpl(Session delegate) { in SessionImpl() 85 public Session createExclusiveSession() throws InterruptedException { in createExclusiveSession() 91 Session session = mDelegate.createExclusiveSession(); in createExclusiveSession() 104 public Session tryCreateExclusiveSession() { in tryCreateExclusiveSession() 105 Session session = mDelegate.tryCreateExclusiveSession(); in tryCreateExclusiveSession()
|
D | FrameServer.java | 39 public interface Session extends SafeCloseable { interface 75 public Session createExclusiveSession() throws InterruptedException; in createExclusiveSession() 82 public Session tryCreateExclusiveSession(); in tryCreateExclusiveSession()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiWakeMetrics.java | 39 private final List<Session> mSessions = new ArrayList<>(); 41 private Session mCurrentSession; 59 mCurrentSession = new Session(numNetworks, SystemClock.elapsedRealtime()); in recordStartEvent() 169 proto.sessions = new WifiWakeStats.Session[mSessions.size()]; in buildProto() 190 for (Session session : mSessions) { in dump() 216 public static class Session { class in WifiWakeMetrics 236 public Session(int numNetworks, long timestamp) { in Session() method in WifiWakeMetrics.Session 307 public WifiWakeStats.Session buildProto() { in buildProto() 308 WifiWakeStats.Session sessionProto = new WifiWakeStats.Session(); in buildProto() 356 public WifiWakeStats.Session.Event buildProto() { in buildProto() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiWakeMetricsTest.java | 89 WifiWakeStats.Session session = wifiWakeStats.sessions[i]; in buildsMultiSessionProto_greaterThanMax() 183 WifiWakeStats.Session session = wifiWakeStats.sessions[0]; in ignoresEventsAfterResetAndBeforeStartCalled() 239 WifiWakeMetrics.Session session = in session_buildsEmptyProto() 240 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_buildsEmptyProto() 242 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildsEmptyProto() 253 WifiWakeMetrics.Session session = in session_recordsEvents() 254 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_recordsEvents() 274 WifiWakeMetrics.Session session = in session_buildProto() 275 new WifiWakeMetrics.Session(1 /* numNetworks */, 1000 /* timestamp */); in session_buildProto() 282 WifiWakeStats.Session sessionProto = session.buildProto(); in session_buildProto() [all …]
|
/packages/apps/TV/common/src/com/android/tv/common/support/tis/ |
D | SimpleSessionManager.java | 18 import android.media.tv.TvInputService.Session; 30 private final Set<Session> sessions; 39 public void removeSession(Session session) { in removeSession() 44 public void addSession(Session session) { in addSession() 54 public ImmutableSet<Session> getSessions() { in getSessions()
|
D | SessionManager.java | 18 import android.media.tv.TvInputService.Session; 24 void removeSession(Session session); in removeSession() 26 void addSession(Session session); in addSession() 30 ImmutableSet<Session> getSessions(); in getSessions()
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/ |
D | EnrichedCallManagerStub.java | 28 import com.android.dialer.enrichedcall.Session; 59 return Session.NO_SESSION_ID; in startCallComposerSession() 80 public Session getSession( in getSession() 87 public Session getSession(long sessionId) { in getSession() 174 return Session.NO_SESSION_ID; in startVideoShareSession() 184 return Session.NO_SESSION_ID; in getVideoShareInviteSessionId()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | CallComposerActivity.java | 69 import com.android.dialer.enrichedcall.Session; 70 import com.android.dialer.enrichedcall.Session.State; 136 private Long sessionId = Session.NO_SESSION_ID; 211 sessionId = savedInstanceState.getLong(SESSION_ID_KEY, Session.NO_SESSION_ID); in onCreate() 263 } else if (sessionId == Session.NO_SESSION_ID) { in onResume() 273 if (sessionId == Session.NO_SESSION_ID) { in onResume() 297 Session session = getEnrichedCallManager().getSession(sessionId); in refreshUiForCallComposerState() 309 case Session.STATE_STARTING: in refreshUiForCallComposerState() 315 case Session.STATE_STARTED: in refreshUiForCallComposerState() 321 case Session.STATE_START_FAILED: in refreshUiForCallComposerState() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | ApplicationsState.java | 132 final ArrayList<ApplicationsState.Session> mSessions = new ArrayList<>(); 133 final ArrayList<ApplicationsState.Session> mRebuildingSessions = new ArrayList<>(); 150 final ArrayList<WeakReference<ApplicationsState.Session>> mActiveSessions = new ArrayList<>(); 251 public ApplicationsState.Session newSession( in newSession() 256 public ApplicationsState.Session newSession( in newSession() 258 ApplicationsState.Session in newSession() 259 s = new ApplicationsState.Session(callbacks, lifecycle); in newSession() 795 ApplicationsState.Session s = mSessions.get(i); in rebuildActiveSessions() 809 public class Session implements LifecycleObserver, OnResume, OnPause, OnDestroy { class in ApplicationsState 828 Session(ApplicationsState.Callbacks callbacks, Lifecycle lifecycle) { in Session() method in ApplicationsState.Session [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ConnectionServiceWrapper.java | 47 import android.telecom.Logging.Session; 135 ParcelableConnection connection, Session.Info sessionInfo) { in handleCreateConnectionComplete() 175 ParcelableConference conference, Session.Info sessionInfo) { in handleCreateConferenceComplete() 214 public void setActive(String callId, Session.Info sessionInfo) { in setActive() 238 public void setRinging(String callId, Session.Info sessionInfo) { in setRinging() 261 public void resetConnectionTime(String callId, Session.Info sessionInfo) { in resetConnectionTime() 282 Session.Info sessionInfo) { in setVideoProvider() 303 public void setDialing(String callId, Session.Info sessionInfo) { in setDialing() 326 public void setPulling(String callId, Session.Info sessionInfo) { in setPulling() 348 Session.Info sessionInfo) { in setDisconnected() [all …]
|
D | CallerInfoLookupHelper.java | 26 import android.telecom.Logging.Session; 164 Session continuedSession = Log.createSubsession(); in startLookup() 185 Log.continueSession((Session) cookie, "CILH.oQC"); in makeCallerInfoQueryListener() 218 Session continuedSession = Log.createSubsession(); 235 Log.continueSession((Session) cookie, "CLIH.oILC");
|
/packages/modules/Bluetooth/android/pandora/test/pairing/ |
D | smp_test.py | 140 class Session(smp.Session): class 142 def send_command(self: smp.Session, command: smp.SMP_Command) -> None: argument 153 self.ref.device.smp_session_proxy = Session 162 self.ref.device.smp_session_proxy = Session 249 class Session(smp.Session): class 255 self.ref.device.smp_session_proxy = Session
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/factory/ |
D | TunerSessionFactory.java | 19 import android.media.tv.TvInputService.Session; 35 void onReleased(Session session); in onReleased() 49 Session create( in create()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/embedded/ |
D | SessionTest.kt | 195 private var session: Session? = null in <lambda>() 202 private fun getSessionUnderTest(component: EmbeddedServiceComponent): Session { in <lambda>() 207 Session( in <lambda>() 284 val entryPoint = EntryPoints.get(component, Session.EmbeddedEntryPoint::class.java) in <lambda>() 339 val entryPoint = EntryPoints.get(component, Session.EmbeddedEntryPoint::class.java) in <lambda>() 360 val entryPoint = EntryPoints.get(component, Session.EmbeddedEntryPoint::class.java) in <lambda>() 379 val entryPoint = EntryPoints.get(component, Session.EmbeddedEntryPoint::class.java) in <lambda>() 408 val entryPoint = EntryPoints.get(component, Session.EmbeddedEntryPoint::class.java) in <lambda>() 430 val entryPoint = EntryPoints.get(component, Session.EmbeddedEntryPoint::class.java) in <lambda>() 512 advanceTimeBy(100 + Session.URI_DEBOUNCE_TIME) in <lambda>() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/omapi/ |
D | OmapiConnectionImpl.java | 28 import android.se.omapi.Session; 54 @Nullable private Session mSession; 111 Session session = getSession(); in closeChannel() 171 Session session = getSession(); in openChannel() 198 private Session getSession() throws IOException { in getSession()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | BaseTunerTvInputService.java | 54 private final Set<Session> mTunerSessions = Collections.newSetFromMap(new WeakHashMap<>()); 131 public Session onCreateSession(String inputId) { in onCreateSession() 140 final Session session = in onCreateSession() 172 private void onReleased(Session session) { in onReleased()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ConvergedImageCaptureCommand.java | 153 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) { in run() 174 private void waitForAFConvergence(FrameServer.Session session) throws CameraAccessException, in waitForAFConvergence() 197 private void waitForAEConvergence(FrameServer.Session session) throws CameraAccessException, in waitForAEConvergence() 220 private void captureBurst(FrameServer.Session session, ImageStream imageStream, Updatable<Void> in captureBurst() 264 private void resetRepeating(FrameServer.Session session) throws InterruptedException, in resetRepeating()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSessionFactory.java | 19 import android.service.textservice.SpellCheckerService.Session; 22 public static Session newInstance(AndroidSpellCheckerService service) { in newInstance()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/embedded/ |
D | EmbeddedService.kt | 60 private val allSessions: MutableList<Session> = mutableListOf() 132 ): Session { in buildSession() 134 Session( in buildSession()
|