Home
last modified time | relevance | path

Searched refs:overlayInfo (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/unbundled/apprro/
DUnbundledRroPanelReducer.kt52 }.map { overlayInfo -> in <lambda>() method
54 text = overlayInfo.packageName, in <lambda>()
55 errorText = if (!overlayInfo.isValid()) { in <lambda>()
56 OverlayInfo.stateToString(overlayInfo.state) in <lambda>()
60 isChecked = overlayInfo.isEnabled, in <lambda>()
61 isEnabled = overlayInfo.isMutable && overlayInfo.isValid(), in <lambda>()
63 overlayInfo.packageName, in <lambda>()
64 !overlayInfo.isEnabled in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/systembarpresets/
DSystemBarPresetsItem.kt38 }.filterValues { overlayInfo -> in <lambda>() method
39 overlayInfo?.isValid() ?: false in <lambda>()
40 }.mapValues { (_, overlayInfo) -> in <lambda>() method
42 requireNotNull(overlayInfo) in <lambda>()
45 barConfigurations.forEach { (title, overlayInfo) -> in <lambda>() method
49 isActive = overlayInfo.isEnabled, in <lambda>()
52 packageToEnable = overlayInfo.packageName, in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/systemui/cutouts/
DDisplayCutoutsItem.kt43 }.filterValues { overlayInfo -> in <lambda>() method
44 overlayInfo?.isValid() ?: false in <lambda>()
45 }.mapValues { (_, overlayInfo) -> in <lambda>() method
47 requireNotNull(overlayInfo) in <lambda>()
50 cutoutsConfiguration.forEach { (title, overlayInfo) -> in <lambda>() method
54 isActive = overlayInfo.isEnabled, in <lambda>()
57 packageToEnable = overlayInfo.packageName, in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DOverlayManagerCompat.java78 for (OverlayInfo overlayInfo : overlayInfos) { in getEnabledPackageName()
79 if (category.equals(overlayInfo.getCategory()) && overlayInfo.isEnabled()) { in getEnabledPackageName()
80 return overlayInfo.getPackageName(); in getEnabledPackageName()
133 for (OverlayInfo overlayInfo : getOverlayInfosForTarget(target, UserHandle.myUserId())) { in addAllEnabledOverlaysForTarget()
134 if (overlayInfo.isEnabled()) { in addAllEnabledOverlaysForTarget()
135 overlays.put(overlayInfo.getCategory(), overlayInfo.getPackageName()); in addAllEnabledOverlaysForTarget()
/packages/apps/Settings/src/com/android/settings/development/
DOverlayCategoryPreferenceController.java161 for (OverlayInfo overlayInfo : getOverlayInfos()) { in updateState()
162 pkgs.add(overlayInfo.packageName); in updateState()
164 labels.add(mPackageManager.getApplicationInfo(overlayInfo.packageName, 0) in updateState()
167 labels.add(overlayInfo.packageName); in updateState()
169 if (overlayInfo.isEnabled()) { in updateState()
186 for (OverlayInfo overlayInfo : overlayInfos) { in getOverlayInfos()
187 if (mCategory.equals(overlayInfo.category)) { in getOverlayInfos()
188 filteredInfos.add(overlayInfo); in getOverlayInfos()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/
DRroListPanelReducer.kt161 ).map { overlayInfo -> in <lambda>() method
163 packageName = overlayInfo.packageName, in <lambda>()
164 targetPackage = overlayInfo.targetPackageName, in <lambda>()
165 isChecked = overlayInfo.isEnabled, in <lambda>()
166 isEnabled = overlayInfo.isMutable && overlayInfo.isValid(), in <lambda>()
167 errorText = if (!overlayInfo.isValid()) { in <lambda>()
168 OverlayInfo.stateToString(overlayInfo.state) in <lambda>()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/oemtokens/oemtokenstoggle/
DOemTokensToggleModule.kt58 val overlayInfo: List<OverlayInfo> = in <lambda>() constant
60 if (overlayInfo.isNotEmpty() && overlayInfo[0].isValid()) { in <lambda>()
62 isChecked = overlayInfo[0].isEnabled in <lambda>()
63 rroPackage = overlayInfo[0].packageName in <lambda>()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/drivemode/
DDriveModeSwitchController.java57 OverlayInfo overlayInfo = mOverlayManager.getOverlayInfo(DRIVE_MODE_ON_RRO_PACKAGE, in isDriveModeActive() local
59 return overlayInfo != null && overlayInfo.isEnabled(); in isDriveModeActive()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/drivemode/
DDriveModeThemeSwitcher.java77 OverlayInfo overlayInfo = mOverlayManager.getOverlayInfo(packageName, UserHandle.CURRENT); in isOverlayActive() local
78 return overlayInfo != null && overlayInfo.isEnabled(); in isOverlayActive()
/packages/services/Car/service-builtin/src/com/android/car/
DUpdatablePackageContext.java201 OverlayInfo overlayInfo = installedOverlays.get(i); in getInstalledRROPackages() local
202 installedOverlayPackages.add(overlayInfo.getPackageName()); in getInstalledRROPackages()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java467 OverlayInfo overlayInfo = mOverlayManager.getOverlayInfo(pkgName, user); in updateUninstallButton() local
468 if (overlayInfo != null && overlayInfo.isEnabled()) { in updateUninstallButton()
470 mState.getEntry(overlayInfo.targetPackageName, in updateUninstallButton()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java869 OverlayInfo overlayInfo = installedOverlaysForSystem.get(i); in dumpRROs() local
870 writer.printf("Overlay: %s, Enabled: %b \n", overlayInfo.getPackageName(), in dumpRROs()
871 overlayInfo.isEnabled()); in dumpRROs()
879 OverlayInfo overlayInfo = installedOverlaysForCurrentUser.get(i); in dumpRROs() local
880 writer.printf("Overlay: %s, Enabled: %b \n", overlayInfo.getPackageName(), in dumpRROs()
881 overlayInfo.isEnabled()); in dumpRROs()