/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 19 import static android.content.om.OverlayInfo.STATE_DISABLED; 20 import static android.content.om.OverlayInfo.STATE_ENABLED; 21 import static android.content.om.OverlayInfo.STATE_MISSING_TARGET; 22 import static android.content.om.OverlayInfo.STATE_NO_IDMAP; 23 import static android.content.om.OverlayInfo.STATE_OVERLAY_IS_BEING_REPLACED; 24 import static android.content.om.OverlayInfo.STATE_TARGET_IS_BEING_REPLACED; 34 import android.content.om.OverlayInfo; 96 @Nullable final OverlayInfo oldSettings) { in mustReinitializeOverlay() 122 @Nullable final OverlayInfo oldSettings) { in mustReinitializeOverlay() 197 final ArrayMap<String, List<OverlayInfo>> userOverlays = in updateOverlaysForUser() [all …]
|
D | OverlayManagerSettings.java | 25 import android.content.om.OverlayInfo; 74 OverlayInfo init(@NonNull final OverlayIdentifier overlay, final int userId, in init() 80 targetOverlayableName, baseCodePath, OverlayInfo.STATE_UNKNOWN, isEnabled, in init() 98 @NonNull OverlayInfo getOverlayInfo(@NonNull final OverlayIdentifier overlay, final int userId) in getOverlayInfo() 108 OverlayInfo getNullableOverlayInfo(@NonNull final OverlayIdentifier overlay, final int userId) { in getNullableOverlayInfo() 158 @OverlayInfo.State int getState(@NonNull final OverlayIdentifier overlay, final int userId) in getState() 171 final @OverlayInfo.State int state) throws BadKeyException { in setState() 179 List<OverlayInfo> getOverlaysForTarget(@NonNull final String targetPackageName, in getOverlaysForTarget() 188 ArrayMap<String, List<OverlayInfo>> getOverlaysForUser(final int userId) { in getOverlaysForUser() 194 final ArrayMap<String, List<OverlayInfo>> targetInfos = new ArrayMap<>(); in getOverlaysForUser() [all …]
|
D | OverlayManagerShellCommand.java | 25 import android.content.om.OverlayInfo; 154 List<OverlayInfo> overlaysForTarget = mInterface.getOverlayInfosForTarget( in runList() 159 final OverlayInfo info = mInterface.getOverlayInfo(packageName, userId); in runList() 178 final Map<String, List<OverlayInfo>> allOverlays = mInterface.getAllOverlays(userId); in runList() 182 List<OverlayInfo> overlaysForTarget = allOverlays.get(targetPackageName); in runList() 193 private void printListOverlay(PrintWriter out, OverlayInfo oi) { in printListOverlay() 196 case OverlayInfo.STATE_ENABLED_IMMUTABLE: in printListOverlay() 197 case OverlayInfo.STATE_ENABLED: in printListOverlay() 200 case OverlayInfo.STATE_DISABLED: in printListOverlay()
|
D | IdmapManager.java | 23 import android.content.om.OverlayInfo; 104 boolean removeIdmap(@NonNull final OverlayInfo oi, final int userId) { in removeIdmap() 116 boolean idmapExists(@NonNull final OverlayInfo oi) { in idmapExists()
|
D | OverlayActorEnforcer.java | 20 import android.content.om.OverlayInfo; 84 void enforceActor(@NonNull OverlayInfo overlayInfo, @NonNull String methodName, in enforceActor() 105 public ActorState isAllowedActor(String methodName, OverlayInfo overlayInfo, in isAllowedActor()
|
D | OverlayManagerService.java | 49 import android.content.om.OverlayInfo; 561 public Map<String, List<OverlayInfo>> getAllOverlays(final int userIdArg) { 575 public List<OverlayInfo> getOverlayInfosForTarget(@Nullable final String targetPackageName, 594 public OverlayInfo getOverlayInfo(@Nullable final String packageName, 600 public OverlayInfo getOverlayInfoByIdentifier(@Nullable final OverlayIdentifier overlay, 1100 OverlayInfo overlayInfo = mImpl.getOverlayInfo(overlay, realUserId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerSettingsTests.java | 19 import static android.content.om.OverlayInfo.STATE_DISABLED; 20 import static android.content.om.OverlayInfo.STATE_ENABLED; 30 import android.content.om.OverlayInfo; 67 private static final OverlayInfo OVERLAY_A_USER0 = createInfo(OVERLAY_A, USER_0); 68 private static final OverlayInfo OVERLAY_B_USER0 = createInfo(OVERLAY_B, USER_0); 69 private static final OverlayInfo OVERLAY_C_USER0 = createInfo(OVERLAY_C, USER_0); 71 private static final OverlayInfo OVERLAY_A_USER1 = createInfo(OVERLAY_A, USER_1); 72 private static final OverlayInfo OVERLAY_B_USER1 = createInfo(OVERLAY_B, USER_1); 85 final Map<String, List<OverlayInfo>> map = mSettings.getOverlaysForUser(0 /* userId */); in testSettingsInitiallyEmpty() 95 final OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_A, USER_0); in testBasicSetAndGet() [all …]
|
D | OverlayManagerServiceImplRebootTests.java | 25 import android.content.om.OverlayInfo; 74 final OverlayInfo o1 = impl.getOverlayInfo(IDENTIFIER, USER); in testImmutableEnabledChange() 81 final OverlayInfo o2 = impl.getOverlayInfo(IDENTIFIER, USER); in testImmutableEnabledChange() 88 final OverlayInfo o3 = impl.getOverlayInfo(IDENTIFIER, USER); in testImmutableEnabledChange() 105 final OverlayInfo o1 = impl.getOverlayInfo(IDENTIFIER, USER); in testMutableEnabledChangeHasNoEffect() 112 final OverlayInfo o2 = impl.getOverlayInfo(IDENTIFIER, USER); in testMutableEnabledChangeHasNoEffect() 119 final OverlayInfo o3 = impl.getOverlayInfo(IDENTIFIER, USER); in testMutableEnabledChangeHasNoEffect() 137 final OverlayInfo o = impl.getOverlayInfo(IDENTIFIER, USER); in testMutableEnabledToImmutableEnabled() 188 final OverlayInfo o1 = impl.getOverlayInfo(IDENTIFIER, USER); in testMutablePriorityChange() 193 final OverlayInfo o2 = impl.getOverlayInfo(IDENTIFIER2, USER); in testMutablePriorityChange() [all …]
|
D | OverlayManagerServiceImplTests.java | 19 import static android.content.om.OverlayInfo.STATE_DISABLED; 20 import static android.content.om.OverlayInfo.STATE_ENABLED; 21 import static android.content.om.OverlayInfo.STATE_MISSING_TARGET; 32 import android.content.om.OverlayInfo; 72 final OverlayInfo oi = impl.getOverlayInfo(IDENTIFIER, USER); in testGetOverlayInfo() 89 final List<OverlayInfo> ois = impl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget() 94 final List<OverlayInfo> ois2 = impl.getOverlayInfosForTarget(TARGET, USER2); in testGetOverlayInfosForTarget() 98 final List<OverlayInfo> ois3 = impl.getOverlayInfosForTarget(TARGET, USER3); in testGetOverlayInfosForTarget() 102 final List<OverlayInfo> ois4 = impl.getOverlayInfosForTarget("no.such.overlay", USER); in testGetOverlayInfosForTarget() 119 final Map<String, List<OverlayInfo>> everything = impl.getOverlaysForUser(USER); in testGetOverlayInfosForUser() [all …]
|
D | OverlayManagerServiceImplTestsBase.java | 28 import android.content.om.OverlayInfo; 29 import android.content.om.OverlayInfo.State; 101 final OverlayInfo info = mImpl.getOverlayInfo(overlay, userId); in assertState() 106 OverlayInfo.stateToString(expected), OverlayInfo.stateToString(info.state)); in assertState() 111 OverlayInfo... overlayInfos) { in assertOverlayInfoForTarget() 112 final List<OverlayInfo> expected = in assertOverlayInfoForTarget() 114 final List<OverlayInfo> actual = Arrays.asList(overlayInfos); in assertOverlayInfoForTarget()
|
D | OverlayActorEnforcerTests.kt | 19 import android.content.om.OverlayInfo in <lambda>() 274 fun toOverlayInfo() = OverlayInfo( in <lambda>() 281 OverlayInfo.STATE_UNKNOWN, 0, in <lambda>()
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayInfo.java | 42 public final class OverlayInfo implements CriticalOverlayInfo, Parcelable { class 230 public OverlayInfo(@NonNull OverlayInfo source, @State int state) { in OverlayInfo() method in OverlayInfo 238 public OverlayInfo(@NonNull String packageName, @NonNull String targetPackageName, in OverlayInfo() method in OverlayInfo 247 public OverlayInfo(@NonNull String packageName, @Nullable String overlayName, in OverlayInfo() method in OverlayInfo 266 public OverlayInfo(Parcel source) { in OverlayInfo() method in OverlayInfo 423 public static final @android.annotation.NonNull Parcelable.Creator<OverlayInfo> CREATOR = 424 new Parcelable.Creator<OverlayInfo>() { 426 public OverlayInfo createFromParcel(Parcel source) { 427 return new OverlayInfo(source); 431 public OverlayInfo[] newArray(int size) { [all …]
|
D | IOverlayManager.aidl | 20 import android.content.om.OverlayInfo; 43 Map<String, List<OverlayInfo>> getAllOverlays(in int userId); in getAllOverlays() 55 List<OverlayInfo> getOverlayInfosForTarget(in String targetPackageName, in int userId); in getOverlayInfosForTarget() 67 OverlayInfo getOverlayInfo(in String packageName, in int userId); in getOverlayInfo() 78 OverlayInfo getOverlayInfoByIdentifier(in OverlayIdentifier packageName, in int userId); in getOverlayInfoByIdentifier()
|
D | OverlayManager.java | 198 public OverlayInfo getOverlayInfo(@NonNull final String packageName, in getOverlayInfo() 217 public OverlayInfo getOverlayInfo(@NonNull final OverlayIdentifier overlay, in getOverlayInfo() 244 public List<OverlayInfo> getOverlayInfosForTarget(@NonNull final String targetPackageName, in getOverlayInfosForTarget()
|
D | OverlayInfo.aidl | 19 parcelable OverlayInfo;
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | TransactionTest.java | 28 import android.content.om.OverlayInfo; 81 List<OverlayInfo> ois = in testValidTransaction() 95 List<OverlayInfo> ois2 = in testValidTransaction() 108 List<OverlayInfo> ois3 = in testValidTransaction() 133 final OverlayInfo oi = mOverlayManager.getOverlayInfo(overlay, UserHandle.of(userId)); in assertOverlayIsEnabled()
|
D | FabricatedOverlaysTest.java | 29 import android.content.om.OverlayInfo; 97 OverlayInfo info = mOverlayManager.getOverlayInfo(overlay.getIdentifier(), mUserHandle); in testFabricatedOverlay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayApplierTest.java | 43 import android.content.om.OverlayInfo; 161 OverlayInfo launcherTargetInfo = new OverlayInfo("packageName", LAUNCHER_PACKAGE, in setup() 293 private static OverlayInfo createOverlayInfo(String packageName, String targetPackageName, in createOverlayInfo() 295 return new OverlayInfo(packageName, null, targetPackageName, null, category, "", in createOverlayInfo() 296 enabled ? OverlayInfo.STATE_ENABLED : OverlayInfo.STATE_DISABLED, 0, 0, false, in createOverlayInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayApplier.java | 21 import android.content.om.OverlayInfo; 194 final List<OverlayInfo> overlays = new ArrayList<>(); in applyCurrentUserOverlays() 253 OverlayInfo overlayInfo = mOverlayManager.getOverlayInfo(identifier, in setEnabled()
|
/frameworks/base/cmds/idmap2/tests/ |
D | FabricatedOverlayTests.cpp | 26 TEST(FabricatedOverlayTests, OverlayInfo) { in TEST() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 57 import android.content.om.OverlayInfo; 5632 final OverlayInfo info = om.getOverlayInfo(NAV_BAR_MODE_GESTURAL_OVERLAY, userId);
|
/frameworks/base/core/api/ |
D | system-current.txt | 3148 public final class OverlayInfo implements android.os.Parcelable { 3157 …field @NonNull public static final android.os.Parcelable.Creator<android.content.om.OverlayInfo> C… 3161 …method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull an… 3162 …INTERACT_ACROSS_USERS_FULL"}) public java.util.List<android.content.om.OverlayInfo> getOverlayInfo…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 10851 …om/IOverlayManager$Stub$Proxy;->getOverlayInfo(Ljava/lang/String;I)Landroid/content/om/OverlayInfo; 10878 Landroid/content/om/OverlayInfo;-><init>(Landroid/content/om/OverlayInfo;I)V 10879 Landroid/content/om/OverlayInfo;-><init>(Landroid/os/Parcel;)V 10880 Landroid/content/om/OverlayInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljav… 10881 Landroid/content/om/OverlayInfo;->baseCodePath:Ljava/lang/String; 10882 Landroid/content/om/OverlayInfo;->category:Ljava/lang/String; 10883 Landroid/content/om/OverlayInfo;->CATEGORY_THEME:Ljava/lang/String; 10884 Landroid/content/om/OverlayInfo;->CREATOR:Landroid/os/Parcelable$Creator; 10885 Landroid/content/om/OverlayInfo;->ensureValidState()V 10886 Landroid/content/om/OverlayInfo;->isStatic:Z [all …]
|
/frameworks/base/boot/ |
D | preloaded-classes | 1360 android.content.om.OverlayInfo$1 1361 android.content.om.OverlayInfo
|
/frameworks/base/services/ |
D | art-profile | 32012 HSPLcom/android/server/om/IdmapManager;->idmapExists(Landroid/content/om/OverlayInfo;)Z 32014 PLcom/android/server/om/IdmapManager;->removeIdmap(Landroid/content/om/OverlayInfo;I)Z 32018 PLcom/android/server/om/OverlayActorEnforcer;->enforceActor(Landroid/content/om/OverlayInfo;Ljava/l… 32020 …ayActorEnforcer;->isAllowedActor(Ljava/lang/String;Landroid/content/om/OverlayInfo;II)Lcom/android… 32040 …er/om/OverlayManagerService$1;->getOverlayInfo(Ljava/lang/String;I)Landroid/content/om/OverlayInfo; 32041 …getOverlayInfoByIdentifier(Landroid/content/om/OverlayIdentifier;I)Landroid/content/om/OverlayInfo; 32087 …rvice;->$r8$lambda$JCo3rZCvXXDWojp1aEp8JiODyhk(Ljava/lang/String;Landroid/content/om/OverlayInfo;)Z 32104 …server/om/OverlayManagerService;->lambda$new$0(Ljava/lang/String;Landroid/content/om/OverlayInfo;)Z 32124 …ambda$8yos8yhpCEecfI-CziF6QMWuQgw(ILjava/util/function/Predicate;Landroid/content/om/OverlayInfo;)Z 32125 …eImpl;->$r8$lambda$DTymDZWSLGiNkG41XwScFnh5PO0(Ljava/lang/String;Landroid/content/om/OverlayInfo;)Z [all …]
|