This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun earth() { | |
print(LiveLiterals$EarthKt.`getString$arg-0$call-print$fun-earth`()) | |
} | |
object LiveLiterals$EarthKt { | |
var `String$arg-0$call-print$fun-earth`: String = "Bye World" | |
var `State$String$arg-0$call-print$fun-earth`: MutableState<String>? = null | |
fun `getString$arg-0$call-print$fun-earth`(): String { | |
val currentState = this.`State$String$arg-0$call-print$fun-earth` | |
val state = if (currentState == null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PLcom/mega/app/MegaApplication$onCreate$4;->invoke()Landroid/content/Context; | |
PLcom/mega/app/MegaApplication$onCreate$4;->invoke()Ljava/lang/Object; | |
PLcom/mega/app/MegaApplication$onCreate$7;->fetch(Lcom/freshchat/consumer/sdk/FreshchatImageLoaderRequest;)V | |
PLcom/mega/app/MegaApplication$putDataInPrefs$putStringIfAbsent$1;-><clinit>()V | |
PLcom/mega/app/MegaApplication$putDataInPrefs$putStringIfAbsent$1;-><init>()V | |
PLcom/mega/app/MegaApplication$putDataInPrefs$putStringIfAbsent$1;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; | |
PLcom/mega/app/MegaApplication$putDataInPrefs$putStringIfAbsent$1;->invoke(Ljava/lang/String;Ljava/lang/String;)V | |
PLcom/mega/app/MegaApplication$setupAppsFlyer$conversionDataListener$1;->onConversionDataSuccess(Ljava/util/Map;)V | |
PLcom/mega/app/MegaApplication;->access$getAttributionData$p(Lcom/mega/app/MegaApplication;)Landroidx/lifecycle/MutableLiveData; | |
PLcom/mega/app/MegaApplication;->access$saveAttributionData(Lcom/mega/app/MegaApplication;Ljava/util/Map;)V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(AndroidJUnit4::class) | |
class BaselineProfileBenchmark { | |
@get:Rule | |
val benchmarkRule = MacrobenchmarkRule() | |
@Test | |
fun startupNoCompilation() { | |
startup(CompilationMode.None()) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09-06 10:48:02.149 21077 21101 I TestRunner: started: startupBaselineProfile(com.mega.app.macrobenchmark.startup.ColdStartupBenchmark) | |
09-06 10:48:02.184 15151 15242 I A : NGA disabled due to not being eligible. | |
09-06 10:48:02.189 21077 21101 I UiAutomationShellCmd: Requesting permission: pm grant com.mega.app.macrobenchmark android.permission.WRITE_EXTERNAL_STORAGE | |
09-06 10:48:02.189 21077 21101 W UiAutomation: UiAutomation.grantRuntimePermission() is more robust and should be used instead of 'pm grant' | |
09-06 10:48:02.479 25536 25536 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms } | |
09-06 10:48:03.232 21077 21101 E GrantPermissionCallable: Permission: android.permission.WRITE_EXTERNAL_STORAGE cannot be granted! | |
09-06 10:48:03.233 21077 21101 E TestRunner: failed: startupBaselineProfile(com.mega.app.macrobenchmark.startup.ColdStartupBenchmark) | |
09-06 10:48:03.233 21077 21101 E TestRunner: ----- begin exception ----- | |
09-06 10:48:03.240 21077 211 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ExperimentalBaselineProfilesApi | |
@RunWith(AndroidJUnit4::class) | |
class BaselineProfileGenerator { | |
@get:Rule val baselineProfileRule = BaselineProfileRule() | |
@Test | |
fun startup() = | |
baselineProfileRule.collectBaselineProfile(packageName = YOUR_APP_PACKAGE_NAME) { | |
pressHome() | |
// This block defines the app's critical user journey. Here we are interested in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sep 06, 2022 10:21:48 AM com.google.testing.platform.plugin.android.AndroidDevicePlugin configure | |
INFO: No installables found in test fixture. Nothing to install. | |
Sep 06, 2022 10:21:48 AM com.google.testing.platform.plugin.android.AndroidDevicePlugin beforeAll | |
INFO: Installing APK: /Users/akashkhunt/StudioProjects/mega/apps/mega/macrobenchmark/build/intermediates/apk/website/benchmark/macrobenchmark-website-benchmark.apk | |
Sep 06, 2022 10:21:50 AM com.google.testing.platform.plugin.android.AndroidDevicePlugin beforeAll | |
INFO: Installing APK: /Users/akashkhunt/StudioProjects/mega/apps/mega/app/build/intermediates/apk/website/benchmark/GetMega-287(7.1.1)-website-arm64-v8a-benchmark.apk | |
Sep 06, 2022 10:22:03 AM com.google.testing.platform.runtime.android.driver.AndroidInstrumentationDriver run | |
INFO: Running Android Instrumentation driver. | |
Sep 06, 2022 10:22:06 AM com.google.testing.platform.RunnerImpl$Companion summarizeAndLogTestResult | |
SEVERE: Execute com.mega.app.macrobenchmark.startup.ColdStartupBenchmark.startu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Observer { | |
fun onStatusChange() | |
} | |
class ObserverImpl: Observer { | |
override fun onStatusChange() { | |
// do some operation | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (i in 0 until observers.size) { | |
observers[i].onStatusChange() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (observer in observers) { | |
observer.onStatusChange() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal Exception: java.util.ConcurrentModificationException | |
at java.util.ArrayList$Itr.next(ArrayList.java:860) | |
... | |
... | |
... |
OlderNewer