|
1 | 1 | // Signature format: 3.0
|
2 |
| -package androidx.test.services.storage { |
3 |
| - |
4 |
| - public final class TestStorage implements androidx.test.platform.io.PlatformTestStorage { |
5 |
| - ctor public TestStorage(); |
6 |
| - ctor public TestStorage(android.content.ContentResolver); |
7 |
| - method public void addOutputProperties(java.util.Map<java.lang.String!,java.io.Serializable!>!); |
8 |
| - method public String! getInputArg(String); |
9 |
| - method public java.util.Map<java.lang.String!,java.lang.String!>! getInputArgs(); |
10 |
| - method public android.net.Uri! getInputFileUri(String); |
11 |
| - method public android.net.Uri! getOutputFileUri(String); |
12 |
| - method public java.util.Map<java.lang.String!,java.io.Serializable!>! getOutputProperties(); |
13 |
| - method public boolean isTestStorageFilePath(String); |
14 |
| - method public java.io.InputStream! openInputFile(String) throws java.io.FileNotFoundException; |
15 |
| - method public java.io.OutputStream! openOutputFile(String) throws java.io.FileNotFoundException; |
16 |
| - method public java.io.OutputStream! openOutputFile(String, boolean) throws java.io.FileNotFoundException; |
17 |
| - } |
18 |
| - |
19 |
| - @androidx.test.annotation.ExperimentalTestApi public final class TestStorageConstants { |
20 |
| - field public static final String INTERNAL_USE_PROVIDER_AUTHORITY = "androidx.test.services.storage._internal_use_files"; |
21 |
| - field public static final String ON_DEVICE_FIXTURE_SCRIPTS = "googletest/fixture_scripts/"; |
22 |
| - field public static final String ON_DEVICE_PATH_INTERNAL_USE = "googletest/internal_use/"; |
23 |
| - field public static final String ON_DEVICE_PATH_ROOT = "googletest/"; |
24 |
| - field public static final String ON_DEVICE_PATH_TEST_OUTPUT = "googletest/test_outputfiles/"; |
25 |
| - field public static final String ON_DEVICE_PATH_TEST_PROPERTIES = "googletest/test_exportproperties/"; |
26 |
| - field public static final String ON_DEVICE_TEST_RUNFILES = "googletest/test_runfiles/"; |
27 |
| - field public static final String OUTPUT_PROPERTIES_PROVIDER_AUTHORITY = "androidx.test.services.storage.properties"; |
28 |
| - field public static final String TEST_ARGS_FILE_NAME = "test_args.dat"; |
29 |
| - field public static final String TEST_ARGS_PROVIDER_AUTHORITY = "androidx.test.services.storage.testargs"; |
30 |
| - field public static final String TEST_OUTPUT_PROVIDER_AUTHORITY = "androidx.test.services.storage.outputfiles"; |
31 |
| - field public static final String TEST_RUNFILES_PROVIDER_AUTHORITY = "androidx.test.services.storage.runfiles"; |
32 |
| - } |
33 |
| - |
34 |
| - @androidx.test.annotation.ExperimentalTestApi public class TestStorageException extends java.lang.RuntimeException { |
35 |
| - ctor public TestStorageException(String!); |
36 |
| - ctor public TestStorageException(String!, Throwable!); |
37 |
| - } |
38 |
| - |
39 |
| -} |
40 |
| - |
41 |
| -package androidx.test.services.storage.file { |
42 |
| - |
43 |
| - @androidx.test.annotation.ExperimentalTestApi public final class HostedFile { |
44 |
| - method public static android.net.Uri! buildUri(androidx.test.services.storage.file.HostedFile.FileHost!, String!); |
45 |
| - method public static java.io.File! getInputRootDirectory(android.content.Context!); |
46 |
| - method public static java.io.File! getOutputRootDirectory(android.content.Context!); |
47 |
| - } |
48 |
| - |
49 |
| - public enum HostedFile.FileHost { |
50 |
| - method public String! getAuthority(); |
51 |
| - method public boolean isWritable(); |
52 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost EXPORT_PROPERTIES; |
53 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost INTERNAL_USE_ONLY; |
54 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost OUTPUT; |
55 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.FileHost TEST_FILE; |
56 |
| - } |
57 |
| - |
58 |
| - public enum HostedFile.FileType { |
59 |
| - method public static androidx.test.services.storage.file.HostedFile.FileType! fromTypeCode(String!); |
60 |
| - method public String! getTypeCode(); |
61 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.FileType DIRECTORY; |
62 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.FileType FILE; |
63 |
| - } |
64 |
| - |
65 |
| - public enum HostedFile.HostedFileColumn { |
66 |
| - method public int getAndroidType(); |
67 |
| - method public String! getColumnName(); |
68 |
| - method public static String![]! getColumnNames(); |
69 |
| - method public Class<?>! getColumnType(); |
70 |
| - method public int getPosition(); |
71 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn DATA; |
72 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn DISPLAY_NAME; |
73 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn NAME; |
74 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn SIZE; |
75 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn SIZE_2; |
76 |
| - enum_constant public static final androidx.test.services.storage.file.HostedFile.HostedFileColumn TYPE; |
77 |
| - } |
78 |
| - |
79 |
| - @androidx.test.annotation.ExperimentalTestApi public final class PropertyFile { |
80 |
| - method public static android.net.Uri! buildUri(androidx.test.services.storage.file.PropertyFile.Authority!); |
81 |
| - method public static android.net.Uri! buildUri(androidx.test.services.storage.file.PropertyFile.Authority!, String!); |
82 |
| - } |
83 |
| - |
84 |
| - public enum PropertyFile.Authority { |
85 |
| - method public String! getAuthority(); |
86 |
| - enum_constant public static final androidx.test.services.storage.file.PropertyFile.Authority TEST_ARGS; |
87 |
| - } |
88 |
| - |
89 |
| - public enum PropertyFile.Column { |
90 |
| - method public String! getName(); |
91 |
| - method public static String![]! getNames(); |
92 |
| - method public int getPosition(); |
93 |
| - enum_constant public static final androidx.test.services.storage.file.PropertyFile.Column NAME; |
94 |
| - enum_constant public static final androidx.test.services.storage.file.PropertyFile.Column VALUE; |
95 |
| - } |
96 |
| - |
97 |
| -} |
98 |
| - |
0 commit comments