Home
last modified time | relevance | path

Searched refs:mCallerApp (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundActivityStartControllerTests.java95 WindowProcessController mCallerApp; field in BackgroundActivityStartControllerTests
212 Mockito.when(mCallerApp.areBackgroundActivityStartsAllowed(anyInt())).thenReturn( in setUp()
247 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testRegularActivityStart_noExemption_isBlocked()
282 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testRegularActivityStart_notAllowed_isBlocked()
317 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testRegularActivityStart_allowedByCaller_isAllowed()
352 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testRegularActivityStart_allowedByRealCaller_isAllowed()
386 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testRegularActivityStart_allowedByCallerAndRealCaller_returnsCallerVerdict()
428 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testPendingIntent_allowedByCallerAndRealCallerButOptOut_isBlocked()
465 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testPendingIntent_allowedByCallerAndOptIn_isAllowed()
502 callingPackage, realCallingUid, realCallingPid, mCallerApp, in testPendingIntent_allowedByRealCallerAndOptIn_isAllowed()
[all …]
DBackgroundActivityStartControllerExemptionTests.java102 WindowProcessController mCallerApp; field in BackgroundActivityStartControllerExemptionTests
190 when(mCallerApp.areBackgroundActivityStartsAllowed(anyInt())).thenReturn( in setUp()
222 callingPid, callingPackage, realCallingUid, realCallingPid, mCallerApp, in testNoExemption()
262 callingPid, callingPackage, realCallingUid, realCallingPid, mCallerApp, in testCaller_appHasVisibleWindow()
294 callingPid, callingPackage, realCallingUid, realCallingPid, mCallerApp, in testRealCaller_appHasVisibleWindow()
324 when(mCallerApp.areBackgroundActivityStartsAllowed(anyInt())).thenReturn( in testCaller_appAllowedByBLPC()
334 callingPid, callingPackage, realCallingUid, realCallingPid, mCallerApp, in testCaller_appAllowedByBLPC()
359 mCallerApp); in testRealCaller_appAllowedByBLPC()
361 when(mCallerApp.areBackgroundActivityStartsAllowed(anyInt())).thenReturn( in testRealCaller_appAllowedByBLPC()
401 mProcessMap.put(callingPid, mCallerApp); in testRealCaller_appAllowedByBLPCforOtherProcess()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundActivityStartController.java263 private final WindowProcessController mCallerApp; field in BalState
285 mCallerApp = callerApp; in BalState()
510 sb.append("; callerApp: ").append(mCallerApp); in toString()
511 if (mCallerApp != null) { in toString()
512 sb.append("; inVisibleTask: ").append(mCallerApp.hasActivityInVisibleTask()); in toString()
899 BalVerdict callerAppAllowsBal = checkProcessAllowsBal(state.mCallerApp, state); in checkBackgroundActivityStartAllowedByCaller()
1640 state.mCallerApp, in statsLog()
DActivityRecord.java11188 private WindowProcessController mCallerApp;
11213 mCallerApp = caller;
11311 return new ActivityRecord(mAtmService, mCallerApp, mLaunchedFromPid,