/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BroadcastQueueTest.java | 607 return makeBroadcastRecord(intent, callerApp, options, in makeBroadcastRecord() 626 return new BroadcastRecord(mQueue, intent, callerApp, callerApp.info.packageName, null, in makeBroadcastRecord() 627 callerApp.getPid(), callerApp.info.uid, false, null, null, null, null, in makeBroadcastRecord() 850 enqueueBroadcast(makeBroadcastRecord(intent, callerApp, 923 enqueueBroadcast(makeBroadcastRecord(intent, callerApp, 1066 verifyScheduleRegisteredReceiver(callerApp, airplane); 1089 verifyScheduleRegisteredReceiver(callerApp, airplane); 1243 List.of(makeRegisteredReceiver(callerApp), 1248 List.of(makeRegisteredReceiver(callerApp), 1669 callerApp.info.packageName, null, callerApp.getPid(), callerApp.info.uid, false, [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SafeActivityOptions.java | 191 @Nullable WindowProcessController callerApp, in getOptions() argument 281 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 321 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 332 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 344 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 357 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 371 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 384 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 396 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() 405 + " from " + callerApp + " (pid=" + callingPid in checkPermissions() [all …]
|
H A D | BackgroundActivityStartController.java | 177 WindowProcessController callerApp, in shouldAbortBackgroundActivityStart() argument 184 callerApp, originatingPendingIntent, in shouldAbortBackgroundActivityStart() 199 WindowProcessController callerApp, in checkBackgroundActivityStart() argument 394 boolean callerAppBasedOnPiSender = callerApp == null && considerPiRules in checkBackgroundActivityStart() 401 if (callerApp != null && useCallingUidState) { in checkBackgroundActivityStart() 403 final @BalCode int balAllowedForCaller = callerApp in checkBackgroundActivityStart() 409 "callerApp process (pid = " + callerApp.getPid() in checkBackgroundActivityStart() 415 "callerApp process (pid = " + callerApp.getPid() in checkBackgroundActivityStart() 490 + "; callerApp: " + callerApp in checkBackgroundActivityStart() 491 + "; inVisibleTask: " + (callerApp != null && callerApp.hasActivityInVisibleTask()) in checkBackgroundActivityStart() [all …]
|
H A D | AppTaskImpl.java | 120 WindowProcessController callerApp = null; in moveToFront() local 122 callerApp = mService.getProcessController(appThread); in moveToFront() 133 callerApp, in moveToFront()
|
H A D | ActivityMetricsLogger.java | 1378 if (callerApp != null) { in logAbortedBgActivityStart() 1383 callerApp.hasClientActivities() ? 1 : 0); in logAbortedBgActivityStart() 1385 callerApp.hasForegroundServices() ? 1 : 0); in logAbortedBgActivityStart() 1387 callerApp.hasForegroundActivities() ? 1 : 0); in logAbortedBgActivityStart() 1390 callerApp.hasOverlayUi() ? 1 : 0); in logAbortedBgActivityStart() 1392 callerApp.hasPendingUiClean() ? 1 : 0); in logAbortedBgActivityStart() 1393 if (callerApp.getInteractionEventTime() != 0) { in logAbortedBgActivityStart() 1397 if (callerApp.getFgInteractionTime() != 0) { in logAbortedBgActivityStart() 1399 (nowElapsed - callerApp.getFgInteractionTime())); in logAbortedBgActivityStart() 1401 if (callerApp.getWhenUnimportant() != 0) { in logAbortedBgActivityStart() [all …]
|
H A D | ActivityStarter.java | 546 if (callerApp != null) { in resolveActivity() 818 if (callerApp != null) { in resolveToHeavyWeightSwitcherIfNeeded() 819 appCallingUid = callerApp.mInfo.uid; in resolveToHeavyWeightSwitcherIfNeeded() 934 WindowProcessController callerApp = null; in executeRequest() local 937 if (callerApp != null) { in executeRequest() 938 callingPid = callerApp.getPid(); in executeRequest() 939 callingUid = callerApp.mInfo.uid; in executeRequest() 1122 callerApp, in executeRequest() 1268 if (callerApp == null && realCallingPid > 0) { in executeRequest() 1271 callerApp = wpc; in executeRequest() [all …]
|
H A D | ActivityTaskSupervisor.java | 1096 boolean launchingInTask, WindowProcessController callerApp, ActivityRecord resultRecord, in checkStartAnyActivityPermission() argument 1121 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1126 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1131 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1141 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission() 1149 + " from " + callerApp + " (pid=" + callingPid in checkStartAnyActivityPermission()
|
H A D | ActivityTaskManagerService.java | 2210 WindowProcessController callerApp = null; in moveTaskToFrontLocked() local 2212 callerApp = getProcessController(appThread); in moveTaskToFrontLocked() 2222 callerApp, in moveTaskToFrontLocked()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastRecord.java | 92 final @Nullable ProcessRecord callerApp; // process that sent this field in BroadcastRecord 296 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump() 425 Intent intent, ProcessRecord callerApp, String callerPackage, in BroadcastRecord() argument 438 this(queue, intent, callerApp, callerPackage, callerFeatureId, callingPid, in BroadcastRecord() 466 callerApp = _callerApp; in BroadcastRecord() 520 callerApp = from.callerApp; in BroadcastRecord() 606 BroadcastRecord split = new BroadcastRecord(queue, intent, callerApp, callerPackage, in splitRecipientsLocked() 686 final BroadcastRecord br = new BroadcastRecord(queue, intent, callerApp, callerPackage, in splitDeferredBootCompletedBroadcastLocked() 861 static boolean isCallerInstrumented(@Nullable ProcessRecord callerApp, int callingUid) { in isCallerInstrumented() argument 869 return (callerApp != null) ? (callerApp.getActiveInstrumentation() != null) : false; in isCallerInstrumented()
|
H A D | ActiveServices.java | 822 if (callerApp == null) { in startServiceLocked() 1496 if (caller != null && callerApp == null) { in stopServiceLocked() 3582 if (callerApp == null) { in bindServiceLocked() 3745 mAm.startAssociationLocked(callerApp.uid, callerApp.processName, in bindServiceLocked() 3755 callerApp.uid, callerApp.processName, callingPackage, res.aliasComponent); in bindServiceLocked() 3844 callerApp.info.packageName, in bindServiceLocked() 3845 callerApp.mState.getCurProcState(), in bindServiceLocked() 3894 final ApplicationInfo ai = callerApp.info; in notifyBindingServiceEventLocked() 8375 ProcessRecord callerApp; in startForegroundServiceDelegateLocked() local 8381 caller = callerApp.getThread(); in startForegroundServiceDelegateLocked() [all …]
|
H A D | BroadcastQueueImpl.java | 1172 if (r.callerApp != null) { in processNextBroadcastLocked() 1174 r.callerApp, in processNextBroadcastLocked() 1180 + r.intent.getAction() + " app=" + r.callerApp); in processNextBroadcastLocked() 1812 record.callerApp == null ? "process unknown" : record.callerApp.toShortString(), in createBroadcastTraceTitle()
|
H A D | BroadcastSkipPolicy.java | 670 final boolean callerForeground = receiverRecord.callerApp != null in requestStartTargetPermissionsReviewIfNeededLocked() 671 ? receiverRecord.callerApp.mState.getSetSchedGroup() in requestStartTargetPermissionsReviewIfNeededLocked()
|
H A D | ActivityManagerService.java | 13928 ProcessRecord callerApp = null; in registerReceiverWithFeature() local 13937 if (callerApp == null) { in registerReceiverWithFeature() 13941 if (callerApp.info.uid != SYSTEM_UID in registerReceiverWithFeature() 13947 callingUid = callerApp.info.uid; in registerReceiverWithFeature() 13948 callingPid = callerApp.getPid(); in registerReceiverWithFeature() 14136 if (callerApp != null && ((thread = callerApp.getThread()) == null in registerReceiverWithFeature() 14452 if (callerApp != null) { in checkBroadcastFromSystem() 14709 isCallerSystem = (callerApp != null) && callerApp.isPersistent(); in broadcastIntentLockedTraced() 15398 final ApplicationInfo info = original.callerApp != null ? original.callerApp.info : null; in notifyBroadcastFinishedLocked() 15485 callerApp != null ? callerApp.info.packageName : null, callingFeatureId, in broadcastIntentWithFeature() [all …]
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | ActivityStarterTests.java | 1028 final WindowProcessController callerApp = in runAndVerifyBackgroundActivityStartsSubtest() local 1030 doReturn(hasForegroundActivities).when(callerApp).hasForegroundActivities(); in runAndVerifyBackgroundActivityStartsSubtest() 1031 doReturn(callerApp).when(mAtm).getProcessController(caller); in runAndVerifyBackgroundActivityStartsSubtest() 1038 callerApp.addOrUpdateBackgroundStartPrivileges(new Binder(), in runAndVerifyBackgroundActivityStartsSubtest() 1042 callerApp.setInstrumenting(callerIsInstrumentingWithBackgroundActivityStartPrivileges, in runAndVerifyBackgroundActivityStartsSubtest()
|