Searched refs:pis (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | ProtoStreamUtils.java | 159 final ProtoInputStream pis = new ProtoInputStream(new ByteArrayInputStream(data)); in unpackProtoMessage() local 164 int nextField = pis.nextField(); in unpackProtoMessage() 169 pis.start(PowerStatsServiceResidencyProto.STATE_RESIDENCY_RESULT); in unpackProtoMessage() 170 stateResidencyResultList.add(unpackStateResidencyResultProto(pis)); in unpackProtoMessage() 171 pis.end(token); in unpackProtoMessage() 177 + ProtoUtils.currentFieldToString(pis)); in unpackProtoMessage() 181 + ProtoUtils.currentFieldToString(pis)); in unpackProtoMessage() 186 private static StateResidencyResult unpackStateResidencyResultProto(ProtoInputStream pis) in unpackStateResidencyResultProto() argument 193 switch (pis.nextField()) { in unpackStateResidencyResultProto() 195 stateResidencyResult.id = pis.readInt(StateResidencyResultProto.ID); in unpackStateResidencyResultProto() [all …]
|
D | PowerStatsLogger.java | 153 final ProtoInputStream pis = in writeMeterDataToFile() 194 final ProtoInputStream pis = in writeModelDataToFile() 235 final ProtoInputStream pis = in writeResidencyDataToFile()
|
/frameworks/native/libs/binder/ |
D | ProcessInfoService.cpp | 32 sp<IProcessInfoService> pis; in getProcessStatesImpl() local 34 pis = mProcessInfoService; in getProcessStatesImpl() 39 if (pis != nullptr) { in getProcessStatesImpl() 40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states); in getProcessStatesImpl() 42 if (IInterface::asBinder(pis)->isBinderAlive()) return err; in getProcessStatesImpl() 47 if (pis == mProcessInfoService) { in getProcessStatesImpl() 50 pis = mProcessInfoService; in getProcessStatesImpl() 64 sp<IProcessInfoService> pis; in getProcessStatesScoresImpl() local 66 pis = mProcessInfoService; in getProcessStatesScoresImpl() 71 if (pis != nullptr) { in getProcessStatesScoresImpl() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 1324 final PendingIntent[] pis = new PendingIntent[numAlarms]; in alarmCountOnAlarmRemoved() local 1326 pis[i] = getNewMockPendingIntent(); in alarmCountOnAlarmRemoved() 1327 setTestAlarm(ELAPSED_REALTIME, mNowElapsedTest + i + 5, pis[i]); in alarmCountOnAlarmRemoved() 1331 mService.removeLocked(pis[i], null, REMOVE_REASON_UNDEFINED); in alarmCountOnAlarmRemoved() 1394 final PendingIntent[] pis = new PendingIntent[numAlarms]; in nonWakeupAlarmsDeferred() local 1396 pis[i] = getNewMockPendingIntent(); in nonWakeupAlarmsDeferred() 1397 setTestAlarm(ELAPSED_REALTIME, mNowElapsedTest + i + 5, pis[i]); in nonWakeupAlarmsDeferred() 1410 verify(pis[i]).send(eq(mMockContext), eq(0), any(Intent.class), any(), in nonWakeupAlarmsDeferred() 1450 final PendingIntent[] pis = new PendingIntent[numAlarms]; in alarmCountOnPendingNonWakeupAlarmsRemoved() local 1452 pis[i] = getNewMockPendingIntent(); in alarmCountOnPendingNonWakeupAlarmsRemoved() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 397 PackageInfo pis = new PackageInfo(); in setupPm() local 398 pis.activities = new ActivityInfo[]{mock(ActivityInfo.class)}; in setupPm() 399 pis.applicationInfo = new ApplicationInfo(); in setupPm() 400 pis.applicationInfo.uid = UID_SYSTEM_HEADFULL; in setupPm() 401 pis.applicationInfo.flags = ApplicationInfo.FLAG_SYSTEM; in setupPm() 402 pis.packageName = PACKAGE_SYSTEM_HEADFULL; in setupPm() 403 packages.add(pis); in setupPm()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccSmsInterfaceManager.java | 1473 private void returnUnspecifiedFailure(List<PendingIntent> pis) { in returnUnspecifiedFailure() argument 1474 if (pis == null) { in returnUnspecifiedFailure() 1477 for (PendingIntent pi : pis) { in returnUnspecifiedFailure()
|