Exemple #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);
 }
Exemple #2
0
 public MAPFuture getAttribute(String s, String s1, Callback callback, Bundle bundle, EnumSet enumset)
 {
     Tracer tracer = Tracer.getNewTracer("CustomerAttributeStore:GetAttribute");
     validateArguments(s, s1);
     PlatformMetricsTimer platformmetricstimer = MetricsHelper.startVerboseTimer(METRICS_COMPONENT_NAME, "getAttribute");
     return getCustomerAttributeStore().getAttribute(s, s1, MetricsHelper.wrapCallback(tracer, platformmetricstimer, callback), bundle, enumset, tracer);
 }