예제 #1
0
 public MAPFuture renameDevice(String s, String s1, Bundle bundle, Callback callback)
 {
     Tracer tracer = Tracer.getNewTracer("RenameDevice");
     MAPLog.i(TAG, "renameDevice called by %s", new Object[] {
         mContext.getPackageName()
     });
     PlatformMetricsTimer platformmetricstimer = tracer.startTimer("Time");
     if (mAccountManagerCommunication == null)
     {
         mAccountManagerCommunication = (CentralAccountManagerCommunication)mContext.getSystemService("sso_map_account_manager_communicator");
     }
     return mAccountManagerCommunication.renameDevice(s, s1, bundle, MetricsHelper.wrapCallback(tracer, platformmetricstimer, callback), tracer);
 }
 public Set getAccounts() {
   return mAccountManagerImplementation.getAccounts();
 }