/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 45 public ComponentName(String pkg, String cls) { in ComponentName() argument 47 if (cls == null) throw new NullPointerException("class name is null"); in ComponentName() 49 mClass = cls; in ComponentName() 60 public ComponentName(Context pkg, String cls) { in ComponentName() argument 61 if (cls == null) throw new NullPointerException("class name is null"); in ComponentName() 63 mClass = cls; in ComponentName() 74 public ComponentName(Context pkg, Class<?> cls) { in ComponentName() argument 76 mClass = cls.getName(); in ComponentName() 165 String cls = str.substring(sep+1); in unflattenFromString() local 166 if (cls.length() > 0 && cls.charAt(0) == '.') { in unflattenFromString() [all …]
|
D | Intent.java | 3661 public Intent(Context packageContext, Class<?> cls) { in Intent() argument 3662 mComponent = new ComponentName(packageContext, cls); in Intent() 3689 Context packageContext, Class<?> cls) { in Intent() argument 3692 mComponent = new ComponentName(packageContext, cls); in Intent() 4002 String cls = uri.substring(sep + 1, j); in getIntentOld() local 4003 intent.mComponent = new ComponentName(pkg, cls); in getIntentOld() 6175 public Intent setClass(Context packageContext, Class<?> cls) { in setClass() argument 6176 mComponent = new ComponentName(packageContext, cls); in setClass()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | DebugUtils.java | 27 public static void buildShortClassTag(Object cls, StringBuilder out) { in buildShortClassTag() argument 28 if (cls == null) { in buildShortClassTag() 31 String simpleName = cls.getClass().getSimpleName(); in buildShortClassTag() 33 simpleName = cls.getClass().getName(); in buildShortClassTag() 41 out.append(Integer.toHexString(System.identityHashCode(cls))); in buildShortClassTag()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_util.h | 131 jclass cls = env->GetObjectClass(j_object); in GetObjectID() local 132 jfieldID id_field = env->GetFieldID(cls, id_field_name_.c_str(), "I"); in GetObjectID() 134 env->DeleteLocalRef(cls); in GetObjectID() 143 jclass cls = env->GetObjectClass(j_object); in WrapObject() local 144 jfieldID id_field = env->GetFieldID(cls, id_field_name_.c_str(), "I"); in WrapObject() 146 env->DeleteLocalRef(cls); in WrapObject() 166 jclass cls = env->FindClass(jclass_name_.c_str()); in CreateJavaObject() local 168 cls, in CreateJavaObject() 171 jobject result = env->NewObject(cls, constructor, JNI_NULL); in CreateJavaObject() 172 env->DeleteLocalRef(cls); in CreateJavaObject()
|
/frameworks/base/core/java/android/util/ |
D | DebugUtils.java | 107 public static void buildShortClassTag(Object cls, StringBuilder out) { in buildShortClassTag() argument 108 if (cls == null) { in buildShortClassTag() 111 String simpleName = cls.getClass().getSimpleName(); in buildShortClassTag() 113 simpleName = cls.getClass().getName(); in buildShortClassTag() 121 out.append(Integer.toHexString(System.identityHashCode(cls))); in buildShortClassTag()
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationUtils.java | 37 public static int getMenuIdentifier(Class cls, String identifier) { in getMenuIdentifier() argument 40 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls); in getMenuIdentifier()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 114 if (cls == eglcontextClass && in toEGLHandle() 119 if (cls == egldisplayClass && in toEGLHandle() 124 if (cls == eglsurfaceClass && in toEGLHandle() 129 return _env->NewObject(cls, con, (jint)handle); in toEGLHandle()
|
D | EGLExtcHeader.cpp | 114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 115 if (cls == eglcontextClass && in toEGLHandle() 120 if (cls == egldisplayClass && in toEGLHandle() 125 if (cls == eglsurfaceClass && in toEGLHandle() 130 return _env->NewObject(cls, con, (jint)handle); in toEGLHandle()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | ClientTest.java | 63 EditText cls = (EditText) findViewById(R.id.cls); in onCreate() 73 cls.getText().toString(), in onCreate() 83 cls.getText().toString(), in onCreate() 99 EditText cls = (EditText) findViewById(R.id.cls); in onCreate() 108 cls.getText().toString()); in onCreate()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 62 Context context, Class<? extends Activity> cls) { in newPhotoViewIntentBuilder() argument 63 return new PhotoViewIntentBuilder(context, cls); in newPhotoViewIntentBuilder() 85 private PhotoViewIntentBuilder(Context context, Class<?> cls) { in PhotoViewIntentBuilder() argument 86 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder()
|
/frameworks/base/core/jni/ |
D | android_opengl_EGLExt.cpp | 114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 115 if (cls == eglcontextClass && in toEGLHandle() 120 if (cls == egldisplayClass && in toEGLHandle() 125 if (cls == eglsurfaceClass && in toEGLHandle() 130 return _env->NewObject(cls, con, (jint)handle); in toEGLHandle()
|
D | android_util_AssetManager.cpp | 296 jclass cls = env->FindClass("java/lang/String"); in android_content_AssetManager_list() local 297 LOG_FATAL_IF(cls == NULL, "No string class?!?"); in android_content_AssetManager_list() 298 if (cls == NULL) { in android_content_AssetManager_list() 306 cls, NULL); in android_content_AssetManager_list() 1462 jclass cls = env->FindClass("java/lang/String"); in android_content_AssetManager_getArrayStringResource() local 1463 LOG_FATAL_IF(cls == NULL, "No string class?!?"); in android_content_AssetManager_getArrayStringResource() 1464 if (cls == NULL) { in android_content_AssetManager_getArrayStringResource() 1474 jobjectArray array = env->NewObjectArray(N, cls, NULL); in android_content_AssetManager_getArrayStringResource()
|
D | android_opengl_EGL14.cpp | 113 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 114 if (cls == eglcontextClass && in toEGLHandle() 119 if (cls == egldisplayClass && in toEGLHandle() 124 if (cls == eglsurfaceClass && in toEGLHandle() 129 return _env->NewObject(cls, con, (jint)handle); in toEGLHandle()
|
/frameworks/ex/common/java/com/android/common/ |
D | SharedPreferencesCompat.java | 32 Class cls = SharedPreferences.Editor.class; 33 sApplyMethod = cls.getMethod("apply");
|
/frameworks/base/media/libdrm/mobile1/src/jni/ |
D | drm1_jni.c | 211 jclass cls; in getInputStreamDataLength() local 227 cls = (*env)->GetObjectClass(env, *pInputStream); in getInputStreamDataLength() 228 mid = (*env)->GetMethodID(env, cls, "available", "()I"); in getInputStreamDataLength() 229 (*env)->DeleteLocalRef(env, cls); in getInputStreamDataLength() 246 jclass cls; in readInputStreamData() local 264 cls = (*env)->GetObjectClass(env, *pInputStream); in readInputStreamData() 265 mid = (*env)->GetMethodID(env, cls, "read", "([BII)I"); in readInputStreamData() 269 (*env)->DeleteLocalRef(env, cls); in readInputStreamData() 656 jclass cls; in Java_android_drm_mobile1_DrmRawContent_nativeReadContent() local 682 cls = (*env)->GetObjectClass(env, rawContent); in Java_android_drm_mobile1_DrmRawContent_nativeReadContent() [all …]
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 472 String cls, ActivityResult result, boolean block) { in ActivityMonitor() argument 474 mClass = cls; in ActivityMonitor() 574 String cls = null; in match() local 576 cls = activity.getClass().getName(); in match() 578 cls = intent.getComponent().getClassName(); in match() 580 if (cls == null || !mClass.equals(cls)) { in match() 654 String cls, ActivityResult result, boolean block) { in addMonitor() argument 655 ActivityMonitor am = new ActivityMonitor(cls, result, block); in addMonitor()
|
D | Activity.java | 4445 final String cls = mComponent.getClassName(); in getLocalClassName() local 4447 if (!cls.startsWith(pkg) || cls.length() <= packageLen in getLocalClassName() 4448 || cls.charAt(packageLen) != '.') { in getLocalClassName() 4449 return cls; in getLocalClassName() 4451 return cls.substring(packageLen+1); in getLocalClassName()
|
D | IActivityManager.java | 236 public void startRunning(String pkg, String cls, String action, in startRunning() argument
|
D | ActivityManagerNative.java | 1199 String cls = data.readString(); in onTransact() local 1202 startRunning(pkg, cls, action, indata); in onTransact() 3382 public void startRunning(String pkg, String cls, String action, in startRunning() argument 3388 data.writeString(cls); in startRunning()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginManager.java | 181 Class<?> cls = getPluginClass(serviceInfo.packageName, serviceInfo.name); in getPluginDirectories() local
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 988 public static long countInstancesOfClass(Class cls) { in countInstancesOfClass() argument 989 return VMDebug.countInstancesOfClass(cls, true); in countInstancesOfClass()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 1777 String cls = parser.getAttributeValue(null, "class"); in loadBookmarks() local 1783 Log.w(TAG, "Unable to get shortcut for: " + pkg + "/" + cls); in loadBookmarks() 1789 if (pkg != null && cls != null) { in loadBookmarks() 1791 ComponentName cn = new ComponentName(pkg, cls); in loadBookmarks() 1797 cn = new ComponentName(packages[0], cls); in loadBookmarks() 1801 Log.w(TAG, "Unable to add bookmark: " + pkg + "/" + cls, e); in loadBookmarks()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityStack.java | 521 ComponentName cls = intent.getComponent(); in findTaskLocked() local 523 cls = new ComponentName(info.packageName, info.targetActivity); in findTaskLocked() 544 && r.task.intent.getComponent().equals(cls)) { in findTaskLocked() 550 && r.task.affinityIntent.getComponent().equals(cls)) { in findTaskLocked() 568 ComponentName cls = intent.getComponent(); in findActivityLocked() local 570 cls = new ComponentName(info.packageName, info.targetActivity); in findActivityLocked() 578 if (r.intent.getComponent().equals(cls) && r.userId == userId) { in findActivityLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1446 String cls = clsSeq.toString(); in buildClassName() local 1447 char c = cls.charAt(0); in buildClassName() 1449 return (pkg + cls).intern(); in buildClassName() 1451 if (cls.indexOf('.') < 0) { in buildClassName() 1454 b.append(cls); in buildClassName() 1458 return cls.intern(); in buildClassName() 1460 outError[0] = "Bad class name " + cls + " in package " + pkg; in buildClassName()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 4028 final int cls = type & EditorInfo.TYPE_MASK_CLASS; in setInputType() local 4030 if (cls == EditorInfo.TYPE_CLASS_TEXT) { in setInputType() 4043 } else if (cls == EditorInfo.TYPE_CLASS_NUMBER) { in setInputType() 4047 } else if (cls == EditorInfo.TYPE_CLASS_DATETIME) { in setInputType() 4059 } else if (cls == EditorInfo.TYPE_CLASS_PHONE) { in setInputType()
|