Searched refs:PID (Results 1 - 13 of 13) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTelephonyPermissionsTest.java42 private static final int PID = 12345; field in class:TelephonyPermissionsTest
61 .enforcePermission(anyString(), eq(PID), eq(UID), eq(MSG));
63 .enforcePermission(anyString(), eq(PID), eq(UID), eq(MSG));
74 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG);
84 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, PID, UID, MSG);
86 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG));
92 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG);
96 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG));
102 android.Manifest.permission.READ_PHONE_STATE, PID, UID, MSG);
104 mMockContext, () -> mMockTelephony, SUB_ID, PID, UI
[all...]
/frameworks/base/core/tests/coretests/src/android/metrics/
H A DMetricsReaderTest.java31 private static final int PID = 1; field in class:MetricsReaderTest
43 PID,
99 assertEquals(PID, log.getProcessId());
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.h182 // Keyed by PID
208 ABitReader *br, unsigned PID,
216 ABitReader *br, unsigned PID, unsigned *random_access_indicator);
221 void updatePCR(unsigned PID, uint64_t PCR, uint64_t byteOffsetFromStart);
H A DATSParser.cpp420 // get the next PID for temp[i]->type() in the new PID map
423 // change the PID of the stream, and add it back
427 // removed the used PID
573 ALOGI("PID 0x%08x => type 0x%02x", stream->pid(), stream->type());
580 ALOGI("PID 0x%08x => type 0x%02x", info.mPID, info.mType);
741 ALOGV("new stream PID 0x%02x, type 0x%02x, scrambled %d, SampleEncrypted: %d",
789 ALOGE("stream PID 0x%02x has invalid stream type 0x%02x",
1555 ALOGV("Stream PID 0x%08x of type 0x%02x now has data.",
1568 ALOGV("onPayloadData: created AnotherPacketSource PID
1822 parsePID( ABitReader *br, unsigned PID, unsigned continuity_counter, unsigned payload_unit_start_indicator, unsigned transport_scrambling_control, unsigned random_access_indicator, SyncEvent *event) argument
1924 parseAdaptationField( ABitReader *br, unsigned PID, unsigned *random_access_indicator) argument
2013 unsigned PID = br->getBits(13); local
[all...]
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java133 private static final int PID = 42; field in class: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,
293 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FILE,
313 assertActionSendMultiple(extras, BUGREPORT_CONTENT, NO_SCREENSHOT, ID, PID, ZIP_FILE,
359 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, TITLE,
414 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, TITLE,
443 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FIL
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DReceiverList.java86 proto.write(ReceiverListProto.PID, pid);
H A DProcessRecord.java689 proto.write(ProcessRecordProto.PID, pid);
H A DServiceRecord.java239 proto.write(ServiceRecordProto.PID, app.pid);
H A DActivityManagerService.java966 proto.write(ImportanceTokenProto.PID, pid);
3297 + " PID:" + Binder.getCallingPid()
4378 // the PID of the new process, or else throw a RuntimeException.
6564 throw new SecurityException("PID " + pid + " does not have permission "
9001 * For each PID in the given input array, write the current process state
9003 * process with the given PID exists. If scores array is provided, write
9005 * indicating the PID doesn't exist.
11903 return "Failed to find PID " + Binder.getCallingPid();
14488 "PID: " + pid + ", TID: " + tid + " FIFO: " +
15637 sb.append("PID
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp669 // PID = b0000000000000 (13 bits)
721 // PID = b0 0001 1110 0000 (13 bits) [0x1e0]
798 // PID = b0 0001 1110 ???? (13 bits) [0x1e0 + 1 + sourceIndex]
832 const unsigned PID = 0x1e0 + sourceIndex + 1; local
860 *ptr++ = 0x40 | (PID >> 8);
861 *ptr++ = PID & 0xff;
904 // PID = b0 0001 1110 ???? (13 bits) [0x1e0 + 1 + sourceIndex]
917 *ptr++ = 0x00 | (PID >> 8);
918 *ptr++ = PID & 0xff;
/frameworks/base/cmds/incidentd/src/
H A DSection.cpp744 proto.write(BinaryLogEntry::PID, msg.entry_v1.pid);
807 proto.write(TextLogEntry::PID, entry.pid);
929 proto.write(android::os::BackTraceProto::Stack::PID, pid);
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java3982 proto.write(WakeLockProto.PID, mOwnerPid);
/frameworks/base/core/java/android/app/
H A DActivityThread.java1268 proto.write(MemInfoDumpProto.ProcessMemory.PID, Process.myPid());

Completed in 677 milliseconds