/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/repository/ |
D | ProfileTypeRepositoryImpl.kt | 23 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()
|
D | ProfileTypeRepository.kt | 20 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/ |
D | ProfileTypeRepositoryKosmos.kt | 20 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/ |
D | Properties.cpp | 71 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()
|
D | Properties.h | 246 enum class ProfileType { None, Console, Bars }; enum 295 static ProfileType getProfileType(); 380 static ProfileType sProfileType;
|
D | FrameInfoVisualizer.cpp | 26 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()
|
D | FrameInfoVisualizer.h | 69 ProfileType mType = ProfileType::None;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/message/ |
D | ProfileMessageControllerTest.kt | 25 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/ |
D | AnnouncementResolver.kt | 20 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/ |
D | ProfileMessageController.kt | 25 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/ |
D | ArtManager.java | 67 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/ |
D | PrivateProfilePolicy.kt | 21 import com.android.systemui.screenshot.data.model.ProfileType in <lambda>() 53 profileTypes.getProfileType(it.userId) == ProfileType.PRIVATE in <lambda>()
|
D | WorkProfilePolicy.kt | 23 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/ |
D | ProfileType.kt | 20 enum class ProfileType { class
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 28 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/ |
D | SkiaVulkanPipeline.cpp | 106 ProfileType::None != Properties::getProfileType())) { in draw()
|
D | SkiaOpenGLPipeline.cpp | 173 ProfileType::None != Properties::getProfileType())) { in draw()
|