Searched refs:isCurrentUserOnHeadlessSystemUser (Results 1 – 2 of 2) sorted by relevance
20 import static com.android.bedstead.dpmwrapper.Utils.isCurrentUserOnHeadlessSystemUser;54 if (forDeviceOwner && isCurrentUserOnHeadlessSystemUser(context) in registerTestCaseReceiver()80 if (forDeviceOwner && isCurrentUserOnHeadlessSystemUser(context)) { in unregisterTestCaseReceiver()
74 static boolean isCurrentUserOnHeadlessSystemUser(Context context) { in isCurrentUserOnHeadlessSystemUser() method in Utils80 if (isCurrentUserOnHeadlessSystemUser(context)) return; in assertCurrentUserOnHeadlessSystemMode()