Debian Codegraph @

artd/binder/com/android/server/art/ArtdDexoptResult.aidl

raw
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 * The result of {@code IArtd.dexopt}.
21 *
22 * @hide
23 */
24 parcelable ArtdDexoptResult {
25 /** True if the operation is cancelled. */
26 boolean cancelled;
27 /**
28 * The wall time of the dex2oat invocation, in milliseconds, or 0 if dex2oat is not run or if
29 * failed to get the value.
30 */
31 long wallTimeMs;
32 /**
33 * The CPU time of the dex2oat invocation, in milliseconds, or 0 if dex2oat is not run or if
34 * failed to get the value.
35 */
36 long cpuTimeMs;
37 /**
38 * The total size, in bytes, of the dexopt artifacts, or 0 if dex2oat fails, is cancelled, or
39 * is not run.
40 */
41 long sizeBytes;
42 /**
43 * The total size, in bytes, of the previous dexopt artifacts that have been replaced, or
44 * 0 if there were no previous dexopt artifacts or dex2oat fails, is cancelled, or is not
45 * run.
46 */
47 long sizeBeforeBytes;
48 }