Searched defs:proc (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/native/vulkan/nulldrv/
H A Dnull_driver_gen.cpp28 PFN_vkVoidFunction proc; member in struct:__anon1937::NameProc
39 return entry->proc;
/frameworks/base/services/core/java/com/android/server/am/
H A DActiveInstrumentation.java71 void removeProcess(ProcessRecord proc) { argument
73 mRunningProcesses.remove(proc);
H A DAppNotRespondingDialog.java55 mProc = data.proc;
183 final ProcessRecord proc; field in class:AppNotRespondingDialog.Data
187 Data(ProcessRecord proc, ActivityRecord activity, boolean aboveSystem) { argument
188 this.proc = proc;
H A DAppErrorDialog.java64 mProc = data.proc;
214 ProcessRecord proc; field in class:AppErrorDialog.Data
H A DHealthStatsBatteryStatsWriter.java393 public void writeProc(HealthStatsWriter procWriter, BatteryStats.Uid.Proc proc) { argument
396 proc.getUserTime(STATS_SINCE_UNPLUGGED));
400 proc.getSystemTime(STATS_SINCE_UNPLUGGED));
404 proc.getStarts(STATS_SINCE_UNPLUGGED));
408 proc.getNumCrashes(STATS_SINCE_UNPLUGGED));
412 proc.getNumAnrs(STATS_SINCE_UNPLUGGED));
416 proc.getForegroundTime(STATS_SINCE_UNPLUGGED));
H A DContentProviderRecord.java52 ProcessRecord proc; // if non-null, hosting process. field in class:ContentProviderRecord
152 pw.print(prefix); pw.print("proc="); pw.println(proc);
H A DVrController.java150 * @param proc is the ProcessRecord of the process that entered or left the TOP_APP scheduling
153 public void onTopProcChangedLocked(ProcessRecord proc) { argument
154 if (proc.curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) {
155 setVrRenderThreadLocked(proc.vrThreadTid, proc.curSchedGroup, true);
157 if (proc.vrThreadTid == mVrRenderThreadTid) {
216 * @param proc the ProcessRecord of the process owning the thread to set.
218 public void setVrThreadLocked(int tid, int pid, ProcessRecord proc) { argument
223 if (proc == null) {
233 setVrRenderThreadLocked(tid, proc
252 setPersistentVrThreadLocked(int tid, int pid, ProcessRecord proc) argument
287 changeVrModeLocked(boolean vrMode, ProcessRecord proc) argument
[all...]
H A DAppErrors.java345 ProcessRecord proc = null;
358 proc = p;
363 proc = p;
368 if (proc == null) {
376 proc.scheduleCrash(message);
443 data.proc = r;
692 // Bump up the crash count of any services currently running in the proc.
802 final ProcessRecord proc = data.proc;
804 if (proc
858 stopReportingCrashesLocked(ProcessRecord proc) argument
[all...]
H A DActiveServices.java551 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false);
552 if (proc == null || proc.curProcState > ActivityManager.PROCESS_STATE_RECEIVER) {
564 + r + " in " + proc);
580 } else if (proc.curProcState >= ActivityManager.PROCESS_STATE_SERVICE) {
589 sb.append("Not potential delay (state=").append(proc.curProcState)
590 .append(' ').append(proc.adjType);
591 String reason = proc.makeAdjReason();
1350 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { argument
1352 for (int i=proc
1362 updateWhitelistManagerLocked(ProcessRecord proc) argument
1390 updateServiceClientActivitiesLocked(ProcessRecord proc, ConnectionRecord modCr, boolean updateLru) argument
3065 attachApplicationLocked(ProcessRecord proc, String processName) argument
3118 processStartTimedOutLocked(ProcessRecord proc) argument
3566 serviceTimeout(ProcessRecord proc) argument
3661 scheduleServiceTimeoutLocked(ProcessRecord proc) argument
[all...]
H A DTaskRecord.java1910 void setRootProcess(ProcessRecord proc) { argument
1914 mRootProcess = proc;
1915 proc.recentTasks.add(this);
/frameworks/av/media/libaaudio/src/core/
H A DAudioStreamBuilder.h60 AudioStreamBuilder* setDataCallbackProc(AAudioStream_dataCallback proc) { argument
61 mDataCallbackProc = proc;
78 AudioStreamBuilder* setErrorCallbackProc(AAudioStream_errorCallback proc) { argument
79 mErrorCallbackProc = proc;
/frameworks/opt/net/wifi/libwifi_hal/
H A Dwifi_hal_common.cpp51 static const char MODULE_FILE[] = "/proc/modules";
116 FILE *proc; local
131 if ((proc = fopen(MODULE_FILE, "r")) == NULL) {
136 while ((fgets(line, sizeof(line), proc)) != NULL) {
138 fclose(proc);
142 fclose(proc);
/frameworks/base/cmds/app_process/
H A Dapp_main.cpp80 sp<ProcessState> proc = ProcessState::self(); local
82 proc->startThreadPool();
93 sp<ProcessState> proc = ProcessState::self(); local
95 proc->startThreadPool();
/frameworks/native/cmds/cmd/
H A Dcmd.cpp169 sp<ProcessState> proc = ProcessState::self(); local
176 proc->setThreadPoolMaxThreadCount(0);
177 proc->startThreadPool();
/frameworks/native/libs/binder/
H A DDebug.cpp299 sp<ProcessState> proc = ProcessState::selfOrNull(); local
300 if (proc.get() == NULL) {
304 return proc->getKernelReferences(count, buf);
/frameworks/native/vulkan/libvulkan/
H A Ddriver_gen.h59 PFN_vkVoidFunction proc; member in struct:vulkan::driver::ProcHook
H A Ddriver.cpp719 return hook->proc;
727 return hook->proc;
736 PFN_vkVoidFunction proc; local
740 proc = (GetData(instance).hook_extensions[hook->extension])
741 ? hook->proc
745 proc = (hook->extension == ProcHook::EXTENSION_CORE)
746 ? hook->proc
753 proc = nullptr;
757 return proc;
770 return (GetData(device).hook_extensions[hook->extension]) ? hook->proc
[all...]
/frameworks/native/vulkan/tools/
H A Dvkinfo.cpp55 [[noreturn]] void die(const char* proc, VkResult result) { argument
76 fprintf(stderr, "%s failed: %s (%d)\n", proc, result_str, result);
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java83 String processName, ProcessState proc) {
87 mProc = proc;
107 public void setProcess(ProcessState proc) { argument
108 mProc = proc;
141 + mPackage + " service=" + mName + " proc=" + mProc);
147 + mPackage + " service=" + mName + " proc=" + mProc);
153 + mPackage + " service=" + mName + " proc=" + mProc);
170 + mName + " proc=" + mProc);
178 + mName + " proc=" + mProc);
186 + mName + " proc
82 ServiceState(ProcessStats processStats, String pkg, String name, String processName, ProcessState proc) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DOptimalLineBreaker.cpp187 const std::vector<DesperateBreak>& desperates, const CharProcessor& proc,
194 out->pushDesperate(d->offset, proc.sumOfCharWidthsAtPrevWordBreak + d->sumOfChars,
195 proc.effectiveSpaceCount, isRtl);
198 out->pushHyphenation(hyIter->offset, proc.sumOfCharWidths - hyIter->second,
199 proc.sumOfCharWidthsAtPrevWordBreak + hyIter->first, hyphenPenalty,
200 proc.effectiveSpaceCount, hyIter->type, isRtl);
211 CharProcessor proc(textBuf);
230 proc.updateLocaleIfNecessary(*run);
234 proc.feedChar(i, textBuf[i], measured.widths[i]);
237 if (nextCharOffset != proc
185 appendWithMerging(std::vector<HyphenBreak>::const_iterator hyIter, std::vector<HyphenBreak>::const_iterator endHyIter, const std::vector<DesperateBreak>& desperates, const CharProcessor& proc, float hyphenPenalty, bool isRtl, OptimizeContext* out) argument
[all...]
/frameworks/native/cmds/lshal/
H A DListCommand.cpp131 std::ifstream ifs("/d/binder/proc/" + std::to_string(pid));
171 const std::string proc = " proc "; local
172 auto pos = line.rfind(proc);
174 for (const std::string &pidStr : split(line.substr(pos + proc.size()), ' ')) {
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp440 FromColorProc proc = ChooseFromColorProc(dstBitmap); local
442 if (NULL == dst || NULL == proc) {
457 proc(dst, src, width, x, y);
474 proc(dst, row.get(), width, x, y);
1328 ToColorProc proc = ChooseToColorProc(bitmap); local
1329 if (NULL == proc) {
1338 proc(dst, src, 1);
1359 ToColorProc proc = ChooseToColorProc(bitmap); local
1360 if (NULL == proc) {
1375 proc(
1409 FromColorProc proc = ChooseFromColorProc(bitmap); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp221 sprintf(proc_path, "/proc/%d/cmdline", pid);
236 sprintf(proc_path, "/proc/%d/task", pid);
606 int fd = open("/proc/meminfo", O_RDONLY | O_CLOEXEC);
609 ALOGW("Unable to open /proc/meminfo");
618 ALOGW("Unable to read /proc/meminfo");
1145 DIR *proc = opendir("/proc"); local
1146 if (proc == NULL) {
1147 fprintf(stderr, "/proc: %s\n", strerror(errno));
1152 while ((d = readdir(proc))) {
[all...]
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp268 if (!(d = opendir("/proc"))) {
269 printf("Failed to open /proc (%s)\n", strerror(errno));
286 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/cmdline", pid);
297 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/comm", pid);
337 snprintf(taskpath, sizeof(taskpath), "/proc/%d/task", pid);
359 snprintf(commpath, sizeof(commpath), "/proc/%d/comm", tid);
399 snprintf(path, sizeof(path), "/proc/%d/wchan", tid);
465 snprintf(path, sizeof(path), "/proc/%d/stat", pid);
830 std::unique_ptr<DIR, decltype(&closedir)> proc(opendir("/proc"), closedi
935 DIR *proc = opendir("/proc"); local
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1199 void* proc = NULL; local
1201 proc = dlsym(cnx->libEgl, procname);
1202 if (proc) return (__eglMustCastToProperFunctionPointerType)proc;
1204 proc = dlsym(cnx->libGles2, procname);
1205 if (proc) return (__eglMustCastToProperFunctionPointerType)proc;
1207 proc = dlsym(cnx->libGles1, procname);
1208 if (proc) return (__eglMustCastToProperFunctionPointerType)proc;
[all...]

Completed in 195 milliseconds

12