/tools/platform-compat/javatest/android/processor/compat/changeid/ |
D | ChangeIdProcessorTest.java | 24 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/ |
D | UnsupportedAppUsageProcessorTest.java | 21 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/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 94 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 …]
|
D | CovariantReturnTypeHandlerTest.java | 73 mJavac.compile(); in testReturnTypeWhitelisted() 97 mJavac.compile(); in testAnnotatedMemberNotPublicApi() 119 mJavac.compile(); in testReturnTypeAlreadyWhitelisted() 144 mJavac.compile(); in testAnnotationOnField()
|
/tools/apkzlib/ |
D | build.gradle | 4 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/ |
D | constants_default.py | 251 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/ |
D | constants_default.py | 216 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/ |
D | build.gradle | 29 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/ |
D | build.gradle | 29 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/ |
D | build.gradle | 29 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/ |
D | build.gradle | 29 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/ |
D | adb.py | 32 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/ |
D | build.gradle | 27 compile project(":core:common") 28 compile project(":core:model") 29 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
/tools/trebuchet/trebuchet/viewer/ |
D | build.gradle | 25 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/ |
D | b29_lib.py | 113 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/ |
D | build.gradle | 29 compile project(":core:common") 30 compile project(":core:model") 31 compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
/tools/repohooks/rh/ |
D | hooks.py | 159 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/ |
D | test_finder_utils.py | 41 _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/ |
D | bt_contacts_utils.py | 58 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/ |
D | setup_common.py | 31 _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/ |
D | test_finder_utils.py | 45 _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/ |
D | instance.py | 55 _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/ |
D | ApiResolver.java | 32 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/ |
D | Hints.java | 57 this.pattern = Pattern.compile(pattern); in PatternWithRange() 63 this.pattern = Pattern.compile(pattern); in PatternWithRange()
|
/tools/acloud/create/ |
D | avd_spec.py | 44 _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+)$")
|