Пример #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);
 }