Package-level declarations

Types

Link copied to clipboard
@RequiresApi(api = 35)
sealed class BufferFillPolicy
Link copied to clipboard

This class contains additional platform version checking methods for targeting pre-release versions of Android.

Link copied to clipboard
Helper for accessing features in Bundle.
Link copied to clipboard
Static library support version of the framework's android.os.CancellationSignal.
Link copied to clipboard
Helper class which allows access to properties of Configuration in a backward compatible fashion.
Link copied to clipboard
Helper for accessing features in Environment.
Link copied to clipboard
Helper for accessing features in Executor.
Link copied to clipboard
Helper for accessing features in Handler.
Link copied to clipboard

Request builder to create a request for a heap profile from ProfilingManager.

Link copied to clipboard

Request builder to create a request for a java heap dump from ProfilingManager.

Link copied to clipboard
Helper for accessing features in LocaleList.
Link copied to clipboard
Helper for accessing features in Message.
Link copied to clipboard
An exception type that is thrown when an operation in progress is canceled.
Link copied to clipboard
Callback interface intended for use when an asynchronous operation may result in a failure.
Link copied to clipboard
Helper for accessing features in android.os.Parcelable.
Link copied to clipboard
Callbacks a Parcelable creator should implement.
Link copied to clipboard
Helper for accessing features in Parcel.
Link copied to clipboard
Helper for accessing features in Process.
Link copied to clipboard

Profiling request class containing data to submit a profiling request.

Link copied to clipboard

Base class for request builders.

Link copied to clipboard

Request builder to create a request for stack sampling from ProfilingManager.

Link copied to clipboard

Request builder to create a request for a system trace from ProfilingManager.

Link copied to clipboard
Writes trace events to the system trace buffer.
Link copied to clipboard
open class UserHandleCompat
open class UserHandleCompat
Helper for accessing features in android.os.UserHandle in a backwards compatible fashion.
Link copied to clipboard
Helper for accessing features in android.os.UserManager in a backwards compatible fashion.

Functions

Link copied to clipboard

Obtain a flow to be called with all profiling results for this UID.

Register a listener to be called with all profiling results for this UID.

Link copied to clipboard
@RequiresApi(api = 35)
fun requestProfiling(context: Context, profilingRequest: ProfilingRequest, executor: Executor?, listener: Consumer<ProfilingResult>?)

Request profiling using a ProfilingRequest generated by one of the provided builders.

Link copied to clipboard

Unregister a listener that was to be called for all profiling results.