Home
last modified time | relevance | path

Searched defs:device (Results 1 – 21 of 21) sorted by relevance

/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DSystemAppUninstallerTest.java56 ITestDevice device = createGoodDeviceWithAppNotInstalled(); in uninstallPackage_frameworkNotRunning_startsFrameworkOrThrows() local
70 ITestDevice device = createGoodDeviceWithAppNotInstalled(); in uninstallPackage_packageIsNotInstalled_doesNotRemove() local
80 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_differentPackageWithSameNamePrefixInstalled_doesNotRemove() local
97 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_checkPackageInstalledCommandFailed_throws() local
111 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_getInstallDirectoryCommandFailed_throws() local
125 ITestDevice device = createGoodDeviceWithUserAppInstalled(); in uninstallPackage_packageIsNotSystemApp_doesNotRemove() local
134 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbAlreadyRooted_doesNotRootAgain() local
144 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbNotAlreadyRooted_rootAdbAndThenUnroot() local
155 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbRootCommandFailed_throws() local
165 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbRootFailed_throws() local
[all …]
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DSystemPackageUninstaller.java49 public static void uninstallPackage(String packageName, ITestDevice device) in uninstallPackage()
109 private static void runWithFrameworkOff(ITestDevice device, PreparerTask action) in runWithFrameworkOff()
120 private static void runWithWritableFilesystem(ITestDevice device, PreparerTask action) in runWithWritableFilesystem()
138 private static void runAsRoot(ITestDevice device, PreparerTask action) in runAsRoot()
161 private static void stopFramework(ITestDevice device) in stopFramework()
173 private static void startFramework(ITestDevice device) in startFramework()
182 ITestDevice device, String command, String failureMessage) in executeShellCommandOrThrow()
196 ITestDevice device, String command, String failureMessage) in executeShellCommandOrLog()
206 private static void remountSystemReadOnly(ITestDevice device) in remountSystemReadOnly()
219 String packageInstallDirectory, ITestDevice device) in removePackageInstallDirectory()
[all …]
DApkInstaller.java48 public static ApkInstaller getInstance(ITestDevice device) { in getInstance()
DDeviceUtils.java82 public static DeviceUtils getInstance(ITestDevice device) { in getInstance()
95 ITestDevice device, in DeviceUtils()
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/
DCheckGmsPreparerTest.java67 ITestDevice device = createDeviceWithGmsAbsent(); in setUp_checkDisabledAndGmsAbsent_doesNotReboot() local
80 ITestDevice device = createDeviceWithGmsAbsent(); in tearDown_checkDisabledAndGmsAbsent_doesNotLog() local
92 ITestDevice device = createDeviceWithGmsAbsent(); in tearDown_setUpThrows_doesNotCheck() local
107 ITestDevice device = createDeviceWithGmsAbsentAndRecoverable(); in tearDown_setUpRecoveredGms_checksGms() local
123 ITestDevice device = createDeviceWithGmsPresent(); in tearDown_setUpFoundGms_checksGms() local
139 ITestDevice device = createDeviceWithGmsPresent(); in setUp_gmsPresent_doesNotReboot() local
151 ITestDevice device = createDeviceWithGmsAbsentAndRecoverable(); in setUp_gmsProcessRecoveredAfterReboot_doesNotThrow() local
163 ITestDevice device = createDeviceWithGmsAbsent(); in setUp_gmsProcessNotRecoveredAfterReboot_throwsException() local
174 ITestDevice device = createDeviceWithGmsPresent(); in tearDown_gmsProcessPresent_doesNotLog() local
185 ITestDevice device = createDeviceWithGmsAbsent(); in tearDown_gmsProcessAbsent_logsError() local
[all …]
DAppSetupPreparerTest.java263 ITestDevice device = createUnavailableDevice(); in setUp_deviceNotAvailableAndWaitEnabled_throwsDeviceNotAvailableException() local
279 ITestDevice device = createAvailableDevice(); in setUp_deviceAvailableAndWaitEnabled_doesNotChangeException() local
294 ITestDevice device = createUnavailableDevice(); in setUp_deviceNotAvailableAndWaitDisabled_doesNotChangeException() local
480 ITestDevice device = mock(ITestDevice.class); in createUnavailableDevice() local
489 ITestDevice device = mock(ITestDevice.class); in createAvailableDevice() local
554 private static TestInformation createTestInfo(ITestDevice device) { in createTestInfo()
/test/catbox/report/src/com/android/catbox/result/
DResultReportCollector.java74 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
80 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
93 private void pullFilesUsingContentUri(ITestDevice device, IBuildInfo buildInfo, in pullFilesUsingContentUri()
114 private void pullFileUsingContentUri(ITestDevice device, IBuildInfo buildInfo, in pullFileUsingContentUri()
196 private boolean doesFileExist(ITestDevice device, String contentUri) in doesFileExist()
261 private void pullFilesUsingFilePaths(ITestDevice device, IBuildInfo buildInfo, in pullFilesUsingFilePaths()
284 private void pullFileUsingFilePath(ITestDevice device, IBuildInfo buildInfo, String filePath, in pullFileUsingFilePath()
348 private void pullDirUsingFilePaths(ITestDevice device, IBuildInfo buildInfo, in pullDirUsingFilePaths()
371 private void pullDirectoryUsingDirPath(ITestDevice device, IBuildInfo buildInfo, String dirPath, in pullDirectoryUsingDirPath()
/test/catbox/target_preparers/src/com/android/catbox/targetpreparer/
DChromeMdPassengerLoadPreparer.java72 ITestDevice device = testInfo.getDevice(); in setUp() local
103 ITestDevice device = testInfo.getDevice(); in tearDown() local
112 private int createUser(ITestDevice device, int displayId) in createUser()
147 private void simulatePassengerLoad(ITestDevice device, int userId) in simulatePassengerLoad()
161 private void dismissInitialDialog(ITestDevice device, int userId) in dismissInitialDialog()
DSetDevicePropertyPreparer.java53 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
83 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
DSkipTestPreparer.java60 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws TargetSetupError, in setUp()
/test/vts/tests/gpu_test/src/com/android/gpu/vts/
DUtil.java28 public static int getVendorApiLevelOrFirstProductApiLevel(final ITestDevice device) in getVendorApiLevelOrFirstProductApiLevel()
39 public static boolean isHandheld(final ITestDevice device) throws DeviceNotAvailableException { in isHandheld()
DVulkanTest.java237 final JSONObject device = mVulkanDevices[i]; in checkVulkanDeviceMemoryReportSupport() local
259 private boolean hasExtension(JSONObject device, String name, int minVersion) throws Exception { in hasExtension()
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/targetprep/
DMultiSimPreparer.java38 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws DeviceNotAvailableException { in setUp()
50 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
/test/vts-testcase/nbu/src/utils/
Dandroid_base_test.py15 def log_bt_stack_conf(self, device): argument
/test/vts-testcase/nbu/src/
Dbluetooth_test.py18 def DiscoverBluetoothDeviceByName(device, name): argument
/test/mlts/benchmark/jni/
Drandom_graph_test_jni.cpp112 ANeuralNetworksDevice* device = nullptr; in findDeviceByName() local
143 RandomGraphGenerator(const ANeuralNetworksDevice* device, in RandomGraphGenerator()
527 const ANeuralNetworksDevice* device = nullptr; in Java_com_android_nn_crashtest_core_test_RandomGraphTest_createRandomGraphGenerator() local
Dbenchmark_jni.cpp43 ANeuralNetworksDevice *device = nullptr; in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() local
467 ANeuralNetworksDevice* device = nullptr; in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames() local
/test/cts-root/hostsidetests/rollback/src/com/android/cts_root/rollback/host/
DWatchdogEventLogger.java47 public void start(ITestDevice device) throws Exception { in start()
/test/app_compat/csuite/test_scripts/src/main/java/com/android/pixel/utils/
DDeviceUtils.java51 public DeviceUtils(UiDevice device) { in DeviceUtils()
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DAppSetupPreparer.java273 private void waitForDeviceAvailable(ITestDevice device) throws DeviceNotAvailableException { in waitForDeviceAvailable()
/test/cts-root/tests/bugreport/src/android/bugreport/cts_root/
DBugreportManagerTest.java251 final UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in shareConsentDialog() local