Home
last modified time | relevance | path

Searched refs:session (Results 1 – 19 of 19) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DUtils.kt19 fun queryRealToMonotonicTimeOffsetNs(session: TraceProcessorSession, tableName: String): Long { in <lambda>()
20 val elapsed = queryLastEntryTimestamp(session, tableName) in <lambda>()
24 val monotonic = queryToMonotonic(session, elapsed) in <lambda>()
25 val real = queryToRealtime(session, elapsed) in <lambda>()
29 fun queryLastEntryTimestamp(session: TraceProcessorSession, tableName: String): Long? { in queryLastEntryTimestamp()
40 session.query(sql) { rows -> in queryLastEntryTimestamp()
50 fun queryToMonotonic(session: TraceProcessorSession, elapsedTimestamp: Long): Long { in queryToMonotonic()
53 session.query(sql) { rows -> in queryToMonotonic()
60 fun queryToRealtime(session: TraceProcessorSession, elapsedTimestamp: Long): Long { in queryToRealtime()
63 session.query(sql) { rows -> in queryToRealtime()
DTraceProcessorSession.kt33 class TraceProcessorSession(val session: PerfettoTraceProcessor.Session) { constant in android.tools.traces.parsers.perfetto.TraceProcessorSession
37 val rows = session.query(sql) in query()
DTransactionsTraceParser.kt77 private fun queryTraceEntriesCount(session: TraceProcessorSession): Long { in <lambda>()
83 return session.query(sql) { rows -> in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DPerfettoTraceMonitorTest.kt80 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
81 LayersTraceParser().parse(session) in <lambda>()
105 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
106 TransitionsTraceParser().parse(session) in <lambda>()
126 val queryRowsCount = { session: TraceProcessorSession, tableName: String -> in <lambda>() method
130 session.query( in <lambda>()
140 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
142 queryRowsCount(session, "android_inputmethod_clients"), in <lambda>()
143 queryRowsCount(session, "android_inputmethod_manager_service"), in <lambda>()
144 queryRowsCount(session, "android_inputmethod_service") in <lambda>()
[all …]
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/
DRenderResult.java46 static RenderResult getFromSession(@NonNull RenderSession session) { in getFromSession() argument
47 return new RenderResult(session.getResult(), in getFromSession()
48 new ArrayList<>(session.getSystemRootViews()), in getFromSession()
49 new ArrayList<>(session.getRootViews()), in getFromSession()
50 session.getImage()); in getFromSession()
DRenderTestBase.java99 void beforeDisposed(RenderSession session); in beforeDisposed() argument
436 RenderSession session = bridge.createSession(params); in render() local
440 session.setElapsedFrameTimeNanos(frameTimeNanos); in render()
443 if (!session.getResult().isSuccess()) { in render()
444 getLogger().error(session.getResult().getException(), in render()
445 session.getResult().getErrorMessage()); in render()
449 Result renderResult = session.render(50000); in render()
451 getLogger().error(session.getResult().getException(), in render()
452 session.getResult().getErrorMessage()); in render()
456 listener.beforeDisposed(session); in render()
[all …]
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/perfetto/
DLayerTraceParserTest.kt40 ) { session -> in <lambda>() method
41 LayersTraceParser().parse(session) in <lambda>()
54 ) { session -> in <lambda>() method
55 LayersTraceParser().parse(session) in <lambda>()
DTransactionsTraceParserTest.kt40 ) { session -> in <lambda>() method
41 TransactionsTraceParser().parse(session) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt131 TraceProcessorSession.loadPerfettoTrace(it) { session -> in <lambda>() method
134 session, in <lambda>()
164 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
165 LayersTraceParser().parse(session, clearCache = true) in <lambda>()
188 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
189 TransactionsTraceParser().parse(session, from, to, addInitialEntry = true) in <lambda>()
234 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
237 session, in <lambda>()
250 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>() method
252 .parse(session, from = transitionTimeRange.start, to = transitionTimeRange.end) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DMonitorUtils.kt72 return TraceProcessorSession.loadPerfettoTrace(trace) { session -> in withSFTracing() method
73 LayersTraceParser().parse(session) in withSFTracing()
91 return TraceProcessorSession.loadPerfettoTrace(trace) { session -> in withTransactionsTracing() method
92 TransactionsTraceParser().parse(session) in withTransactionsTracing()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaSessionCallback.java19 import android.media.session.MediaSession;
20 import android.media.session.PlaybackState;
DMediaInstrumentation.java29 import android.media.session.MediaSession;
30 import android.media.session.PlaybackState;
318 public Builder(Context context, MediaSession session) { in Builder() argument
322 mSession = session; in Builder()
DMediaController.java22 import android.media.session.PlaybackState;
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DDeviceDumpParser.kt71 TraceProcessorSession.loadPerfettoTrace(layersTraceData) { session in <lambda>() method
74 .parse(session, clearCache = clearCacheAfterParsing) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/
DLegacyTransitionTraceParserTest.kt60 session -> in <lambda>() method
61 TransitionsTraceParser().parse(session) in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/rules/
DTemporaryMediaNotification.kt26 import android.media.session.MediaSession
27 import android.media.session.PlaybackState
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt57 TraceProcessorSession.loadPerfettoTrace(scenarioTraces.perfetto.readBytes()) { session -> in <lambda>() method
58 val layersTrace = LayersTraceParser().parse(session) in <lambda>()
59 val transactionsTrace = TransactionsTraceParser().parse(session) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt163 TraceProcessorSession.loadPerfettoTrace(readAsset(relativePath)) { session -> in getLayerTraceReaderFromAsset() method
170 .parse(session, from, to) in getLayerTraceReaderFromAsset()
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DMediaCenterHelperImpl.java22 import android.media.session.MediaController;
23 import android.media.session.MediaSessionManager;
24 import android.media.session.PlaybackState;