1{
2  "methods": {
3    "connectGatt(android.content.Context,boolean,android.bluetooth.BluetoothGattCallback)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "context",
10        "autoConnect",
11        "callback"
12      ],
13      "returnType": "android.bluetooth.BluetoothGatt",
14      "exceptions": [],
15      "minSdk": 18,
16      "name": "connectGatt(android.content.Context,boolean,android.bluetooth.BluetoothGattCallback)"
17    },
18    "createBond()": {
19      "isImplementation": true,
20      "modifiers": [
21        "protected"
22      ],
23      "params": [],
24      "returnType": "boolean",
25      "exceptions": [],
26      "name": "createBond()",
27      "documentation": "Returns whether this device has been bonded with. "
28    },
29    "fetchUuidsWithSdp()": {
30      "isImplementation": true,
31      "modifiers": [
32        "protected"
33      ],
34      "params": [],
35      "returnType": "boolean",
36      "exceptions": [],
37      "name": "fetchUuidsWithSdp()",
38      "documentation": "Overrides behavior of {@link BluetoothDevice#fetchUuidsWithSdp}. This method updates the\ncounter which counts the number of invocations of this method.\n\n@returns Value set by calling {@link ShadowBluetoothDevice#setFetchUuidsWithSdpResult}. If not\n    previously set, will return false by default.\n"
39    },
40    "getBondState()": {
41      "isImplementation": true,
42      "modifiers": [
43        "protected"
44      ],
45      "params": [],
46      "returnType": "int",
47      "exceptions": [],
48      "name": "getBondState()",
49      "documentation": "Overrides behavior of {@link BluetoothDevice#getBondState} to return pre-set result.\n\n@returns Value set by calling {@link ShadowBluetoothDevice#setBondState}. If setBondState has\n    not previously been called, will return {@link BluetoothDevice#BOND_NONE} to indicate the\n    device is not bonded.\n"
50    },
51    "getFetchUuidsWithSdpCount()": {
52      "isImplementation": false,
53      "modifiers": [
54        "public"
55      ],
56      "params": [],
57      "returnType": "int",
58      "exceptions": [],
59      "name": "getFetchUuidsWithSdpCount()",
60      "documentation": "Returns the number of times fetchUuidsWithSdp has been called. "
61    },
62    "getName()": {
63      "isImplementation": true,
64      "modifiers": [
65        "protected"
66      ],
67      "params": [],
68      "returnType": "java.lang.String",
69      "exceptions": [],
70      "name": "getName()"
71    },
72    "getService()": {
73      "isImplementation": true,
74      "modifiers": [
75        "protected",
76        "static"
77      ],
78      "params": [],
79      "returnType": "android.bluetooth.IBluetooth",
80      "exceptions": [],
81      "name": "getService()",
82      "documentation": "Implements getService() in the same way the original method does, but ignores any Exceptions\nfrom invoking {@link android.bluetooth.BluetoothAdapter#getBluetoothService}.\n"
83    },
84    "getUuids()": {
85      "isImplementation": true,
86      "modifiers": [
87        "protected"
88      ],
89      "params": [],
90      "returnType": "android.os.ParcelUuid[]",
91      "exceptions": [],
92      "name": "getUuids()",
93      "documentation": "Overrides behavior of {@link BluetoothDevice#getUuids} to return pre-set result.\n\n@returns Value set by calling {@link ShadowBluetoothDevice#setUuids}. If setUuids has not\n    previously been called, will return null.\n"
94    },
95    "newInstance(java.lang.String)": {
96      "isImplementation": false,
97      "modifiers": [
98        "public",
99        "static"
100      ],
101      "params": [
102        "address"
103      ],
104      "returnType": "android.bluetooth.BluetoothDevice",
105      "exceptions": [],
106      "name": "newInstance(java.lang.String)"
107    },
108    "setBondState(int)": {
109      "isImplementation": false,
110      "modifiers": [
111        "public"
112      ],
113      "params": [
114        "bondState"
115      ],
116      "returnType": "void",
117      "exceptions": [],
118      "name": "setBondState(int)",
119      "documentation": "Sets value of bond state for {@link BluetoothDevice#getBondState}. "
120    },
121    "setCreatedBond(boolean)": {
122      "isImplementation": false,
123      "modifiers": [
124        "public"
125      ],
126      "params": [
127        "createdBond"
128      ],
129      "returnType": "void",
130      "exceptions": [],
131      "name": "setCreatedBond(boolean)",
132      "documentation": "Sets whether this device has been bonded with. "
133    },
134    "setFetchUuidsWithSdpResult(boolean)": {
135      "isImplementation": false,
136      "modifiers": [
137        "public"
138      ],
139      "params": [
140        "fetchUuidsWithSdpResult"
141      ],
142      "returnType": "void",
143      "exceptions": [],
144      "name": "setFetchUuidsWithSdpResult(boolean)",
145      "documentation": "Sets value of the return result for {@link BluetoothDevice#fetchUuidsWithSdp}. "
146    },
147    "setName(java.lang.String)": {
148      "isImplementation": false,
149      "modifiers": [
150        "public"
151      ],
152      "params": [
153        "name"
154      ],
155      "returnType": "void",
156      "exceptions": [],
157      "name": "setName(java.lang.String)"
158    },
159    "setUuids(android.os.ParcelUuid[])": {
160      "isImplementation": false,
161      "modifiers": [
162        "public"
163      ],
164      "params": [
165        "uuids"
166      ],
167      "returnType": "void",
168      "exceptions": [],
169      "name": "setUuids(android.os.ParcelUuid[])",
170      "documentation": "Sets the return value for {@link BluetoothDevice#getUuids}. "
171    }
172  },
173  "imports": [
174    "android.bluetooth.BluetoothDevice.BOND_NONE",
175    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2",
176    "org.robolectric.shadow.api.Shadow.directlyOn",
177    "android.bluetooth.BluetoothDevice",
178    "android.bluetooth.BluetoothGatt",
179    "android.bluetooth.BluetoothGattCallback",
180    "android.bluetooth.IBluetooth",
181    "android.content.Context",
182    "android.os.ParcelUuid",
183    "org.robolectric.annotation.Implementation",
184    "org.robolectric.annotation.Implements",
185    "org.robolectric.annotation.RealObject",
186    "org.robolectric.util.ReflectionHelpers"
187  ],
188  "name": "org.robolectric.shadows.ShadowBluetoothDevice"
189}