Searched refs:FLAG_FOR_TESTING (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | UserInfo.java | 35 public static final int FLAG_FOR_TESTING = 0x00008000; field in UserInfo 191 return (mFlag & FLAG_FOR_TESTING) == FLAG_FOR_TESTING; in isFlagForTesting()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RunOnSecondaryUserTargetPreparerTest.java | 19 import static com.android.tradefed.device.UserInfo.FLAG_FOR_TESTING; 125 new UserInfo(2, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_secondaryUserAlreadyExists_doesNotCreateSecondaryUser() 140 new UserInfo(2, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_secondaryUserAlreadyExists_startsAndSwitchesToSecondaryUser() 169 new UserInfo(2, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in tearDown_secondaryUserAlreadyExists_switchesBackToInitialUser() 186 new UserInfo(3, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_secondaryUserAlreadyExists_runsTestAsExistingUser() 209 new UserInfo(3, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_secondaryUserAlreadyExists_installsPackagesInExistingUser() 239 new UserInfo(3, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_secondaryUserAlreadyExists_doesNotRemoveSecondaryUser() 388 new UserInfo(3, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_doesNotSupportAdditionalUsers_alreadyHasSecondaryUser_runsTestAsExistingUser() 405 new UserInfo(3, "secondary", /* flag= */ FLAG_FOR_TESTING, /* isRunning= */ true)); in setUp_doesNotSupportAdditionalUsers_alreadyHasSecondaryUser_doesNotSkipTests()
|