/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 159 final String method = expectString("method"); in onStart() local 171 if ("enableWifi".equals(method)) { in onStart() 173 } else if ("disableWifi".equals(method)) { in onStart() 175 } else if ("addOpenNetwork".equals(method)) { in onStart() 181 } else if ("addWpaPskNetwork".equals(method)) { in onStart() 188 } else if ("associateNetwork".equals(method)) { in onStart() 194 } else if ("disconnect".equals(method)) { in onStart() 197 } else if ("disableNetwork".equals(method)) { in onStart() 202 } else if ("isWifiEnabled".equals(method)) { in onStart() 205 } else if ("getIpAddress".equals(method)) { in onStart() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | FilterPredicate.kt | 27 override fun test(method: Item): Boolean { in test() 29 wrapped.test(method) -> true in test() 30 method is MethodItem -> !method.isConstructor() && in test() 31 method.findPredicateSuperMethod(wrapped) != null in test()
|
D | ElidingPredicate.kt | 16 override fun test(method: Item): Boolean { in <lambda>() 19 return if (method is MethodItem && !method.isConstructor()) { in <lambda>() 20 val differentSuper = method.findPredicateSuperMethod(Predicate { test -> in <lambda>() 24 MethodItem.sameSignature(method, test, false) in <lambda>()
|
D | ApiFile.java | 348 TextConstructorItem method; in parseConstructor() local 392 method = new TextConstructorItem(api, /*typeParameters*/ in parseConstructor() 399 method.setDeprecated(isDeprecated); in parseConstructor() 401 parseParameterList(api, tokenizer, method, /*new HashSet<String>(),*/ token); in parseConstructor() 404 token = parseThrows(tokenizer, method); in parseConstructor() 409 cl.addConstructor(method); in parseConstructor() 429 TextMethodItem method; in parseMethod() local 517 method = new TextMethodItem( in parseMethod() 522 method.setDeprecated(isDeprecated); in parseMethod() 523 method.setTypeParameterList(typeParameterList); in parseMethod() [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | CentralDirectoryHeaderCompressInfo.java | 62 @Nonnull CompressionMethod method, in CentralDirectoryHeaderCompressInfo() 65 mMethod = method; in CentralDirectoryHeaderCompressInfo() 78 @Nonnull CompressionMethod method, long compressedSize) { in CentralDirectoryHeaderCompressInfo() argument 79 mMethod = method; in CentralDirectoryHeaderCompressInfo() 82 if (header.getName().endsWith("/") || method == CompressionMethod.DEFLATE) { in CentralDirectoryHeaderCompressInfo()
|
D | CompressionMethod.java | 57 for (CompressionMethod method : values()) { in fromCode() 58 if (method.methodCode == code) { in fromCode() 59 return method; in fromCode()
|
D | CompressionResult.java | 51 public CompressionResult(@Nonnull CloseableByteSource source, @Nonnull CompressionMethod method, in CompressionResult() argument 53 compressionMethod = method; in CompressionResult()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DexApiWriter.kt | 46 override fun visitMethod(method: MethodItem) { in visitMethod() 47 if (method.inheritedMethod) { in visitMethod() 51 writer.print(method.containingClass().toType().internalName()) in visitMethod() 53 writer.print(method.internalName()) in visitMethod() 55 for (pi in method.parameters()) { in visitMethod() 59 if (method.isConstructor()) { in visitMethod() 62 val returnType = method.returnType() in visitMethod()
|
D | AndroidApiChecks.kt | 54 override fun visitMethod(method: MethodItem) { in check() 55 checkRequiresPermission(method) in check() 56 if (!method.isConstructor()) { in check() 57 … checkVariable(method, "@return", "Return value of '" + method.name() + "'", method.returnType()) in check() 176 private fun checkRequiresPermission(method: MethodItem) { in checkRequiresPermission() 177 val text = method.documentation in checkRequiresPermission() 179 … val annotation = method.modifiers.findAnnotation("android.support.annotation.RequiresPermission") in checkRequiresPermission() 200 Errors.REQUIRES_PERMISSION, method, "Method '" + method.name() + in checkRequiresPermission() 208 Errors.REQUIRES_PERMISSION, method, "Method '" + method.name() + in checkRequiresPermission()
|
D | ProguardWriter.kt | 60 override fun visitMethod(method: MethodItem) { in visitMethod() 62 val modifiers = method.modifiers in visitMethod() 79 writer.print(getCleanTypeName(method.returnType())) in visitMethod() 81 writer.print(method.name()) in visitMethod() 83 writeParametersKeepList(method.parameters()) in visitMethod()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiMethodItem.kt | 171 val method = psiMethod as? UMethod ?: return emptySet() in <lambda>() constant 178 method.accept(object : AbstractUastVisitor() { in <lambda>() 245 val method = this in <lambda>() constant 251 modifierString, method.modifiers, method, removeAbstract = false, in <lambda>() 263 val returnType = method.returnType() in <lambda>() 267 sb.append(method.name()) in <lambda>() 270 method.parameters().asSequence().forEachIndexed { i, parameter -> in <lambda>() 281 val throws = method.throwsTypes().asSequence().sortedWith(ClassItem.fullNameComparator) in <lambda>() 294 val defaultValue = PsiTypesUtil.getDefaultValueOfType(method.psiMethod.returnType) in <lambda>() 328 val method = PsiMethodItem( in <lambda>() constant [all …]
|
/tools/tradefederation/core/ |
D | pylintrc | 7 # Naming hint for method names 8 method-name-hint=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ 10 # Regular expression matching correct method names 11 method-rgx=(([a-z][a-z0-9_]{2,50})|(_[a-z0-9_]*))$ 15 # Maximum number of return / yield for function / method body
|
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiClass.java | 164 ApiElement method = entry.getValue(); in removeOverridingMethods() local 165 … if (!method.getName().startsWith("<init>(") && isOverrideOfInherited(method, allClasses)) { in removeOverridingMethods() 179 private boolean isOverride(ApiElement method, Map<String, ApiClass> allClasses) { in isOverride() argument 180 ApiElement localMethod = mMethods.get(method.getName()); in isOverride() 181 if (localMethod != null && localMethod.introducedNotLaterThan(method)) { in isOverride() 186 return isOverrideOfInherited(method, allClasses); in isOverride() 192 private boolean isOverrideOfInherited(ApiElement method, Map<String, ApiClass> allClasses) { in isOverrideOfInherited() argument 196 if (parent.introducedNotLaterThan(method)) { in isOverrideOfInherited() 198 if (cls != null && cls.isOverride(method, allClasses)) { in isOverrideOfInherited()
|
D | AddApisFromCodebase.kt | 65 override fun visitMethod(method: MethodItem) { in addApisFromCodebase() 67 method.internalName() + in addApisFromCodebase() 70 method.internalDesc(voidConstructorTypes = true), apiLevel, method.deprecated in addApisFromCodebase()
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_base.py | 29 method = getattr(cls, methodname) 30 if hasattr(method, '_registered'): 31 cls.find_methods.append(Finder(None, method))
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceTestCase.java | 278 for (Method method : methods) { in getTestMethodNames() 280 if (!overridenMethod.contains(method.getName())) { in getTestMethodNames() 282 if (Modifier.isPublic(method.getModifiers()) in getTestMethodNames() 283 && method.getReturnType().equals(Void.TYPE) in getTestMethodNames() 284 && method.getParameterTypes().length == 0 in getTestMethodNames() 285 && method.getName().startsWith("test")) { in getTestMethodNames() 287 if (theClass.equals(method.getDeclaringClass())) { in getTestMethodNames() 288 overridenMethod.add(method.getName()); in getTestMethodNames() 292 theClass.getPackage().getName(), theClass, method)) { in getTestMethodNames() 293 mMethodNames.addElement(method.getName()); in getTestMethodNames()
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | IHttpHelper.java | 172 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument 183 public HttpURLConnection createXmlConnection(URL url, String method) throws IOException; in createXmlConnection() argument 193 public HttpURLConnection createJsonConnection(URL url, String method) throws IOException; in createJsonConnection() argument
|
/tools/dexter/testdata/expected/ |
D | entry_hooks.asm | 2 method Base.<init>():void label 15 method Base.foo(int, java.lang.String):int label 55 method Derived.<init>():void label 68 method Derived.foo(int, java.lang.String):int label 110 method Target.<init>():void label 123 method Target.main(java.lang.String[]):void label 159 method Target.test():int label 191 method Target.foo(int):int label 208 method Target.foo(int, int):int label 227 method Target.foo(int, java.lang.String):int label [all …]
|
D | hello_nodebug.asm | 2 method Base$Inner.<init>(Base):void label 14 method Base$Nested.<init>():void label 22 method Base.<init>():void label 30 method Base.test(int):void label 53 method Derived.<init>():void label 61 method Derived.test(int):void label 83 method Hello.<init>():void label 91 method Hello.main(java.lang.String[]):void label 136 method Hello.printStackTrace():void label
|
D | entry_hooks.rewrite | 2 method Base.<init>():void 15 method Base.foo(int, java.lang.String):int 55 method Derived.<init>():void 68 method Derived.foo(int, java.lang.String):int 110 method Target.<init>():void 123 method Target.main(java.lang.String[]):void 159 method Target.test():int 191 method Target.foo(int):int 208 method Target.foo(int, int):int 227 method Target.foo(int, java.lang.String):int [all …]
|
D | hello.asm | 2 method Base$Inner.<init>(Base):void label 21 method Base$Nested.<init>():void label 34 method Base.<init>():void label 47 method Base.test(int):void label 79 method Derived.<init>():void label 92 method Derived.test(int):void label 122 method Hello.<init>():void label 135 method Hello.main(java.lang.String[]):void label 195 method Hello.printStackTrace():void label 251 method Hello.wrapTest(Base, int):void label
|
D | exit_hooks.asm | 2 method Target.<init>():void label 15 method Target.main(java.lang.String[]):void label 37 method Target.test():void label 126 method Target.testDouble(int):double label 169 method Target.testInt(int):int label 213 method Target.testObject(boolean):java.lang.Object label 247 method Target.testVoid(boolean):void label 283 method Tracer.<init>():void label 296 method Tracer.onExit(double):double label 327 method Tracer.onExit(int):int label [all …]
|
/tools/dexter/slicer/ |
D | dex_ir.cc | 57 MethodKey MethodsHasher::GetKey(const EncodedMethod* method) const { in GetKey() 59 method_key.class_descriptor = method->decl->parent->descriptor; in GetKey() 60 method_key.method_name = method->decl->name; in GetKey() 61 method_key.prototype = method->decl->prototype; in GetKey() 71 bool MethodsHasher::Compare(const MethodKey& method_key, const EncodedMethod* method) const { in Compare() 72 return method_key.class_descriptor == method->decl->parent->descriptor && in Compare() 73 method_key.method_name == method->decl->name && in Compare() 74 method_key.prototype == method->decl->prototype; in Compare()
|
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/ |
D | rpc_client.py | 183 def rpc(self, method, *args, timeout=None, retries=1): argument 206 data = {'id': ticket, 'method': method, 'params': args} 220 method, i) 245 method, result['error']) 249 self._log.error('RPC method %s with mismatched api id %s', method,
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | native.py | 52 def _rpc(self, method, *args): argument 55 data = {'id': apiid, 'method': method, 'params': args}
|