Searched defs:pid (Results 26 - 50 of 151) sorted by relevance

1234567

/frameworks/av/media/libmedia/
H A DIResourceManagerService.cpp74 int pid,
80 data.writeInt32(pid);
88 virtual void removeResource(int pid, int64_t clientId) { argument
91 data.writeInt32(pid);
131 int pid = data.readInt32(); local
140 addResource(pid, clientId, client, resources);
146 int pid = data.readInt32(); local
148 removeResource(pid, clientId);
73 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp131 pid_t pid) {
145 p = factory->createPlayer(pid);
218 virtual sp<MediaPlayerBase> createPlayer(pid_t pid) { argument
220 return new NuPlayerDriver(pid);
236 virtual sp<MediaPlayerBase> createPlayer(pid_t /* pid */) {
127 createPlayer( player_type playerType, void* cookie, notify_callback_f notifyFunc, pid_t pid) argument
H A DMetadataRetrieverClient.cpp46 MetadataRetrieverClient::MetadataRetrieverClient(pid_t pid) argument
48 ALOGV("MetadataRetrieverClient constructor pid(%d)", pid);
49 mPid = pid;
67 snprintf(buffer, 255, " pid(%d)\n", mPid);
76 ALOGV("disconnect from pid %d", mPid);
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp35 pid_t pid = getpid(); local
37 snprintf(filename, sizeof(filename), "/proc/%d/comm", pid);
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DUiAutomationShellWrapper.java99 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, argument
106 public int appEarlyNotResponding(String processName, int pid, String annotation) argument
113 public int appNotResponding(String processName, int pid, String processStats) argument
/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java53 LocaleList locales, int vid, int pid) {
60 mProductId = pid;
52 KeyboardLayout(String descriptor, String label, String collection, int priority, LocaleList locales, int vid, int pid) argument
/frameworks/base/core/java/android/metrics/
H A DMetricsReader.java162 public Event(long timeMillis, int pid, int uid, Object data) { argument
164 mPid = pid;
H A DLogMaker.java156 * @param pid to replace the existing setting.
159 public LogMaker setProcessId(int pid) { argument
160 entries.put(MetricsEvent.RESERVED_FOR_LOGBUILDER_PID, pid);
/frameworks/base/core/java/android/os/
H A DSELinux.java89 * @param pid an int representing the process id to check.
90 * @return a String representing the security context of the given pid.
92 public static final native String getPidContext(int pid); argument
/frameworks/base/core/tests/SvcMonitor/src/com/android/google/experimental/svcmoniter/
H A DSvcMonitor.java160 String pid = "";
170 pid = temp.split(" +")[1];
175 return pid;
178 private long getPsTime(String pid) { argument
179 String psStat = getPsStat("/" + pid);
183 if (pid.isEmpty()) {
/frameworks/base/services/core/java/com/android/server/am/
H A DHealthStatsBatteryStatsWriter.java375 public void writePid(HealthStatsWriter pidWriter, BatteryStats.Uid.Pid pid) { argument
376 if (pid == null) {
381 pidWriter.addMeasurement(PidHealthStats.MEASUREMENT_WAKE_NESTING_COUNT, pid.mWakeNesting);
384 pidWriter.addMeasurement(PidHealthStats.MEASUREMENT_WAKE_SUM_MS, pid.mWakeSumMs);
387 pidWriter.addMeasurement(PidHealthStats.MEASUREMENT_WAKE_SUM_MS, pid.mWakeStartMs);
H A DReceiverList.java37 public final int pid; field in class:ReceiverList
50 pid = _pid;
70 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid);
101 sb.append(pid);
H A DVrController.java195 * @param pid the pid of the process owning the thread to set.
198 public void setVrThreadLocked(int tid, int pid, ProcessRecord proc) { argument
208 enforceThreadInProcess(tid, pid);
229 * @param pid the pid of the process owning the thread to set.
232 public void setPersistentVrThreadLocked(int tid, int pid, ProcessRecord proc) { argument
242 enforceThreadInProcess(tid, pid);
389 * Check that the given tid is running in the process for the given pid, and throw an exception
392 private void enforceThreadInProcess(int tid, int pid) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/storage/
H A DAppFuseBridge.java90 public ParcelFileDescriptor openFile(int pid, int mountId, int fileId, int mode) argument
99 if (scope.pid != pid) {
134 public final int pid; field in class:AppFuseBridge.MountScope
140 public MountScope(int uid, int pid, int mountId) { argument
142 this.pid = pid;
/frameworks/base/tools/bit/
H A Dcommand.cpp110 pid_t pid = fork(); local
112 if (pid == -1) {
116 } else if (pid == 0) {
145 waitpid(pid, &status, 0);
162 pid_t pid = fork(); local
164 if (pid == -1) {
167 } else if (pid == 0) {
178 waitpid(pid, &status, 0);
/frameworks/native/libs/binder/
H A DIServiceManager.cpp62 pid_t pid = ipcState->getCallingPid(); local
64 if (outPid) *outPid = pid;
66 return checkPermission(permission, pid, uid);
69 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) argument
80 bool res = pc->checkPermission(permission, pid, uid);
83 ALOGI("Check passed after %d seconds for %s from uid=%d pid=%d",
85 String8(permission).string(), uid, pid);
92 ALOGW("Permission failure: %s from uid=%d pid=%d",
93 String8(permission).string(), uid, pid);
111 ALOGI("Waiting to check permission %s from uid=%d pid
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java115 int pid = smsMessage.getProtocolIdentifier();
170 EVENT_SEND_ENVELOPE_RESPONSE, new int[]{ dcs, pid }));
199 private void sendSmsAckForEnvelopeResponse(IccIoResult response, int dcs, int pid) { argument
244 smsAckPdu[index++] = (byte) pid;
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp35 virtual bool getPriority(int pid, int* priority) { argument
36 // For testing, use pid as priority.
38 *priority = pid;
42 virtual bool isValidPid(int /* pid */) {
125 int pid; local
127 EXPECT_FALSE(mDrmSessionManager->getLowestPriority_l(&pid, &priority));
130 EXPECT_TRUE(mDrmSessionManager->getLowestPriority_l(&pid, &priority));
132 EXPECT_EQ(kTestPid1, pid);
223 // calling pid priority is too low
/frameworks/av/media/libstagefright/mpeg2ts/
H A DCasManager.cpp310 bool ATSParser::CasManager::isCAPid(unsigned pid) { argument
311 return mCAPidSet.find(pid) != mCAPidSet.end();
314 bool ATSParser::CasManager::parsePID(ABitReader *br, unsigned pid) { argument
315 ssize_t index = mCAPidToSessionIdMap.indexOfKey(pid);
/frameworks/av/services/mediadrm/tests/
H A DDrmSessionManager_test.cpp35 virtual bool getPriority(int pid, int* priority) { argument
36 // For testing, use pid as priority.
38 *priority = pid;
121 int pid; local
123 EXPECT_FALSE(mDrmSessionManager->getLowestPriority_l(&pid, &priority));
126 EXPECT_TRUE(mDrmSessionManager->getLowestPriority_l(&pid, &priority));
128 EXPECT_EQ(kTestPid1, pid);
219 // calling pid priority is too low
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp85 Device* Device::open(int32_t id, const char* name, int32_t vid, int32_t pid, argument
103 ev.u.create.product = pid;
186 static jlong openDevice(JNIEnv* env, jclass /* clazz */, jstring rawName, jint id, jint vid, jint pid, argument
200 id, reinterpret_cast<const char*>(name.c_str()), vid, pid,
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DDevice.java55 private static native long nativeOpenDevice(String name, int id, int vid, int pid, argument
60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) { argument
68 args.argi3 = pid;
72 args.arg1 = id + ":" + vid + ":" + pid;
H A DEvent.java82 + ", pid=" + mPid
119 public void setPid(int pid) { argument
120 mEvent.mPid = pid;
182 case "pid":
/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp225 * Purpose: Get the context of a process identified by its pid
227 * pid: a jint representing the process
228 * Returns: a jstring representing the security context of the pid,
232 static jstring getPidCon(JNIEnv *env, jobject, jint pid) { argument
238 int ret = getpidcon(static_cast<pid_t>(pid), &tmp);
246 ALOGV("getPidCon(%d) => %s", pid, context.get());
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp121 pid_t pid = getpid(); local
123 int towrite = snprintf(buffer, BUF_SIZE, "%ld", (long) pid);

Completed in 547 milliseconds

1234567