/frameworks/opt/net/wifi/service/jni/ |
D | jni_helper.cpp | 52 jclass cls = (env)->GetObjectClass(obj); in getBoolField() local 53 jfieldID field = (env)->GetFieldID(cls, name, "Z"); in getBoolField() 60 env->DeleteLocalRef(cls); in getBoolField() 66 jclass cls = (env)->GetObjectClass(obj); in getIntField() local 67 jfieldID field = (env)->GetFieldID(cls, name, "I"); in getIntField() 74 env->DeleteLocalRef(cls); in getIntField() 80 jclass cls = (env)->GetObjectClass(obj); in getLongField() local 81 jfieldID field = (env)->GetFieldID(cls, name, "J"); in getLongField() 88 env->DeleteLocalRef(cls); in getLongField() 94 jclass cls = (env)->GetObjectClass(obj); in getStaticLongField() local [all …]
|
D | com_android_server_wifi_WifiNative.cpp | 161 static wifi_handle getWifiHandle(JNIEnv *env, jclass cls) { in getWifiHandle() argument 162 return (wifi_handle) getStaticLongField(env, cls, WifiHandleVarName); in getWifiHandle() 165 static wifi_interface_handle getIfaceHandle(JNIEnv *env, jclass cls, jint index) { in getIfaceHandle() argument 166 return (wifi_interface_handle) getStaticLongArrayField(env, cls, WifiIfaceHandleVarName, index); in getIfaceHandle() 195 static jboolean android_net_wifi_startHal(JNIEnv* env, jclass cls) { in android_net_wifi_startHal() argument 196 wifi_handle halHandle = getWifiHandle(env, cls); in android_net_wifi_startHal() 201 setStaticLongField(env, cls, WifiHandleVarName, (jlong)halHandle); in android_net_wifi_startHal() 205 mCls = (jclass) env->NewGlobalRef(cls); in android_net_wifi_startHal() 223 static void android_net_wifi_stopHal(JNIEnv* env, jclass cls) { in android_net_wifi_stopHal() argument 225 wifi_handle halHandle = getWifiHandle(env, cls); in android_net_wifi_stopHal() [all …]
|
D | jni_helper.h | 18 void reportEvent(JNIEnv *env, jclass cls, const char *method, const char *signature, ...); 23 jlong getStaticLongField(JNIEnv *env, jclass cls, const char *name); 25 void setStaticLongField(JNIEnv *env, jclass cls, const char *name, jlong value); 27 jlong getStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, int index);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ClassPresenterSelector.java | 26 public void addClassPresenter(Class<?> cls, Presenter presenter) { in addClassPresenter() argument 27 mClassMap.put(cls, presenter); in addClassPresenter() 32 Class<?> cls = item.getClass(); in getPresenter() local 36 presenter = mClassMap.get(cls); in getPresenter() 37 cls = cls.getSuperclass(); in getPresenter() 38 } while (presenter == null && cls != null); in getPresenter()
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 47 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 …]
|
D | Intent.java | 3995 public Intent(Context packageContext, Class<?> cls) { in Intent() argument 3996 mComponent = new ComponentName(packageContext, cls); in Intent() 4023 Context packageContext, Class<?> cls) { in Intent() argument 4026 mComponent = new ComponentName(packageContext, cls); in Intent() 4336 String cls = uri.substring(sep + 1, j); in getIntentOld() local 4337 intent.mComponent = new ComponentName(pkg, cls); in getIntentOld() 6560 public Intent setClass(Context packageContext, Class<?> cls) { in setClass() argument 6561 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 | 108 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/ |
D | InstrumentationUtils.java | 35 public static int getMenuIdentifier(Class cls, String identifier) { in getMenuIdentifier() argument 38 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls); in getMenuIdentifier()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.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, reinterpret_cast<jlong>(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, reinterpret_cast<jlong>(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/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, reinterpret_cast<jlong>(handle)); in toEGLHandle()
|
D | android_opengl_EGL14.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, reinterpret_cast<jlong>(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/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | SystemBars.java | 93 Class<?> cls = null; in createStatusBarFromConfig() local 95 cls = mContext.getClassLoader().loadClass(clsName); in createStatusBarFromConfig() 100 mStatusBar = (BaseStatusBar) cls.newInstance(); in createStatusBarFromConfig()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | Intents.java | 90 Context context, Class<? extends Activity> cls) { in newPhotoViewIntentBuilder() argument 91 return new PhotoViewIntentBuilder(context, cls); in newPhotoViewIntentBuilder() 139 private PhotoViewIntentBuilder(Context context, Class<?> cls) { in PhotoViewIntentBuilder() argument 140 mIntent = new Intent(context, cls); in PhotoViewIntentBuilder()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 476 String cls, ActivityResult result, boolean block) { in ActivityMonitor() argument 478 mClass = cls; in ActivityMonitor() 578 String cls = null; in match() local 580 cls = activity.getClass().getName(); in match() 582 cls = intent.getComponent().getClassName(); in match() 584 if (cls == null || !mClass.equals(cls)) { in match() 658 String cls, ActivityResult result, boolean block) { in addMonitor() argument 659 ActivityMonitor am = new ActivityMonitor(cls, result, block); in addMonitor()
|
D | Activity.java | 4942 final String cls = mComponent.getClassName(); in getLocalClassName() local 4944 if (!cls.startsWith(pkg) || cls.length() <= packageLen in getLocalClassName() 4945 || cls.charAt(packageLen) != '.') { in getLocalClassName() 4946 return cls; in getLocalClassName() 4948 return cls.substring(packageLen+1); in getLocalClassName()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 358 Class<?> cls = SharedPreferences.Editor.class; 359 sApplyMethod = cls.getMethod("apply");
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 1198 public static long countInstancesOfClass(Class cls) { in countInstancesOfClass() argument 1199 return VMDebug.countInstancesOfClass(cls, true); in countInstancesOfClass()
|
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 343 static int audit_callback(void *data, security_class_t cls, char *buf, size_t len) in audit_callback() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | DatabaseHelper.java | 2064 String cls = parser.getAttributeValue(null, "class"); in loadBookmarks() local 2070 Log.w(TAG, "Unable to get shortcut for: " + pkg + "/" + cls); in loadBookmarks() 2076 if (pkg != null && cls != null) { in loadBookmarks() 2078 ComponentName cn = new ComponentName(pkg, cls); in loadBookmarks() 2084 cn = new ComponentName(packages[0], cls); in loadBookmarks() 2088 Log.w(TAG, "Unable to add bookmark: " + pkg + "/" + cls, e); in loadBookmarks()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStack.java | 507 ComponentName cls = intent.getComponent(); in findTaskLocked() local 509 cls = new ComponentName(info.packageName, info.targetActivity); in findTaskLocked() 561 taskIntent.getComponent().compareTo(cls) == 0 && in findTaskLocked() 569 affinityIntent.getComponent().compareTo(cls) == 0 && in findTaskLocked() 590 ComponentName cls = intent.getComponent(); in findActivityLocked() local 592 cls = new ComponentName(info.packageName, info.targetActivity); in findActivityLocked() 604 if (!r.finishing && r.intent.getComponent().equals(cls) && r.userId == userId) { in findActivityLocked()
|