Home
last modified time | relevance | path

Searched refs:requiredDisplayCategory (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowPolicyControllerHelper.java105 if (aInfo.requiredDisplayCategory != null) { in hasDisplayCategory()
109 aInfo.requiredDisplayCategory, mDisplayContent.mDisplayId)); in hasDisplayCategory()
DActivityStarter.java2496 if (r.info.requiredDisplayCategory != null && mSourceRecord != null in setInitialState()
2497 && !r.info.requiredDisplayCategory.equals( in setInitialState()
2498 mSourceRecord.info.requiredDisplayCategory)) { in setInitialState()
DTask.java967 mRequiredDisplayCategory = info.requiredDisplayCategory; in setIntent()
6355 info.requiredDisplayCategory)
6356 || (mRequiredDisplayCategory == null && info.requiredDisplayCategory == null);
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DGenericWindowPolicyController.java360 + activityInfo.requiredDisplayCategory in canContainActivity()
496 return activityInfo.requiredDisplayCategory == null; in activityMatchesDisplayCategory()
498 return activityInfo.requiredDisplayCategory != null in activityMatchesDisplayCategory()
499 && mDisplayCategories.contains(activityInfo.requiredDisplayCategory); in activityMatchesDisplayCategory()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java239 public String requiredDisplayCategory; field in ActivityInfo
1756 requiredDisplayCategory = orig.requiredDisplayCategory;
2111 if (requiredDisplayCategory != null) {
2112 pw.println(prefix + "requiredDisplayCategory=" + requiredDisplayCategory);
2165 dest.writeString8(requiredDisplayCategory);
2292 requiredDisplayCategory = source.readString8();
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DGenericWindowPolicyControllerTest.java941 String requiredDisplayCategory) { in getActivityInfo() argument
942 return getActivityInfo(packageName, name, displayOnRemoteDevices, requiredDisplayCategory, in getActivityInfo()
948 String requiredDisplayCategory, int uid) { in getActivityInfo() argument
958 activityInfo.requiredDisplayCategory = requiredDisplayCategory; in getActivityInfo()
DVirtualDeviceManagerServiceTest.java324 String requiredDisplayCategory) { in getActivityInfo() argument
331 activityInfo.requiredDisplayCategory = requiredDisplayCategory; in getActivityInfo()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedActivityUtils.java232 String requiredDisplayCategory = sa.getNonConfigurationString( in parseActivityOrReceiver() local
235 if (requiredDisplayCategory != null in parseActivityOrReceiver()
236 && FrameworkParsingPackageUtils.validateName(requiredDisplayCategory, in parseActivityOrReceiver()
242 activity.setRequiredDisplayCategory(requiredDisplayCategory); in parseActivityOrReceiver()
DParsedActivityImpl.java422 @Nullable String requiredDisplayCategory, in ParsedActivityImpl()
448 this.mRequiredDisplayCategory = requiredDisplayCategory; in ParsedActivityImpl()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java1546 info.requiredDisplayCategory = "automotive"; in testLaunchActivityWithoutDisplayCategory()
1571 info.requiredDisplayCategory = "automotive"; in testLaunchActivityWithDifferentDisplayCategory()
1596 info.requiredDisplayCategory = "automotive"; in testLaunchActivityWithSameDisplayCategory()
1601 .setRequiredDisplayCategory(info.requiredDisplayCategory) in testLaunchActivityWithSameDisplayCategory()
1622 info.requiredDisplayCategory = "automotive"; in testLaunchActivityInTaskWithDisplayCategory()
DWindowTestsBase.java1407 ActivityBuilder setRequiredDisplayCategory(String requiredDisplayCategory) { in setRequiredDisplayCategory() argument
1408 mRequiredDisplayCategory = requiredDisplayCategory; in setRequiredDisplayCategory()
1460 aInfo.requiredDisplayCategory = mRequiredDisplayCategory; in buildInner()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java387 ai.requiredDisplayCategory = a.getRequiredDisplayCategory(); in generateActivityInfo()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java596 ai.requiredDisplayCategory = a.getRequiredDisplayCategory(); in generateActivityInfo()
/frameworks/base/core/api/
Dcurrent.txt1390 field public static final int requiredDisplayCategory = 16844409; // 0x1010679
12118 field @Nullable public String requiredDisplayCategory;