Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/android/content/
DComponentName.java47 public ComponentName(String pkg, String cls) { in ComponentName() argument
49 if (cls == null) throw new NullPointerException("class name is null"); in ComponentName()
51 mClass = cls; in ComponentName()
62 public ComponentName(Context pkg, String cls) { in ComponentName() argument
63 if (cls == null) throw new NullPointerException("class name is null"); in ComponentName()
65 mClass = cls; in ComponentName()
76 public ComponentName(Context pkg, Class<?> cls) { in ComponentName() argument
78 mClass = cls.getName(); in ComponentName()
213 String cls = str.substring(sep+1); in unflattenFromString() local
214 if (cls.length() > 0 && cls.charAt(0) == '.') { in unflattenFromString()
[all …]
DIntent.java3812 public Intent(Context packageContext, Class<?> cls) { in Intent() argument
3813 mComponent = new ComponentName(packageContext, cls); in Intent()
3840 Context packageContext, Class<?> cls) { in Intent() argument
3843 mComponent = new ComponentName(packageContext, cls); in Intent()
4153 String cls = uri.substring(sep + 1, j); in getIntentOld() local
4154 intent.mComponent = new ComponentName(pkg, cls); in getIntentOld()
6359 public Intent setClass(Context packageContext, Class<?> cls) { in setClass() argument
6360 mComponent = new ComponentName(packageContext, cls); in setClass()
/frameworks/support/v4/java/android/support/v4/util/
DDebugUtils.java27 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/
Djni_util.h131 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/
DDebugUtils.java108 public static void buildShortClassTag(Object cls, StringBuilder out) { in buildShortClassTag() argument
109 if (cls == null) { in buildShortClassTag()
112 String simpleName = cls.getClass().getSimpleName(); in buildShortClassTag()
114 simpleName = cls.getClass().getName(); in buildShortClassTag()
122 out.append(Integer.toHexString(System.identityHashCode(cls))); in buildShortClassTag()
/frameworks/base/test-runner/src/android/test/
DInstrumentationUtils.java37 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/
DEGL14cHeader.cpp113 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()
DEGLExtcHeader.cpp114 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/
DClientTest.java63 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/base/core/jni/
Dandroid_opengl_EGLExt.cpp114 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()
Dandroid_opengl_EGL14.cpp113 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/
DSharedPreferencesCompat.java32 Class cls = SharedPreferences.Editor.class;
33 sApplyMethod = cls.getMethod("apply");
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DIntents.java76 Context context, Class<? extends Activity> cls) { in newPhotoViewIntentBuilder() argument
77 return new PhotoViewIntentBuilder(context, cls); in newPhotoViewIntentBuilder()
119 private PhotoViewIntentBuilder(Context context, Class<?> cls) { in PhotoViewIntentBuilder() argument
120 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSystemBars.java93 Class<?> cls = null; in createStatusBarFromConfig() local
95 cls = mContext.getClassLoader().loadClass(clsName); in createStatusBarFromConfig()
100 mStatusBar = (BaseStatusBar) cls.newInstance(); in createStatusBarFromConfig()
/frameworks/base/core/java/android/app/
DInstrumentation.java472 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()
DActivity.java4485 final String cls = mComponent.getClassName(); in getLocalClassName() local
4487 if (!cls.startsWith(pkg) || cls.length() <= packageLen in getLocalClassName()
4488 || cls.charAt(packageLen) != '.') { in getLocalClassName()
4489 return cls; in getLocalClassName()
4491 return cls.substring(packageLen+1); in getLocalClassName()
DIActivityManager.java253 public void startRunning(String pkg, String cls, String action, in startRunning() argument
DActivityManagerNative.java1299 String cls = data.readString(); in onTransact() local
1302 startRunning(pkg, cls, action, indata); in onTransact()
3676 public void startRunning(String pkg, String cls, String action, in startRunning() argument
3682 data.writeString(cls); in startRunning()
/frameworks/base/core/java/android/os/
DDebug.java1172 public static long countInstancesOfClass(Class cls) { in countInstancesOfClass() argument
1173 return VMDebug.countInstancesOfClass(cls, true); in countInstancesOfClass()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1796 String cls = parser.getAttributeValue(null, "class"); in loadBookmarks() local
1802 Log.w(TAG, "Unable to get shortcut for: " + pkg + "/" + cls); in loadBookmarks()
1808 if (pkg != null && cls != null) { in loadBookmarks()
1810 ComponentName cn = new ComponentName(pkg, cls); in loadBookmarks()
1816 cn = new ComponentName(packages[0], cls); in loadBookmarks()
1820 Log.w(TAG, "Unable to add bookmark: " + pkg + "/" + cls, e); in loadBookmarks()
/frameworks/base/services/java/com/android/server/am/
DActivityStack.java475 ComponentName cls = intent.getComponent(); in findTaskLocked() local
477 cls = new ComponentName(info.packageName, info.targetActivity); in findTaskLocked()
505 } else if (task.intent != null && task.intent.getComponent().equals(cls)) { in findTaskLocked()
512 && task.affinityIntent.getComponent().equals(cls)) { in findTaskLocked()
532 ComponentName cls = intent.getComponent(); in findActivityLocked() local
534 cls = new ComponentName(info.packageName, info.targetActivity); in findActivityLocked()
546 if (!r.finishing && r.intent.getComponent().equals(cls) && r.userId == userId) { in findActivityLocked()
DActivityManagerService.java9058 public final void startRunning(String pkg, String cls, String action,
9065 mTopComponent = pkg != null && cls != null
9066 ? new ComponentName(pkg, cls) : null;
9141 String cls = dis.readUTF();
9142 lastDoneReceivers.add(new ComponentName(pkg, cls));
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1486 String cls = clsSeq.toString(); in buildClassName() local
1487 char c = cls.charAt(0); in buildClassName()
1489 return (pkg + cls).intern(); in buildClassName()
1491 if (cls.indexOf('.') < 0) { in buildClassName()
1494 b.append(cls); in buildClassName()
1498 return cls.intern(); in buildClassName()
1500 outError[0] = "Bad class name " + cls + " in package " + pkg; in buildClassName()
/frameworks/base/core/java/android/widget/
DTextView.java4079 final int cls = type & EditorInfo.TYPE_MASK_CLASS; in setInputType() local
4081 if (cls == EditorInfo.TYPE_CLASS_TEXT) { in setInputType()
4094 } else if (cls == EditorInfo.TYPE_CLASS_NUMBER) { in setInputType()
4098 } else if (cls == EditorInfo.TYPE_CLASS_DATETIME) { in setInputType()
4110 } else if (cls == EditorInfo.TYPE_CLASS_PHONE) { in setInputType()
/frameworks/base/media/jni/mediaeditor/
DVideoEditorMain.cpp2278 jclass cls = env->GetObjectClass(callback); in videoEditor_getPixelsList() local
2279 jmethodID mid = env->GetMethodID(cls, "onThumbnail", "(I)V"); in videoEditor_getPixelsList()