Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08"> |
| 3 | |
| 4 | <issue |
| 5 | id="FlaggedApi" |
| 6 | message="Method `getExtraApks()` is a flagged API and should be inside an `if (Flags.avfVTestApis())` check (or annotate the surrounding method `createVirtualMachineConfigForAppFrom` with `@FlaggedApi(Flags.FLAG_AVF_V_TEST_APIS) to transfer requirement to caller`)" |
| 7 | errorLine1=" if (!vmConfig.getExtraApks().isEmpty()) {" |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
Jiyong Park | 36a64e4 | 2024-07-22 13:04:03 +0900 | [diff] [blame] | 10 | file="packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/VirtualMachine.java" |
Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 11 | line="1105" |
| 12 | column="14"/> |
| 13 | </issue> |
| 14 | |
| 15 | <issue |
| 16 | id="FlaggedApi" |
| 17 | message="Method `getExtraApks()` is a flagged API and should be inside an `if (Flags.avfVTestApis())` check (or annotate the surrounding method `setupExtraApks` with `@FlaggedApi(Flags.FLAG_AVF_V_TEST_APIS) to transfer requirement to caller`)" |
| 18 | errorLine1=" List<String> extraApks = config.getExtraApks();" |
| 19 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 20 | <location |
Jiyong Park | 36a64e4 | 2024-07-22 13:04:03 +0900 | [diff] [blame] | 21 | file="packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/VirtualMachine.java" |
Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 22 | line="1730" |
| 23 | column="34"/> |
| 24 | </issue> |
| 25 | |
| 26 | <issue |
| 27 | id="FlaggedApi" |
| 28 | message="Method `setVendorDiskImage()` is a flagged API and should be inside an `if (Flags.avfVTestApis())` check (or annotate the surrounding method `fromPersistableBundle` with `@FlaggedApi(Flags.FLAG_AVF_V_TEST_APIS) to transfer requirement to caller`)" |
| 29 | errorLine1=" builder.setVendorDiskImage(new File(vendorDiskImagePath));" |
| 30 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 31 | <location |
Jiyong Park | 36a64e4 | 2024-07-22 13:04:03 +0900 | [diff] [blame] | 32 | file="packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/VirtualMachineConfig.java" |
Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 33 | line="367" |
| 34 | column="13"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="FlaggedApi" |
| 39 | message="Method `setOs()` is a flagged API and should be inside an `if (Flags.avfVTestApis())` check (or annotate the surrounding method `fromPersistableBundle` with `@FlaggedApi(Flags.FLAG_AVF_V_TEST_APIS) to transfer requirement to caller`)" |
| 40 | errorLine1=" builder.setOs(b.getString(KEY_OS));" |
| 41 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 42 | <location |
Jiyong Park | 36a64e4 | 2024-07-22 13:04:03 +0900 | [diff] [blame] | 43 | file="packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/VirtualMachineConfig.java" |
Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 44 | line="370" |
| 45 | column="9"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="FlaggedApi" |
| 50 | message="Method `addExtraApk()` is a flagged API and should be inside an `if (Flags.avfVTestApis())` check (or annotate the surrounding method `fromPersistableBundle` with `@FlaggedApi(Flags.FLAG_AVF_V_TEST_APIS) to transfer requirement to caller`)" |
| 51 | errorLine1=" builder.addExtraApk(extraApk);" |
| 52 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 53 | <location |
Jiyong Park | 36a64e4 | 2024-07-22 13:04:03 +0900 | [diff] [blame] | 54 | file="packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/VirtualMachineConfig.java" |
Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 55 | line="375" |
| 56 | column="17"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="FlaggedApi" |
| 61 | message="Field `MICRODROID` is a flagged API and should be inside an `if (Flags.avfVTestApis())` check (or annotate the surrounding method `?` with `@FlaggedApi(Flags.FLAG_AVF_V_TEST_APIS) to transfer requirement to caller`)" |
| 62 | errorLine1=" @OsName private final String DEFAULT_OS = MICRODROID;" |
| 63 | errorLine2=" ~~~~~~~~~~"> |
| 64 | <location |
Jiyong Park | 36a64e4 | 2024-07-22 13:04:03 +0900 | [diff] [blame] | 65 | file="packages/modules/Virtualization/libs/framework-virtualization/src/android/system/virtualmachine/VirtualMachineConfig.java" |
Mårten Kongstad | 3b524ce | 2024-06-17 17:19:00 +0200 | [diff] [blame] | 66 | line="855" |
| 67 | column="51"/> |
| 68 | </issue> |
| 69 | |
| 70 | </issues> |