Home
last modified time | relevance | path

Searched refs:lockTaskLaunchMode (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DParsedActivityImpl.java81 private int lockTaskLaunchMode; field in ParsedActivityImpl
117 this.lockTaskLaunchMode = other.lockTaskLaunchMode; in ParsedActivityImpl()
154 activity.lockTaskLaunchMode = 0; in makeAppDetailsActivity()
178 alias.lockTaskLaunchMode = target.getLockTaskLaunchMode(); in makeAlias()
306 dest.writeInt(this.lockTaskLaunchMode); in writeToParcel()
345 this.lockTaskLaunchMode = in.readInt(); in ParsedActivityImpl()
407 int lockTaskLaunchMode, in ParsedActivityImpl() argument
432 this.lockTaskLaunchMode = lockTaskLaunchMode; in ParsedActivityImpl()
514 return lockTaskLaunchMode; in getLockTaskLaunchMode()
635 lockTaskLaunchMode = value; in setLockTaskLaunchMode()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DActivityInfo.java1518 public static final String lockTaskLaunchModeToString(int lockTaskLaunchMode) { in lockTaskLaunchModeToString() argument
1519 switch (lockTaskLaunchMode) { in lockTaskLaunchModeToString()
1529 return "unknown=" + lockTaskLaunchMode; in lockTaskLaunchModeToString()
1537 public int lockTaskLaunchMode; field in ActivityInfo
1565 lockTaskLaunchMode = orig.lockTaskLaunchMode; in ActivityInfo()
1905 + lockTaskLaunchModeToString(lockTaskLaunchMode)); in dump()
1963 dest.writeInt(lockTaskLaunchMode); in writeToParcel()
2089 lockTaskLaunchMode = source.readInt(); in ActivityInfo()
H A DPackageParser.java4284 a.info.lockTaskLaunchMode = 0; in generateAppDetailsHiddenActivity()
4486 a.info.lockTaskLaunchMode = in parseActivity()
4934 info.lockTaskLaunchMode = target.info.lockTaskLaunchMode;
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLockTaskController.java419 boolean isActivityAllowed(int userId, String packageName, int lockTaskLaunchMode) { in isActivityAllowed() argument
423 switch (lockTaskLaunchMode) { in isActivityAllowed()
820 switch (rootActivity.lockTaskLaunchMode) { in getLockTaskAuth()
H A DActivityStartInterceptor.java365 int lockTaskLaunchMode = ActivityRecord.getLockTaskLaunchMode(mAInfo, mActivityOptions); in interceptLockTaskModeViolationPackageIfNeeded() local
366 if (controller.isActivityAllowed(mUserId, packageName, lockTaskLaunchMode)) { in interceptLockTaskModeViolationPackageIfNeeded()
H A DActivityRecord.java546 int lockTaskLaunchMode; // the lockTaskMode manifest attribute, subject to override field in ActivityRecord
2163 lockTaskLaunchMode = getLockTaskLaunchMode(aInfo, options); in ActivityRecord()
2231 int lockTaskLaunchMode = aInfo.lockTaskLaunchMode; in getLockTaskLaunchMode() local
2234 && (lockTaskLaunchMode == LOCK_TASK_LAUNCH_MODE_ALWAYS in getLockTaskLaunchMode()
2235 || lockTaskLaunchMode == LOCK_TASK_LAUNCH_MODE_NEVER)) { in getLockTaskLaunchMode()
2236 lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_DEFAULT; in getLockTaskLaunchMode()
2240 if (useLockTask && lockTaskLaunchMode == LOCK_TASK_LAUNCH_MODE_DEFAULT) { in getLockTaskLaunchMode()
2241 lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_IF_ALLOWLISTED; in getLockTaskLaunchMode()
2244 return lockTaskLaunchMode; in getLockTaskLaunchMode()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStartInterceptorTest.java175 mAInfo.lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_DEFAULT; in setUp()
H A DActivityRecordTests.java2270 activity.info.lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_DEFAULT; in testGetLockTaskLaunchMode()
2274 activity.info.lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_ALWAYS; in testGetLockTaskLaunchMode()
2278 activity.info.lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_NEVER; in testGetLockTaskLaunchMode()
2283 activity.info.lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_ALWAYS; in testGetLockTaskLaunchMode()
2287 activity.info.lockTaskLaunchMode = LOCK_TASK_LAUNCH_MODE_NEVER; in testGetLockTaskLaunchMode()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/
H A DPackageInfoUtils.java523 ai.lockTaskLaunchMode = a.getLockTaskLaunchMode(); in generateActivityInfo()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt10935 Landroid/content/pm/ActivityInfo;->lockTaskLaunchMode:I