Searched refs:serv (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsServTest.java | 141 TestServ serv = new TestServ(bsi); 142 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); 144 serv.detach(); 145 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); 154 TestServ serv = new TestServ(bsi); 156 serv.populate(); 157 serv.setRunning(true); 158 serv.onTimeStarted(111111, 20000, 222222); 159 Assert.assertEquals(18989, serv.getUnpluggedStartTime()); 160 Assert.assertEquals(4042, serv [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | HealthStatsBatteryStatsWriter.java | 445 public void writeServ(HealthStatsWriter servWriter, BatteryStats.Uid.Pkg.Serv serv) { argument 448 serv.getStarts(STATS_SINCE_UNPLUGGED)); 452 serv.getLaunches(STATS_SINCE_UNPLUGGED));
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessStats.java | 1149 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null; 1150 if (serv == null) { 1151 serv = new ServiceState(this, pkgName, serviceName, processName, null); 1153 if (!serv.readFromParcel(in)) { 1157 + serviceName + " " + uid + " " + serv); 1158 pkgState.mServices.put(serviceName, serv);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 9459 Uid.Pkg.Serv serv = new Serv(mBsi); 9460 mServiceStats.put(serviceName, serv); 9462 serv.readFromParcelLocked(in); 9478 Uid.Pkg.Serv serv = mServiceStats.valueAt(i); 9479 serv.writeToParcelLocked(out); 9884 public Pkg.Serv getServiceStatsLocked(String pkg, String serv) { argument 9886 Pkg.Serv ss = ps.mServiceStats.get(serv); 9889 ps.mServiceStats.put(serv, ss);
|
Completed in 56 milliseconds