Home
last modified time | relevance | path

Searched refs:getDeviceDescriptor (Results 1 – 25 of 92) sorted by relevance

1234

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java146 device.getDeviceDescriptor()); in setUp()
161 device.getDeviceDescriptor()); in setUp()
200 testInfo.getDevice().getDeviceDescriptor(), in initBundletoolUtil()
223 device.getDeviceDescriptor()); in initDeviceSpecFilePath()
289 modulePackageName = parsePackageName(splits.get(0), device.getDeviceDescriptor()); in getModulesToInstall()
291 modulePackageName = parsePackageName(moduleFile, device.getDeviceDescriptor()); in getModulesToInstall()
309 device.getDeviceDescriptor()); in getModulesToInstall()
363 parsePackageName(moduleFilenames.get(0), device.getDeviceDescriptor()); in installTrain()
382 String packageName = parsePackageName(moduleFile, device.getDeviceDescriptor()); in installTrain()
401 device.getDeviceDescriptor(), in installTrain()
[all …]
DGkiDeviceFlashPreparer.java91 throw new TargetSetupError(ioe.getMessage(), ioe, device.getDeviceDescriptor()); in setUp()
110 device.getDeviceDescriptor(), in setUp()
114 CLog.i("Device update completed on %s", device.getDeviceDescriptor()); in setUp()
190 device.getDeviceDescriptor()); in validateGkiBootImg()
213 device.getDeviceDescriptor()); in validateGkiBootImg()
218 device.getDeviceDescriptor()); in validateGkiBootImg()
223 device.getDeviceDescriptor()); in validateGkiBootImg()
242 device.getDeviceDescriptor()); in validateGkiBootImg()
246 "Fail to generate GKI boot.img.", e, device.getDeviceDescriptor()); in validateGkiBootImg()
271 device.getDeviceDescriptor()); in executeHostCommand()
[all …]
DDeviceFlashPreparer.java271 device.getDeviceDescriptor(), in setUp()
352 device.getDeviceDescriptor()); in preEncryptDevice()
363 device.getDeviceDescriptor()); in preEncryptDevice()
367 device.getDeviceDescriptor()); in preEncryptDevice()
374 device.getDeviceDescriptor()); in preEncryptDevice()
378 device.getDeviceDescriptor()); in preEncryptDevice()
412 device.getDeviceDescriptor()); in postEncryptDevice()
418 device.getDeviceDescriptor()); in postEncryptDevice()
426 device.getDeviceDescriptor()); in postEncryptDevice()
434 device.getDeviceDescriptor()); in postEncryptDevice()
DDeviceSetup.java435 device.getSerialNumber()), device.getDeviceDescriptor()); in setUp()
527 "with option min-external-storage-kb", device.getDeviceDescriptor()); in processDeprecatedOptions()
535 "option disable-audio", device.getDeviceDescriptor()); in processDeprecatedOptions()
543 "set-property ", device.getDeviceDescriptor()); in processDeprecatedOptions()
597 "screen-adaptive-brightness is set to ON", device.getDeviceDescriptor()); in processOptions()
719 device.getDeviceDescriptor()); in changeSystemProps()
743 device.getSerialNumber()), device.getDeviceDescriptor()); in changeSystemProps()
805 "must be API 22+", device.getSerialNumber()), device.getDeviceDescriptor()); in changeSettings()
922 device.getDeviceDescriptor(), in connectWifi()
943 device.getDeviceDescriptor()); in syncTestData()
[all …]
DGsiDeviceFlashPreparer.java110 throw new TargetSetupError(ioe.getMessage(), ioe, device.getDeviceDescriptor()); in setUp()
129 device.getDeviceDescriptor(), in setUp()
133 CLog.i("Device update completed on %s", device.getDeviceDescriptor()); in setUp()
236 device.getDeviceDescriptor()); in validateGsiImg()
241 device.getDeviceDescriptor()); in validateGsiImg()
303 throw new TargetSetupError(e.getMessage(), e, device.getDeviceDescriptor()); in getRequestedFile()
315 device.getDeviceDescriptor()); in getRequestedFile()
350 device.getDeviceDescriptor()); in executeFastbootCmd()
DTestAppInstallSetup.java253 testInfo.getDevice().getDeviceDescriptor(), in getLocalPathForFilename()
320 findApkFiles(testAppName, testInfo.getDevice().getDeviceDescriptor())); in setUp()
447 testDevice.getDeviceDescriptor(), in installSinglePackage()
473 device.getDeviceDescriptor(), in resolveApkFiles()
484 device.getDeviceDescriptor()); in resolveApkFiles()
491 appFiles.put(testAppFile, parsePackageName(testAppFile, device.getDeviceDescriptor())); in resolveApkFiles()
DDeviceImageZipFlashingTargetPreparer.java108 device.getDeviceDescriptor()); in performDeviceUpdate()
138 throw new TargetSetupError(message, device.getDeviceDescriptor()); in performDeviceUpdate()
140 throw new TargetSetupError(message, device.getDeviceDescriptor()); in performDeviceUpdate()
142 throw new TargetSetupError(message, device.getDeviceDescriptor()); in performDeviceUpdate()
173 exception.getMessage(), exception, device.getDeviceDescriptor()); in extractZip()
DFastbootDeviceFlasher.java276 device.getDeviceDescriptor()); in downloadFlashingResources()
280 localBuild.getDeviceBuildId()), device.getDeviceDescriptor()); in downloadFlashingResources()
329 resourceParser.getRequiredBoards()), device.getDeviceDescriptor()); in verifyRequiredBoards()
578 device.getDeviceDescriptor()); in flashUserDataFromDeviceImageFile()
731 device.getDeviceDescriptor()); in getImageVersion()
830 device.getDeviceDescriptor(), in handleFastbootResult()
DDefaultTestsZipInstaller.java175 device.getSerialNumber()), device.getDeviceDescriptor()); in doDeleteData()
182 device.getDeviceDescriptor()); in doDeleteData()
211 device.getDeviceDescriptor()); in deleteDir()
243 device.getDeviceDescriptor()); in getTestsZipDataFiles()
249 device.getDeviceDescriptor()); in getTestsZipDataFiles()
DCreateUserPreparer.java53 "Failed to get the current user.", device.getDeviceDescriptor()); in setUp()
61 device.getDeviceDescriptor()); in setUp()
66 device.getDeviceDescriptor()); in setUp()
107 throw new TargetSetupError("Failed to create user.", e, device.getDeviceDescriptor()); in createUser()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java95 "Cannot create acloud report file.", ex, getDeviceDescriptor()); in preInvocationSetup()
102 getDeviceDescriptor()); in preInvocationSetup()
113 String.format("Cannot connect to %s.", hostAndPort), getDeviceDescriptor()); in preInvocationSetup()
206 "Cannot extract host package.", ex, getDeviceDescriptor()); in findHostPackage()
223 getDeviceDescriptor()); in findHostPackage()
234 "Cannot find image zip in build info.", getDeviceDescriptor()); in findDeviceImages()
239 throw new TargetSetupError("Cannot extract image zip.", ex, getDeviceDescriptor()); in findDeviceImages()
275 "Unexpected device type: " + device.getClass(), getDeviceDescriptor()); in replaceStubDevice()
379 mGceAvdInfo = GceAvdInfo.parseGceInfoFromFile(report, getDeviceDescriptor(), INVALID_PORT); in loadAvdInfo()
381 throw new TargetSetupError("Cannot read acloud report file.", getDeviceDescriptor()); in loadAvdInfo()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstallAllTestZipAppsSetup.java100 "Failed to find a valid test zip directory.", device.getDeviceDescriptor()); in setUp()
107 "Failed to extract test zip.", e, device.getDeviceDescriptor()); in setUp()
129 throw new TargetSetupError("test-zip-name is null.", device.getDeviceDescriptor()); in getZipFile()
145 throw new TargetSetupError("Invalid test directory!", device.getDeviceDescriptor()); in installApksRecursively()
204 device.getDeviceDescriptor()); in installApk()
223 "apk installed but AaptParser failed", device.getDeviceDescriptor()); in addApkToInstalledList()
DDynamicSystemPreparer.java64 device.getDeviceDescriptor(), in setUp()
84 device.getDeviceDescriptor()); in setUp()
108 "Timeout to boot into DSU", device.getDeviceDescriptor()); in setUp()
115 throw new TargetSetupError("fail on gsi_tool enable", device.getDeviceDescriptor()); in setUp()
120 "fail to install the DynamicSystemUpdate", e, device.getDeviceDescriptor()); in setUp()
DAllTestAppsInstallSetup.java83 device.getDeviceDescriptor(), in setUp()
91 device.getDeviceDescriptor(), in setUp()
114 device.getDeviceDescriptor(), in installApksRecursively()
151 device.getDeviceDescriptor(), in installApk()
162 device.getDeviceDescriptor(), in installApk()
DPushFilePreparer.java338 Map<String, File> remoteToLocalMapping = getPushSpecs(device.getDeviceDescriptor()); in setUp()
391 device.getDeviceDescriptor()); in evaluatePushingPair()
405 device.getDeviceDescriptor()); in evaluatePushingPair()
418 device.getDeviceDescriptor()); in evaluatePushingPair()
431 device.getDeviceDescriptor()); in evaluatePushingPair()
DWifiPreparer.java67 "The device does not have wifi enabled.", device.getDeviceDescriptor()); in setUp()
70 "The device has no wifi connection.", device.getDeviceDescriptor()); in setUp()
76 throw new TargetSetupError("wifi-network not specified", device.getDeviceDescriptor()); in setUp()
85 device.getDeviceDescriptor(), in setUp()
DRunHostScriptTargetPreparer.java74 String.format("File %s not found.", mScriptPath), device.getDeviceDescriptor()); in setUp()
97 device.getDeviceDescriptor()); in setUp()
100 "Script execution timed out.", device.getDeviceDescriptor()); in setUp()
106 device.getDeviceDescriptor()); in setUp()
DAppSetup.java122 device.getDeviceDescriptor(), in setUp()
145 device.getDeviceDescriptor(), in setUp()
181 device.getDeviceDescriptor(), in addPackageNameToUninstall()
189 device.getDeviceDescriptor(), in addPackageNameToUninstall()
DRunHostCommandTargetPreparer.java157 throw new TargetSetupError(e.toString(), device.getDeviceDescriptor()); in setUp()
211 device.getDeviceDescriptor()); in runCommandList()
215 device.getDeviceDescriptor()); in runCommandList()
219 device.getDeviceDescriptor()); in runCommandList()
DInstallBuildEnvApkSetup.java64 device.getSerialNumber(), result), device.getDeviceDescriptor()); in setUp()
73 + "build env?", device.getDeviceDescriptor()); in getDataAppDirFromBuildEnv()
78 testAppDir.getAbsolutePath()),device.getDeviceDescriptor()); in getDataAppDirFromBuildEnv()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java110 public DeviceDescriptor getDeviceDescriptor() { in getDeviceDescriptor() method in RemoteAndroidVirtualDeviceTest.TestableRemoteAndroidVirtualDevice
177 getDeviceDescriptor(), new TestDeviceOptions(), mMockBuildInfo) { in testExceptionFromParser()
372 public DeviceDescriptor getDeviceDescriptor() { in testLaunchGce_bootFail()
418 public DeviceDescriptor getDeviceDescriptor() { in testLaunchGce_nullPort()
511 public DeviceDescriptor getDeviceDescriptor() { in testDeviceNotStoreShutdownState()
614 public DeviceDescriptor getDeviceDescriptor() { in testDevice_skipTearDown()
701 public DeviceDescriptor getDeviceDescriptor() { in testDeviceBoot_offline()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java260 device.getDeviceDescriptor(), in setUp()
271 systemNullDevice.getDeviceDescriptor(), in setUp()
282 systemNullDevice.getDeviceDescriptor(), in setUp()
302 device.getDeviceDescriptor()); in setUp()
309 "Could not create mixed image zip", e, device.getDeviceDescriptor()); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRootTargetPreparerTest.java81 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andReturn(null).once(); in testSetUpFail()
122 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andReturn(null).once(); in testSetUpFail_forceUnroot()
135 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andReturn(null).once(); in testSetUpFail_forceRoot_ignoresFailure()
151 EasyMock.expect(mMockDevice.getDeviceDescriptor()).andReturn(null).once(); in testSetUpFail_forceUnroot_ignoresFailure()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java95 mGceHandler = new GceManager(getDeviceDescriptor(), getOptions(), info); in preInvocationSetup()
272 throw new TargetSetupError(errorMsg, getDeviceDescriptor()); in launchGce()
438 public DeviceDescriptor getDeviceDescriptor() { in getDeviceDescriptor() method in RemoteAndroidVirtualDevice
439 DeviceDescriptor descriptor = super.getDeviceDescriptor(); in getDeviceDescriptor()
/tools/tradefederation/contrib/src/com/android/monkey/
DAppPkgInjector.java77 device.getDeviceDescriptor()); in setUp()
86 device.getDeviceDescriptor()); in setUp()
92 "Failed to inject --package option.", e, device.getDeviceDescriptor()); in setUp()

1234