예제 #1
0
 @Override
 public void onServiceConnected(ComponentName arg0, IBinder arg1) {
   service = ISipService.Stub.asInterface(arg1);
   if (service != null) {
     try {
       int res = service.startLoopbackTest();
       if (res == SipManager.SUCCESS) {
         currentStatus = R.string.test_audio_ongoing;
       } else {
         currentStatus = R.string.test_audio_network_failure;
       }
       updateStatusDisplay();
     } catch (RemoteException e) {
       Log.e(THIS_FILE, "Error in test", e);
     }
   }
 }
예제 #2
0
 @Override
 public void onServiceConnected(ComponentName component, IBinder binder) {
   service = ISipService.Stub.asInterface(binder);
 }
예제 #3
0
 @Override
 public void onServiceConnected(ComponentName arg0, IBinder arg1) {
   service = ISipService.Stub.asInterface(arg1);
 }