1{ 2 "methods": { 3 "__staticInitializer__()": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected", 7 "static" 8 ], 9 "params": [], 10 "returnType": "void", 11 "exceptions": [], 12 "name": "__staticInitializer__()" 13 }, 14 "getDetailedState()": { 15 "isImplementation": true, 16 "modifiers": [ 17 "protected" 18 ], 19 "params": [], 20 "returnType": "android.net.NetworkInfo.DetailedState", 21 "exceptions": [], 22 "name": "getDetailedState()" 23 }, 24 "getState()": { 25 "isImplementation": true, 26 "modifiers": [ 27 "protected" 28 ], 29 "params": [], 30 "returnType": "android.net.NetworkInfo.State", 31 "exceptions": [], 32 "name": "getState()" 33 }, 34 "getSubtype()": { 35 "isImplementation": true, 36 "modifiers": [ 37 "protected" 38 ], 39 "params": [], 40 "returnType": "int", 41 "exceptions": [], 42 "name": "getSubtype()" 43 }, 44 "getType()": { 45 "isImplementation": true, 46 "modifiers": [ 47 "protected" 48 ], 49 "params": [], 50 "returnType": "int", 51 "exceptions": [], 52 "name": "getType()" 53 }, 54 "isAvailable()": { 55 "isImplementation": true, 56 "modifiers": [ 57 "protected" 58 ], 59 "params": [], 60 "returnType": "boolean", 61 "exceptions": [], 62 "name": "isAvailable()" 63 }, 64 "isConnected()": { 65 "isImplementation": true, 66 "modifiers": [ 67 "protected" 68 ], 69 "params": [], 70 "returnType": "boolean", 71 "exceptions": [], 72 "name": "isConnected()" 73 }, 74 "isConnectedOrConnecting()": { 75 "isImplementation": true, 76 "modifiers": [ 77 "protected" 78 ], 79 "params": [], 80 "returnType": "boolean", 81 "exceptions": [], 82 "name": "isConnectedOrConnecting()" 83 }, 84 "newInstance(android.net.NetworkInfo.DetailedState,int,int,boolean,android.net.NetworkInfo.State)": { 85 "isImplementation": false, 86 "modifiers": [ 87 "public", 88 "static" 89 ], 90 "params": [ 91 "detailedState", 92 "type", 93 "subType", 94 "isAvailable", 95 "state" 96 ], 97 "returnType": "android.net.NetworkInfo", 98 "exceptions": [], 99 "name": "newInstance(android.net.NetworkInfo.DetailedState,int,int,boolean,android.net.NetworkInfo.State)", 100 "documentation": "Allows developers to create a {@link NetworkInfo} instance for testing. " 101 }, 102 "newInstance(android.net.NetworkInfo.DetailedState,int,int,boolean,boolean)": { 103 "isImplementation": false, 104 "modifiers": [ 105 "public", 106 "static" 107 ], 108 "params": [ 109 "detailedState", 110 "type", 111 "subType", 112 "isAvailable", 113 "isConnected" 114 ], 115 "returnType": "android.net.NetworkInfo", 116 "exceptions": [], 117 "name": "newInstance(android.net.NetworkInfo.DetailedState,int,int,boolean,boolean)", 118 "documentation": "@deprecated use {@link #newInstance(NetworkInfo.DetailedState, int, int, boolean,\n NetworkInfo.State)} instead\n" 119 }, 120 "setAvailableStatus(boolean)": { 121 "isImplementation": false, 122 "modifiers": [ 123 "public" 124 ], 125 "params": [ 126 "isAvailable" 127 ], 128 "returnType": "void", 129 "exceptions": [], 130 "name": "setAvailableStatus(boolean)", 131 "documentation": "Sets up the return value of {@link #isAvailable()}.\n\n@param isAvailable the value that {@link #isAvailable()} will return.\n" 132 }, 133 "setConnectionStatus(android.net.NetworkInfo.State)": { 134 "isImplementation": false, 135 "modifiers": [ 136 "public" 137 ], 138 "params": [ 139 "state" 140 ], 141 "returnType": "void", 142 "exceptions": [], 143 "name": "setConnectionStatus(android.net.NetworkInfo.State)", 144 "documentation": "Sets up the return value of {@link #getState()}.\n\n@param state the value that {@link #getState()} will return.\n" 145 }, 146 "setConnectionStatus(boolean)": { 147 "isImplementation": false, 148 "modifiers": [ 149 "public" 150 ], 151 "params": [ 152 "isConnected" 153 ], 154 "returnType": "void", 155 "exceptions": [], 156 "name": "setConnectionStatus(boolean)", 157 "documentation": "Sets up the return value of {@link #isConnectedOrConnecting()}, {@link #isConnected()}, and\n{@link #getState()}. If the input is true, state will be {@link NetworkInfo.State#CONNECTED},\nelse it will be {@link NetworkInfo.State#DISCONNECTED}.\n\n@param isConnected the value that {@link #isConnectedOrConnecting()} and {@link #isConnected()}\n will return.\n@deprecated use {@link #setConnectionStatus(NetworkInfo.State)} instead\n" 158 }, 159 "setConnectionType(int)": { 160 "isImplementation": false, 161 "modifiers": [ 162 "public" 163 ], 164 "params": [ 165 "connectionType" 166 ], 167 "returnType": "void", 168 "exceptions": [], 169 "name": "setConnectionType(int)", 170 "documentation": "Sets up the return value of {@link #getType()}.\n\n@param connectionType the value that {@link #getType()} will return.\n" 171 }, 172 "setDetailedState(android.net.NetworkInfo.DetailedState)": { 173 "isImplementation": false, 174 "modifiers": [ 175 "public" 176 ], 177 "params": [ 178 "detailedState" 179 ], 180 "returnType": "void", 181 "exceptions": [], 182 "name": "setDetailedState(android.net.NetworkInfo.DetailedState)" 183 }, 184 "setSubType(int)": { 185 "isImplementation": false, 186 "modifiers": [ 187 "public" 188 ], 189 "params": [ 190 "subType" 191 ], 192 "returnType": "void", 193 "exceptions": [], 194 "name": "setSubType(int)" 195 } 196 }, 197 "imports": [ 198 "android.net.NetworkInfo", 199 "org.robolectric.annotation.Implementation", 200 "org.robolectric.annotation.Implements", 201 "org.robolectric.shadow.api.Shadow" 202 ], 203 "name": "org.robolectric.shadows.ShadowNetworkInfo" 204}