Home
last modified time | relevance | path

Searched refs:mNativeObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/tracing/perfetto/
DDataSource.java34 protected final long mNativeObj; field in DataSource
54 this.mNativeObj = nativeCreate(this, name); in DataSource()
74 boolean startedIterator = nativePerfettoDsTraceIterateBegin(mNativeObj); in trace()
82 int instanceIndex = nativeGetPerfettoDsInstanceIndex(mNativeObj); in trace()
88 nativeWritePackets(mNativeObj, ctx.getAndClearAllPendingTracePackets()); in trace()
89 } while (nativePerfettoDsTraceIterateNext(mNativeObj)); in trace()
91 nativePerfettoDsTraceIterateBreak(mNativeObj); in trace()
99 nativeFlushAll(mNativeObj); in flush()
133 nativeRegisterDataSource(this.mNativeObj, params.bufferExhaustedPolicy, in register()
145 return (DataSourceInstanceType) nativeGetPerfettoInstanceLocked(mNativeObj, instanceIndex); in getDataSourceInstanceLocked()
[all …]
DTracingContext.java69 TlsStateType tlsState = (TlsStateType) nativeGetCustomTls(mDataSource.mNativeObj); in getCustomTlsState()
74 nativeSetCustomTls(mDataSource.mNativeObj, tlsState); in getCustomTlsState()
88 (IncrementalStateType) nativeGetIncrementalState(mDataSource.mNativeObj); in getIncrementalState()
93 nativeSetIncrementalState(mDataSource.mNativeObj, incrementalState); in getIncrementalState()