Home
last modified time | relevance | path

Searched refs:compile (Results 1 – 25 of 86) sorted by relevance

1234

/tools/platform-compat/javatest/android/processor/compat/changeid/
DChangeIdProcessorTest.java24 import com.google.testing.compile.Compilation;
25 import com.google.testing.compile.CompilationSubject;
26 import com.google.testing.compile.Compiler;
27 import com.google.testing.compile.JavaFileObjects;
160 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput()
208 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_multiplePackages()
245 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_innerClass()
277 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_interface()
310 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_enum()
335 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testBothDisabledAndEnabledAfter()
[all …]
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessorTest.java21 import com.google.testing.compile.Compilation;
22 import com.google.testing.compile.CompilationSubject;
23 import com.google.testing.compile.Compiler;
24 import com.google.testing.compile.JavaFileObjects;
49 private Compilation compile(JavaFileObject source) { in compile() method in UnsupportedAppUsageProcessorTest
52 .compile(ANNOTATION, source); in compile()
58 Compilation compilation = compile(source); in compileAndReadCsv()
138 .compile(ANNOTATION, src); in testSourcePositionOverrideWrongFormat()
156 .compile(ANNOTATION, src); in testSourcePositionOverrideInvalidInt()
173 compile(src) in testImplicitMemberSkipped()
[all …]
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java94 mJavac.compile(); in testGreylistMethod()
115 mJavac.compile(); in testGreylistConstructor()
136 mJavac.compile(); in testGreylistField()
157 mJavac.compile(); in testGreylistImplicit()
178 mJavac.compile(); in testGreylistImplicit_Invalid_MissingOnClass()
200 mJavac.compile(); in testGreylistImplicit_Invalid_PresentOnMember()
221 mJavac.compile(); in testGreylistMethodExpectedSignature()
242 mJavac.compile(); in testGreylistMethodExpectedSignatureWrong()
262 mJavac.compile(); in testGreylistInnerClassMethod()
281 mJavac.compile(); in testMethodNotGreylisted()
[all …]
DCovariantReturnTypeHandlerTest.java73 mJavac.compile(); in testReturnTypeWhitelisted()
97 mJavac.compile(); in testAnnotatedMemberNotPublicApi()
119 mJavac.compile(); in testReturnTypeAlreadyWhitelisted()
144 mJavac.compile(); in testAnnotationOnField()
/tools/apkzlib/
Dbuild.gradle4 compile 'com.google.code.findbugs:jsr305:1.3.9'
5 compile 'com.google.guava:guava:18.0'
6 compile 'org.bouncycastle:bcpkix-jdk15on:1.56'
7 compile 'org.bouncycastle:bcprov-jdk15on:1.56'
8 compile project(':apksig')
/tools/asuite/atest/
Dconstants_default.py251 CC_EXT_RE = re.compile(r'.*\.(cc|cpp)$')
252 JAVA_EXT_RE = re.compile(r'.*\.(java|kt)$')
254 CC_OUTPUT_RE = re.compile(r'(?P<file_path>/.*):\s*TEST(_F|_P)?[ ]*\('
260 CLASS_OUTPUT_RE = re.compile(r'(?P<java_path>.*/(?P<class>[A-Z]\w+)\.\w+)[:].*')
261 QCLASS_OUTPUT_RE = re.compile(r'(?P<java_path>.*/(?P<class>[A-Z]\w+)\.\w+)'
263 PACKAGE_OUTPUT_RE = re.compile(r'(?P<java_dir>/.*/).*[.](java|kt)[:]\s*package\s+'
269 ACLOUD_REPORT_FILE_RE = re.compile(r'.*--report[_-]file(=|\s+)(?P<report_file>[\w/.]+)')
270 TEST_WITH_MAINLINE_MODULES_RE = re.compile(r'(?P<test>.*)\[(?P<mainline_modules>.*'
/tools/asuite/atest-py2/
Dconstants_default.py216 CC_EXT_RE = re.compile(r'.*\.(cc|cpp)$')
217 JAVA_EXT_RE = re.compile(r'.*\.(java|kt)$')
219 CC_OUTPUT_RE = re.compile(r'(?P<file_path>/.*):\s*TEST(_F|_P)?[ ]*\('
225 CLASS_OUTPUT_RE = re.compile(r'(?P<java_path>.*/(?P<class>[A-Z]\w+)\.\w+)[:].*')
226 QCLASS_OUTPUT_RE = re.compile(r'(?P<java_path>.*/(?P<class>[A-Z]\w+)\.\w+)'
228 PACKAGE_OUTPUT_RE = re.compile(r'(?P<java_dir>/.*/).*[.](java|kt)[:]\s*package\s+'
/tools/trebuchet/trebuchet/user-switch-analyzer/
Dbuild.gradle29 compile project(":core:common")
30 compile project(":core:model")
31 compile project(":trebuchet:startup-common")
32 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/trebuchet/trebuchet/startup-summarizer/
Dbuild.gradle29 compile project(":core:common")
30 compile project(":core:model")
31 compile project(":trebuchet:startup-common")
32 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/trebuchet/trebuchet/startup-analyzer/
Dbuild.gradle29 compile project(":core:common")
30 compile project(":core:model")
31 compile project(":trebuchet:startup-common")
32 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/trebuchet/trebuchet/system-server-analyzer/
Dbuild.gradle29 compile project(":core:common")
30 compile project(":core:model")
31 compile project(":trebuchet:startup-common")
32 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/test/connectivity/acts/framework/acts/controllers/
Dadb.py32 ADB_REGEX = re.compile('adb:')
35 DEVICE_NOT_FOUND_REGEX = re.compile('error: device (?:\'.*?\' )?not found')
36 DEVICE_OFFLINE_REGEX = re.compile('error: device offline')
38 CANNOT_BIND_LISTENER_REGEX = re.compile('error: cannot bind listener:')
40 ADB_VERSION_REGEX = re.compile('Android Debug Bridge version 1.0.(\d+)')
41 GREP_REGEX = re.compile('grep(\s+)')
/tools/trebuchet/trebuchet/startup-common/
Dbuild.gradle27 compile project(":core:common")
28 compile project(":core:model")
29 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/trebuchet/trebuchet/viewer/
Dbuild.gradle25 compile project(":core:common")
26 compile project(":core:model")
27 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Db29_lib.py113 version_match = re.compile(r'CHARGER app version: version=([\d]*)')
115 version_match = re.compile(r'APP VERSION: ([\d]*)')
136 success_match = re.compile(match)
172 success_match = re.compile('DFU on partition #8 successfully initiated')
/tools/trebuchet/trebuchet/analyzer/
Dbuild.gradle29 compile project(":core:common")
30 compile project(":core:model")
31 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
/tools/repohooks/rh/
Dhooks.py159 self._scope.append(re.compile(path))
404 check_re = re.compile(regex)
428 check_re = re.compile(regex)
541 check_re = re.compile(regex)
617 check_re_relnote = re.compile(regex_relnote, re.IGNORECASE)
632 check_re_field_misspells = re.compile(regex_field_misspells, re.IGNORECASE)
645 check_re_empty_string = re.compile(r'^$')
649 check_re_other_fields = re.compile(regex_other_fields)
777 check_re = re.compile(regex, re.IGNORECASE)
/tools/asuite/atest-py2/test_finders/
Dtest_finder_utils.py41 _APK_RE = re.compile(r'^[^/]+\.apk$', re.I)
43 _CC_CLASS_RE = re.compile(r'^[ ]*TEST(_F|_P)?[ ]*\(', re.I)
50 _PACKAGE_RE = re.compile(r'\s*package\s+(?P<package>[^(;|\s)]+)\s*', re.I)
52 _HOST_PATH_RE = re.compile(r'.*\/host\/.*', re.I)
53 _DEVICE_PATH_RE = re.compile(r'.*\/target\/.*', re.I)
130 _VTS_BINARY_SRC_DELIM_RE = re.compile(r'.*::(?P<target>.*)$')
243 methods_re = re.compile(_JAVA_METHODS_PATTERN.format(
246 methods_re = re.compile(_CC_METHODS_PATTERN.format(
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_contacts_utils.py58 vcard_regex = re.compile(b"^BEGIN:VCARD((\n*?.*?)*?)END:VCARD",
60 fullname_regex = re.compile(b"^FN:(.*)", re.MULTILINE)
61 email_regex = re.compile(b"^EMAIL;PREF:(.*)", re.MULTILINE)
62 tel_regex = re.compile(b"^TEL;(.*):(.*)", re.MULTILINE)
96 tel_regex = re.compile(b"^TEL;(.*):(.*)", re.MULTILINE)
/tools/acloud/setup/
Dsetup_common.py31 _INSTALLED_RE = re.compile(r"(.*\s*Installed:)(?P<installed_ver>.*\s?)")
32 _CANDIDATE_RE = re.compile(r"(.*\s*Candidate:)(?P<candidate_ver>.*\s?)")
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py45 _APK_RE = re.compile(r'^[^/]+\.apk$', re.I)
47 _CC_CLASS_METHOD_RE = re.compile(
50 _PARA_CC_CLASS_RE = re.compile(
58 _PACKAGE_RE = re.compile(r'\s*package\s+(?P<package>[^(;|\s)]+)\s*', re.I)
60 _HOST_PATH_RE = re.compile(r'.*\/host\/.*', re.I)
61 _DEVICE_PATH_RE = re.compile(r'.*\/target\/.*', re.I)
63 _PARAMET_JAVA_CLASS_RE = re.compile(
67 _PARENT_CLS_RE = re.compile(r'.*class\s+\w+\s+extends\s+(?P<parent>[\w\.]+.*)\s\{')
158 _VTS_BINARY_SRC_DELIM_RE = re.compile(r'.*::(?P<target>.*)$')
/tools/acloud/list/
Dinstance.py55 _LOCAL_INSTANCE_NAME_PATTERN = re.compile(r"^local-instance-(?P<id>\d+)$")
64 _RE_TIMEZONE = re.compile(r"^(?P<time>[0-9\-\.:T]*)(?P<timezone>[+-]\d+:\d+)$")
67 _RE_RUN_CVD = re.compile(r"(?P<date_str>^[^/]+)(.*run_cvd)")
69 _RE_ZONE = re.compile(r".+/zones/(?P<zone>.+)$")
533 _INSTANCE_NAME_PATTERN = re.compile(
539 _DEVICE_SERIAL_PATTERN = re.compile(r"^emulator-(?P<console_port>\d+)$")
799 re_pattern = re.compile(_RE_SSH_TUNNEL_PATTERN %
/tools/platform-compat/java/com/android/class2nonsdklist/
DApiResolver.java32 private static final Pattern LINK_TAG_PATTERN = Pattern.compile("\\{@link ([^\\}]+)\\}");
33 private static final Pattern CODE_TAG_PATTERN = Pattern.compile("\\{@code ([^\\}]+)\\}");
/tools/apksig/src/main/java/com/android/apksig/
DHints.java57 this.pattern = Pattern.compile(pattern); in PatternWithRange()
63 this.pattern = Pattern.compile(pattern); in PatternWithRange()
/tools/acloud/create/
Davd_spec.py44 _BRANCH_RE = re.compile(r"^Manifest branch: (?P<branch>.+)")
57 _RE_ANSI_ESCAPE = re.compile(r"(\x9B|\x1B\[)[0-?]*[ -\/]*[@-~]")
58 _RE_FLAVOR = re.compile(r"^.+_(?P<flavor>.+)-img.+")
59 _RE_MEMORY = re.compile(r"(?P<gb_size>\d+)g$|(?P<mb_size>\d+)m$",
61 _RE_INT = re.compile(r"^\d+$")
62 _RE_RES = re.compile(r"^(?P<x_res>\d+)x(?P<y_res>\d+)$")

1234