Home
last modified time | relevance | path

Searched refs:PID (Results 1 – 25 of 37) 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()
143 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG); in testCheckReadPhoneState_noPermissions()
153 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPrivilegedPermission()
155 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
161 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPermissionAndAppOp()
165 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
171 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DBatteryControllerTests.kt59 const val PID = 42 constant
111 batteryController.registerBatteryListener(DEVICE_ID, listener, PID) in testRegisterAndUnregisterBinderLifecycle()
113 batteryController.registerBatteryListener(SECOND_DEVICE_ID, listener, PID) in testRegisterAndUnregisterBinderLifecycle()
117 batteryController.unregisterBatteryListener(SECOND_DEVICE_ID, listener, PID) in testRegisterAndUnregisterBinderLifecycle()
119 batteryController.unregisterBatteryListener(DEVICE_ID, listener, PID) in testRegisterAndUnregisterBinderLifecycle()
126 batteryController.registerBatteryListener(DEVICE_ID, listener1, PID) in testOneListenerPerProcess()
132 batteryController.registerBatteryListener(DEVICE_ID, listener2, PID) in testOneListenerPerProcess()
142 batteryController.registerBatteryListener(DEVICE_ID, listener, PID) in testProcessDeathRemovesListener()
150 batteryController.registerBatteryListener(DEVICE_ID, listener, PID) in testProcessDeathRemovesListener()
159 batteryController.registerBatteryListener(DEVICE_ID, listener, PID) in testRegisteringListenerNotifiesStateImmediately()
[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/include/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);
/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/av/media/libstagefright/mpeg2ts/
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/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/base/proto/src/criticalevents/
Dcritical_event_log.proto91 // PID of the ANRing process.
113 // PID of the crashed process.
131 // PID of the crashed process.
/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/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java152 private static final int PID = Process.myPid(); field in AbstractAccessibilityServiceConnectionTest
445 captor.capture(), anyInt(), eq(PID), eq(TID), any(), nullable(float[].class)); in findAccessibilityNodeInfosByViewId_withPipWindow_shouldReplaceCallback()
459 captor.capture(), anyInt(), eq(PID), eq(TID), any(), nullable(float[].class)); in findAccessibilityNodeInfosByText_withPipWindow_shouldReplaceCallback()
473 eq(PID), eq(TID), any(), nullable(float[].class), any()); in findAccessibilityNodeInfoByAccessibilityId_withPipWindow_shouldReplaceCallback()
486 any(), eq(INTERACTION_ID), captor.capture(), anyInt(), eq(PID), eq(TID), any(), in findFocus_withPipWindow_shouldReplaceCallback()
500 any(), eq(INTERACTION_ID), captor.capture(), anyInt(), eq(PID), eq(TID), any(), in focusSearch_withPipWindow_shouldReplaceCallback()
516 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/media/libaaudio/scripts/
Dsynthmark_tests.txt8 # ADPF PID
/frameworks/av/services/mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h63 #define PID(n) (kClientPid + (n)) macro
264 : mClientId(id), mClientPid(PID(id)), mClientUid(UID(id)), mPackageName(packageName) { in TestClientCallback()
265 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.java82 PID(Pattern.compile("(^pid$|Pid$)")), enumConstant
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java1313 proto.write(ApplicationExitInfoProto.PID, mPid); in writeToProto()
1346 case (int) ApplicationExitInfoProto.PID: in readFromProto()
1347 mPid = proto.readInt(ApplicationExitInfoProto.PID); in readFromProto()
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java413 case (int) Tombstone.PID: in parse()
414 pid = stream.readInt(Tombstone.PID); in parse()
/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/services/core/java/com/android/server/wm/
DEventLogTags.logtags58 31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
/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.cpp1135 uint16_t PID = u16at(&ptr[0]); // lost packet RTP number in parseTSFB() local
1142 list_of_losts.append(PID); in parseTSFB()
1147 list_of_losts.append(PID + i); in parseTSFB()

12