Stay organized with collections
Save and categorize content based on your preferences.
Small runtime library to install profile traces that are bundled in an APK such that art may use them to ahead of time compile libraries. This allows unbundled libraries to achieve similar performance as bundled code without waiting for just in time compilation.
Interfaces
ProfileInstaller.DiagnosticsCallback |
An object which can be passed to the ProfileInstaller which will receive information during the installation process which can be used for logging and telemetry.
|
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.profileinstaller\n=========================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/profileinstaller/package-summary \"View this page in Java\")\n\nSmall runtime library to install profile traces that are bundled in an APK such that art may use them to ahead of time compile libraries. This allows unbundled libraries to achieve similar performance as bundled code without waiting for just in time compilation.\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ProfileInstaller.DiagnosticsCallback](/reference/kotlin/androidx/profileinstaller/ProfileInstaller.DiagnosticsCallback) | An object which can be passed to the ProfileInstaller which will receive information during the installation process which can be used for logging and telemetry. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ProfileInstallReceiver](/reference/kotlin/androidx/profileinstaller/ProfileInstallReceiver) | The [android.content.BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver.html) which forces a synchronous installation of the baseline profile. |\n| [ProfileInstaller](/reference/kotlin/androidx/profileinstaller/ProfileInstaller) | Install ahead of time tracing profiles to configure ART to precompile bundled libraries. |\n| [ProfileInstallerInitializer](/reference/kotlin/androidx/profileinstaller/ProfileInstallerInitializer) | Startup library initializer that installs an AOT profile several seconds after launch. |\n| [ProfileInstallerInitializer.Result](/reference/kotlin/androidx/profileinstaller/ProfileInstallerInitializer.Result) | Empty result class for ProfileInstaller. |\n| [ProfileVerifier](/reference/kotlin/androidx/profileinstaller/ProfileVerifier) | Provides API to verify whether a compilation profile was installed with the app. |\n| [ProfileVerifier.CompilationStatus](/reference/kotlin/androidx/profileinstaller/ProfileVerifier.CompilationStatus) | [CompilationStatus](/reference/kotlin/androidx/profileinstaller/ProfileVerifier.CompilationStatus) contains the result of a profile verification operation. |"]]