/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ITestDeviceMockHelper.java | 41 public void mockGetCurrentUser(int userId) throws Exception { in mockGetCurrentUser() 53 public void mockSwitchUser(int userId) throws Exception { in mockSwitchUser() 57 public void mockStartUser(int userId) throws Exception { in mockStartUser() 61 public void mockStartUserVisibleOnBackground(int userId, int displayId) throws Exception { in mockStartUserVisibleOnBackground() 65 public void mockStartUserVisibleOnBackground(int userId, int displayId, boolean result) in mockStartUserVisibleOnBackground() 71 public void mockCreateUser(int userId) throws Exception { in mockCreateUser() 90 public void mockIsUserVisibleOnDisplay(int userId, int displayId) throws Exception { in mockIsUserVisibleOnDisplay() 111 public void verifyUserSwitched(int userId) throws Exception { in verifyUserSwitched() 124 public void verifyUserStartedVisibleOnBackground(int userId, int displayId) throws Exception { in verifyUserStartedVisibleOnBackground() 128 public void verifyUserStopped(int userId) throws Exception { in verifyUserStopped() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | CreateUserPreparerTest.java | 207 private void mockGetCurrentUser(int userId) throws Exception { in mockGetCurrentUser() 219 private void mockSwitchUser(int userId) throws Exception { in mockSwitchUser() 223 private void mockStartUser(int userId) throws Exception { in mockStartUser() 227 private void mockCreateUser(int userId) throws Exception { in mockCreateUser() 247 private void verifyUserSwitched(int userId) throws Exception { in verifyUserSwitched() 255 private void verifyUserRemoved(int userId) throws Exception { in verifyUserRemoved() 259 private void verifyUserNotRemoved(int userId) throws Exception { in verifyUserNotRemoved() 263 private void verifyUserSettings(int userId, String key, String value) throws Exception { in verifyUserSettings()
|
D | VisibleBackgroundUserPreparerTest.java | 377 private void mockStartUserVisibleOnBackground(int userId, int displayId) throws Exception { in mockStartUserVisibleOnBackground() 381 private void mockStartUserVisibleOnBackground(int userId, int displayId, boolean result) in mockStartUserVisibleOnBackground() 386 private void mockCreateUser(int userId) throws Exception { in mockCreateUser() 403 private void mockIsUserVisibleOnDisplay(int userId, int displayId) throws Exception { in mockIsUserVisibleOnDisplay() 432 private void verifyUserStartedVisibleOnBackground(int userId, int displayId) throws Exception { in verifyUserStartedVisibleOnBackground() 436 private void verifyUserStopped(int userId) throws Exception { in verifyUserStopped() 448 private void verifyUserRemoved(int userId) throws Exception { in verifyUserRemoved() 452 private void verifyUserNotRemoved(int userId) throws Exception { in verifyUserNotRemoved() 463 private void verifyUserSettings(int userId, String key, String value) throws Exception { in verifyUserSettings()
|
D | SwitchUserTargetPreparerTest.java | 271 int userId = userIds[i]; in mockListUsersInfo() local
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | ITestDevice.java | 182 File packageFile, boolean reinstall, int userId, String... extraArgs) in installPackageForUser() 207 int userId, in installPackageForUser() 230 public String uninstallPackageForUser(String packageName, int userId) in uninstallPackageForUser() 300 List<File> packageFiles, boolean reinstall, int userId, String... extraArgs) in installPackagesForUser() 329 int userId, in installPackagesForUser() 652 public boolean isPackageInstalled(String packageName, String userId) in isPackageInstalled() 767 public boolean removeUser(int userId) throws DeviceNotAvailableException; in removeUser() 812 public boolean startUser(int userId) throws DeviceNotAvailableException; in startUser() 824 public boolean startUser(int userId, boolean waitFlag) throws DeviceNotAvailableException; in startUser() 838 public boolean startVisibleBackgroundUser(int userId, int displayId, boolean waitFlag) in startVisibleBackgroundUser() [all …]
|
D | PackageInfo.java | 134 public void addPerUserAttribute(int userId, String attr, String value) { in addPerUserAttribute() 141 public String getFirstInstallTime(int userId) { in getFirstInstallTime()
|
D | UserInfo.java | 122 public UserInfo(int userId, String userName, int flag, boolean isRunning) { in UserInfo() 129 public UserInfo(int userId, String userName, int flag, boolean isRunning, String userType) { in UserInfo() 134 public int userId() { in userId() method in UserInfo
|
D | INativeDevice.java | 627 int userId, in runInstrumentationTestsAsUser() 636 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() 685 public boolean pullFile(String remoteFilePath, File localFile, int userId) in pullFile() 711 public File pullFile(String remoteFilePath, int userId) throws DeviceNotAvailableException; in pullFile() 757 public boolean pullDir(String deviceFilePath, File localDir, int userId) in pullDir() 782 public boolean pushFile(File localFile, String deviceFilePath, int userId) in pushFile() 836 public boolean pushDir(File localDir, String deviceFilePath, int userId) in pushDir() 901 public void deleteFile(String deviceFilePath, int userId) throws DeviceNotAvailableException; in deleteFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | TestDeviceUserFuncTest.java | 62 int userId = -1; in testUserLifecycle() local 88 int userId = -1; in testStartUser_IsRunningUser_StopUser() local
|
D | TestDevicePackageFuncTest.java | 133 int userId = -1; in testInstallListUninstall_forUser() local
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 95 public ContentProviderHandler(ITestDevice device, @Nullable Integer userId) { in ContentProviderHandler() 249 int userId = getEffectiveUserId(); in pushFile() local 388 private boolean pullDirInternal(String deviceFilePath, File localDir, int userId) in pullDirInternal() 443 private boolean pullFileInternal(String deviceFilePath, File localFile, int userId) in pullFileInternal() 475 private boolean pushFileInternal(File fileToPush, String deviceFilePath, int userId) in pushFileInternal() 492 File localFileDir, String deviceFilePath, Set<String> excludedDirectories, int userId) in pushDirInternal()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 601 public String installPackageForUser(File packageFile, boolean reinstall, int userId, in installPackageForUser() 619 boolean grantPermissions, int userId, String... extraArgs) in installPackageForUser() 664 public String uninstallPackageForUser(final String packageName, int userId) in uninstallPackageForUser() 810 List<File> packageFiles, boolean reinstall, int userId, String... extraArgs) in installPackagesForUser() 823 int userId, in installPackagesForUser() 1334 private Set<String> getInstalledPackageNames(String packageNameSearched, String userId) in getInstalledPackageNames() 1367 public boolean isPackageInstalled(String packageName, String userId) in isPackageInstalled() 1501 public boolean doesFileExist(String deviceFilePath, int userId) in doesFileExist() 1883 public boolean removeUser(int userId) throws DeviceNotAvailableException { in removeUser() 1896 public boolean startUser(int userId) throws DeviceNotAvailableException { in startUser() [all …]
|
D | DumpsysPackageReceiver.java | 117 int userId = Integer.parseInt(userStateMatcher.group(1)); in parse() local 201 public PerUserPackageParserState(String name, int userId) throws ParseException { in PerUserPackageParserState() 219 int userId = Integer.parseInt(userStateMatcher.group(1)); in parse() local
|
D | NativeDevice.java | 1241 int userId, in runInstrumentationTestsAsUser() 1253 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() 1268 …private String appendUserRunTimeOptionToRunner(final IRemoteAndroidTestRunner runner, int userId) { in appendUserRunTimeOptionToRunner() 1377 public String installPackageForUser(File packageFile, boolean reinstall, int userId, in installPackageForUser() 1387 boolean grantPermissions, int userId, String... extraArgs) in installPackageForUser() 1402 public String uninstallPackageForUser(final String packageName, int userId) in uninstallPackageForUser() 1409 public boolean pullFile(final String remoteFilePath, final File localFile, int userId) in pullFile() 1438 public File pullFile(String remoteFilePath, int userId) throws DeviceNotAvailableException { in pullFile() 1557 public boolean pushFile(final File localFile, final String remoteFilePath, int userId) in pushFile() 1569 int userId = getCurrentUserCompatible(); in pushFile() local [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 200 String apkFileName, boolean grantPermission, int userId, String... options) in installPackageAsUser() 223 int userId, in installPackageAsUser() 285 String pkgName, String testClassName, Integer userId, Long testTimeoutMs) in runDeviceTests() 422 Integer userId, in runDeviceTests() 529 Integer userId, in runDeviceTests() 580 Integer userId, in runDeviceTests() 636 Integer userId, in runDeviceTests() 694 Integer userId, in runDeviceTests() 780 Integer userId, in doRunTests()
|
D | DeviceTestRunOptions.java | 113 public DeviceTestRunOptions setUserId(Integer userId) { in setUserId()
|
/tools/trebuchet/trebuchet/user-switch-analyzer/src/ |
D | UserSwitchAnalyzer.kt | 95 var userId = -1; in main() variable
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | RunOnSystemUserTargetPreparer.java | 58 private void ensureSwitchedToUser(ITestDevice device, int userId) in ensureSwitchedToUser()
|
D | CreateUserPreparer.java | 61 private void switchCurrentUser(ITestDevice device, int userId) in switchCurrentUser()
|
D | ProfileTargetPreparer.java | 59 final int userId; field in ProfileTargetPreparer.DeviceOwner 61 DeviceOwner(String componentName, int userId) { in DeviceOwner() 259 int userId = in getDeviceOwner() local
|
D | UserHelper.java | 53 int userId = device.createUser(TF_CREATED_USER); in createUser() local
|
D | VisibleBackgroundUserPreparer.java | 83 TestInformation testInfo, ITestDevice device, int userId) in startUserVisibleOnBackground()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollector.java | 239 protected File retrieveFile(ITestDevice device, String remoteFilePath, int userId) in retrieveFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/ |
D | UserCheckerTest.java | 341 int userId = userIds[i]; in mockListUsersInfo() local
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | PerfettoPullerMetricCollector.java | 442 protected File retrieveFile(ITestDevice device, String remoteFilePath, int userId) in retrieveFile()
|