1package_dex_use {
2  owning_package_name: "android.compilation.cts.statuscheckerapp"
3  # Invalid dex paths. They should not be loaded.
4  secondary_dex_use {
5    dex_file: "relative/bad_1.apk"
6    user_id {
7      value: 0
8    }
9    record {
10      loading_package_name: "android.compilation.cts.statuscheckerapp"
11      isolated_process: false
12      class_loader_context: "PCL[]"
13      abi_name: "x86_64"
14      last_used_at_ms: 1672498800000
15    }
16  }
17  secondary_dex_use {
18    dex_file: "/non-normal/./bad_2.apk"
19    user_id {
20      value: 0
21    }
22    record {
23      loading_package_name: "android.compilation.cts.statuscheckerapp"
24      isolated_process: false
25      class_loader_context: "PCL[]"
26      abi_name: "x86_64"
27      last_used_at_ms: 1672498800000
28    }
29  }
30  # Invalid class loader contexts. They should not be loaded either.
31  secondary_dex_use {
32    dex_file: "/absolute/path/bad_3.apk"
33    user_id {
34      value: 0
35    }
36    record {
37      loading_package_name: "android.compilation.cts.statuscheckerapp"
38      isolated_process: false
39      class_loader_context: "ABC"
40      abi_name: "x86_64"
41      last_used_at_ms: 1672498800000
42    }
43  }
44  secondary_dex_use {
45    dex_file: "/absolute/path/bad_4.apk"
46    user_id {
47      value: 0
48    }
49    record {
50      loading_package_name: "android.compilation.cts.statuscheckerapp"
51      isolated_process: false
52      class_loader_context: "PCL[./bar.jar]"
53      abi_name: "x86_64"
54      last_used_at_ms: 1672498800000
55    }
56  }
57  # Valid paths and class loader contexts.
58  secondary_dex_use {
59    dex_file: "/absolute/path/good_1.apk"
60    user_id {
61      value: 0
62    }
63    record {
64      loading_package_name: "android.compilation.cts.statuscheckerapp"
65      isolated_process: false
66      class_loader_context: "PCL[]"
67      abi_name: "x86_64"
68      last_used_at_ms: 1672498800000
69    }
70  }
71  secondary_dex_use {
72    dex_file: "/absolute/path/good_2.apk"
73    user_id {
74      value: 0
75    }
76    record {
77      loading_package_name: "android.compilation.cts.statuscheckerapp"
78      isolated_process: false
79      class_loader_context: "PCL[bar.jar]"
80      abi_name: "x86_64"
81      last_used_at_ms: 1672498800000
82    }
83  }
84  secondary_dex_use {
85    dex_file: "/absolute/path/good_3.apk"
86    user_id {
87      value: 0
88    }
89    record {
90      loading_package_name: "android.compilation.cts.statuscheckerapp"
91      isolated_process: false
92      class_loader_context: "=UnsupportedClassLoaderContext="
93      abi_name: "x86_64"
94      last_used_at_ms: 1672498800000
95    }
96  }
97}
98