Exemplo n.º 1
0
 public DatabaseCleaner(Context context)
 {
     mContext = ServiceWrappingContext.create(context);
     mDataStorage = ((DataStorageFactory)mContext.getSystemService("dcp_data_storage_factory")).getDataStorage();
     mAlarmManager = (AlarmManagerWrapper)mContext.getSystemService("sso_alarm_maanger");
     mSystem = (SystemWrapper)mContext.getSystemService("dcp_system");
 }
 public PandaGeneratePreAuthorizedCodeEndpointUtils(
     ServiceWrappingContext servicewrappingcontext, Tracer tracer) {
   mContext = servicewrappingcontext;
   mTracer = tracer;
   mDeviceInfo = (SSODeviceInfo) mContext.getSystemService("dcp_device_info");
 }