Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsServTest.java97 TestServ serv = new TestServ(bsi); in testConstructAndDetach() local
98 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach()
100 serv.detach(); in testConstructAndDetach()
101 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); in testConstructAndDetach()
118 TestServ serv = new TestServ(bsi); in testParceling() local
119 serv.readFromParcelLocked(parcel); in testParceling()
121 Assert.assertEquals(1010, serv.getStartTime()); in testParceling()
122 Assert.assertEquals(2021, serv.getRunningSince()); in testParceling()
123 Assert.assertTrue(serv.getRunning()); in testParceling()
124 Assert.assertEquals(4042, serv.getStarts()); in testParceling()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java445 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/
DProcessStats.java1208 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null; in readFromParcel() local
1209 if (serv == null) { in readFromParcel()
1210 serv = new ServiceState(this, pkgName, serviceName, processName, null); in readFromParcel()
1212 if (!serv.readFromParcel(in)) { in readFromParcel()
1216 + serviceName + " " + uid + " " + serv); in readFromParcel()
1217 pkgState.mServices.put(serviceName, serv); in readFromParcel()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt144 … t8: t_m_w:B|T1|HIDL::IPreparedModelCallback::notify::serv Note: the HIDL tra…
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java9165 Uid.Pkg.Serv serv = new Serv(mBsi); in readFromParcelLocked() local
9166 mServiceStats.put(serviceName, serv); in readFromParcelLocked()
9168 serv.readFromParcelLocked(in); in readFromParcelLocked()
9184 Uid.Pkg.Serv serv = mServiceStats.valueAt(i); in writeToParcelLocked() local
9185 serv.writeToParcelLocked(out); in writeToParcelLocked()
9519 public Pkg.Serv getServiceStatsLocked(String pkg, String serv) { in getServiceStatsLocked() argument
9521 Pkg.Serv ss = ps.mServiceStats.get(serv); in getServiceStatsLocked()
9524 ps.mServiceStats.put(serv, ss); in getServiceStatsLocked()