Home
last modified time | relevance | path

Searched refs:ProfileType (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/repository/
DProfileTypeRepositoryImpl.kt23 import com.android.systemui.screenshot.data.model.ProfileType
38 private val cache = mutableMapOf<Int, ProfileType>()
41 override suspend fun getProfileType(@UserIdInt userId: Int): ProfileType { in getProfileType()
47 UserManager.USER_TYPE_PROFILE_MANAGED -> ProfileType.WORK in getProfileType()
48 UserManager.USER_TYPE_PROFILE_PRIVATE -> ProfileType.PRIVATE in getProfileType()
49 UserManager.USER_TYPE_PROFILE_CLONE -> ProfileType.CLONE in getProfileType()
50 UserManager.USER_TYPE_PROFILE_COMMUNAL -> ProfileType.COMMUNAL in getProfileType()
51 else -> ProfileType.NONE in getProfileType()
DProfileTypeRepository.kt20 import com.android.systemui.screenshot.data.model.ProfileType
28 suspend fun getProfileType(@UserIdInt userId: Int): ProfileType in interface()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/data/repository/
DProfileTypeRepositoryKosmos.kt20 import com.android.systemui.screenshot.data.model.ProfileType in <lambda>()
27 TestUserIds.WORK -> ProfileType.WORK in <lambda>()
28 TestUserIds.CLONE -> ProfileType.CLONE in <lambda>()
29 TestUserIds.PRIVATE -> ProfileType.PRIVATE in <lambda>()
30 else -> ProfileType.NONE in <lambda>()
/frameworks/base/libs/hwui/
DProperties.cpp71 ProfileType Properties::sProfileType = ProfileType::None;
125 sProfileType = ProfileType::None; in load()
129 sProfileType = ProfileType::Bars; in load()
131 sProfileType = ProfileType::Console; in load()
213 ProfileType Properties::getProfileType() { in getProfileType()
214 if (CC_UNLIKELY(sDisableProfileBars && sProfileType == ProfileType::Bars)) in getProfileType()
215 return ProfileType::None; in getProfileType()
DProperties.h246 enum class ProfileType { None, Console, Bars }; enum
295 static ProfileType getProfileType();
380 static ProfileType sProfileType;
DFrameInfoVisualizer.cpp26 if (CC_LIKELY(mType == ProfileType::None)) return
28 if (CC_LIKELY(mType == ProfileType::None && !mShowDirtyRegions)) return
114 if (mType == ProfileType::Bars) { in draw()
232 ProfileType newType = Properties::getProfileType(); in consumeProperties()
235 if (mType == ProfileType::None) { in consumeProperties()
DFrameInfoVisualizer.h69 ProfileType mType = ProfileType::None;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/message/
DProfileMessageControllerTest.kt25 import com.android.systemui.screenshot.data.model.ProfileType
151 override suspend fun getProfileType(userId: Int): ProfileType { in getProfileType()
153 workUser -> ProfileType.WORK in getProfileType()
154 privateUser -> ProfileType.PRIVATE in getProfileType()
155 communalUser -> ProfileType.COMMUNAL in getProfileType()
156 else -> ProfileType.NONE in getProfileType()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DAnnouncementResolver.kt20 import com.android.systemui.screenshot.data.model.ProfileType
39 ProfileType.PRIVATE -> messages.savingToPrivateProfileAnnouncement in getScreenshotAnnouncement()
40 ProfileType.WORK -> messages.savingToWorkProfileAnnouncement in getScreenshotAnnouncement()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/message/
DProfileMessageController.kt25 import com.android.systemui.screenshot.data.model.ProfileType in <lambda>()
50 ProfileType.WORK -> FirstRunProfile.WORK in <lambda>()
51 ProfileType.PRIVATE -> FirstRunProfile.PRIVATE in <lambda>()
/frameworks/base/core/java/android/content/pm/dex/
DArtManager.java67 public @interface ProfileType {} annotation in ArtManager
108 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, in snapshotRuntimeProfile()
132 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType) { in isRuntimeProfilingEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/
DPrivateProfilePolicy.kt21 import com.android.systemui.screenshot.data.model.ProfileType in <lambda>()
53 profileTypes.getProfileType(it.userId) == ProfileType.PRIVATE in <lambda>()
DWorkProfilePolicy.kt23 import com.android.systemui.screenshot.data.model.ProfileType in <lambda>()
65 profileTypes.getProfileType(child.userId) == ProfileType.WORK in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/model/
DProfileType.kt20 enum class ProfileType { class
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java28 import android.content.pm.dex.ArtManager.ProfileType;
149 private boolean checkShellPermissions(@ProfileType int profileType, String packageName, in checkShellPermissions()
177 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, in snapshotRuntimeProfile()
277 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType, String callingPackage) { in isRuntimeProfilingEnabled()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp106 ProfileType::None != Properties::getProfileType())) { in draw()
DSkiaOpenGLPipeline.cpp173 ProfileType::None != Properties::getProfileType())) { in draw()