Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 4525) sorted by relevance

12345678910>>...181

/cts/hostsidetests/appsecurity/
DOWNERS2 # Bug component: 36137 = per-file ApplicationVisibilityTest.java
3 # Bug component: 36137 = per-file BaseInstallMultiple.java
4 # Bug component: 568761 = per-file CorruptApkTests.java
5 # Bug component: 36137 = per-file EphemeralTest.java
6 # Bug component: 36137 = per-file InstantAppUserTest.java
7 # Bug component: 36137 = per-file InstantCookieHostTest.java
8 # Bug component: 36137 = per-file IsolatedSplitsTests.java
9 # Bug component: 36137 = per-file MajorVersionTest.java
10 # Bug component: 568631 = per-file OverlayHostTest.java
11 # Bug component: 36137 = per-file Package*
[all …]
/cts/tools/release-parser/tests/
Dgenerate_golden_sample_files.sh15 for file in $TargetFiles; do
16 echo Processing $file
17 …se-parser.jar com.android.cts.releaseparser.ApkParser -i resources/$file -of resources/$file.pb.txt
21 for file in $TargetFiles; do
22 echo Processing $file
23 …parser.jar com.android.cts.releaseparser.SoParser -i resources/$file -pi -of resources/$file.pb.txt
27 for file in $TargetFiles; do
28 echo Processing $file
29 …ase-parser.jar com.android.cts.releaseparser.SoParser -i resources/$file -of resources/$file.pb.txt
33 for file in $TargetFiles; do
[all …]
/cts/tests/tests/view/src/android/view/cts/
DOWNERS1 per-file ASurfaceControlBackPressureTest.java = file:platform/frameworks/base:/services/core/java/c…
2 per-file ASurfaceControlTest.java = file:platform/frameworks/base:/services/core/java/com/android/s…
3 per-file AttachedSurfaceControlSyncTest.java = file:platform/frameworks/base:/services/core/java/co…
4 per-file AttachedSurfaceControlTest.java = file:platform/frameworks/base:/services/core/java/com/an…
5 per-file SurfaceControlTest.java = file:platform/frameworks/base:/services/core/java/com/android/se…
6 per-file SurfaceViewSyncTest.java = file:platform/frameworks/base:/services/core/java/com/android/s…
8 per-file *ScrollCapture*.java = file:platform/frameworks/base:/packages/SystemUI/src/com/android/sy…
10 per-file *InputEvent* = file:platform/frameworks/base:/INPUT_OWNERS
11 per-file *InputQueue* = file:platform/frameworks/base:/INPUT_OWNERS
12 per-file *KeyEvent* = file:platform/frameworks/base:/INPUT_OWNERS
[all …]
/cts/tests/tests/car/src/android/car/cts/
DOWNERS4 per-file CarPropertyManagerTest.java=shanyu@google.com,tylertrephan@google.com
5 per-file VehiclePropertyIdsTest.java=shanyu@google.com,tylertrephan@google.com
8 per-file CarAudioManagerTest.java=oscarazu@google.com
9 per-file CarAudioFocusTest.java=oscarazu@google.com
12 per-file CarInputManagerSystemTest.java=kanant@google.com
13 per-file CarInputTest.java=kanant@google.com
16 per-file CarDisplayInputLockTest.java=gauravbhola@google.com,xiangw@google.com
19 per-file ApiVersionTest.java=gargmayank@google.com
20 per-file CarServiceHelperServiceUpdatableTest.java=gargmayank@google.com
23 per-file OemCarServiceImplTest.java=gargmayank@google.com
[all …]
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DFilePathAccessTestUtils.java43 public static void assertFileAccess_existsOnly(File file) throws Exception { in assertFileAccess_existsOnly() argument
44 assertThat(file.isFile()).isTrue(); in assertFileAccess_existsOnly()
45 assertAccess(file, true /* file exists */, false /* can read */, false /* can write */); in assertFileAccess_existsOnly()
48 public static void assertFileAccess_readOnly(File file) throws Exception { in assertFileAccess_readOnly() argument
49 assertThat(file.isFile()).isTrue(); in assertFileAccess_readOnly()
50 assertAccess(file, true /* file exists */, true /* can read */, false /* can write */); in assertFileAccess_readOnly()
53 public static void assertFileAccess_readWrite(File file) throws Exception { in assertFileAccess_readWrite() argument
54 assertThat(file.isFile()).isTrue(); in assertFileAccess_readWrite()
55 assertAccess(file, true/* file exists */, true /* can read */, true /* can write */); in assertFileAccess_readWrite()
68 public static void assertAccess(File file, boolean exists, boolean canRead, boolean canWrite) in assertAccess() argument
[all …]
/cts/tests/tests/provider/
DOWNERS5 per-file Android.bp = file:platform/frameworks/base:/core/java/android/os/storage/OWNERS
6 per-file AndroidManifest.xml = file:platform/frameworks/base:/core/java/android/os/storage/OWNERS
7 per-file AndroidTest.xml = file:platform/frameworks/base:/core/java/android/os/storage/OWNERS
8 per-file OWNERS = file:platform/frameworks/base:/core/java/android/os/storage/OWNERS
11 # Bug component: 856262 = per-file src/android/provider/cts/settings/*
13 per-file src/android/provider/cts/settings/* = file:platform/frameworks/base:/packages/SettingsProv…
16 # Bug component: 151185 = per-file src/android/provider/cts/BlockedNumber*
17 # Bug component: 151185 = per-file src/android/provider/cts/contacts/*
18 per-file src/android/provider/cts/BlockedNumber* = file:../telecom/OWNERS
19 per-file src/android/provider/cts/contacts/* = file:../telecom/OWNERS
[all …]
/cts/tools/cfassembler/src/dxconvext/util/
DFileUtils.java42 File file = new File(fileName); in readFile() local
43 return readFile(file); in readFile()
53 public static byte[] readFile(File file) { in readFile() argument
54 if (!file.exists()) { in readFile()
55 throw new RuntimeException(file + ": file not found"); in readFile()
58 if (!file.isFile()) { in readFile()
59 throw new RuntimeException(file + ": not a file"); in readFile()
62 if (!file.canRead()) { in readFile()
63 throw new RuntimeException(file + ": file not readable"); in readFile()
66 long longLength = file.length(); in readFile()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DOWNERS1 per-file AmMonitor.java = file:platform/frameworks/base:/services/core/java/com/android/server/am/O…
2 per-file AnrMonitor.java = file:platform/frameworks/base:/services/core/java/com/android/server/am/…
3 per-file BaseDefaultPermissionGrantPolicyTest.java = file:platform/frameworks/base:/core/java/andro…
4 per-file CtsKeyEventUtil.java = file:platform/cts:/tests/tests/widget/OWNERS
5 per-file CtsMouseUtil.java = file:platform/cts:/tests/tests/widget/OWNERS
6 per-file CtsTouchUtils.java = file:platform/cts:/tests/tests/widget/OWNERS
7 per-file ReadElf.java = enh@google.com
8 per-file ShellUtils.java = felipeal@google.com
9 per-file *Settings*.java = felipeal@google.com
10 per-file User*Helper*.java = felipeal@google.com
[all …]
/cts/hostsidetests/os/test-apps/
DOWNERS1 per-file StaticSharedLibConsumerApp1/*=patb@google.com
2 per-file StaticSharedLibConsumerApp2/*=patb@google.com
3 per-file StaticSharedLibConsumerApp3/*=patb@google.com
4 per-file StaticSharedLibProviderApp1/*=patb@google.com
5 per-file StaticSharedLibProviderApp2/*=patb@google.com
6 per-file StaticSharedLibProviderApp3/*=patb@google.com
7 per-file StaticSharedLibProviderApp4/*=patb@google.com
8 per-file StaticSharedLibProviderApp5/*=patb@google.com
9 per-file StaticSharedLibProviderApp6/*=patb@google.com
10 per-file StaticSharedLibProviderApp7/*=patb@google.com
[all …]
/cts/tests/tests/os/
DOWNERS5 per-file *Vibrat* = file:platform/frameworks/base:/services/core/java/com/android/server/vibrator/O…
6 per-file *NetworkTime* = file:platform/frameworks/base:/services/core/java/com/android/server/timez…
7 per-file *Sntp* = file:platform/frameworks/base:/services/core/java/com/android/server/timezonedete…
8 per-file *LowPowerStandby* = file:platform/frameworks/base:/services/core/java/com/android/server/p…
9 per-file *SecurityStateManager* = file:platform/frameworks/base:/SECURITY_STATE_OWNERS
11 # Bug component: 826709 = per-file PerformanceHintManagerTest.java
12 # Bug component: 826709 = per-file WorkDurationTest.java
13 # Bug component: 46788 = per-file PowerManager_ThermalTest.java
14 per-file *PerformanceHintManagerTest* = file:/platform/frameworks/base:/ADPF_OWNERS
15 per-file *PowerManager_ThermalTest* = xwxw@google.com,lpy@google.com,wvw@google.com
[all …]
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DHelper.java48 File file = null; in takeScreenshotAndSave() local
50 file = createTestFile(testName, "sreenshot.png", targetFolder); in takeScreenshotAndSave()
51 if (file != null) { in takeScreenshotAndSave()
52 Log.i(TAG, "Taking screenshot on " + file); in takeScreenshotAndSave()
54 saveBitmapToFile(screenshot, file); in takeScreenshotAndSave()
57 Log.e(TAG, "Error taking screenshot and saving on " + file, e); in takeScreenshotAndSave()
66 File file = null; in dumpsysAndSave() local
68 file = createTestFile(testName, "dumpsys.txt", targetFolder); in dumpsysAndSave()
69 if (file != null) { in dumpsysAndSave()
70 Log.i(TAG, "dumpSys on" + file); in dumpsysAndSave()
[all …]
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java182 for (File file : mIncludeFiles) { in generateFiles()
183 addData(file); in generateFiles()
185 for (File file : mExcludeFiles) { in generateFiles()
186 addData(file); in generateFiles()
188 for (File file : mRequireFakeClientSideEncryptionFiles) { in generateFiles()
189 addData(file); in generateFiles()
197 for (File file : mIncludeFiles) { in deleteAllFiles()
198 file.delete(); in deleteAllFiles()
200 for (File file : mExcludeFiles) { in deleteAllFiles()
201 file.delete(); in deleteAllFiles()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DOWNERS1 per-file BitmapColorSpaceTest.java = file:platform/frameworks/native:/libs/shaders/OWNERS
2 per-file ColorSpaceTest.java = file:platform/frameworks/native:/libs/shaders/OWNERS
3 per-file ColorTest.java = arteiro@google.com, dupin@google.com
4 per-file FrameRateOverrideTest.java = adyabr@google.com, rnlee@google.com
5 per-file GainmapTest.java = file:platform/frameworks/native:/libs/shaders/OWNERS
6 per-file ImageDecoderTest.java = scroggo@google.com, dichenzhang@google.com
7 per-file ParcelableColorSpaceTest.java = file:platform/frameworks/native:/libs/shaders/OWNERS
8 per-file SystemPaletteTest.kt = arteiro@google.com, dupin@google.com
10 # Bug template url: https://b.corp.google.com/issues/new?component=25699&template=183271 = per-file
11 per-file Typeface* = nona@google.com, haoyuchang@google.com, justinghan@google.com
[all …]
/cts/tests/tests/media/audio/
DOWNERS5 per-file src/android/media/audio/cts/AudioMetadataTest.java = hunga@google.com
6 per-file src/android/media/audio/cts/AudioRecordTest.java = hunga@google.com
7 per-file src/android/media/audio/cts/AudioRecord_BufferSizeTest.java = hunga@google.com
8 per-file src/android/media/audio/cts/AudioTrackLatencyTest.java = hunga@google.com
9 per-file src/android/media/audio/cts/AudioTrackOffloadTest.java = hunga@google.com
10 per-file src/android/media/audio/cts/AudioTrackSurroundTest.java = hunga@google.com
11 per-file src/android/media/audio/cts/AudioTrackTest.java = hunga@google.com
12 per-file src/android/media/audio/cts/AudioTrack_ListenerTest.java = hunga@google.com
13 per-file src/android/media/audio/cts/SoundPoolAacTest.java = hunga@google.com
14 per-file src/android/media/audio/cts/SoundPoolHapticTest.java = hunga@google.com
[all …]
/cts/tests/tests/database/src/android/database/cts/
DSQLiteCantOpenDatabaseExceptionTest.java39 private void callWithExceptedMessage(File file, String expectedMessagePatter) { in callWithExceptedMessage() argument
41 SQLiteDatabase.openDatabase(file, new OpenParams.Builder().build()); in callWithExceptedMessage()
55 final File file = getDatabaseFile("nonexisitentdir/mydb.db"); in testDirectoryDoesNotExist() local
57 callWithExceptedMessage(file, ".*: Directory .* doesn't exist"); in testDirectoryDoesNotExist()
62 final File file = getDatabaseFile("mydb.db"); in testFileDoesNotExist() local
64 callWithExceptedMessage(file, ".*: File .* doesn't exist"); in testFileDoesNotExist()
69 final File file = getDatabaseFile("mydb.db"); in testFileNotReadable() local
71 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(file, null); in testFileNotReadable()
74 file.setReadable(false); in testFileNotReadable()
76 callWithExceptedMessage(file, ".*: File .* not readable"); in testFileNotReadable()
[all …]
/cts/tests/autofillservice/
DOWNERS6 per-file src/android/autofillservice/cts/activities/* = file:platform/frameworks/base:/core/java/an…
7 per-file src/android/autofillservice/cts/activities/* = wangqi@google.com
8 per-file src/android/autofillservice/cts/commontests/* = file:platform/frameworks/base:/core/java/a…
9 per-file src/android/autofillservice/cts/commontests/* = wangqi@google.com
10 per-file src/android/autofillservice/cts/testcore/* = file:platform/frameworks/base:/core/java/andr…
11 per-file src/android/autofillservice/cts/testcore/* = wangqi@google.com
13 # Bug component: 543785 = per-file src/android/autofillservice/cts/augmented/*
15 per-file src/android/autofillservice/cts/augmented/* = file:platform/frameworks/base:/core/java/and…
17 # Bug component: 1195602 = per-file src/android/autofillservice/cts/inline/*
19 per-file src/android/autofillservice/cts/inline/* = file:platform/frameworks/base:/core/java/androi…
/cts/tests/app/src/android/app/cts/
DOWNERS1 # Bug component: 803062 = per-file Nearby*, UpdateMediaTapToTransfer*.kt
2 per-file Nearby*, UpdateMediaTapToTransfer*.kt = file:platform/frameworks/base:/packages/SystemUI/O…
4 # Bug component: 46626 = per-file DownloadManager*
5 per-file DownloadManager* = file:platform/frameworks/base:/core/java/android/os/storage/OWNERS
7 # Bug component: 41727 = per-file SystemFeaturesTest*
8 per-file SystemFeaturesTest* = file:platform/frameworks/av:/camera/OWNERS
/cts/tools/mcts/
Ddownload_mcts.sh84 local file=$2
85 local url="https://dl.google.com/android/xts/mcts/${path}/${file}"
87 if [ ! -f ${file} ]; then
88 echo "There is no ${file}, trying to download it"
91 echo "There is ${file}, checking if it is up to date"
94 file_download_time=$(date -d "@$(stat -c %W ${file})" +%s )
99 rm ${file}
142 for file in ${files[@]}; do
143 download_mcts $path $file
146 for file in $full_dir_path/* ; do
[all …]
/cts/apps/CtsVerifier/res/layout/
DOWNERS1 # Bug component: 41727 = per-file camera_*.xml
2 # Bug component: 41727 = per-file cam_*.xml
3 # Bug component: 41727 = per-file co_main.xml,ci_main.xml,cb_main.xml,cf_main.xml
5 per-file camera_*.xml = file:platform/frameworks/av:/camera/OWNERS
6 per-file cam_*.xml = file:platform/frameworks/av:/camera/OWNERS
7 per-file co_main.xml,ci_main.xml,cb_main.xml,cf_main.xml = file:platform/frameworks/av:/camera/OWNE…
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DOWNERS1 …s://b.corp.google.com/issues/new?component=1337891&template=1814288 = per-file CA*.java, Ca*.java,…
2 …s://b.corp.google.com/issues/new?component=1337891&template=1814288 = per-file LockConfirmBypassTe…
3 …ps://b.corp.google.com/issues/new?component=746324&template=1398789 = per-file: SecurityModeFeatur…
4 # Bug component: 189335 = per-file FingerprintBoundKeysTest.java, ProtectedConfirmationTest.java, L…
5 # Bug component: 1084909 = per-file IdentityCredential*.java
6 per-file CA*.java, Ca*.java, KeyChainTest.java = file:platform/frameworks/base:/core/java/android/a…
7 per-file LockConfirmBypassTest.java, SetNewPasswordComplexityTest.java, CredentialManagementAppActi…
8 per-file FingerprintBoundKeysTest.java, ProtectedConfirmationTest.java, LskfBoundKeysTest.java, Unl…
9 per-file SecurityModeFeatureVerifierActivity.java = jjoslin@google.com, tomcherry@google.com
10 per-file IdentityCredential*.java = zeuthen@google.com
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DFileParser.java61 public static FileParser getParser(File file) { in getParser() argument
62 String fName = file.getName(); in getParser()
64 if (isSymbolicLink(file)) { in getParser()
65 return new SymbolicLinkParser(file); in getParser()
67 return new ApkParser(file); in getParser()
69 return new TestModuleConfigParser(file); in getParser()
71 return new TestSuiteTradefedParser(file); in getParser()
74 return new JarParser(file); in getParser()
76 return new SoParser(file); in getParser()
78 return new ArtParser(file); in getParser()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-39664/
Dpoc.cpp27 FILE *file = nullptr; variable
39 if (file) { in exitHandler()
40 fclose(file); in exitHandler()
41 file = nullptr; in exitHandler()
52 file = fopen(argv[1], "r"); in main()
53 FAIL_CHECK(file); in main()
54 fseek(file, 0, SEEK_END); in main()
55 size_t size = ftell(file); in main()
56 fseek(file, 0, SEEK_SET); in main()
60 FAIL_CHECK(fread((void *)buffer.data(), 1, size, file) == size); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13234/
Dpoc.c41 EAS_FILE file; in PlayFile() local
42 file.handle = (void*) fopen(filename, "rb"); in PlayFile()
43 file.readAt = EAS_fread; in PlayFile()
44 file.size = EAS_fsize; in PlayFile()
46 if (EAS_OpenFile(easData, &file, &handle) != EAS_SUCCESS) { in PlayFile()
48 if(file.handle) { in PlayFile()
49 fclose(file.handle); in PlayFile()
56 if(file.handle) { in PlayFile()
57 fclose(file.handle); in PlayFile()
/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java57 File file = new File("/system"); in testSystemDirAccess() local
58 assertTrue(file.canRead()); in testSystemDirAccess()
59 assertFalse(file.canWrite()); in testSystemDirAccess()
61 File fakeSystemFile = new File(file, "test"); in testSystemDirAccess()
70 file = new File("/system/app"); in testSystemDirAccess()
71 assertTrue(file.canRead()); in testSystemDirAccess()
72 assertFalse(file.canWrite()); in testSystemDirAccess()
75 File[] allFiles = file.listFiles(); in testSystemDirAccess()
86 File file = new File("/system/app"); in testApksAlwaysReadable() local
89 File[] apkFiles = file.listFiles(new FilenameFilter() { in testApksAlwaysReadable()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DOWNERS3 # Bug component: 1084732 = per-file KeystoreAttestationDeviceInfo.java
4 # Bug template url: http://b/new?component=1084732&template=1604634 = per-file KeystoreAttestationD…
5 per-file KeystoreAttestationDeviceInfo.java = file:platform/cts:/tests/tests/keystore/OWNERS
7 # Bug component: 137825 = per-file PermissionDeviceInfo.java
8 per-file PermissionDeviceInfo.java = file:platform/frameworks/base:/core/java/android/permission/OW…

12345678910>>...181