Lines Matching defs:ServiceState
293 ServiceState otherSvc = otherState.mServices.valueAt(isvc);
296 ServiceState thisSvc = getServiceStateLocked(pkgName, uid, vers,
547 int uid, int vers, String serviceName, ServiceState svc, int serviceType, int opCount,
567 int memFactor = type / ServiceState.SERVICE_COUNT;
568 type %= ServiceState.SERVICE_COUNT;
1342 final ServiceState ss = pkgState.mServices.valueAt(isvc);
1661 final ServiceState svc = pkgState.mServices.valueAt(isvc);
1934 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null;
1936 serv = new ServiceState(this, pkgName, serviceName, processName, null);
2085 ServiceState ss = commonPkgState.mServices.valueAt(i);
2114 public ProcessStats.ServiceState getServiceStateLocked(String packageName, int uid, int vers,
2117 ProcessStats.ServiceState ss = as.mServices.get(className);
2124 ss = new ProcessStats.ServiceState(this, packageName, className, processName, ps);
2251 ServiceState svc = pkgState.mServices.valueAt(isvc);
2269 svc.mRunCount, ServiceState.SERVICE_RUN, svc.mRunState,
2272 svc.mStartedCount, ServiceState.SERVICE_STARTED, svc.mStartedState,
2275 svc.mBoundCount, ServiceState.SERVICE_BOUND, svc.mBoundState,
2278 svc.mExecCount, ServiceState.SERVICE_EXEC, svc.mExecState,
2364 public static long dumpSingleServiceTime(PrintWriter pw, String prefix, ServiceState service,
2403 String headerPrefix, String header, ServiceState service,
2685 ServiceState svc = pkgState.mServices.valueAt(isvc);
2687 svc, ServiceState.SERVICE_RUN, svc.mRunCount,
2690 svc, ServiceState.SERVICE_STARTED, svc.mStartedCount,
2693 svc, ServiceState.SERVICE_BOUND, svc.mBoundCount,
2696 svc, ServiceState.SERVICE_EXEC, svc.mExecCount,
3467 public static final class ServiceState extends DurationsTable {
3498 public ServiceState(ProcessStats processStats, String pkg, String name,
3582 void add(ServiceState other) {
3737 return "ServiceState{" + Integer.toHexString(System.identityHashCode(this))
3746 public final ArrayMap<String, ServiceState> mServices
3747 = new ArrayMap<String, ServiceState>();