Home
last modified time | relevance | path

Searched refs:TracingSession (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingServiceTests.java44 import android.os.profiling.TracingSession;
332 TracingSession tracingSession = new TracingSession( in testAreAnyTracesRunning_True()
355 TracingSession tracingSession = new TracingSession( in testAreAnyTracesRunning_False()
372 TracingSession tracingSession = new TracingSession( in testActiveTracesCleanup()
680 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_InvalidState()
681 TracingSession session = new TracingSession( in testQueuedResult_InvalidState()
690 session.setState(TracingSession.TracingState.PROFILING_STARTED); in testQueuedResult_InvalidState()
719 List<TracingSession> queue = new ArrayList<TracingSession>(); in testQueuedResult_OverMaxRetries()
720 TracingSession session = new TracingSession( in testQueuedResult_OverMaxRetries()
729 session.setState(TracingSession.TracingState.PROFILING_FINISHED); in testQueuedResult_OverMaxRetries()
[all …]
/packages/modules/Profiling/service/java/com/android/os/profiling/
DProfilingService.java128 public ArrayMap<String, TracingSession> mTracingSessions = new ArrayMap<>();
133 public SparseArray<List<TracingSession>> mQueuedTracingResults = new SparseArray<>();
323 TracingSession session = mTracingSessions.valueAt(i); in getTrackedFilenames()
338 List<TracingSession> perUidSessions = mQueuedTracingResults.valueAt(i); in getTrackedFilenames()
341 TracingSession session = perUidSessions.get(j); in getTrackedFilenames()
433 TracingSession session = new TracingSession(profilingType, params, filePath, uid, in requestProfiling()
554 List<TracingSession> sessions = mQueuedTracingResults.get(Binder.getCallingUid()); in receiveFileDescriptor()
562 TracingSession session = null; in receiveFileDescriptor()
568 TracingSession tempSession = sessions.get(i); in receiveFileDescriptor()
613 if (session.getState().getValue() < TracingSession.TracingState.COPIED_FILE.getValue()) { in receiveFileDescriptor()
[all …]
DTracingSession.java26 public final class TracingSession { class
68 public TracingSession(int profilingType, Bundle params, String appFilePath, int uid, in TracingSession() method in TracingSession
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DNetworkTraceHandlerTest.cpp39 std::unique_ptr<perfetto::TracingSession> StartTracing( in StartTracing()
62 bool StopTracing(perfetto::TracingSession* session, in StopTracing()