/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 | 3003 public Intent(Context packageContext, Class<?> cls) { in Intent() argument 3004 mComponent = new ComponentName(packageContext, cls); in Intent() 3031 Context packageContext, Class<?> cls) { in Intent() argument 3034 mComponent = new ComponentName(packageContext, cls); in Intent() 3298 String cls = uri.substring(sep + 1, j); in getIntentOld() local 3299 intent.mComponent = new ComponentName(pkg, cls); in getIntentOld() 5280 public Intent setClass(Context packageContext, Class<?> cls) { in setClass() argument 5281 mComponent = new ComponentName(packageContext, cls); in setClass()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | DebugUtils.java | 23 public static void buildShortClassTag(Object cls, StringBuilder out) { in buildShortClassTag() argument 24 if (cls == null) { in buildShortClassTag() 27 String simpleName = cls.getClass().getSimpleName(); in buildShortClassTag() 29 simpleName = cls.getClass().getName(); in buildShortClassTag() 37 out.append(Integer.toHexString(System.identityHashCode(cls))); in buildShortClassTag()
|
/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/base/core/jni/ |
D | android_net_NetUtils.cpp | 136 jclass cls = env->FindClass("java/net/InetAddress"); in android_net_utils_runDhcpCommon() local 137 jmethodID method = env->GetStaticMethodID(cls, "getByName", in android_net_utils_runDhcpCommon() 141 jobject inetAddressObject = env->CallStaticObjectMethodA(cls, method, args); in android_net_utils_runDhcpCommon() 144 cls = env->FindClass("android/net/RouteInfo"); in android_net_utils_runDhcpCommon() 145 method = env->GetMethodID(cls, "<init>", "(Ljava/net/InetAddress;)V"); in android_net_utils_runDhcpCommon() 147 jobject routeInfoObject = env->NewObjectA(cls, method, args); in android_net_utils_runDhcpCommon() 149 cls = env->FindClass("android/net/DhcpInfoInternal"); in android_net_utils_runDhcpCommon() 150 method = env->GetMethodID(cls, "addRoute", "(Landroid/net/RouteInfo;)V"); in android_net_utils_runDhcpCommon()
|
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() 1458 jclass cls = env->FindClass("java/lang/String"); in android_content_AssetManager_getArrayStringResource() local 1459 LOG_FATAL_IF(cls == NULL, "No string class?!?"); in android_content_AssetManager_getArrayStringResource() 1460 if (cls == NULL) { in android_content_AssetManager_getArrayStringResource() 1470 jobjectArray array = env->NewObjectArray(N, cls, NULL); in android_content_AssetManager_getArrayStringResource()
|
/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/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 | 463 String cls, ActivityResult result, boolean block) { in ActivityMonitor() argument 465 mClass = cls; in ActivityMonitor() 565 String cls = null; in match() local 567 cls = activity.getClass().getName(); in match() 569 cls = intent.getComponent().getClassName(); in match() 571 if (cls == null || !mClass.equals(cls)) { in match() 645 String cls, ActivityResult result, boolean block) { in addMonitor() argument 646 ActivityMonitor am = new ActivityMonitor(cls, result, block); in addMonitor()
|
D | Activity.java | 3942 final String cls = mComponent.getClassName(); in getLocalClassName() local 3944 if (!cls.startsWith(pkg) || cls.length() <= packageLen in getLocalClassName() 3945 || cls.charAt(packageLen) != '.') { in getLocalClassName() 3946 return cls; in getLocalClassName() 3948 return cls.substring(packageLen+1); in getLocalClassName()
|
D | IActivityManager.java | 259 public void startRunning(String pkg, String cls, String action, in startRunning() argument
|
D | ActivityManagerNative.java | 1042 String cls = data.readString(); in onTransact() local 1045 startRunning(pkg, cls, action, indata); in onTransact() 2833 public void startRunning(String pkg, String cls, String action, in startRunning() argument 2839 data.writeString(cls); in startRunning()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 1109 String cls = parser.getAttributeValue(null, "class"); in loadBookmarks() local 1114 Log.w(TAG, "Unable to get shortcut for: " + pkg + "/" + cls); in loadBookmarks() 1118 ComponentName cn = new ComponentName(pkg, cls); in loadBookmarks() 1124 cn = new ComponentName(packages[0], cls); in loadBookmarks() 1128 Log.w(TAG, "Unable to add bookmark: " + pkg + "/" + cls, e); in loadBookmarks()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 925 public static long countInstancesOfClass(Class cls) { in countInstancesOfClass() argument 926 return VMDebug.countInstancesOfClass(cls, true); in countInstancesOfClass()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginManager.java | 181 Class<?> cls = getPluginClass(serviceInfo.packageName, serviceInfo.name); in getPluginDirectories() local
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityStack.java | 441 ComponentName cls = intent.getComponent(); in findTaskLocked() local 443 cls = new ComponentName(info.packageName, info.targetActivity); in findTaskLocked() 463 && r.task.intent.getComponent().equals(cls)) { in findTaskLocked() 469 && r.task.affinityIntent.getComponent().equals(cls)) { in findTaskLocked() 487 ComponentName cls = intent.getComponent(); in findActivityLocked() local 489 cls = new ComponentName(info.packageName, info.targetActivity); in findActivityLocked() 496 if (r.intent.getComponent().equals(cls)) { in findActivityLocked()
|
D | ActivityManagerService.java | 6543 public final void startRunning(String pkg, String cls, String action, in startRunning() argument 6550 mTopComponent = pkg != null && cls != null in startRunning() 6551 ? new ComponentName(pkg, cls) : null; in startRunning() 6619 String cls = dis.readUTF(); in readLastDonePreBootReceivers() local 6620 lastDoneReceivers.add(new ComponentName(pkg, cls)); in readLastDonePreBootReceivers() 8763 String cls = comp.getClassName(); in dumpProvidersLocked() local 8764 int end = cls.lastIndexOf('.'); in dumpProvidersLocked() 8765 if (end > 0 && end < (cls.length()-2)) { in dumpProvidersLocked() 8766 cls = cls.substring(end+1); in dumpProvidersLocked() 8771 pw.print(" * "); pw.print(cls); pw.print(" ("); in dumpProvidersLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1266 String cls = clsSeq.toString(); in buildClassName() local 1267 char c = cls.charAt(0); in buildClassName() 1269 return (pkg + cls).intern(); in buildClassName() 1271 if (cls.indexOf('.') < 0) { in buildClassName() 1274 b.append(cls); in buildClassName() 1278 return cls.intern(); in buildClassName() 1280 outError[0] = "Bad class name " + cls + " in package " + pkg; in buildClassName()
|
/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorMain.cpp | 2318 jclass cls = env->GetObjectClass(callback); in videoEditor_getPixelsList() local 2319 jmethodID mid = env->GetMethodID(cls, "onThumbnail", "(I)V"); in videoEditor_getPixelsList()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 3587 final int cls = type & EditorInfo.TYPE_MASK_CLASS; in setInputType() local 3589 if (cls == EditorInfo.TYPE_CLASS_TEXT) { in setInputType() 3602 } else if (cls == EditorInfo.TYPE_CLASS_NUMBER) { in setInputType() 3606 } else if (cls == EditorInfo.TYPE_CLASS_DATETIME) { in setInputType() 3618 } else if (cls == EditorInfo.TYPE_CLASS_PHONE) { in setInputType()
|
/frameworks/base/tests/DumpRenderTree/assets/results/ |
D | layout_tests_nontext.txt | 184 /sdcard/android/layout_tests/css2.1/t060403-c21-pseu-cls-00-e-i.html
|