Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNfcJniUtil.cpp81 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object() local
82 if (cls.get() == NULL) in nfc_jni_cache_object()
88 jmethodID ctor = e->GetMethodID(cls.get(), "<init>", "()V"); in nfc_jni_cache_object()
89 ScopedLocalRef<jobject> obj(e, e->NewObject(cls.get(), ctor)); in nfc_jni_cache_object()
156 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object_local() local
157 if(cls.get() == NULL) in nfc_jni_cache_object_local()
163 jmethodID ctor = e->GetMethodID(cls.get(), "<init>", "()V"); in nfc_jni_cache_object_local()
164 jobject obj = e->NewObject(cls.get(), ctor); in nfc_jni_cache_object_local()
DNativeNfcManager.cpp545 ScopedLocalRef<jclass> cls(e, e->GetObjectClass(o)); in nfcManager_initNativeStruc() local
546 jfieldID f = e->GetFieldID(cls.get(), "mNative", "J"); in nfcManager_initNativeStruc()
550 gCachedNfcManagerNotifyNdefMessageListeners = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
552 gCachedNfcManagerNotifyLlcpLinkActivation = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
554 gCachedNfcManagerNotifyLlcpLinkDeactivated = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
556 gCachedNfcManagerNotifyLlcpFirstPacketReceived = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
559 gCachedNfcManagerNotifyHostEmuActivated = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
562 gCachedNfcManagerNotifyHostEmuData = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
565 gCachedNfcManagerNotifyHostEmuDeactivated = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
568 gCachedNfcManagerNotifyRfFieldActivated = e->GetMethodID(cls.get(), in nfcManager_initNativeStruc()
[all …]
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc.cpp130 ScopedLocalRef<jclass> cls(e, e->FindClass(clsname)); in nfc_jni_cache_object() local
131 if (cls.get() == NULL) { in nfc_jni_cache_object()
136 jmethodID ctor = e->GetMethodID(cls.get(), "<init>", "()V"); in nfc_jni_cache_object()
137 ScopedLocalRef<jobject> obj(e, e->NewObject(cls.get(), ctor)); in nfc_jni_cache_object()
Dcom_android_nfc_NativeNfcManager.cpp1591 jclass cls; in com_android_nfc_NfcManager_init_native_struc() local
1609 cls = e->GetObjectClass(o); in com_android_nfc_NfcManager_init_native_struc()
1610 f = e->GetFieldID(cls, "mNative", "J"); in com_android_nfc_NfcManager_init_native_struc()
1614 cached_NfcManager_notifyNdefMessageListeners = e->GetMethodID(cls, in com_android_nfc_NfcManager_init_native_struc()
1617 cached_NfcManager_notifyLlcpLinkActivation = e->GetMethodID(cls, in com_android_nfc_NfcManager_init_native_struc()
1620 cached_NfcManager_notifyLlcpLinkDeactivated = e->GetMethodID(cls, in com_android_nfc_NfcManager_init_native_struc()
1623 cached_NfcManager_notifyRfFieldActivated = e->GetMethodID(cls, in com_android_nfc_NfcManager_init_native_struc()
1626 cached_NfcManager_notifyRfFieldDeactivated = e->GetMethodID(cls, in com_android_nfc_NfcManager_init_native_struc()
/packages/apps/Music/src/com/android/music/
DSharedPreferencesCompat.java33 Class cls = SharedPreferences.Editor.class; in findApplyMethod() local
34 return cls.getMethod("apply"); in findApplyMethod()
/packages/apps/Launcher3/src/com/android/launcher3/
DBuildInfo.java19 Class<?> cls = Class.forName(className); in loadByName() local
20 return (BuildInfo) cls.newInstance(); in loadByName()
DAppFilter.java18 Class<?> cls = Class.forName(className); in loadByName() local
19 return (AppFilter) cls.newInstance(); in loadByName()
/packages/apps/Gallery2/jni/filters/
Dfilters.h38 #define JNIFUNCF(cls, name, vars...) Java_com_android_gallery3d_filtershow_filters_ ## cls ## _ ## … argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DApplicationUtils.java35 final Class<? extends Activity> cls) { in getActivityTitleResId() argument
36 final ComponentName cn = new ComponentName(context, cls); in getActivityTitleResId()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DCameraTest.java62 private void checkActivityLeak(Class<?> cls) throws Exception { in checkActivityLeak() argument
66 intent.setClass(getInstrumentation().getTargetContext(), cls); in checkActivityLeak() local
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDicttool.java76 public static void addCommand(final String commandName, final Class<? extends Command> cls) { in addCommand() argument
77 sCommands.put(commandName, cls); in addCommand()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java103 String cls = pkg + ".SearchWidgetProvider"; in myComponentName() local
104 return new ComponentName(pkg, cls); in myComponentName()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java106 public static Intent createIntent(Context context, Class<?> cls, long alarmId) { in createIntent() argument
107 return new Intent(context, cls).setData(getUri(alarmId)); in createIntent()
DAlarmInstance.java125 public static Intent createIntent(Context context, Class<?> cls, long instanceId) { in createIntent() argument
126 return new Intent(context, cls).setData(getUri(instanceId)); in createIntent()
/packages/apps/Camera/src/com/android/camera/
DEffectsRecorder.java1232 private Object getConstant(Class<?> cls, String name) { in getConstant() argument
1234 return cls.getDeclaredField(name).get(null); in getConstant()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java3245 private static void removeSpansOfType(SpannableString str, Class<?> cls) {
3246 for (Object span : str.getSpans(0, str.length(), cls)) {