Lines Matching refs:BASE

178     static final int BASE = Protocol.BASE_DATA_CONNECTION;
179 static final int EVENT_CONNECT = BASE + 0;
180 static final int EVENT_SETUP_DATA_CONNECTION_DONE = BASE + 1;
181 static final int EVENT_GET_LAST_FAIL_DONE = BASE + 2;
182 static final int EVENT_DEACTIVATE_DONE = BASE + 3;
183 static final int EVENT_DISCONNECT = BASE + 4;
184 static final int EVENT_RIL_CONNECTED = BASE + 5;
185 static final int EVENT_DISCONNECT_ALL = BASE + 6;
186 static final int EVENT_DATA_STATE_CHANGED = BASE + 7;
187 static final int EVENT_TEAR_DOWN_NOW = BASE + 8;
188 static final int EVENT_LOST_CONNECTION = BASE + 9;
189 static final int EVENT_RETRY_CONNECTION = BASE + 10;
190 static final int EVENT_DATA_CONNECTION_DRS_OR_RAT_CHANGED = BASE + 11;
192 private static final int CMD_TO_STRING_COUNT = EVENT_DATA_CONNECTION_DRS_OR_RAT_CHANGED - BASE + 1;
195 sCmdToString[EVENT_CONNECT - BASE] = "EVENT_CONNECT";
196 sCmdToString[EVENT_SETUP_DATA_CONNECTION_DONE - BASE] =
198 sCmdToString[EVENT_GET_LAST_FAIL_DONE - BASE] = "EVENT_GET_LAST_FAIL_DONE";
199 sCmdToString[EVENT_DEACTIVATE_DONE - BASE] = "EVENT_DEACTIVATE_DONE";
200 sCmdToString[EVENT_DISCONNECT - BASE] = "EVENT_DISCONNECT";
201 sCmdToString[EVENT_RIL_CONNECTED - BASE] = "EVENT_RIL_CONNECTED";
202 sCmdToString[EVENT_DISCONNECT_ALL - BASE] = "EVENT_DISCONNECT_ALL";
203 sCmdToString[EVENT_DATA_STATE_CHANGED - BASE] = "EVENT_DATA_STATE_CHANGED";
204 sCmdToString[EVENT_TEAR_DOWN_NOW - BASE] = "EVENT_TEAR_DOWN_NOW";
205 sCmdToString[EVENT_LOST_CONNECTION - BASE] = "EVENT_LOST_CONNECTION";
206 sCmdToString[EVENT_RETRY_CONNECTION - BASE] = "EVENT_RETRY_CONNECTION";
207 sCmdToString[EVENT_DATA_CONNECTION_DRS_OR_RAT_CHANGED - BASE] =
213 cmd -= BASE;
217 value = DcAsyncChannel.cmdToString(cmd + BASE);
220 value = "0x" + Integer.toHexString(cmd + BASE);