Lines Matching refs:ar
205 * @param ar is asyncResult of Query_Facility_Locked
207 private void onQueryFdnEnabled(AsyncResult ar) {
209 if (ar.exception != null) {
210 if (DBG) log("Error in querying facility lock:" + ar.exception);
214 int[] ints = (int[])ar.result;
224 private void onChangeFdnDone(AsyncResult ar) {
226 if (ar.exception == null) {
231 loge("Error change facility fdn with exception " + ar.exception);
233 Message response = (Message)ar.userObj;
234 AsyncResult.forMessage(response).exception = ar.exception;
250 private void onQueryFacilityLock(AsyncResult ar) {
252 if(ar.exception != null) {
253 if (DBG) log("Error in querying facility lock:" + ar.exception);
257 int[] ints = (int[])ar.result;
296 private void onChangeFacilityLock(AsyncResult ar) {
298 if (ar.exception == null) {
303 loge("Error change facility lock with exception " + ar.exception);
305 AsyncResult.forMessage(((Message)ar.userObj)).exception = ar.exception;
306 ((Message)ar.userObj).sendToTarget();
313 AsyncResult ar;
323 ar = (AsyncResult)msg.obj;
324 onQueryFdnEnabled(ar);
327 ar = (AsyncResult)msg.obj;
328 onChangeFdnDone(ar);
331 ar = (AsyncResult)msg.obj;
332 onQueryFacilityLock(ar);
335 ar = (AsyncResult)msg.obj;
336 onChangeFacilityLock(ar);