Home
last modified time | relevance | path

Searched refs:def (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/api/src/com/android/cts/api/
DApprovedApis.java67 .forEach(def -> System.err.println(" Defined class: " + def.getName())); in ApprovedApis()
70 .forEach(def -> System.err in ApprovedApis()
71 .println(" Defined method: " + def.getFullSignature())); in ApprovedApis()
74 .forEach(def -> System.err in ApprovedApis()
75 .println(" Defined field: " + def.getFullSignature())); in ApprovedApis()
122 private static DefinedClass definedClassFrom(ClassInfo def) { in definedClassFrom() argument
123 String name = def.qualifiedName(); in definedClassFrom()
124 String superClassName = def.superclassName(); in definedClassFrom()
125 Collection<String> interfaces = def.interfaces().stream().map(ClassInfo::qualifiedName) in definedClassFrom()
129 def.allConstructors().size() + def.selfMethods().size()); in definedClassFrom()
[all …]
DDexAnalyzer.java273 .forEach(def -> System.err.println(" Defined class: " + def.getName())); in DexAnalyzer()
276 .forEach(def -> System.err in DexAnalyzer()
277 .println(" Defined method: " + def.getFullSignature())); in DexAnalyzer()
280 .forEach(def -> System.err in DexAnalyzer()
281 .println(" Defined field: " + def.getFullSignature())); in DexAnalyzer()
517 private static DefinedClass definedClassFrom(DexBackedClassDef def) { in definedClassFrom() argument
518 String name = toCanonicalName(def.getType()); in definedClassFrom()
519 String superClassName = toCanonicalName(def.getSuperclass()); in definedClassFrom()
520 Collection<String> interfaceNames = def.getInterfaces().stream() in definedClassFrom()
525 .stream(def.getMethods().spliterator(), false /* parallel */) in definedClassFrom()
[all …]
/cts/hostsidetests/jvmti/base/jni/
Dredefine.cpp36 jvmtiClassDefinition def; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() local
37 def.klass = target; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
38 def.class_byte_count = static_cast<jint>(env->GetArrayLength(dex_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
40 jvmtiError res =jvmti_env->Allocate(def.class_byte_count, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
41 const_cast<unsigned char**>(&def.class_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
45 memcpy(const_cast<unsigned char*>(def.class_bytes), redef_bytes, def.class_byte_count); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
48 res = jvmti_env->RedefineClasses(1, &def); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
/cts/common/device-side/device-info/src_stub/android/os/
DSystemProperties.java8 public static String get(String key, String def) { return null; } in get() argument
/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java425 View def = activity.findViewById(R.id.focusabledefault); in testFocusAuto() local
432 assertFalse(def.isFocusable()); in testFocusAuto()