Searched refs:className (Results 1 - 25 of 184) sorted by relevance

12345678

/frameworks/ex/framesequence/jni/
H A DJNIHelpers.cpp20 void jniThrowException(JNIEnv* env, const char* className, const char* msg) { argument
21 jclass clazz = env->FindClass(className);
23 ALOGE("Unable to find exception class %s", className);
29 ALOGE("Failed throwing '%s' '%s'", className, msg);
H A DJNIHelpers.h26 void jniThrowException(JNIEnv* env, const char* className, const char* msg);
/frameworks/base/services/core/java/com/android/server/pm/
H A DIntentFilterVerificationKey.java28 public String className; field in class:IntentFilterVerificationKey
30 public IntentFilterVerificationKey(String[] domains, String packageName, String className) { argument
37 this.className = className;
48 if (className != null ? !className.equals(that.className) : that.className != null)
60 result = 31 * result + (className != null ? className
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatLog.java29 String className = caller.getClass().getName();
30 Rlog.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": "
42 String className = caller.getClass().getName();
43 Rlog.e("CAT", className.substring(className.lastIndexOf('.') + 1) + ": "
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelAnalyzer.java115 public abstract ModelClass loadPrimitive(String className); argument
132 * Takes a raw className (potentially w/ generics and arrays) and expands definitions using
140 public String applyImports(String className, Map<String, String> imports) { argument
141 className = className.trim();
145 while (className.endsWith("[]")) {
147 className = className.substring(0, className.length() - 2);
150 final int lastCharIndex = className
188 getDefaultValue(String className) argument
216 findClass(String className, Map<String, String> imports) argument
301 loadClassErasure(String className) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTestRunner.java153 void started(String className); argument
154 void finished(String className); argument
155 void performance(String className, argument
158 void passed(String className); argument
159 void failed(String className, Throwable execption); argument
181 private void started(String className) { argument
185 mListeners.get(i).started(className);
189 private void finished(String className) { argument
192 mListeners.get(i).finished(className);
196 private void performance(String className, argument
209 passed(String className) argument
217 failed(String className, Throwable exception) argument
271 missingTest(String className, Throwable e) argument
281 run(String className) argument
395 runInPerformanceMode(Object testCase, String className, boolean junitTest, String testNameInDb) argument
483 runSingleJunitTest(String className) argument
549 getChildrenMethod(Context c, String className) argument
557 getChildren(Context c, String className) argument
594 getTestChildren(Context c, String className) argument
653 isTestSuite(Context c, String className) argument
669 isJunitTest(String className) argument
687 countTests(Context c, String className) argument
717 getTitle(String className) argument
[all...]
H A DTestPrinter.java49 public void started(String className) { argument
51 Log.i(mTag, "started: " + className);
55 public void finished(String className) { argument
57 Log.i(mTag, "finished: " + className);
61 public void performance(String className, argument
64 Log.i(mTag, "perf: " + className + " = " + itemTimeNS + "ns/op (done "
76 public void passed(String className) { argument
78 Log.i(mTag, "passed: " + className);
82 public void failed(String className, Throwable exception) { argument
83 Log.i(mTag, "failed: " + className);
[all...]
H A DClassPathPackageInfoSource.java81 for (String className : classNames) {
82 if (className.endsWith(".R") || className.endsWith(".Manifest")) {
89 topLevelClasses.add(Class.forName(className, false,
95 + "Make sure it is in your apk. Class name: '" + className
216 String className = apkClassNames.nextElement();
218 if (className.startsWith(packageName)) {
220 int lastPackageSeparator = className.lastIndexOf('.');
222 subPackageName = className.substring(0, lastPackageSeparator);
226 } else if (isToplevelClass(className)) {
295 getClassName(String className) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DSearchIndexableResource.java48 * @param className the class name associated with the data (generally a
52 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { argument
56 this.className = className;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
H A DAnnotationAnalyzer.java77 public AnnotationClass loadPrimitive(String className) { argument
78 TypeKind typeKind = PRIMITIVE_TYPES.get(className);
88 public AnnotationClass findClass(String className, Map<String, String> imports) { argument
89 className = className.trim();
91 while (className.endsWith("[]")) {
93 className = className.substring(0, className.length() - 2);
95 AnnotationClass primitive = loadPrimitive(className);
143 getTypeElement(String className, Map<String, String> imports) argument
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java52 for (String className : classNames) {
53 addTestClass(className);
62 * @param className classes must be subclass of {@link UiAutomatorTestCase}
65 public void addTestClass(String className) throws ClassNotFoundException { argument
66 int hashPos = className.indexOf('#');
69 methodName = className.substring(hashPos + 1);
70 className = className.substring(0, hashPos);
72 addTestClass(className, methodName);
78 * @param className clas
83 addTestClass(String className, String methodName) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java116 for (String className : createInfo.getDelegateClassNatives()) {
117 className = binaryToInternalClassName(className);
118 Set<String> methods = mDelegateMethods.get(className);
121 mDelegateMethods.put(className, methods);
156 for (String className : deleteReturns) {
158 if (className == null) {
169 renamedClass = binaryToInternalClassName(className);
177 returnTypes.add(binaryToInternalClassName(className));
196 String className
221 binaryToInternalClassName(String className) argument
316 classNameToEntryPath(String className) argument
416 transformName(String className) argument
[all...]
H A DAsmAnalyzer.java145 String className = classReaderToClassName(cr);
146 classes.put(className, cr);
176 static String internalToBinaryClassName(String className) { argument
177 if (className == null) {
180 return className.replace('/', '.');
211 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, argument
213 ClassReader classReader = zipClasses.get(className);
216 className, mOsSourceJar);
219 inOutFound.put(className, classReader);
282 String className
358 getOuterClassName(String className) argument
409 setClassName(String className) argument
417 considerName(String className) argument
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaAnalyzer.java60 public JavaClass loadPrimitive(String className) { argument
61 Class clazz = PRIMITIVE_TYPES.get(className);
75 public ModelClass findClass(String className, Map<String, String> imports) { argument
77 JavaClass loaded = mClassCache.get(className);
81 L.d("trying to load class %s from %s", className, mClassLoader.toString());
82 loaded = loadPrimitive(className);
85 if (className.startsWith("[") && className.contains("L")) {
86 int indexOfL = className.indexOf('L');
88 className
120 loadRecursively(String className) argument
[all...]
/frameworks/base/test-runner/src/junit/runner/
H A DLoadingTestCollector.java36 String className= classNameFromFile(classFileName);
37 if (!fLoader.isExcluded(className))
38 return fLoader.loadClass(className, false);
/frameworks/base/core/java/android/content/
H A DComponentName.java166 String className) {
167 if (className.startsWith(packageName)) {
169 int CN = className.length();
170 if (CN > PN && className.charAt(PN) == '.') {
171 sb.append(className, PN, CN);
175 sb.append(className);
179 String className) {
180 if (className.startsWith(packageName)) {
182 int CN = className.length();
183 if (CN > PN && className
165 appendShortClassName(StringBuilder sb, String packageName, String className) argument
178 printShortClassName(PrintWriter pw, String packageName, String className) argument
230 appendShortString(StringBuilder sb, String packageName, String className) argument
236 printShortString(PrintWriter pw, String packageName, String className) argument
[all...]
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
H A Dnative.cpp40 static int registerNativeMethods(JNIEnv* env, const char* className, argument
45 clazz = env->FindClass(className);
47 ALOGE("Native registration unable to find class '%s'", className);
51 ALOGE("RegisterNatives failed for '%s'", className);
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
H A Dnative.cpp40 static int registerNativeMethods(JNIEnv* env, const char* className, argument
45 clazz = env->FindClass(className);
47 ALOGE("Native registration unable to find class '%s'", className);
51 ALOGE("RegisterNatives failed for '%s'", className);
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
H A Dnative.cpp40 static int registerNativeMethods(JNIEnv* env, const char* className, argument
45 clazz = env->FindClass(className);
47 ALOGE("Native registration unable to find class '%s'", className);
51 ALOGE("RegisterNatives failed for '%s'", className);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitorTest.java36 String className =
38 ClassReader cr = new ClassReader(className);
48 String className =
50 ClassReader cr = new ClassReader(className);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DComponentWriter.java40 for (String className : classes) {
41 addGetter(builder, simpleName, className, index++);
51 private static void addGetter(StringBuilder builder, String simpleName, String className, argument
54 .append(className)
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilterFactory.java83 public boolean isFilterAvailable(String className) { argument
84 return getFilterClass(className) != null;
87 public Filter createFilterByClassName(String className, String filterName, MffContext context) { argument
88 if (mLogVerbose) Log.v(TAG, "Looking up class " + className);
89 Class<? extends Filter> filterClass = getFilterClass(className);
91 throw new IllegalArgumentException("Unknown filter class '" + className + "'!");
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableInflater.java180 private Drawable inflateFromClass(@NonNull String className) { argument
184 constructor = CONSTRUCTOR_MAP.get(className);
187 mClassLoader.loadClass(className).asSubclass(Drawable.class);
189 CONSTRUCTOR_MAP.put(className, constructor);
195 "Error inflating class " + className);
201 "Class is not a Drawable " + className);
207 "Class not found " + className);
212 "Error inflating class " + className);
/frameworks/base/tools/aapt2/java/
H A DProguardRules.h34 inline void addClass(const Source& source, const std::u16string& className) { argument
35 mKeepSet[className].insert(source);
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java200 String className = attrs.getAttributeValue(null, "class");
202 if (className == null) {
208 Constructor constructor = sConstructors.get(className);
210 Class c = mContext.getClassLoader().loadClass(className)
215 sConstructors.put(className, constructor);
222 className, e);
225 className, e);
228 className, e);
231 className, e);
234 className,
[all...]

Completed in 304 milliseconds

12345678