Searched refs:serv (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsServTest.java | 106 TestServ serv = new TestServ(bsi); in testConstructAndDetach() local 107 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 109 serv.detach(); in testConstructAndDetach() 110 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach() 127 TestServ serv = new TestServ(bsi); in testParceling() local 128 serv.readFromParcelLocked(parcel); in testParceling() 130 Assert.assertEquals(1010, serv.getStartTime()); in testParceling() 131 Assert.assertEquals(2021, serv.getRunningSince()); in testParceling() 132 Assert.assertTrue(serv.getRunning()); in testParceling() 133 Assert.assertEquals(4042, serv.getStarts()); in testParceling() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 445 public void writeServ(HealthStatsWriter servWriter, BatteryStats.Uid.Pkg.Serv serv) { in writeServ() argument 448 serv.getStarts(STATS_SINCE_CHARGED)); in writeServ() 452 serv.getLaunches(STATS_SINCE_CHARGED)); in writeServ()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 1308 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null; in readFromParcel() local 1309 if (serv == null) { in readFromParcel() 1310 serv = new ServiceState(this, pkgName, serviceName, processName, null); in readFromParcel() 1312 if (!serv.readFromParcel(in)) { in readFromParcel() 1316 + serviceName + " " + uid + " " + serv); in readFromParcel() 1317 pkgState.mServices.put(serviceName, serv); in readFromParcel()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 10539 Uid.Pkg.Serv serv = new Serv(mBsi); in readFromParcelLocked() local 10540 mServiceStats.put(serviceName, serv); in readFromParcelLocked() 10542 serv.readFromParcelLocked(in); in readFromParcelLocked() 10558 Uid.Pkg.Serv serv = mServiceStats.valueAt(i); in writeToParcelLocked() local 10559 serv.writeToParcelLocked(out); in writeToParcelLocked() 10988 public Pkg.Serv getServiceStatsLocked(String pkg, String serv) { in getServiceStatsLocked() argument 10990 Pkg.Serv ss = ps.mServiceStats.get(serv); in getServiceStatsLocked() 10993 ps.mServiceStats.put(serv, ss); in getServiceStatsLocked()
|