/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/ |
D | IsolatedService.java | 19 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist; 20 import static com.android.cts.appdataisolation.common.FileUtils.assertDirIsNotAccessible; 29 import com.android.cts.appdataisolation.common.FileUtils; 49 assertDirDoesNotExist(FileUtils.replacePackageAWithPackageB( 51 assertDirDoesNotExist(FileUtils.replacePackageAWithPackageB( 53 assertDirDoesNotExist("/data/data/" + FileUtils.APPB_PKG); 55 + FileUtils.APPB_PKG); 56 assertDirDoesNotExist("/data/misc/profiles/ref/" + FileUtils.APPB_PKG); 58 assertDirDoesNotExist(FileUtils.replacePackageAWithNotInstalledPkg( 60 assertDirDoesNotExist(FileUtils.replacePackageAWithNotInstalledPkg( [all …]
|
D | AppATests.java | 19 import static com.android.cts.appdataisolation.common.FileUtils.APPA_PKG; 20 import static com.android.cts.appdataisolation.common.FileUtils.APPB_PKG; 21 import static com.android.cts.appdataisolation.common.FileUtils.CE_DATA_FILE_NAME; 22 import static com.android.cts.appdataisolation.common.FileUtils.DE_DATA_FILE_NAME; 23 import static com.android.cts.appdataisolation.common.FileUtils.EXTERNAL_DATA_FILE_NAME; 24 import static com.android.cts.appdataisolation.common.FileUtils.NOT_INSTALLED_PKG; 25 import static com.android.cts.appdataisolation.common.FileUtils.OBB_FILE_NAME; 26 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist; 27 import static com.android.cts.appdataisolation.common.FileUtils.assertDirIsAccessible; 28 import static com.android.cts.appdataisolation.common.FileUtils.assertDirIsNotAccessible; [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BannedFilesTest.java | 21 import com.android.compatibility.common.util.FileUtils; 150 FileUtils.FileStatus fs = new FileUtils.FileStatus(); in assertNotSetugid() 151 if (!FileUtils.getFileStatus(file, fs, false)) { in assertNotSetugid() 154 assertTrue("File \"" + file + "\" is setUID", (fs.mode & FileUtils.S_ISUID) == 0); in assertNotSetugid() 155 assertTrue("File \"" + file + "\" is setGID", (fs.mode & FileUtils.S_ISGID) == 0); in assertNotSetugid()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 20 import android.os.FileUtils; 69 FileUtils.copy(in, out); in testCopyByteStream() 77 FileUtils.copy(in, out); in testCopyFileStream() 87 FileUtils.copy(in, out, null, executor, (progress) -> { in testCopyFileStreamListener() 98 FileUtils.copy(in.getFD(), out.getFD()); in testCopyFileDescriptor() 108 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener() 118 FileUtils.closeQuietly(fis); in testClose() 121 FileUtils.closeQuietly(fd); in testClose()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/ |
D | PhotoUtil.java | 22 import com.android.compatibility.common.util.FileUtils; 30 return FileUtils.readInputStreamFully(input); in getTestPhotoData()
|
/cts/tools/cfassembler/src/dxconvext/util/ |
D | FileUtils.java | 26 public final class FileUtils { class 30 private FileUtils() { in FileUtils() method in FileUtils
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | DeviceTestUtils.java | 21 import android.os.FileUtils; 42 FileUtils.copy(in, fileOutputStream); in createContentFromResource()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppB/src/com/android/cts/appdataisolation/appb/ |
D | AppBTests.java | 19 import static com.android.cts.appdataisolation.common.FileUtils.assertDirDoesNotExist; 20 import static com.android.cts.appdataisolation.common.FileUtils.assertDirIsAccessible;
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | DumpOnFailureRule.java | 23 import android.os.FileUtils; 73 FileUtils.copy(in, out); in dumpCommandOutput()
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | DumpOnFailureRule.java | 21 import android.os.FileUtils; 70 FileUtils.copy(in, out); in dumpCommandOutput()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | DumpOnFailureRule.java | 20 import android.os.FileUtils; 81 FileUtils.copy(in, out); in dumpCommandOutput()
|
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/ |
D | DumpProtoUtils.java | 26 import com.android.compatibility.common.util.FileUtils; 72 return FileUtils.readInputStreamFully(fis); in getDump()
|
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/ |
D | DumpProtoUtils.java | 26 import com.android.compatibility.common.util.FileUtils; 72 return FileUtils.readInputStreamFully(fis); in getDump()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaProviderTestUtils.java | 40 import android.os.FileUtils; 167 && FileUtils.contains(Environment.getStorageDirectory(), file)) { in stageFile() 199 FileUtils.copy(source, target); in stageFile() 219 FileUtils.copy(source, target); in stageMedia() 254 FileUtils.copy(digestIn, out); in hash() 332 if (FileUtils.contains(Environment.getStorageDirectory(), new File(path))) { in access()
|
D | MediaStore_DownloadsTest.java | 35 import android.os.FileUtils; 136 FileUtils.copy(in, out); in testScannedMediaDownload() 244 android.os.FileUtils.copy(in, out); in testUpdateDownload() 280 android.os.FileUtils.copy(in, out); in testDeleteDownload() 320 android.os.FileUtils.copy(in, out); in testNotifyChange() 365 FileUtils.copy(in, out); in insertImage()
|
D | MediaStorePendingTest.java | 42 import android.os.FileUtils; 135 FileUtils.copy(in, out); in verifySuccessfulImageInsertion() 175 FileUtils.copy(in, out); in testSimple_Abandoned() 407 FileUtils.copy(in, out); in testMutableColumns() 458 FileUtils.copy(in, out); in testMatchingColumns() 500 FileUtils.copy(in, out); in execPending()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_PhotoTest.java | 31 import com.android.compatibility.common.util.FileUtils; 104 byte[] actualBytes = FileUtils.readInputStreamFully(photoStream); in assertPhotoStream()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | RedactionTestHelper.java | 25 import android.os.FileUtils; 144 FileUtils.copy(in, out); in assertConsistentNonRedactedAccess()
|
/cts/tests/tests/apache-http/src/android/net/http/cts/ |
D | HttpResponseCacheTest.java | 27 import com.android.compatibility.common.util.FileUtils; 52 FileUtils.setPermissions(cacheDir.getPath(), 0777); in setUp()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileAssembler.java | 19 import dxconvext.util.FileUtils; 77 byte[] cfhbytes = FileUtils.readFile(cfhF); in run()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 108 return FileUtils.readInputStreamFully(fis); in runShellCommandByteOutput() 161 out = new String(FileUtils.readInputStreamFully(fis)); in runShellCommandOrThrow() 164 err = new String(FileUtils.readInputStreamFully(fis)); in runShellCommandOrThrow()
|
/cts/tools/cfassembler/ |
D | Android.bp | 23 "src/dxconvext/util/FileUtils.java",
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | FileUtils.java | 27 public final class FileUtils { class
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | ShellCommandUtils.java | 267 String out = new String(FileUtils.readInputStreamFully(fis)); in executeCommandPreS() 299 return FileUtils.readInputStreamFully(fis); in executeCommandForBytesPreS() 320 return FileUtils.readInputStreamFully(fis); in readStreamAndClose()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | MetricsRecorder.java | 31 import com.android.compatibility.common.util.FileUtils; 194 out = new String(FileUtils.readInputStreamFully(fis)); in runShellCommandWithStdIn() 199 err = new String(FileUtils.readInputStreamFully(fis)); in runShellCommandWithStdIn()
|