1{
2  "methods": {
3    "abandonSession(int)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "sessionId"
10      ],
11      "returnType": "void",
12      "exceptions": [],
13      "name": "abandonSession(int)"
14    },
15    "createSession(android.content.pm.PackageInstaller.SessionParams)": {
16      "isImplementation": true,
17      "modifiers": [
18        "protected"
19      ],
20      "params": [
21        "params"
22      ],
23      "returnType": "int",
24      "exceptions": [
25        "java.io.IOException"
26      ],
27      "name": "createSession(android.content.pm.PackageInstaller.SessionParams)"
28    },
29    "getAllSessions()": {
30      "isImplementation": true,
31      "modifiers": [
32        "protected"
33      ],
34      "params": [],
35      "returnType": "java.util.List\u003candroid.content.pm.PackageInstaller.SessionInfo\u003e",
36      "exceptions": [],
37      "name": "getAllSessions()"
38    },
39    "getSessionInfo(int)": {
40      "isImplementation": true,
41      "modifiers": [
42        "protected"
43      ],
44      "params": [
45        "sessionId"
46      ],
47      "returnType": "android.content.pm.PackageInstaller.SessionInfo",
48      "exceptions": [],
49      "name": "getSessionInfo(int)"
50    },
51    "openSession(int)": {
52      "isImplementation": true,
53      "modifiers": [
54        "protected"
55      ],
56      "params": [
57        "sessionId"
58      ],
59      "returnType": "android.content.pm.PackageInstaller.Session",
60      "exceptions": [
61        "java.io.IOException"
62      ],
63      "name": "openSession(int)"
64    },
65    "registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback,android.os.Handler)": {
66      "isImplementation": true,
67      "modifiers": [
68        "protected"
69      ],
70      "params": [
71        "callback",
72        "handler"
73      ],
74      "returnType": "void",
75      "exceptions": [],
76      "name": "registerSessionCallback(android.content.pm.PackageInstaller.SessionCallback,android.os.Handler)"
77    },
78    "setSessionFails(int)": {
79      "isImplementation": false,
80      "modifiers": [
81        "public"
82      ],
83      "params": [
84        "sessionId"
85      ],
86      "returnType": "void",
87      "exceptions": [],
88      "name": "setSessionFails(int)"
89    },
90    "setSessionFinishes(int,boolean)": {
91      "isImplementation": false,
92      "modifiers": [
93        "private"
94      ],
95      "params": [
96        "sessionId",
97        "success"
98      ],
99      "returnType": "void",
100      "exceptions": [],
101      "name": "setSessionFinishes(int,boolean)"
102    },
103    "setSessionProgress(int,float)": {
104      "isImplementation": false,
105      "modifiers": [
106        "public"
107      ],
108      "params": [
109        "sessionId",
110        "progress"
111      ],
112      "returnType": "void",
113      "exceptions": [],
114      "name": "setSessionProgress(int,float)"
115    },
116    "setSessionSucceeds(int)": {
117      "isImplementation": false,
118      "modifiers": [
119        "public"
120      ],
121      "params": [
122        "sessionId"
123      ],
124      "returnType": "void",
125      "exceptions": [],
126      "name": "setSessionSucceeds(int)",
127      "documentation": "Prefer instead to use the Android APIs to close the session\n{@link android.content.pm.PackageInstaller.Session#commit(IntentSender)}\n"
128    }
129  },
130  "imports": [
131    "android.os.Build.VERSION_CODES.KITKAT_WATCH",
132    "android.os.Build.VERSION_CODES.LOLLIPOP",
133    "android.annotation.NonNull",
134    "android.annotation.Nullable",
135    "android.annotation.SuppressLint",
136    "android.content.IntentSender",
137    "android.content.IntentSender.SendIntentException",
138    "android.content.pm.PackageInstaller",
139    "android.os.Handler",
140    "com.google.common.collect.ImmutableList",
141    "java.io.IOException",
142    "java.io.OutputStream",
143    "java.util.HashMap",
144    "java.util.HashSet",
145    "java.util.List",
146    "java.util.Map",
147    "java.util.Set",
148    "org.robolectric.RuntimeEnvironment",
149    "org.robolectric.annotation.Implementation",
150    "org.robolectric.annotation.Implements",
151    "org.robolectric.shadow.api.Shadow",
152    "org.robolectric.shadows.ShadowPackageInstaller.CallbackInfo",
153    "org.robolectric.shadows.ShadowPackageInstaller.ShadowSession"
154  ],
155  "name": "org.robolectric.shadows.ShadowPackageInstaller"
156}