Home
last modified time | relevance | path

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

12

/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DSystemAppUninstallerTest.java57 ITestDevice device = createGoodDeviceWithAppNotInstalled(); in uninstallPackage_frameworkNotRunning_startsFrameworkOrThrows() local
71 ITestDevice device = createGoodDeviceWithAppNotInstalled(); in uninstallPackage_packageIsNotInstalled_doesNotRemove() local
81 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_differentPackageWithSameNamePrefixInstalled_doesNotRemove() local
98 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_checkPackageInstalledCommandFailed_throws() local
112 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_getInstallDirectoryCommandFailed_throws() local
126 ITestDevice device = createGoodDeviceWithUserAppInstalled(); in uninstallPackage_packageIsNotSystemApp_doesNotRemove() local
135 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbAlreadyRooted_doesNotRootAgain() local
145 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbNotAlreadyRooted_rootAdbAndThenUnroot() local
156 ITestDevice device = createGoodDeviceWithSystemAppInstalled(); in uninstallPackage_adbRootCommandFailed_throws() local
166 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()
108 private static void runWithFrameworkOff(ITestDevice device, PreparerTask action) in runWithFrameworkOff()
119 private static void runWithWritableFilesystem(ITestDevice device, PreparerTask action) in runWithWritableFilesystem()
137 private static void runAsRoot(ITestDevice device, PreparerTask action) in runAsRoot()
158 private static void stopFramework(ITestDevice device) in stopFramework()
170 private static void startFramework(ITestDevice device) in startFramework()
179 ITestDevice device, String command, String failureMessage) in executeShellCommandOrThrow()
192 ITestDevice device, String command, String failureMessage) in executeShellCommandOrLog()
202 private static void remountSystemReadOnly(ITestDevice device) in remountSystemReadOnly()
215 String packageInstallDirectory, ITestDevice device) in removePackageInstallDirectory()
[all …]
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/
DCheckGmsPreparerTest.java68 ITestDevice device = createDeviceWithGmsAbsent(); in setUp_checkDisabledAndGmsAbsent_doesNotReboot() local
81 ITestDevice device = createDeviceWithGmsAbsent(); in tearDown_checkDisabledAndGmsAbsent_doesNotLog() local
93 ITestDevice device = createDeviceWithGmsAbsent(); in tearDown_setUpThrows_doesNotCheck() local
108 ITestDevice device = createDeviceWithGmsAbsentAndRecoverable(); in tearDown_setUpRecoveredGms_checksGms() local
124 ITestDevice device = createDeviceWithGmsPresent(); in tearDown_setUpFoundGms_checksGms() local
140 ITestDevice device = createDeviceWithGmsPresent(); in setUp_gmsPresent_doesNotReboot() local
152 ITestDevice device = createDeviceWithGmsAbsentAndRecoverable(); in setUp_gmsProcessRecoveredAfterReboot_doesNotThrow() local
164 ITestDevice device = createDeviceWithGmsAbsent(); in setUp_gmsProcessNotRecoveredAfterReboot_throwsException() local
175 ITestDevice device = createDeviceWithGmsPresent(); in tearDown_gmsProcessPresent_doesNotLog() local
186 ITestDevice device = createDeviceWithGmsAbsent(); in tearDown_gmsProcessAbsent_logsError() local
[all …]
DAppSetupPreparerTest.java247 ITestDevice device = createUnavailableDevice(); in setUp_deviceNotAvailableAndWaitEnabled_throwsDeviceNotAvailableException() local
262 ITestDevice device = createAvailableDevice(); in setUp_deviceAvailableAndWaitEnabled_doesNotChangeException() local
276 ITestDevice device = createUnavailableDevice(); in setUp_deviceNotAvailableAndWaitDisabled_doesNotChangeException() local
436 ITestDevice device = mock(ITestDevice.class); in createUnavailableDevice() local
445 ITestDevice device = mock(ITestDevice.class); in createAvailableDevice() local
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/util/
DTargetFileUtils.java71 public static String getPermission(String filepath, ITestDevice device) in getPermission()
144 ITestDevice device) throws DeviceNotAvailableException { in findFile()
169 public static boolean isReadOnly(String filepath, ITestDevice device) in isReadOnly()
184 public static boolean isReadWriteOnly(String filepath, ITestDevice device) in isReadWriteOnly()
/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/vti/test_serving/proto/
DGreenBuildScheduleConfigMessage.proto59 repeated GreenBuildDeviceScheduleConfigMessage device = 31; field
65 optional bytes device = 1; field
DTestLabConfigMessage.proto42 repeated DeviceConfigMessage device = 11; field
DTestScheduleConfigMessage.proto70 repeated bytes device = 4; field
/test/app_compat/csuite/harness/src/main/java/com/android/compatibility/targetprep/
DAppSetupPreparer.java132 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
185 private void setUpOnce(ITestDevice device, IBuildInfo buildInfo) in setUpOnce()
217 private void waitForDeviceAvailable(ITestDevice device) throws DeviceNotAvailableException { in waitForDeviceAvailable()
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowCoverageOverviewServlet.java168 private Predicate<DeviceInfoEntity> isBranchAndDevice(String branch, String device) { in isBranchAndDevice()
176 private Predicate<DeviceInfoEntity> isDevice(String device) { in isDevice()
227 String device = parameterMap.get("device")[0]; in getCoverageDispatcher() local
234 String device = parameterMap.get("device")[0]; in getCoverageDispatcher() local
DShowPlanReleaseServlet.java104 public void addDevice(DeviceInfoEntity device) { in addDevice()
260 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(devices.get(key)); in getTestPlanDispatcher() local
DShowGraphServlet.java208 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(deviceInfos.get(deviceKey)); in doGetHandler() local
DShowTreeServlet.java232 DeviceInfoEntity device = DeviceInfoEntity.fromEntity(devices.get(key)); in doGetHandler() local
/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/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java124 DeviceInfoEntity device = in createProfilingRun() local
243 DeviceInfoEntity device = in testNewSummary() local
320 DeviceInfoEntity device = in testUpdateSummary() local
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunMetadata.java70 public void addDevice(DeviceInfoEntity device) { in addDevice()
/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
/test/vti/test_serving/gae/frontend/src/app/model/
Djob.ts25 device: string = void 0; property in Job
Dschedule.ts46 device: string[] = void 0; property in Schedule
/test/vti/test_serving/gae/webapp/src/proto/
Dmodel.py88 device = ndb.StringProperty(repeated=True) variable in ScheduleModel
149 device = messages.StringField(6, repeated=True) variable in ScheduleInfoMessage
197 device = messages.MessageField(LabDeviceInfoMessage, 4, repeated=True) variable in LabHostInfoMessage
260 device = ndb.StringProperty() variable in JobModel
317 device = messages.StringField(4) variable in JobMessage
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/
Dhome_bot_config.py51 def device(device_type, ip, groups=None, nic=None, serial=None, extra_state=None): function
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/
Dhome_bot_config.py51 def device(device_type, ip, groups=None, nic=None, serial=None, extra_state=None): function
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsProfilingStatsJobServlet.java149 profilingPoint.getKey(), branch, device, option, time)); in updateSummaries() local

12