Home
last modified time | relevance | path

Searched refs:mAInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java110 private ActivityInfo mAInfo = new ActivityInfo(); field in ActivityStartInterceptorTest
149 mAInfo.applicationInfo = new ApplicationInfo(); in setUp()
150 mAInfo.packageName = mAInfo.applicationInfo.packageName = TEST_PACKAGE_NAME; in setUp()
156 mAInfo.applicationInfo.flags = FLAG_SUSPENDED; in testSuspendedByAdminPackage()
162 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedByAdminPackage()
170 mAInfo.applicationInfo.flags = FLAG_SUSPENDED; in testSuspendedPackage()
181 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testSuspendedPackage()
199 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testInterceptQuietProfile()
212 mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null); in testWorkChallenge()
225 assertTrue(mInterceptor.intercept(null, null, mAInfo, null, null, 0, 0, null)); in testHarmfulAppWarning()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java98 ActivityInfo mAInfo; field in ActivityStartInterceptor
154 mAInfo = aInfo; in intercept()
208 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptQuietProfileIfNeeded()
233 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedByAdminPackage()
239 if (mAInfo == null || mAInfo.applicationInfo == null || in interceptSuspendedPackageIfNeeded()
240 (mAInfo.applicationInfo.flags & FLAG_SUSPENDED) == 0) { in interceptSuspendedPackageIfNeeded()
247 final String suspendedPackage = mAInfo.applicationInfo.packageName; in interceptSuspendedPackageIfNeeded()
259 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedPackageIfNeeded()
264 final Intent interceptingIntent = interceptWithConfirmCredentialsIfNeeded(mAInfo, mUserId); in interceptWorkProfileChallengeIfNeeded()
285 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptWorkProfileChallengeIfNeeded()
[all …]
DActivityStarter.java808 aInfo = mInterceptor.mAInfo; in startActivity()