1// Signature format: 4.0 2package androidx.tracing.perfetto.handshake { 3 4 public final class PerfettoSdkHandshake { 5 ctor public PerfettoSdkHandshake(String targetPackage, kotlin.jvm.functions.Function1<? super java.lang.String,? extends java.util.Map<java.lang.String,java.lang.String>> parseJsonMap, kotlin.jvm.functions.Function1<? super java.lang.String,java.lang.String> executeShellCommand); 6 method public androidx.tracing.perfetto.handshake.protocol.Response disableTracingColdStart(); 7 method public androidx.tracing.perfetto.handshake.protocol.Response enableTracingColdStart(); 8 method public androidx.tracing.perfetto.handshake.protocol.Response enableTracingColdStart(optional boolean persistent); 9 method public androidx.tracing.perfetto.handshake.protocol.Response enableTracingColdStart(optional boolean persistent, optional androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource? librarySource); 10 method public androidx.tracing.perfetto.handshake.protocol.Response enableTracingImmediate(optional androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource? librarySource); 11 } 12 13 public abstract static sealed class PerfettoSdkHandshake.LibrarySource { 14 method public static final androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource aarLibrarySource(java.io.File aarFile, java.io.File tempDirectory, kotlin.jvm.functions.Function2<? super java.io.File,? super java.io.File,kotlin.Unit> moveLibFileFromTmpDirToAppDir); 15 method public static final androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource apkLibrarySource(java.io.File apkFile, java.io.File tempDirectory, kotlin.jvm.functions.Function2<? super java.io.File,? super java.io.File,kotlin.Unit> moveLibFileFromTmpDirToAppDir); 16 field public static final androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource.Companion Companion; 17 } 18 19 public static final class PerfettoSdkHandshake.LibrarySource.Companion { 20 method public androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource aarLibrarySource(java.io.File aarFile, java.io.File tempDirectory, kotlin.jvm.functions.Function2<? super java.io.File,? super java.io.File,kotlin.Unit> moveLibFileFromTmpDirToAppDir); 21 method public androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.LibrarySource apkLibrarySource(java.io.File apkFile, java.io.File tempDirectory, kotlin.jvm.functions.Function2<? super java.io.File,? super java.io.File,kotlin.Unit> moveLibFileFromTmpDirToAppDir); 22 } 23 24} 25 26package androidx.tracing.perfetto.handshake.protocol { 27 28 public final class Response { 29 method public String? getMessage(); 30 method public String? getRequiredVersion(); 31 method public int getResultCode(); 32 property public final String? message; 33 property public final String? requiredVersion; 34 property public final int resultCode; 35 } 36 37 public final class ResponseResultCodes { 38 field public static final androidx.tracing.perfetto.handshake.protocol.ResponseResultCodes INSTANCE; 39 field public static final int RESULT_CODE_ALREADY_ENABLED = 2; // 0x2 40 field public static final int RESULT_CODE_CANCELLED = 0; // 0x0 41 field public static final int RESULT_CODE_ERROR_BINARY_MISSING = 11; // 0xb 42 field public static final int RESULT_CODE_ERROR_BINARY_VERIFICATION_ERROR = 13; // 0xd 43 field public static final int RESULT_CODE_ERROR_BINARY_VERSION_MISMATCH = 12; // 0xc 44 field public static final int RESULT_CODE_ERROR_OTHER = 99; // 0x63 45 field public static final int RESULT_CODE_SUCCESS = 1; // 0x1 46 } 47 48} 49 50