Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java172 final LocalVolumeInfo vol = getAdoptionVolume(); in testApps() local
176 "pm move-package " + PKG + " " + vol.uuid)); in testApps()
183 getDevice().executeShellCommand("sm unmount " + vol.volId); in testApps()
185 getDevice().executeShellCommand("sm mount " + vol.volId); in testApps()
238 final LocalVolumeInfo vol = getAdoptionVolume(); in verifyPrimaryInternal() local
242 getDevice().executeShellCommand("pm move-primary-storage " + vol.uuid, out, 2, in verifyPrimaryInternal()
250 getDevice().executeShellCommand("sm unmount " + vol.volId); in verifyPrimaryInternal()
253 getDevice().executeShellCommand("sm mount " + vol.volId); in verifyPrimaryInternal()
261 assertSuccess(getDevice().executeShellCommand("pm move-package " + PKG + " " + vol.uuid)); in verifyPrimaryInternal()
291 final LocalVolumeInfo vol = getAdoptionVolume(); in verifyPrimaryPhysical() local
[all …]
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaProviderTestUtils.java92 for (String vol : volumeNames) { in getSharedVolumeNames()
93 final File mountedPath = getVolumePath(vol); in getSharedVolumeNames()
96 testVolumes.add(vol); in getSharedVolumeNames()
141 final StorageVolume vol = InstrumentationRegistry.getInstrumentation().getTargetContext() in stageDir() local
144 File dir = Environment.buildPath(vol.getDirectory(), "Android", "media", in stageDir()
154 final StorageVolume vol = InstrumentationRegistry.getInstrumentation().getTargetContext() in stageDownloadDir() local
157 return Environment.buildPath(vol.getDirectory(), in stageDownloadDir()
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DAppCloningDeviceTest.java355 for (StorageVolume vol : volumeListIncludingShared) { in testStorageManager_verifyInclusionOfSharedProfileVolumes()
356 assertThat(vol.getOwner().getIdentifier()).isEqualTo(cloneUserId); in testStorageManager_verifyInclusionOfSharedProfileVolumes()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTest.java1104 StorageVolume vol = sm.getStorageVolume(modernFile); in test_IsAppIoBlocked() local
1105 UUID uuid = vol.getStorageUuid(); in test_IsAppIoBlocked()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackTest.java683 … private void testSetVolumeCommon(String testName, float vol, boolean isStereo) throws Exception { in testSetVolumeCommon() argument
702 assertTrue(testName, track.setStereoVolume(vol, vol) == AudioTrack.SUCCESS); in testSetVolumeCommon()
704 assertTrue(testName, track.setVolume(vol) == AudioTrack.SUCCESS); in testSetVolumeCommon()