Home
last modified time | relevance | path

Searched refs:dumpPackage (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActiveUids.java95 boolean dump(final PrintWriter pw, String dumpPackage, int dumpAppId, in dump() argument
100 if (dumpPackage != null && UserHandle.getAppId(uidRec.getUid()) != dumpAppId) { in dump()
124 void dumpProto(ProtoOutputStream proto, String dumpPackage, int dumpAppId, long fieldId) { in dumpProto() argument
127 if (dumpPackage != null && UserHandle.getAppId(uidRec.getUid()) != dumpAppId) { in dumpProto()
DProviderMap.java250 private boolean dumpProvidersByClassLocked(PrintWriter pw, boolean dumpAll, String dumpPackage, in dumpProvidersByClassLocked() argument
257 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpProvidersByClassLocked()
276 private boolean dumpProvidersByNameLocked(PrintWriter pw, String dumpPackage, in dumpProvidersByNameLocked() argument
283 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpProvidersByNameLocked()
303 boolean dumpProvidersLocked(PrintWriter pw, boolean dumpAll, String dumpPackage) { in dumpProvidersLocked() argument
307 needSep |= dumpProvidersByClassLocked(pw, dumpAll, dumpPackage, in dumpProvidersLocked()
314 needSep |= dumpProvidersByClassLocked(pw, dumpAll, dumpPackage, in dumpProvidersLocked()
320 needSep |= dumpProvidersByNameLocked(pw, dumpPackage, in dumpProvidersLocked()
324 needSep |= dumpProvidersByNameLocked(pw, dumpPackage, in dumpProvidersLocked()
DBroadcastStats.java109 public boolean dumpStats(PrintWriter pw, String prefix, String dumpPackage) { in dumpStats() argument
118 if (dumpPackage != null && !ae.mPackages.containsKey(dumpPackage)) { in dumpStats()
158 public void dumpCheckinStats(PrintWriter pw, String dumpPackage) { in dumpCheckinStats() argument
167 if (dumpPackage != null && !ae.mPackages.containsKey(dumpPackage)) { in dumpCheckinStats()
DUidObserverController.java337 void dump(@NonNull PrintWriter pw, @Nullable String dumpPackage) { in dump() argument
344 if (dumpPackage == null || dumpPackage.equals(reg.mPkg)) { in dump()
372 void dumpDebug(@NonNull ProtoOutputStream proto, @Nullable String dumpPackage) { in dumpDebug() argument
378 if (dumpPackage == null || dumpPackage.equals(reg.mPkg)) { in dumpDebug()
385 boolean dumpValidateUids(@NonNull PrintWriter pw, @Nullable String dumpPackage, int dumpAppId, in dumpValidateUids() argument
387 return mValidateUids.dump(pw, dumpPackage, dumpAppId, header, needSep); in dumpValidateUids()
390 void dumpValidateUidsProto(@NonNull ProtoOutputStream proto, @Nullable String dumpPackage, in dumpValidateUidsProto() argument
392 mValidateUids.dumpProto(proto, dumpPackage, dumpAppId, fieldId); in dumpValidateUidsProto()
DAppErrors.java164 void dumpDebugLPr(ProtoOutputStream proto, long fieldId, String dumpPackage) { in dumpDebugLPr() argument
187 if (dumpPackage != null && (r == null in dumpDebugLPr()
188 || !r.getPkgList().containsKey(dumpPackage))) { in dumpDebugLPr()
218 if (dumpPackage != null in dumpDebugLPr()
219 && (r == null || !r.getPkgList().containsKey(dumpPackage))) { in dumpDebugLPr()
237 boolean dumpLPr(FileDescriptor fd, PrintWriter pw, boolean needSep, String dumpPackage) { in dumpLPr() argument
251 if (dumpPackage != null in dumpLPr()
252 && (r == null || !r.getPkgList().containsKey(dumpPackage))) { in dumpLPr()
282 if (dumpPackage != null in dumpLPr()
283 && (r == null || !r.getPkgList().containsKey(dumpPackage))) { in dumpLPr()
[all …]
DActivityManagerService.java8619 boolean dumpAll, String dumpPackage, boolean dumpClient, boolean dumpNormalPriority, in dumpEverything() argument
8635 dumpAllowedAssociationsLocked(fd, pw, args, opti, dumpAll, dumpPackage); in dumpEverything()
8641 mPendingIntentController.dumpPendingIntents(pw, dumpAll, dumpPackage); in dumpEverything()
8646 dumpBroadcastsLocked(fd, pw, args, opti, dumpAll, dumpPackage); in dumpEverything()
8651 if (dumpAll || dumpPackage != null) { in dumpEverything()
8652 dumpBroadcastStatsLocked(fd, pw, args, opti, dumpAll, dumpPackage); in dumpEverything()
8658 mCpHelper.dumpProvidersLocked(fd, pw, args, opti, dumpAll, dumpPackage); in dumpEverything()
8663 dumpPermissions(fd, pw, args, opti, dumpAll, dumpPackage); in dumpEverything()
8665 sdumper = mServices.newServiceDumperLocked(fd, pw, args, opti, dumpAll, dumpPackage); in dumpEverything()
8682 if (dumpPackage == null && dumpProxies) { in dumpEverything()
[all …]
DProcessList.java3975 boolean dumpLruLocked(PrintWriter pw, String dumpPackage, String prefix) { in dumpLruLocked() argument
3985 if (dumpPackage != null && !r.getPkgList().containsKey(dumpPackage)) { in dumpLruLocked()
4002 if (dumpPackage != null && !r.getPkgList().containsKey(dumpPackage)) { in dumpLruLocked()
4015 if (dumpPackage != null && !r.getPkgList().containsKey(dumpPackage)) { in dumpLruLocked()
4028 if (dumpPackage != null && !r.getPkgList().containsKey(dumpPackage)) { in dumpLruLocked()
4043 int opti, boolean dumpAll, String dumpPackage, int dumpAppId) { in dumpProcessesLSP() argument
4049 if (dumpAll || dumpPackage != null) { in dumpProcessesLSP()
4055 if (dumpPackage != null && !r.getPkgList().containsKey(dumpPackage)) { in dumpProcessesLSP()
4077 if (dumpPackage != null && !r.getPkgList().containsKey(dumpPackage)) { in dumpProcessesLSP()
4093 needSep = mService.dumpActiveInstruments(pw, dumpPackage, needSep); in dumpProcessesLSP()
[all …]
DBroadcastDispatcher.java114 Dumper(PrintWriter pw, String queueName, String dumpPackage, SimpleDateFormat sdf) { in Dumper() argument
117 mDumpPackage = dumpPackage; in Dumper()
723 boolean dumpLocked(PrintWriter pw, String dumpPackage, String queueName, in dumpLocked() argument
725 final Dumper dumper = new Dumper(pw, queueName, dumpPackage, sdf); in dumpLocked()
DAppProfiler.java2179 boolean dumpProfileDataLocked(PrintWriter pw, String dumpPackage, boolean needSep) { in dumpProfileDataLocked() argument
2184 if (dumpPackage == null || dumpPackage.equals(mProfileData.getProfileApp())) { in dumpProfileDataLocked()
2285 void writeProfileDataToProtoLocked(ProtoOutputStream proto, String dumpPackage) { in writeProfileDataToProtoLocked() argument
2290 if (dumpPackage == null || dumpPackage.equals(mProfileData.getProfileApp())) { in writeProfileDataToProtoLocked()
2322 void writeProcessesToGcToProto(ProtoOutputStream proto, long fieldId, String dumpPackage) { in writeProcessesToGcToProto() argument
2327 if (dumpPackage != null && !dumpPackage.equals(r.info.packageName)) { in writeProcessesToGcToProto()
2343 boolean dumpProcessesToGc(PrintWriter pw, boolean needSep, String dumpPackage) { in dumpProcessesToGc() argument
2349 if (dumpPackage != null && !dumpPackage.equals(proc.info.packageName)) { in dumpProcessesToGc()
DPendingIntentController.java359 void dumpPendingIntents(PrintWriter pw, boolean dumpAll, String dumpPackage) { in dumpPendingIntents() argument
378 if (dumpPackage != null && !dumpPackage.equals(rec.key.packageName)) { in dumpPendingIntents()
DBroadcastQueue.java2057 int opti, boolean dumpAll, String dumpPackage, boolean needSep) { in dumpLocked() argument
2064 if (dumpPackage != null && !dumpPackage.equals(br.callerPackage)) { in dumpLocked()
2079 mDispatcher.dumpLocked(pw, dumpPackage, mQueueName, sdf); in dumpLocked()
2081 if (dumpPackage == null || (mPendingBroadcast != null in dumpLocked()
2082 && dumpPackage.equals(mPendingBroadcast.callerPackage))) { in dumpLocked()
2112 if (dumpPackage != null && !dumpPackage.equals(r.callerPackage)) { in dumpLocked()
2141 if (dumpPackage == null) { in dumpLocked()
DActiveServices.java5309 private final String dumpPackage; field in ActiveServices.ServiceDumper
5324 int opti, boolean dumpAll, String dumpPackage) { in ServiceDumper() argument
5329 this.dumpPackage = dumpPackage; in ServiceDumper()
5342 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in ServiceDumper()
5524 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpUserRemainsLocked()
5543 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpUserRemainsLocked()
5566 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpRemainsLocked()
5589 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpRemainsLocked()
5612 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { in dumpRemainsLocked()
5637 if (dumpPackage != null && (cr.binding.client == null in dumpRemainsLocked()
[all …]
DContentProviderHelper.java1781 int opti, boolean dumpAll, String dumpPackage) { in dumpProvidersLocked() argument
1787 boolean needSep = mProviderMap.dumpProvidersLocked(pw, dumpAll, dumpPackage); in dumpProvidersLocked()
1794 if (dumpPackage != null && !dumpPackage.equals(r.name.getPackageName())) { in dumpProvidersLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java506 void dump(PrintWriter pw, String prefix, String dumpPackage) { in dump() argument
509 final boolean dumpPackagePresent = dumpPackage != null; in dump()
512 || dumpPackage.equals(mLastHomeActivityStartRecord.packageName))) { in dump()
524 || mLastStarter.relatedToPackage(dumpPackage) in dump()
526 && dumpPackage.equals(mLastHomeActivityStartRecord.packageName)); in dump()
DRecentTasks.java1770 void dump(PrintWriter pw, boolean dumpAll, String dumpPackage) { in dump() argument
1790 if (dumpPackage != null) { in dump()
1793 && dumpPackage.equals( in dump()
1798 && dumpPackage.equals( in dump()
1803 && dumpPackage.equals(task.origActivity.getPackageName()); in dump()
1807 && dumpPackage.equals(task.realActivity.getPackageName()); in dump()
1810 match |= dumpPackage.equals(task.mCallingPackage); in dump()
1839 if (dumpPackage != null) { in dump()
1842 && dumpPackage.equals( in dump()
1846 && dumpPackage.equals(taskInfo.baseActivity.getPackageName()); in dump()
[all …]
DActivityTaskManagerService.java3820 int opti, boolean dumpAll, boolean dumpClient, String dumpPackage) { in dumpActivitiesLocked() argument
3821 dumpActivitiesLocked(fd, pw, args, opti, dumpAll, dumpClient, dumpPackage, in dumpActivitiesLocked()
3826 int opti, boolean dumpAll, boolean dumpClient, String dumpPackage, String header) { in dumpActivitiesLocked() argument
3830 dumpPackage); in dumpActivitiesLocked()
3834 mRootWindowContainer.getTopResumedActivity(), dumpPackage, needSep, in dumpActivitiesLocked()
3841 if (dumpPackage == null) { in dumpActivitiesLocked()
3863 void dumpActivityStarterLocked(PrintWriter pw, String dumpPackage) { in dumpActivityStarterLocked() argument
3865 getActivityStartController().dump(pw, "", dumpPackage); in dumpActivityStarterLocked()
5962 boolean dumpAll, boolean dumpClient, String dumpPackage) { in dump() argument
5965 dumpActivitiesLocked(fd, pw, args, opti, dumpAll, dumpClient, dumpPackage); in dump()
[all …]
DActivityTaskManagerInternal.java482 int opti, boolean dumpAll, boolean dumpClient, String dumpPackage); in dump() argument
486 String dumpPackage, int dumpAppId, boolean needSep, boolean testPssMode, in dumpForProcesses() argument
490 public abstract void writeProcessesToProto(ProtoOutputStream proto, String dumpPackage, in writeProcessesToProto() argument
DActivityTaskSupervisor.java1973 static boolean printThisActivity(PrintWriter pw, ActivityRecord activity, String dumpPackage, in printThisActivity() argument
1976 if (dumpPackage == null || dumpPackage.equals(activity.packageName)) { in printThisActivity()
1993 String dumpPackage, boolean needNL, Runnable header, Task lastTask) { in dumpHistoryList() argument
1999 if (dumpPackage != null && !dumpPackage.equals(r.packageName)) { in dumpHistoryList()
DRootWindowContainer.java3632 String dumpPackage) {
3647 needSep[0] = rootTask.dump(fd, pw, dumpAll, dumpClient, dumpPackage, false);
3652 dumpPackage, needSep[0], " Resumed: ", () ->
3660 false, dumpPackage, true,
3664 false, dumpPackage, true,
DTask.java7277 String dumpPackage, final boolean needSep) {
7292 if (dumpPackage == null) {
7300 printed |= printThisActivity(pw, getPausingActivity(), dumpPackage, false,
7302 printed |= printThisActivity(pw, getResumedActivity(), dumpPackage, false,
7305 printed |= printThisActivity(pw, mLastPausedActivity, dumpPackage, false,
7309 printed |= dumpActivities(fd, pw, dumpAll, dumpClient, dumpPackage, false, headerPrinter);
7315 boolean dumpClient, String dumpPackage, boolean needSep, Runnable header) {
7346 if (dumpPackage == null) {
7358 dumpPackage, false, headerPrinter, task);
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerInternal.java126 void dump(PrintWriter pw, boolean dumpAll, String dumpPackage); in dump() argument
DUriGrantsManagerService.java1469 public void dump(PrintWriter pw, boolean dumpAll, String dumpPackage) { in dump() argument
1476 if (dumpPackage != null) { in dump()
1477 dumpUid = mPmInternal.getPackageUid(dumpPackage, in dump()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java5871 String dumpPackage = null; in dump() local
5907 dumpPackage = args[i]; in dump()
5910 dumpUid = AppGlobals.getPackageManager().getPackageUid(dumpPackage, in dump()
5916 pw.println("Unknown package: " + dumpPackage); in dump()
6000 if (dumpPackage != null in dump()
6023 if (dumpPackage != null && !dumpPackage.equals(mPackageModeWatchers.keyAt(i))) { in dump()
6044 if (dumpPackage != null in dump()
6071 if (dumpPackage != null in dump()
6116 if (dumpPackage != null in dump()
6162 if (dumpPackage != null in dump()
[all …]