/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; 28 import android.content.om.OverlayInfo; 52 private static final OverlayInfo OVERLAY_A0 = new OverlayInfo( 63 private static final OverlayInfo OVERLAY_B0 = new OverlayInfo( 74 private static final OverlayInfo OVERLAY_C0 = new OverlayInfo( 85 private static final OverlayInfo OVERLAY_A1 = new OverlayInfo( 96 private static final OverlayInfo OVERLAY_B1 = new OverlayInfo( 117 Map<String, List<OverlayInfo>> map = mSettings.getOverlaysForUser(userId); in testSettingsInitiallyEmpty() 127 OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_A0.packageName, OVERLAY_A0.userId); in testBasicSetAndGet() [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; 29 import android.content.om.OverlayInfo; 82 final OverlayInfo oi = mImpl.getOverlayInfo(OVERLAY, USER); in testGetOverlayInfo() 96 final List<OverlayInfo> ois = mImpl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget() 101 final List<OverlayInfo> ois2 = mImpl.getOverlayInfosForTarget(TARGET, USER2); in testGetOverlayInfosForTarget() 105 final List<OverlayInfo> ois3 = mImpl.getOverlayInfosForTarget(TARGET, USER3); in testGetOverlayInfosForTarget() 109 final List<OverlayInfo> ois4 = mImpl.getOverlayInfosForTarget("no.such.overlay", USER); in testGetOverlayInfosForTarget() 120 final Map<String, List<OverlayInfo>> everything = mImpl.getOverlaysForUser(USER); in testGetOverlayInfosForUser() [all …]
|
/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_ENABLED_STATIC; 22 import static android.content.om.OverlayInfo.STATE_MISSING_TARGET; 23 import static android.content.om.OverlayInfo.STATE_NO_IDMAP; 24 import static android.content.om.OverlayInfo.STATE_OVERLAY_IS_BEING_REPLACED; 25 import static android.content.om.OverlayInfo.STATE_TARGET_IS_BEING_REPLACED; 32 import android.content.om.OverlayInfo; 87 @Nullable final OverlayInfo oldSettings) { in mustReinitializeOverlay() 134 final ArrayMap<String, List<OverlayInfo>> tmp = mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser() [all …]
|
D | OverlayManagerShellCommand.java | 22 import android.content.om.OverlayInfo; 126 List<OverlayInfo> overlaysForTarget = mInterface.getOverlayInfosForTarget( in runList() 131 final OverlayInfo info = mInterface.getOverlayInfo(packageName, userId); in runList() 150 final Map<String, List<OverlayInfo>> allOverlays = mInterface.getAllOverlays(userId); in runList() 154 List<OverlayInfo> overlaysForTarget = allOverlays.get(targetPackageName); in runList() 165 private void printListOverlay(PrintWriter out, OverlayInfo oi) { in printListOverlay() 168 case OverlayInfo.STATE_ENABLED_STATIC: in printListOverlay() 169 case OverlayInfo.STATE_ENABLED: in printListOverlay() 172 case OverlayInfo.STATE_DISABLED: in printListOverlay()
|
D | OverlayManagerSettings.java | 24 import android.content.om.OverlayInfo; 112 @NonNull OverlayInfo getOverlayInfo(@NonNull final String packageName, final int userId) in getOverlayInfo() 162 @OverlayInfo.State int getState(@NonNull final String packageName, final int userId) in getState() 175 final @OverlayInfo.State int state) throws BadKeyException { in setState() 183 List<OverlayInfo> getOverlaysForTarget(@NonNull final String targetPackageName, in getOverlaysForTarget() 193 ArrayMap<String, List<OverlayInfo>> getOverlaysForUser(final int userId) { in getOverlaysForUser() 321 pw.println("mState.................: " + OverlayInfo.stateToString(item.getState())); in dumpSettingsItem() 350 pw.println(OverlayInfo.stateToString(item.mState)); in dumpSettingsItemField() 494 private @OverlayInfo.State int mState; 496 private OverlayInfo mCache; [all …]
|
D | IdmapManager.java | 26 import android.content.om.OverlayInfo; 110 boolean removeIdmap(@NonNull final OverlayInfo oi, final int userId) { in removeIdmap() 127 boolean idmapExists(@NonNull final OverlayInfo oi) { in idmapExists()
|
D | OverlayManagerService.java | 39 import android.content.om.OverlayInfo; 429 final OverlayInfo oi = mImpl.getOverlayInfo(packageName, userId); in onPackageReplacing() 470 final OverlayInfo oi = mImpl.getOverlayInfo(packageName, userId); in onPackageRemoved() 526 public Map<String, List<OverlayInfo>> getAllOverlays(int userId) throws RemoteException { 540 public List<OverlayInfo> getOverlayInfosForTarget(@Nullable final String targetPackageName, 558 public OverlayInfo getOverlayInfo(@Nullable final String packageName,
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayInfo.java | 39 public final class OverlayInfo implements Parcelable { class 207 public OverlayInfo(@NonNull OverlayInfo source, @State int state) { in OverlayInfo() method in OverlayInfo 214 public OverlayInfo(@NonNull String packageName, @NonNull String targetPackageName, in OverlayInfo() method in OverlayInfo 231 public OverlayInfo(Parcel source) { in OverlayInfo() method in OverlayInfo 337 public static final @android.annotation.NonNull Parcelable.Creator<OverlayInfo> CREATOR = 338 new Parcelable.Creator<OverlayInfo>() { 340 public OverlayInfo createFromParcel(Parcel source) { 341 return new OverlayInfo(source); 345 public OverlayInfo[] newArray(int size) { 346 return new OverlayInfo[size]; [all …]
|
D | IOverlayManager.aidl | 19 import android.content.om.OverlayInfo; 65 OverlayInfo getOverlayInfo(in String packageName, in int userId); in getOverlayInfo()
|
D | OverlayManager.java | 131 public OverlayInfo getOverlayInfo(@NonNull final String packageName, in getOverlayInfo() 158 public List<OverlayInfo> getOverlayInfosForTarget(@NonNull final String targetPackageName, in getOverlayInfosForTarget()
|
D | OverlayInfo.aidl | 19 parcelable OverlayInfo;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayManagerTest.java | 38 import android.content.om.OverlayInfo; 237 private static OverlayInfo createOverlayInfo(String packageName, String targetPackageName, in createOverlayInfo() 239 return new OverlayInfo(packageName, targetPackageName, null, category, "", in createOverlayInfo() 240 enabled ? OverlayInfo.STATE_ENABLED : OverlayInfo.STATE_DISABLED, 0, 0, false); in createOverlayInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayManager.java | 18 import android.content.om.OverlayInfo; 142 final List<OverlayInfo> overlays = new ArrayList<>(); in applyCurrentUserOverlays()
|
/frameworks/base/api/ |
D | system-current.txt | 1455 public final class OverlayInfo implements android.os.Parcelable { 1464 …field @NonNull public static final android.os.Parcelable.Creator<android.content.om.OverlayInfo> C… 1468 …method @Nullable public android.content.om.OverlayInfo getOverlayInfo(@NonNull String, @NonNull an… 1469 …INTERACT_ACROSS_USERS_FULL"}) public java.util.List<android.content.om.OverlayInfo> getOverlayInfo…
|
/frameworks/base/services/ |
D | art-profile | 10016 PLcom/android/server/om/IdmapManager;->idmapExists(Landroid/content/om/OverlayInfo;)Z 10018 PLcom/android/server/om/IdmapManager;->removeIdmap(Landroid/content/om/OverlayInfo;I)Z 10020 …er/om/OverlayManagerService$1;->getOverlayInfo(Ljava/lang/String;I)Landroid/content/om/OverlayInfo; 10047 …/om/OverlayManagerServiceImpl;->getOverlayInfo(Ljava/lang/String;I)Landroid/content/om/OverlayInfo; 10048 …ceImpl;->mustReinitializeOverlay(Landroid/content/pm/PackageInfo;Landroid/content/om/OverlayInfo;)Z 10050 …roid/server/om/OverlayManagerServiceImpl;->removeIdmapIfPossible(Landroid/content/om/OverlayInfo;)V 10060 …id/server/om/OverlayManagerSettings$SettingsItem;->getOverlayInfo()Landroid/content/om/OverlayInfo; 10062 …ver/om/OverlayManagerSettings;->getOverlayInfo(Ljava/lang/String;I)Landroid/content/om/OverlayInfo;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 14668 …om/IOverlayManager$Stub$Proxy;->getOverlayInfo(Ljava/lang/String;I)Landroid/content/om/OverlayInfo; 14697 Landroid/content/om/OverlayInfo$State; 14698 Landroid/content/om/OverlayInfo; 14699 Landroid/content/om/OverlayInfo;-><init>(Landroid/content/om/OverlayInfo;I)V 14700 Landroid/content/om/OverlayInfo;-><init>(Landroid/os/Parcel;)V 14701 Landroid/content/om/OverlayInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljav… 14702 Landroid/content/om/OverlayInfo;->baseCodePath:Ljava/lang/String; 14703 Landroid/content/om/OverlayInfo;->category:Ljava/lang/String; 14704 Landroid/content/om/OverlayInfo;->CATEGORY_THEME:Ljava/lang/String; 14705 Landroid/content/om/OverlayInfo;->CREATOR:Landroid/os/Parcelable$Creator; [all …]
|
D | boot-image-profile.txt | 3960 HSPLandroid/content/om/OverlayInfo$1;-><init>()V 3961 HSPLandroid/content/om/OverlayInfo;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;L… 3962 HSPLandroid/content/om/OverlayInfo;->ensureValidState()V 32980 Landroid/content/om/OverlayInfo$1; 32981 Landroid/content/om/OverlayInfo;
|