Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java64 private static final int PID = Binder.getCallingPid(); field in TelephonyPermissionsTest
117 .enforcePermission(anyString(), eq(PID), eq(UID), eq(MSG)); in setUp()
119 .enforcePermission(anyString(), eq(PID), eq(UID), eq(MSG)); in setUp()
129 PID, UID)).thenReturn(PackageManager.PERMISSION_DENIED); in setUp()
137 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG); in testCheckReadPhoneState_noPermissions()
147 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPrivilegedPermission()
149 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
155 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPermissionAndAppOp()
159 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
165 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags20 30010 am_proc_bound (User|1|5),(PID|1|5),(Process Name|3)
22 30011 am_proc_died (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(ProcState|1|5)
25 30014 am_proc_start (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3)
34 30023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3)
39 30030 am_create_service (User|1|5),(Service Record|1|5),(Name|3),(UID|1|5),(PID|1|5)
41 30031 am_destroy_service (User|1|5),(Service Record|1|5),(PID|1|5)
43 30032 am_process_crashed_too_much (User|1|5),(Name|3),(PID|1|5)
45 30033 am_drop_process (PID|1|5)
47 30034 am_service_crashed_too_much (User|1|5),(Crash Count|1|1),(Component Name|3),(PID|1|5)
53 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 dumpDebug()
/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/av/media/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp54 #define PID(n) (kClientPid + (n)) macro
1036 mRealtimeRequest.clientPid = PID(0); in TEST_F()
1041 mOfflineRequest.clientPid = PID(0); in TEST_F()
1051 mRealtimeRequest.clientPid = PID(1); in TEST_F()
1066 EXPECT_EQ(mResourcePolicy->getPid(), PID(1)); in TEST_F()
1076 EXPECT_EQ(mResourcePolicy->getPid(), PID(1)); in TEST_F()
1089 EXPECT_EQ(mResourcePolicy->getPid(), PID(0)); in TEST_F()
1101 EXPECT_EQ(mResourcePolicy->getPid(), PID(1)); in TEST_F()
1108 mRealtimeRequest.clientPid = PID(2); in TEST_F()
1123 mRealtimeRequest.clientPid = PID(0); in TEST_F()
[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/native/cmds/dumpsys/
Ddumpsys.h56 PID, // dump pid of server only enumerator
Ddumpsys.cpp169 type = Type::PID; in main()
382 case Type::PID: in startDumpThread()
/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/data/keyboards/
DVendor_248a_Product_8266.idc22 # the VID/PID is mapped to 248a/8266 instead of 0957/0001
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java142 private static final int PID = Process.myPid(); field in AbstractAccessibilityServiceConnectionTest
433 captor.capture(), anyInt(), eq(PID), eq(TID), any()); in findAccessibilityNodeInfosByViewId_withPipWindow_shouldReplaceCallback()
447 captor.capture(), anyInt(), eq(PID), eq(TID), any()); in findAccessibilityNodeInfosByText_withPipWindow_shouldReplaceCallback()
461 eq(PID), eq(TID), any(), any()); in findAccessibilityNodeInfoByAccessibilityId_withPipWindow_shouldReplaceCallback()
474 any(), eq(INTERACTION_ID), captor.capture(), anyInt(), eq(PID), eq(TID), any()); in findFocus_withPipWindow_shouldReplaceCallback()
487 any(), eq(INTERACTION_ID), captor.capture(), anyInt(), eq(PID), eq(TID), any()); in focusSearch_withPipWindow_shouldReplaceCallback()
502 anyInt(), eq(PID), eq(TID)); in performAccessibilityAction_withPipWindow_invokeGetPipReplacingConnection()
/frameworks/native/services/sensorservice/
DSensorRegistrationInfo.h97 proto->write(PID, int32_t(mPid)); in dump()
/frameworks/av/services/mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h63 #define PID(n) (kClientPid + (n)) macro
266 : mClientId(id), mClientPid(PID(id)), mClientUid(UID(id)), mPackageName(packageName) { in TestClientCallback()
267 ALOGI("TestClientCallback %d created: pid %d, uid %d", id, PID(id), UID(id)); in TestClientCallback()
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DUidChecker.java80 PID(Pattern.compile("(^pid$|Pid$)")), enumConstant
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java1185 proto.write(ApplicationExitInfoProto.PID, mPid); in writeToProto()
1218 case (int) ApplicationExitInfoProto.PID: in readFromProto()
1219 mPid = proto.readInt(ApplicationExitInfoProto.PID); in readFromProto()
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java402 case (int) Tombstone.PID: in parse()
403 pid = stream.readInt(Tombstone.PID); in parse()
/frameworks/base/services/core/java/com/android/server/wm/
DEventLogTags.logtags58 31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java73 private static final int PID = 2000; field in BubbleExtractorTest
130 PID, n, mUser, null, System.currentTimeMillis()); in getNotificationRecord()
/frameworks/base/cmds/incidentd/src/
DSection.cpp632 proto.write(BinaryLogEntry::PID, msg.entry.pid); in BlockingCall()
696 proto.write(TextLogEntry::PID, entry.pid); in BlockingCall()
847 proto.write(android::os::BackTraceProto::Stack::PID, pid); in BlockingCall()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp982 uint16_t PID = u16at(&ptr[0]); // lost packet RTP number in parseTSFB() local
989 list_of_losts.append(PID); in parseTSFB()
994 list_of_losts.append(PID + i); in parseTSFB()

12