Esempio n. 1
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);
 }
Esempio n. 2
0
 public Bundle peekAttribute(String s, String s1)
 {
     PlatformMetricsTimer platformmetricstimer;
     validateArguments(s, s1);
     platformmetricstimer = MetricsHelper.startVerboseTimer(METRICS_COMPONENT_NAME, "peekAttribute");
     s = getCustomerAttributeStore().peekAttribute(s, s1);
     platformmetricstimer.stop();
     return s;
     s;
     platformmetricstimer.stop();
     throw s;
 }
Esempio n. 3
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);
 }
Esempio n. 4
0
 public MAPFuture setAttribute(String s, String s1, String s2, Callback callback)
 {
     validateArguments(s, s1);
     PlatformMetricsTimer platformmetricstimer = MetricsHelper.startVerboseTimer(METRICS_COMPONENT_NAME, "setAttribute");
     return getCustomerAttributeStore().setAttribute(s, s1, s2, MetricsHelper.wrapCallback(platformmetricstimer, callback));
 }