/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueTest.java | 412 private BroadcastRecord makeBroadcastRecord(Intent intent, ProcessRecord callerApp, in makeBroadcastRecord() argument 414 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 418 private BroadcastRecord makeBroadcastRecord(Intent intent, ProcessRecord callerApp, in makeBroadcastRecord() argument 420 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 424 private BroadcastRecord makeBroadcastRecord(Intent intent, ProcessRecord callerApp, in makeBroadcastRecord() argument 426 return makeBroadcastRecord(intent, callerApp, options, in makeBroadcastRecord() 430 private BroadcastRecord makeBroadcastRecord(Intent intent, ProcessRecord callerApp, in makeBroadcastRecord() argument 432 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeBroadcastRecord() 436 private BroadcastRecord makeOrderedBroadcastRecord(Intent intent, ProcessRecord callerApp, in makeOrderedBroadcastRecord() argument 438 return makeBroadcastRecord(intent, callerApp, BroadcastOptions.makeBasic(), in makeOrderedBroadcastRecord() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 191 @Nullable WindowProcessController callerApp, in getOptions() argument 194 checkPermissions(intent, aInfo, callerApp, supervisor, mOriginalOptions, in getOptions() 200 checkPermissions(intent, aInfo, callerApp, supervisor, mCallerOptions, in getOptions() 271 @Nullable WindowProcessController callerApp, ActivityTaskSupervisor supervisor, in checkPermissions() argument 281 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 291 final String msg = "Permission Denial: starting transient launch from " + callerApp in checkPermissions() 302 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 313 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 325 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 340 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() [all …]
|
D | AppTaskImpl.java | 125 WindowProcessController callerApp = null; in moveToFront() local 127 callerApp = mService.getProcessController(appThread); in moveToFront() 137 callerApp, in moveToFront()
|
D | ActivityMetricsLogger.java | 1414 void logAbortedBgActivityStart(Intent intent, WindowProcessController callerApp, in logAbortedBgActivityStart() argument 1445 if (callerApp != null) { in logAbortedBgActivityStart() 1446 builder.addTaggedData(FIELD_PROCESS_RECORD_PROCESS_NAME, callerApp.mName); in logAbortedBgActivityStart() 1448 processStateAmToProto(callerApp.getCurrentProcState())); in logAbortedBgActivityStart() 1450 callerApp.hasClientActivities() ? 1 : 0); in logAbortedBgActivityStart() 1452 callerApp.hasForegroundServices() ? 1 : 0); in logAbortedBgActivityStart() 1454 callerApp.hasForegroundActivities() ? 1 : 0); in logAbortedBgActivityStart() 1455 builder.addTaggedData(FIELD_PROCESS_RECORD_HAS_TOP_UI, callerApp.hasTopUi() ? 1 : 0); in logAbortedBgActivityStart() 1457 callerApp.hasOverlayUi() ? 1 : 0); in logAbortedBgActivityStart() 1459 callerApp.hasPendingUiClean() ? 1 : 0); in logAbortedBgActivityStart() [all …]
|
D | ActivityStarter.java | 556 final WindowProcessController callerApp = supervisor.mService in resolveActivity() local 558 if (callerApp != null) { in resolveActivity() 559 resolvedCallingUid = callerApp.mInfo.uid; in resolveActivity() 856 WindowProcessController callerApp = mService.getProcessController(mRequest.caller); in resolveToHeavyWeightSwitcherIfNeeded() local 857 if (callerApp != null) { in resolveToHeavyWeightSwitcherIfNeeded() 858 appCallingUid = callerApp.mInfo.uid; in resolveToHeavyWeightSwitcherIfNeeded() 968 WindowProcessController callerApp = null; in executeRequest() local 970 callerApp = mService.getProcessController(caller); in executeRequest() 971 if (callerApp != null) { in executeRequest() 972 callingPid = callerApp.getPid(); in executeRequest() [all …]
|
D | BackgroundActivityStartController.java | 274 WindowProcessController callerApp, in BalState() argument 285 mCallerApp = callerApp; in BalState() 367 mRealCallerApp = callerApp == null in BalState() 369 : callerApp; in BalState() 675 WindowProcessController callerApp, in checkBackgroundActivityStart() argument 688 realCallingUid, realCallingPid, callerApp, originatingPendingIntent, in checkBackgroundActivityStart()
|
D | ActivityTaskSupervisor.java | 1129 boolean launchingInTask, WindowProcessController callerApp, ActivityRecord resultRecord, in checkStartAnyActivityPermission() argument 1155 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1160 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1165 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1175 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1183 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
|
D | ActivityTaskManagerService.java | 2239 WindowProcessController callerApp = null; in moveTaskToFrontLocked() local 2241 callerApp = getProcessController(appThread); in moveTaskToFrontLocked() 2251 callerApp, in moveTaskToFrontLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastRecord.java | 81 final @Nullable ProcessRecord callerApp; // process that sent this field in BroadcastRecord 278 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump() 407 Intent intent, ProcessRecord callerApp, String callerPackage, in BroadcastRecord() argument 420 this(queue, intent, callerApp, callerPackage, callerFeatureId, callingPid, in BroadcastRecord() 448 callerApp = _callerApp; in BroadcastRecord() 502 callerApp = from.callerApp; in BroadcastRecord() 720 static boolean isCallerInstrumented(@Nullable ProcessRecord callerApp, int callingUid) { in isCallerInstrumented() argument 728 return (callerApp != null) ? (callerApp.getActiveInstrumentation() != null) : false; in isCallerInstrumented()
|
D | ActiveServices.java | 948 final ProcessRecord callerApp = mAm.getRecordForAppLOSP(caller); in startServiceLocked() local 949 if (callerApp == null) { in startServiceLocked() 955 callerFg = callerApp.mState.getSetSchedGroup() != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked() 1649 final ProcessRecord callerApp = mAm.getRecordForAppLOSP(caller); in stopServiceLocked() local 1650 if (caller != null && callerApp == null) { in stopServiceLocked() 4070 final ProcessRecord callerApp = mAm.getRecordForAppLOSP(caller); in bindServiceLocked() local 4071 if (callerApp == null) { in bindServiceLocked() 4089 final boolean isCallerSystem = callerApp.info.uid == Process.SYSTEM_UID; in bindServiceLocked() 4147 final boolean callerFg = callerApp.mState.getSetSchedGroup() in bindServiceLocked() 4176 final AppBindRecord b = s.retrieveAppBindingLocked(service, callerApp, attributedApp); in bindServiceLocked() [all …]
|
D | BroadcastQueueModernImpl.java | 786 if (Flags.deferOutgoingBroadcasts() && isProcessFreezable(r.callerApp)) { in enqueueBroadcastLocked() 788 r.callerApp.processName, r.callerApp.uid); in enqueueBroadcastLocked() 790 r.callerApp.killLocked("Too many outgoing broadcasts in cached state", in enqueueBroadcastLocked() 798 mService.mOomAdjuster.mCachedAppOptimizer.freezeAppAsyncImmediateLSP(r.callerApp); in enqueueBroadcastLocked()
|
D | BroadcastSkipPolicy.java | 707 final boolean callerForeground = receiverRecord.callerApp != null in requestStartTargetPermissionsReviewIfNeededLocked() 708 ? receiverRecord.callerApp.mState.getSetSchedGroup() in requestStartTargetPermissionsReviewIfNeededLocked()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BackgroundActivityStartControllerTests.java | 533 WindowProcessController callerApp = mCallerApp; in testBalState_regularStart_isAutoOptIn() local 539 realCallingPid, callerApp, originatingPendingIntent, forcedBalByPiSender, in testBalState_regularStart_isAutoOptIn() 598 WindowProcessController callerApp = mCallerApp; in testBalState_pendingIntentForResult_isOptedInForSenderOnly() local 604 realCallingPid, callerApp, originatingPendingIntent, forcedBalByPiSender, in testBalState_pendingIntentForResult_isOptedInForSenderOnly() 631 WindowProcessController callerApp = mCallerApp; in testBalState_pendingIntentWithDefaults_isOptedOut() local 637 realCallingPid, callerApp, originatingPendingIntent, forcedBalByPiSender, in testBalState_pendingIntentWithDefaults_isOptedOut()
|
D | ActivityStarterTests.java | 741 final WindowProcessController callerApp = spy(new WindowProcessController( in testPinnedSingleInstanceAborted() local 743 doReturn(false).when(callerApp).hasForegroundActivities(); in testPinnedSingleInstanceAborted() 744 doReturn(callerApp).when(mAtm).getProcessController(caller); in testPinnedSingleInstanceAborted() 751 callerApp.setInstrumenting(false, -1, false); in testPinnedSingleInstanceAborted()
|