HomeSort by relevance Sort by last modified time
    Searched refs:getDevice (Results 76 - 100 of 1129) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/hostsidetests/atrace/src/android/atrace/cts/
AtraceHostTest.java 158 String output = getDevice().executeShellCommand("atrace");
173 String output = getDevice().executeShellCommand("atrace --list_categories");
202 getDevice().uninstallPackage(TEST_PKG);
207 String installResult = getDevice().installPackage(testAppFile, false);
215 getDevice().executeShellCommand("atrace --async_stop " + atraceArgs);
216 getDevice().executeShellCommand("atrace --async_start " + atraceArgs);
217 getDevice().executeShellCommand("am start " + TEST_PKG);
218 getDevice().executeShellCommand("sleep 5");
219 atraceOutput = getDevice().executeShellCommand("atrace --async_stop " + atraceArgs);
222 getDevice().uninstallPackage(TEST_PKG)
    [all...]
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
BaseDevicePolicyTest.java 119 mHasFeature = getDevice().getApiLevel() >= 21 /* Build.VERSION_CODES.L */
123 mFixedPackages = getDevice().getInstalledPackageNames();
126 mPackageVerifier = getDevice().executeShellCommand(
128 getDevice().executeShellCommand("settings put global package_verifier_enable 0");
148 getDevice().executeShellCommand("settings put global package_verifier_enable "
165 String result = getDevice().installPackageForUser(
178 String commandOutput = getDevice().executeShellCommand(command);
184 getDevice().startUser(userId);
193 return getDevice().getMaxNumberOfUsersSupported();
198 String commandOutput = getDevice().executeShellCommand(command)
    [all...]
AccountCheckHostSideTest.java 49 if (getDevice().getInstalledPackageNames().contains(PACKAGE_AUTH)) {
58 getDevice().uninstallPackage(PACKAGE_AUTH);
59 getDevice().uninstallPackage(PACKAGE_TEST_ONLY);
60 getDevice().uninstallPackage(PACKAGE_NON_TEST_ONLY);
135 final String accountDump = getDevice().executeShellCommand("dumpsys account");
231 CLog.w(getDevice().executeShellCommand("dumpsys account"));
CustomManagedProfileTest.java 47 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
ManagedProfileProvisioningSingleAdminTest.java 52 getDevice().uninstallPackage(SINGLE_ADMIN_PKG);
MixedProfileOwnerTest.java 39 getDevice().uninstallPackage(DEVICE_ADMIN_PKG);
MixedProfileOwnerTestApi25.java 39 getDevice().uninstallPackage(DEVICE_ADMIN_PKG);
DeviceOwnerTest.java 66 getDevice().uninstallPackage(DEVICE_OWNER_PKG);
80 getDevice().uninstallPackage(DEVICE_OWNER_PKG);
373 getDevice().uninstallPackage(INTENT_RECEIVER_PKG);
388 getDevice().reboot();
467 getDevice().uninstallPackage(WIFI_CONFIG_CREATOR_PKG);
500 getDevice().uninstallPackage(MANAGED_PROFILE_PKG);
583 getDevice().uninstallPackage(DeviceAdminHelper.getDeviceAdminApkPackage(adminVersion));
588 final boolean hasBackupService = getDevice().hasFeature(FEATURE_BACKUP);
  /cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
ShortcutManagerBackupTest.java 56 mSupportsBackup = getDevice().hasFeature(FEATURE_BACKUP);
84 getDevice().uninstallPackage(LAUNCHER1_PKG);
85 getDevice().uninstallPackage(LAUNCHER2_PKG);
86 getDevice().uninstallPackage(LAUNCHER3_PKG);
88 getDevice().uninstallPackage(PUBLISHER1_PKG);
89 getDevice().uninstallPackage(PUBLISHER2_PKG);
90 getDevice().uninstallPackage(PUBLISHER3_PKG);
130 getDevice().uninstallPackage(pkg);
148 dumpsys = getDevice().executeShellCommand("dumpsys activity broadcasts");
182 dumpsys = getDevice().executeShellCommand("dumpsys shortcut")
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesBufferSparseBinding.cpp 141 const Unique<VkBuffer> sparseBuffer(createBuffer(deviceInterface, getDevice(), &bufferCreateInfo));
144 const Unique<VkSemaphore> bufferMemoryBindSemaphore(createSemaphore(deviceInterface, getDevice()));
146 const VkMemoryRequirements bufferMemRequirement = getBufferMemoryRequirements(deviceInterface, getDevice(), *sparseBuffer);
172 sparseMemoryAllocation = allocateMemory(deviceInterface, getDevice(), &allocateInfo);
212 const Unique<VkCommandPool> commandPool(makeCommandPool(deviceInterface, getDevice(), computeQueue.queueFamilyIndex));
213 const Unique<VkCommandBuffer> commandBuffer(allocateCommandBuffer(deviceInterface, getDevice(), *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
219 const Unique<VkBuffer> inputBuffer (createBuffer(deviceInterface, getDevice(), &inputBufferCreateInfo));
220 const de::UniquePtr<Allocation> inputBufferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *inputBuffer, MemoryRequirement::HostVisible));
232 flushMappedMemoryRange(deviceInterface, getDevice(), inputBufferAlloc->getMemory(), inputBufferAlloc->getOffset(), m_bufferSize);
263 const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferCreateInfo))
    [all...]
vktSparseResourcesMipmapSparseResidency.cpp 192 const Unique<VkImage> imageSparse(createImage(deviceInterface, getDevice(), &imageSparseInfo));
195 const Unique<VkSemaphore> imageMemoryBindSemaphore(createSemaphore(deviceInterface, getDevice()));
199 const VkMemoryRequirements imageMemoryRequirements = getImageMemoryRequirements(deviceInterface, getDevice(), *imageSparse);
208 const std::vector<VkSparseImageMemoryRequirements> sparseMemoryRequirements = getImageSparseMemoryRequirements(deviceInterface, getDevice(), *imageSparse);
242 const VkSparseImageMemoryBind imageMemoryBind = makeSparseImageMemoryBind(deviceInterface, getDevice(),
245 deviceMemUniquePtrVec.push_back(makeVkSharedPtr(Move<VkDeviceMemory>(check<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(), DE_NULL))));
252 const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(),
255 deviceMemUniquePtrVec.push_back(makeVkSharedPtr(Move<VkDeviceMemory>(check<VkDeviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(), DE_NULL))));
267 const VkSparseMemoryBind imageMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(),
272 deviceMemUniquePtrVec.push_back(makeVkSharedPtr(Move<VkDeviceMemory>(check<VkDeviceMemory>(imageMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(), DE_NULL))))
    [all...]
vktSparseResourcesImageMemoryAliasing.cpp 242 const Unique<VkImage> imageRead(createImage(deviceInterface, getDevice(), &imageSparseInfo));
243 const Unique<VkImage> imageWrite(createImage(deviceInterface, getDevice(), &imageSparseInfo));
246 const Unique<VkSemaphore> memoryBindSemaphoreTransfer(createSemaphore(deviceInterface, getDevice()));
247 const Unique<VkSemaphore> memoryBindSemaphoreCompute(createSemaphore(deviceInterface, getDevice()));
257 const VkMemoryRequirements imageMemoryRequirements = getImageMemoryRequirements(deviceInterface, getDevice(), *imageRead);
266 const std::vector<VkSparseImageMemoryRequirements> sparseMemoryRequirements = getImageSparseMemoryRequirements(deviceInterface, getDevice(), *imageRead);
297 const VkSparseImageMemoryBind imageMemoryBind = makeSparseImageMemoryBind(deviceInterface, getDevice(),
300 deviceMemUniquePtrVec.push_back(makeVkSharedPtr(Move<VkDeviceMemory>(check<VkDeviceMemory>(imageMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(), DE_NULL))));
307 const VkSparseMemoryBind imageReadMipTailMemoryBind = makeSparseMemoryBind(deviceInterface, getDevice(),
310 deviceMemUniquePtrVec.push_back(makeVkSharedPtr(Move<VkDeviceMemory>(check<VkDeviceMemory>(imageReadMipTailMemoryBind.memory), Deleter<VkDeviceMemory>(deviceInterface, getDevice(), DE_NULL))))
    [all...]
  /cts/hostsidetests/media/src/android/media/session/cts/
MediaSessionManagerHostTest.java 67 getDevice().uninstallPackage(MEDIA_SESSION_TEST_HELPER_PKG);
69 mNotificationListenerDisabled = "true".equals(getDevice().getProperty("ro.config.low_ram"));
91 int primaryUserId = getDevice().getPrimaryUserId();
147 int newUser = createAndStartRestrictedProfile(getDevice().getPrimaryUserId());
172 int newUser = createAndStartManagedProfile(getDevice().getPrimaryUserId());
180 runTestAsUser(testMethodName, getDevice().getPrimaryUserId());
  /tools/tradefederation/core/prod-tests/src/com/android/tradefed/
HelloWorldMultiDevices.java 78 mContext.getDevice(deviceName).getSerialNumber(), deviceName);
82 Assert.assertNotNull(mContext.getDevice("device1"));
85 mContext.getDevice("device1").getSerialNumber());
  /cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
RunAsHostTest.java 35 String runAsResult = getDevice().executeShellCommand("run-as android.cpptools.app id -u");
  /cts/hostsidetests/incident/src/com/android/server/cts/
DiskStatsProtoTest.java 45 if ("file".equals(getDevice().getProperty("ro.crypto.type"))) {
  /cts/hostsidetests/security/src/android/cts/security/
PerfEventParanoidTest.java 34 mDevice = getDevice();
  /cts/hostsidetests/systemui/src/android/host/systemui/
ActiveTileServiceTest.java 52 getDevice().executeShellCommand(REQUEST_LISTENING);
  /external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
BuildInfo.java 17 public static String getDevice() {
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
MtpClient.java 228 public MtpDevice getDevice(String deviceName) {
241 public MtpDevice getDevice(int id) {
274 MtpDevice device = getDevice(deviceName);
306 MtpDevice device = getDevice(deviceName);
321 MtpDevice device = getDevice(deviceName);
342 MtpDevice device = getDevice(deviceName);
378 MtpDevice device = getDevice(deviceName);
393 MtpDevice device = getDevice(deviceName);
411 MtpDevice device = getDevice(deviceName);
  /frameworks/rs/rsov/driver/
rsovContext.h 33 VkDevice getDevice() const { return mDevice; }
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
Overlay.java 70 public Device getDevice() {
  /tools/tradefederation/core/tests/src/com/android/tradefed/build/
DeviceBuildDescriptorFuncTest.java 30 DeviceBuildDescriptor.injectDeviceAttributes(getDevice(), b);
  /cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
JdwpSecurityHostTest.java 76 boolean success = getDevice().pushFile(tempFile, getDeviceScriptFilepath());
85 getDevice().executeShellCommand("chmod 755 " + getDeviceScriptFilepath());
90 boolean success = getDevice().pushFile(jarFile, getDeviceJarFilepath());
97 getDevice().executeShellCommand(String.format("rm -r %s", DEVICE_LOCATION));
267 return ArrayUtil.buildArray(new String[] {"adb", "-s", getDevice().getSerialNumber()},
272 if (getDevice().doesFileExist(remoteFilePath)) {
282 getDevice().executeShellCommand(String.format("mkdir %s", remoteFilePath));
283 return getDevice().doesFileExist(remoteFilePath);
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostJUnit4Test.java 78 public ITestDevice getDevice() {
89 ITestDevice device = getDevice();

Completed in 1089 milliseconds

1 2 34 5 6 7 8 91011>>