• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1var violatedLibs = {"system.private.bin": [
2        ["/system/bin/systembin", 2],
3        ["/system/bin/otherbin", 1]],
4    "system.private.fwk-only": [
5        ["/system/lib/test.so", 1]],
6    "vendor.private.bin": [
7        ["/vendor/lib/libvendor.so", 2],
8        ["/vendor/lib/vendor_2_lib.so", 1]]};
9var depData = [
10    {"name": "/system/lib/oklib.so",
11        "violate_count": 0,
12        "violates": [],
13        "depends": [],
14        "tag": "system.public.vndk"},
15    {"name": "/system/lib/oklib2.so",
16        "violate_count": 0,
17        "violates": [],
18        "depends": ["/system/lib/oklib.so"],
19        "tag": "system.private.fwk_only"},
20    {"name": "/system/bin/systembin",
21        "violate_count": 2,
22        "violates": ["/vendor/lib/libvendor.so", "/vendor/lib/vendor_2_lib.so"],
23        "depends": ["/system/lib/oklib.so"],
24        "tag": "system.private.bin"},
25    {"name": "/system/bin/otherbin",
26        "violate_count": 1,
27        "violates": ["/vendor/lib/libvendor.so"],
28        "depends": ["/system/lib/oklib2.so"],
29        "tag": "system.private.bin"},
30    {"name": "/system/lib/test.so",
31        "violate_count": 1,
32        "violates": ["/vendor/lib/libvendor.so"],
33        "depends": ["/system/lib/oklib.so"],
34        "tag": "system.private.fwk-only"},
35    {"name": "/vendor/lib/libvendor.so",
36        "violate_count": 2,
37        "violates": ["/system/lib/test.so", "/system/lib/oklib2.so"],
38        "depends": [],
39        "tag": "vendor.private.bin"},
40    {"name": "/vendor/lib/vendor_2_lib.so",
41        "violate_count": 1,
42        "violates": ["/system/lib/test.so"],
43        "depends": [],
44        "tag": "vendor.private.bin"}
45];