| 1 |
/* |
| 2 |
* Copyright (C) 2022 The Android Open Source Project |
| 3 |
* |
| 4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
* you may not use this file except in compliance with the License. |
| 6 |
* You may obtain a copy of the License at |
| 7 |
* |
| 8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
* |
| 10 |
* Unless required by applicable law or agreed to in writing, software |
| 11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
* See the License for the specific language governing permissions and |
| 14 |
* limitations under the License. |
| 15 |
*/ |
| 16 |
|
| 17 |
package com.android.server.art; |
| 18 |
|
| 19 |
/** |
| 20 |
* Miscellaneous options for merging profiles. Every field corresponds to a profman command line |
| 21 |
* flag. |
| 22 |
* |
| 23 |
* DO NOT add fields for flags that artd can determine directly with trivial logic. That includes |
| 24 |
* static flags, and flags that only depend on system properties or other passed parameters. |
| 25 |
* |
| 26 |
* All fields are required. |
| 27 |
* |
| 28 |
* @hide |
| 29 |
*/ |
| 30 |
parcelable MergeProfileOptions { |
| 31 |
/** --force-merge */ |
| 32 |
boolean forceMerge; |
| 33 |
/** --boot-image-merge */ |
| 34 |
boolean forBootImage; |
| 35 |
/** --dump-only */ |
| 36 |
boolean dumpOnly; |
| 37 |
/** --dump-classes-and-methods */ |
| 38 |
boolean dumpClassesAndMethods; |
| 39 |
} |