Home
last modified time | relevance | path

Searched refs:OverlayInfo (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java19 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 …]
DOverlayManagerSettings.java25 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 …]
DOverlayManagerShellCommand.java25 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()
DIdmapManager.java23 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()
DOverlayActorEnforcer.java20 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()
DOverlayManagerService.java49 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/
DOverlayManagerSettingsTests.java19 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 …]
DOverlayManagerServiceImplRebootTests.java25 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 …]
DOverlayManagerServiceImplTests.java19 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 …]
DOverlayManagerServiceImplTestsBase.java28 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()
DOverlayActorEnforcerTests.kt19 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/
DOverlayInfo.java42 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 …]
DIOverlayManager.aidl20 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()
DOverlayManager.java198 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()
DOverlayInfo.aidl19 parcelable OverlayInfo;
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DTransactionTest.java28 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()
DFabricatedOverlaysTest.java29 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/
DThemeOverlayApplierTest.java43 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/
DThemeOverlayApplier.java21 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/
DFabricatedOverlayTests.cpp26 TEST(FabricatedOverlayTests, OverlayInfo) { in TEST() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java57 import android.content.om.OverlayInfo;
5632 final OverlayInfo info = om.getOverlayInfo(NAV_BAR_MODE_GESTURAL_OVERLAY, userId);
/frameworks/base/core/api/
Dsystem-current.txt3148 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/
Dhiddenapi-max-target-o.txt10851 …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/
Dpreloaded-classes1360 android.content.om.OverlayInfo$1
1361 android.content.om.OverlayInfo
/frameworks/base/services/
Dart-profile32012 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 …]

12