/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessControllerMap.java | 46 void put(int pid, WindowProcessController proc) { in put() argument 54 mPidMap.put(pid, proc); in put() 56 final int uid = proc.mUid; in put() 59 procSet.add(proc); in put() 64 final WindowProcessController proc = mPidMap.get(pid); in remove() local 65 if (proc != null) { in remove() 69 removeProcessFromUidMap(proc); in remove() 73 private void removeProcessFromUidMap(WindowProcessController proc) { in removeProcessFromUidMap() argument 74 if (proc == null) { in removeProcessFromUidMap() 77 final int uid = proc.mUid; in removeProcessFromUidMap() [all …]
|
D | VrController.java | 156 public void onTopProcChangedLocked(WindowProcessController proc) { in onTopProcChangedLocked() argument 157 final int curSchedGroup = proc.getCurrentSchedulingGroup(); in onTopProcChangedLocked() 159 setVrRenderThreadLocked(proc.mVrThreadTid, curSchedGroup, true); in onTopProcChangedLocked() 161 if (proc.mVrThreadTid == mVrRenderThreadTid) { in onTopProcChangedLocked() 222 public void setVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setVrThreadLocked() argument 227 if (proc == null) { in setVrThreadLocked() 237 setVrRenderThreadLocked(tid, proc.getCurrentSchedulingGroup(), false); in setVrThreadLocked() 239 proc.mVrThreadTid = (tid > 0) ? tid : 0; in setVrThreadLocked() 256 public void setPersistentVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setPersistentVrThreadLocked() argument 261 if (proc == null) { in setPersistentVrThreadLocked() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 187 const std::vector<DesperateBreak>& desperates, const CharProcessor& proc, in appendWithMerging() argument 194 out->pushDesperate(d->offset, proc.sumOfCharWidthsAtPrevWordBreak + d->sumOfChars, in appendWithMerging() 195 proc.effectiveSpaceCount, isRtl); in appendWithMerging() 198 out->pushHyphenation(hyIter->offset, proc.sumOfCharWidths - hyIter->second, in appendWithMerging() 199 proc.sumOfCharWidthsAtPrevWordBreak + hyIter->first, hyphenPenalty, in appendWithMerging() 200 proc.effectiveSpaceCount, hyIter->type, isRtl); in appendWithMerging() 211 CharProcessor proc(textBuf); in populateCandidates() local 230 proc.updateLocaleIfNecessary(*run); in populateCandidates() 237 proc.feedChar(i, textBuf[i], measured.widths[i], canBreak); in populateCandidates() 240 if (nextCharOffset != proc.nextWordBreak) { in populateCandidates() [all …]
|
D | MeasuredText.cpp | 134 CharProcessor proc(textBuf); in measure() local 143 proc.updateLocaleIfNecessary(*run); in measure() 148 proc.feedChar(i, textBuf[i], widths[i], canBreak); in measure() 151 if (nextCharOffset != proc.nextWordBreak) { in measure() 155 populateHyphenationPoints(textBuf, *run, *proc.hyphenator, proc.contextRange(), in measure() 156 proc.wordRange(), &hyphenBreaks, piecesOut); in measure()
|
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 98 for (Proc proc : root.processes.values()) { in main() 99 if (proc.fromZygote() && !Policy.isService(proc.name)) { in main() 100 for (Operation operation : proc.operations) { in main() 135 for (Proc proc : root.processes.values()) { in addAllClassesFrom() 136 if (proc.name.equals(processName)) { in addAllClassesFrom() 137 for (Operation operation : proc.operations) { in addAllClassesFrom()
|
D | Root.java | 116 Proc proc = processes.get(record.pid); in indexProcess() local 118 if (proc == null) { in indexProcess() 121 proc = new Proc(parent, record.pid); in indexProcess() 122 processes.put(proc.id, proc); in indexProcess() 124 parent.children.add(proc); in indexProcess() 128 proc.setName(record.processName); in indexProcess()
|
D | PrintPsTree.java | 40 for (Proc proc : root.processes.values()) { in main() 41 if (proc.parent == null) { in main() 42 proc.print(); in main()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrors.java | 349 ProcessRecord proc = null; in scheduleAppCrashLocked() local 362 proc = p; in scheduleAppCrashLocked() 367 proc = p; in scheduleAppCrashLocked() 372 if (proc == null) { in scheduleAppCrashLocked() 380 proc.scheduleCrash(message); in scheduleAppCrashLocked() 384 final ProcessRecord p = proc; in scheduleAppCrashLocked() 485 data.proc = r; in crashApplicationInner() 771 final WindowProcessController proc = app.getWindowProcessController(); 773 if (proc == homeProc && proc.hasActivities() 775 proc.clearPackagePreferredForHomeActivities(); [all …]
|
D | ContentProviderRecord.java | 57 ProcessRecord proc; // if non-null, hosting process. field in ContentProviderRecord 92 public void setProcess(ProcessRecord proc) { in setProcess() argument 93 this.proc = proc; in setProcess() 97 if (proc != null) { in setProcess() 106 if (proc != null) { in setProcess() 184 pw.print(prefix); pw.print("proc="); pw.println(proc); in dump() 294 && mAssociation == null && provider.proc != null in startAssociationIfNeeded() 297 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded() 301 + provider.name.toShortString() + ": proc=" + provider.proc); in startAssociationIfNeeded() 304 + provider.name.toShortString() + ": proc=" + provider.proc); in startAssociationIfNeeded()
|
D | ActivityManagerService.java | 1610 ProcessRecord proc = (ProcessRecord) data.get("app"); in handleMessage() local 1611 if (proc == null) { in handleMessage() 1615 if (proc.crashDialog != null) { in handleMessage() 1616 Slog.e(TAG, "App already has strict mode dialog: " + proc); in handleMessage() 1622 ActivityManagerService.this, res, proc); in handleMessage() 1624 proc.crashDialog = d; in handleMessage() 1967 ProcessRecord proc; 1980 proc = mPendingPssProcesses.remove(0); 1981 procState = proc.pssProcState; 1982 statType = proc.pssStatType; [all …]
|
D | ProcessList.java | 1431 ProcessRecord proc = mProcessNames.get(processName, uid); 1432 if (false && proc != null && !keepIfLarge 1433 && proc.setProcState >= ActivityManager.PROCESS_STATE_CACHED_EMPTY 1434 && proc.lastCachedPss >= 4000) { 1436 if (proc.baseProcessTracker != null) { 1437 proc.baseProcessTracker.reportCachedKill(proc.pkgList.mPkgList, proc.lastCachedPss); 1438 for (int ipkg = proc.pkgList.size() - 1; ipkg >= 0; ipkg--) { 1439 ProcessStats.ProcessStateHolder holder = proc.pkgList.valueAt(ipkg); 1441 proc.info.uid, 1444 proc.lastCachedPss, holder.appVersion); [all …]
|
D | ProviderMap.java | 205 && (provider.proc == null || evenPersistent || !provider.proc.isPersistent())) { in collectPackageProvidersLocked() 377 if (r.proc != null && r.proc.thread != null) { in dumpProvider() 388 if (r.proc != null) { in dumpProvider() 389 pw.println(r.proc.pid); in dumpProvider() 397 if (r.proc != null && r.proc.thread != null) { in dumpProvider() 423 if (r.proc != null && r.proc.thread != null) { in dumpProviderProto() 440 r.proc.thread.dumpProvider( in dumpToTransferPipe()
|
D | ContentProviderConnection.java | 62 && association == null && provider.proc != null in startAssociationIfNeeded() 65 ProcessStats.ProcessStateHolder holder = provider.proc.pkgList.get( in startAssociationIfNeeded() 69 + provider.name.toShortString() + ": proc=" + provider.proc); in startAssociationIfNeeded() 72 + provider.name.toShortString() + ": proc=" + provider.proc); in startAssociationIfNeeded()
|
D | AppNotRespondingDialog.java | 56 mProc = data.proc; in AppNotRespondingDialog() 184 final ProcessRecord proc; field in AppNotRespondingDialog.Data 188 Data(ProcessRecord proc, ApplicationInfo aInfo, boolean aboveSystem) { in Data() argument 189 this.proc = proc; in Data()
|
D | ActiveServices.java | 588 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked() local 589 if (proc == null || proc.getCurProcState() > ActivityManager.PROCESS_STATE_RECEIVER) { in startServiceLocked() 601 + r + " in " + proc); in startServiceLocked() 617 } else if (proc.getCurProcState() >= ActivityManager.PROCESS_STATE_SERVICE) { in startServiceLocked() 626 sb.append("Not potential delay (state=").append(proc.getCurProcState()) in startServiceLocked() 627 .append(' ').append(proc.adjType); in startServiceLocked() 628 String reason = proc.makeAdjReason(); in startServiceLocked() 1501 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked() argument 1504 for (int i = proc.services.size() - 1; i >= 0; i--) { in updateServiceForegroundLocked() 1505 ServiceRecord sr = proc.services.valueAt(i); in updateServiceForegroundLocked() [all …]
|
D | AppCompactor.java | 532 ProcessRecord proc; in handleMessage() local 542 proc = mPendingCompactionProcesses.remove(0); in handleMessage() 544 pendingAction = proc.reqCompactAction; in handleMessage() 545 pid = proc.pid; in handleMessage() 546 name = proc.processName; in handleMessage() 552 && (proc.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ)) { in handleMessage() 561 lastCompactAction = proc.lastCompactAction; in handleMessage() 562 lastCompactTime = proc.lastCompactTime; in handleMessage() 747 proc.lastCompactTime = end; in handleMessage() 748 proc.lastCompactAction = pendingAction; in handleMessage()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStreamBuilder.h | 60 AudioStreamBuilder* setDataCallbackProc(AAudioStream_dataCallback proc) { in setDataCallbackProc() argument 61 mDataCallbackProc = proc; in setDataCallbackProc() 78 AudioStreamBuilder* setErrorCallbackProc(AAudioStream_errorCallback proc) { in setErrorCallbackProc() argument 79 mErrorCallbackProc = proc; in setErrorCallbackProc()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 456 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse() local 457 proc.aggregatePss(data, now); in computeTotalMemoryUse() 831 ProcessState proc = pkgState.mProcesses.valueAt(iproc); in writeToParcel() local 832 if (proc.getCommonProcess() != proc) { in writeToParcel() 833 proc.commitStateTime(now); in writeToParcel() 885 final ProcessState proc = uids.valueAt(iu); in writeToParcel() local 886 writeCommonString(out, proc.getPackage()); in writeToParcel() 887 out.writeLong(proc.getVersion()); in writeToParcel() 888 proc.writeToParcel(out, now); in writeToParcel() 909 final ProcessState proc = pkgState.mProcesses.valueAt(iproc); in writeToParcel() local [all …]
|
D | ProcessState.java | 618 ProcessState proc = pkg.mProcesses.get(mName); in pullFixedProc() local 619 if (proc == null) { in pullFixedProc() 623 return proc; in pullFixedProc() 631 ProcessState proc = holder.state; in pullFixedProc() local 632 if (mDead && proc.mCommonProcess != proc) { in pullFixedProc() 639 proc = mStats.getProcessStateLocked(proc.mPackage, proc.mUid, proc.mVersion, in pullFixedProc() 640 proc.mName); in pullFixedProc() 642 if (proc.mMultiPackage) { in pullFixedProc() 647 proc.mUid); in pullFixedProc() 650 + pkgList.keyAt(index) + "/" + proc.mUid in pullFixedProc() [all …]
|
/frameworks/opt/net/wifi/libwifi_hal/ |
D | wifi_hal_common.cpp | 117 FILE *proc; in is_wifi_driver_loaded() local 136 if ((proc = fopen(MODULE_FILE, "r")) == NULL) { in is_wifi_driver_loaded() 144 while ((fgets(line, sizeof(line), proc)) != NULL) { in is_wifi_driver_loaded() 146 fclose(proc); in is_wifi_driver_loaded() 150 fclose(proc); in is_wifi_driver_loaded()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaResourceMonitorService.java | 85 for (ActivityManager.RunningAppProcessInfo proc : in getPackageNamesFromPid() 87 if (proc.pid == pid) { in getPackageNamesFromPid() 88 return proc.pkgList; in getPackageNamesFromPid()
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | util_android.py | 661 proc = subprocess.Popen(command, 669 with proc.stdout as file_proc: 673 proc.terminate() 674 return_code = proc.wait() 697 proc = multiprocessing.Process( 704 proc.start() 718 proc.terminate()
|
/frameworks/native/vulkan/libvulkan/ |
D | driver_gen.cpp | 508 #define INIT_PROC(required, obj, proc) \ argument 510 data.driver.proc = \ 511 reinterpret_cast<PFN_vk##proc>(get_proc(obj, "vk" #proc)); \ 512 if (UNLIKELY(required && !data.driver.proc)) { \ 513 ALOGE("missing " #obj " proc: vk" #proc); \ 518 #define INIT_PROC_EXT(ext, required, obj, proc) \ argument 521 INIT_PROC(required, obj, proc); \
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_AppCompactor.cpp | 46 std::unique_ptr<DIR, decltype(&closedir)> proc(opendir("/proc"), closedir); in com_android_server_am_AppCompactor_compactSystem() local 48 while ((current = readdir(proc.get()))) { in com_android_server_am_AppCompactor_compactSystem()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 81 sp<ProcessState> proc = ProcessState::self(); in onStarted() local 83 proc->startThreadPool(); in onStarted() 94 sp<ProcessState> proc = ProcessState::self(); in onZygoteInit() local 96 proc->startThreadPool(); in onZygoteInit()
|