/frameworks/av/media/libmedia/ |
H A D | IResourceManagerService.cpp | 74 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 D | MediaPlayerFactory.cpp | 131 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 D | MetadataRetrieverClient.cpp | 46 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 D | OMXMaster.cpp | 35 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 D | UiAutomationShellWrapper.java | 99 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 D | KeyboardLayout.java | 53 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 D | MetricsReader.java | 162 public Event(long timeMillis, int pid, int uid, Object data) { argument 164 mPid = pid;
|
H A D | LogMaker.java | 156 * @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 D | SELinux.java | 89 * @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 D | SvcMonitor.java | 160 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 D | HealthStatsBatteryStatsWriter.java | 375 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 D | ReceiverList.java | 37 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 D | VrController.java | 195 * @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 D | AppFuseBridge.java | 90 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 D | command.cpp | 110 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 D | IServiceManager.cpp | 62 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 D | UsimDataDownloadHandler.java | 115 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 D | DrmSessionManager_test.cpp | 35 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 D | CasManager.cpp | 310 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 D | DrmSessionManager_test.cpp | 35 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 D | com_android_commands_hid_Device.cpp | 85 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 D | Device.java | 55 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 D | Event.java | 82 + ", pid=" + mPid 119 public void setPid(int pid) { argument 120 mEvent.mPid = pid; 182 case "pid":
|
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 225 * 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 D | main.cpp | 121 pid_t pid = getpid(); local 123 int towrite = snprintf(buffer, BUF_SIZE, "%ld", (long) pid);
|