Home
last modified time | relevance | path

Searched refs:PID (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java57 private static final int PID = 12345; field in TelephonyPermissionsTest
92 .enforcePermission(anyString(), eq(PID), eq(UID), eq(MSG)); in setUp()
94 .enforcePermission(anyString(), eq(PID), eq(UID), eq(MSG)); in setUp()
102 PID, UID)).thenReturn(PackageManager.PERMISSION_DENIED); in setUp()
103 when(mMockDevicePolicyManager.checkDeviceIdentifierAccess(eq(PACKAGE), eq(PID), in setUp()
111 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG); in testCheckReadPhoneState_noPermissions()
121 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPrivilegedPermission()
123 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
129 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPermissionAndAppOp()
133 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags35 30010 am_proc_bound (User|1|5),(PID|1|5),(Process Name|3)
37 30011 am_proc_died (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(ProcState|1|5)
43 30014 am_proc_start (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3)
61 30023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3)
66 30030 am_create_service (User|1|5),(Service Record|1|5),(Name|3),(UID|1|5),(PID|1|5)
68 30031 am_destroy_service (User|1|5),(Service Record|1|5),(PID|1|5)
70 30032 am_process_crashed_too_much (User|1|5),(Name|3),(PID|1|5)
72 30033 am_drop_process (PID|1|5)
74 30034 am_service_crashed_too_much (User|1|5),(Crash Count|1|1),(Component Name|3),(PID|1|5)
80 30037 am_process_start_timeout (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3)
[all …]
DReceiverList.java86 proto.write(ReceiverListProto.PID, pid); in writeToProto()
DServiceRecord.java258 proto.write(ServiceRecordProto.PID, app.pid); in writeToProto()
DProcessRecord.java789 proto.write(ProcessRecordProto.PID, pid); in writeToProto()
DActivityManagerService.java834 proto.write(ImportanceTokenProto.PID, pid); in writeToProto()
11102 … proto.write(ActivityManagerServiceDumpProcessesProto.MemWatchProcess.Dump.PID, mMemWatchDumpPid); in writeProcessesToProtoLocked()
12909 proto.write(MemInfoDumpProto.ProcessMemory.PID, pid); in dumpApplicationMemoryUsage()
13010 proto.write(MemInfoDumpProto.ProcessMemory.PID, pid); in dumpApplicationMemoryUsage()
/frameworks/base/core/tests/coretests/src/android/metrics/
DMetricsReaderTest.java33 private static final int PID = 1; field in MetricsReaderTest
45 PID, in FakeLogReader()
101 assertEquals(PID, log.getProcessId()); in testPidUid()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.h235 ABitReader *br, unsigned PID,
243 ABitReader *br, unsigned PID, unsigned *random_access_indicator);
248 void updatePCR(unsigned PID, uint64_t PCR, uint64_t byteOffsetFromStart);
DATSParser.cpp2033 ABitReader *br, unsigned PID, in parsePID() argument
2039 ssize_t sectionIndex = mPSISections.indexOfKey(PID); in parsePID()
2073 if (PID == 0) { in parsePID()
2080 PID, &sectionBits, &err)) { in parsePID()
2093 mPSISections.removeItem(PID); in parsePID()
2109 PID, continuity_counter, in parsePID()
2124 handled = mCasManager->parsePID(br, PID); in parsePID()
2128 ALOGV("PID 0x%04x not handled.", PID); in parsePID()
2135 ABitReader *br, unsigned PID, unsigned *random_access_indicator) { in parseAdaptationField() argument
2148 ALOGV("PID 0x%04x: discontinuity_indicator = 1 (!!!)", PID); in parseAdaptationField()
[all …]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java133 private static final int PID = 42; field in BugreportReceiverTest
137 private static final String PROGRESS_PROPERTY = "dumpstate." + PID + ".progress";
138 private static final String MAX_PROPERTY = "dumpstate." + PID + ".max";
139 private static final String NAME_PROPERTY = "dumpstate." + PID + ".name";
257 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FILE, in testProgress()
293 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FILE, in testProgress_takeExtraScreenshot()
313 assertActionSendMultiple(extras, BUGREPORT_CONTENT, NO_SCREENSHOT, ID, PID, ZIP_FILE, in testScreenshotFinishesAfterBugreport()
359 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, TITLE, in testProgress_changeDetailsInvalidInput()
414 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, TITLE, in changeDetailsTest()
443 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FILE, in changeJustDetailsTest()
[all …]
/frameworks/base/cmds/incident_helper/testdata/
Dprocrank_short.txt1 PID Vss Rss Pss Uss cmdline
Dprocrank.txt1 PID Vss Rss Pss Uss Swap PSwap USwap ZSwap cmdline
Dcpuinfo.txt9 PID TID USER PR NI[%CPU]S VIRT RES PCY CMD NAME
Dps.txt1 LABEL USER PID TID PPID VSZ RSS WCHAN ADDR …
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp832 const unsigned PID = 0x1e0 + sourceIndex + 1; in writeAccessUnit() local
860 *ptr++ = 0x40 | (PID >> 8); in writeAccessUnit()
861 *ptr++ = PID & 0xff; in writeAccessUnit()
917 *ptr++ = 0x00 | (PID >> 8); in writeAccessUnit()
918 *ptr++ = PID & 0xff; in writeAccessUnit()
/frameworks/base/cmds/incidentd/src/
DSection.cpp557 proto.write(BinaryLogEntry::PID, msg.entry_v1.pid); in BlockingCall()
620 proto.write(TextLogEntry::PID, entry.pid); in BlockingCall()
746 proto.write(android::os::BackTraceProto::Stack::PID, pid); in BlockingCall()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags175 31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
/frameworks/base/cmds/statsd/src/
Datoms.proto1444 * Logs the VID and PID of any connected USB devices.
3962 // Value is read from /proc/PID/status. Or from memory.stat, field
3973 // cgroups are enabled. Otherwise, VmSwap from /proc/PID/status.
3980 // Value is read from /proc/PID/stat, field 22. 0 if read from per-app memory cgroups.
3983 // Anonymous page size plus swap size. Values are read from /proc/PID/status.
3997 // Value read from /proc/PID/cmdline.
4007 // Value read from /proc/PID/status.
4014 // Value is read from /proc/PID/stat, field 22.
4018 // Value read from /proc/PID/status, field VmSwap.
4021 // Anonymous page size plus swap size. Values are read from /proc/PID/status.
[all …]
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto208 // Owner PID
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4103 proto.write(WakeLockProto.PID, mOwnerPid); in writeToProto()
/frameworks/base/core/java/android/app/
DActivityThread.java1410 proto.write(MemInfoDumpProto.ProcessMemory.PID, Process.myPid()); in dumpMemInfo()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52001 Landroid/os/BackTraceProto$Stack;->PID:J
53089 Landroid/os/CpuInfoProto$Task;->PID:J
55975 Landroid/os/ProcrankProto$Process;->PID:J
56006 Landroid/os/PsProto$Process;->PID:J
76737 Landroid/util/BinaryLogEntry;->PID:J
77983 Landroid/util/TextLogEntry;->PID:J