| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.0.0-alpha15" type="baseline" client="cli" name="Lint" variant="all" version="7.0.0-alpha15"> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/benchmark/simpleperf/ProfileSession.java" |
| line="128" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/benchmark/simpleperf/ProfileSession.java" |
| line="148" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/benchmark/simpleperf/ProfileSession.java" |
| line="163" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="BanSynchronizedMethods" |
| message="Use of synchronized methods is not recommended" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/benchmark/simpleperf/ProfileSession.java" |
| line="174" |
| column="5"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 29; however, the containing class androidx.benchmark.Errors is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" Build.VERSION.SDK_INT >= 29 && !context.applicationInfo.isProfileableByShell" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/Errors.kt" |
| line="199" |
| column="73"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 24; however, the containing class androidx.benchmark.IsolationActivity.Companion is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" powerManager.isSustainedPerformanceModeSupported" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/IsolationActivity.kt" |
| line="165" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 24; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" activity.window.setSustainedPerformanceMode(true)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/IsolationActivity.kt" |
| line="174" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 26; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" keyguardManager.requestDismissKeyguard(activity, null)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/IsolationActivity.kt" |
| line="181" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 27; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" activity.setShowWhenLocked(true)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/IsolationActivity.kt" |
| line="182" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 27; however, the containing class null is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" activity.setTurnScreenOn(true)" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/IsolationActivity.kt" |
| line="183" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class androidx.benchmark.Outputs is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" InstrumentationRegistry.getInstrumentation().context.externalMediaDirs" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/Outputs.kt" |
| line="59" |
| column="70"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class androidx.benchmark.Outputs is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" Environment.getExternalStorageState(it) == Environment.MEDIA_MOUNTED" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/Outputs.kt" |
| line="61" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="ClassVerificationFailure" |
| message="This call references a method added in API level 21; however, the containing class androidx.benchmark.ProfilerKt is reachable from earlier API levels and will fail run-time class verification." |
| errorLine1=" Debug.startMethodTracingSampling(path, bufferSize, Arguments.profilerSampleFrequency)" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/benchmark/Profiler.kt" |
| line="100" |
| column="15"/> |
| </issue> |
| |
| </issues> |