Home
last modified time | relevance | path

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

12

/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()
87 jmethodID ctor = e->GetMethodID(cls.get(), "<init>", "()V"); in nfc_jni_cache_object()
88 ScopedLocalRef<jobject> obj(e, e->NewObject(cls.get(), ctor)); in nfc_jni_cache_object()
148 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object_local() local
149 if (cls.get() == NULL) { in nfc_jni_cache_object_local()
154 jmethodID ctor = e->GetMethodID(cls.get(), "<init>", "()V"); in nfc_jni_cache_object_local()
155 jobject obj = e->NewObject(cls.get(), ctor); in nfc_jni_cache_object_local()
DNativeNfcManager.cpp677 ScopedLocalRef<jclass> cls(e, e->GetObjectClass(o)); in nfcManager_initNativeStruc() local
678 jfieldID f = e->GetFieldID(cls.get(), "mNative", "J"); in nfcManager_initNativeStruc()
683 e->GetMethodID(cls.get(), "notifyNdefMessageListeners", in nfcManager_initNativeStruc()
686 e->GetMethodID(cls.get(), "notifyLlcpLinkActivation", in nfcManager_initNativeStruc()
689 e->GetMethodID(cls.get(), "notifyLlcpLinkDeactivated", in nfcManager_initNativeStruc()
692 e->GetMethodID(cls.get(), "notifyLlcpLinkFirstPacketReceived", in nfcManager_initNativeStruc()
696 e->GetMethodID(cls.get(), "notifyHostEmuActivated", "(I)V"); in nfcManager_initNativeStruc()
699 e->GetMethodID(cls.get(), "notifyHostEmuData", "(I[B)V"); in nfcManager_initNativeStruc()
702 e->GetMethodID(cls.get(), "notifyHostEmuDeactivated", "(I)V"); in nfcManager_initNativeStruc()
705 e->GetMethodID(cls.get(), "notifyRfFieldActivated", "()V"); in nfcManager_initNativeStruc()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastActivityTestCase.java76 protected <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService() argument
77 mContext.injectSystemService(cls, service); in injectSystemService()
90 public <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService() argument
91 final String name = getSystemServiceName(cls); in injectSystemService()
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py31 def load(cls, file): argument
35 def wrapIfNeeded(cls, item): argument
147 def fromJson(cls, json): argument
228 json.dump(dest_events, open(args.destination_file, 'w'), cls=EventEncoder)
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DLogger.java25 public Logger(Class<?> cls) { in Logger() argument
26 super(cls); in Logger()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DActivityInstrumentationTestCaseIntent.java28 public ActivityInstrumentationTestCaseIntent(Context packageContext, Class<?> cls) { in ActivityInstrumentationTestCaseIntent() argument
29 super(packageContext, cls); in ActivityInstrumentationTestCaseIntent()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DResourceBasedOverride.java39 Class<?> cls = Class.forName(className); in getObject() local
40 return (T) cls.getDeclaredConstructor(Context.class).newInstance(context); in getObject()
/packages/services/Car/tools/
Dupdate-obd2-sensors.py57 def indentLines(cls, string, numSpaces): argument
183 def __new__(cls, name, parents, dct): argument
198 newClass = super().__new__(cls, name, (SensorBase,), dct)
/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/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiRecyclerView.java319 Class<?> cls; in createScrollBarFromConfig() local
321 cls = !TextUtils.isEmpty(mScrollBarClass) in createScrollBarFromConfig()
328 mScrollBar = (ScrollBar) cls.getDeclaredConstructor().newInstance(); in createScrollBarFromConfig()
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/log/
DLoggerBase.java45 public LoggerBase(Class<?> cls) { in LoggerBase() argument
46 this(cls.getSimpleName()); in LoggerBase()
/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/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java117 private boolean startSampleActivity(Class<?> cls) { in startSampleActivity() argument
118 Intent dialogIntent = new Intent(this, cls); in startSampleActivity()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStoreUtils.java93 String cls = str.substring(sep+1); in stringToComponentName() local
94 return new ComponentName(pkg, cls); in stringToComponentName()
/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/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedRecyclerView.java566 Class<?> cls; in createScrollBarFromConfig() local
568 cls = getContext().getClassLoader().loadClass(clsName); in createScrollBarFromConfig()
573 mScrollBarUI = (ScrollBarUI) cls.newInstance(); in createScrollBarFromConfig()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java191 private static ComponentName toComponentName(Context ctx, Class<?> cls) { in toComponentName() argument
192 return ComponentName.createRelative(ctx, cls.getName()); in toComponentName()
DMockedCarTestBase.java136 protected String getFlattenComponent(Class cls) { in getFlattenComponent() argument
137 ComponentName cn = new ComponentName(getTestContext(), cls); in getFlattenComponent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DSummaryLoader.java178 Class<?> cls = Class.forName(clsName); in getSummaryProvider() local
179 Field field = cls.getField(SUMMARY_PROVIDER_FACTORY); in getSummaryProvider()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSummaryLoader.java178 Class<?> cls = Class.forName(clsName); in getSummaryProvider() local
179 Field field = cls.getField(SUMMARY_PROVIDER_FACTORY); in getSummaryProvider()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java119 public static Intent createIntent(Context context, Class<?> cls, long instanceId) { in createIntent() argument
120 return new Intent(context, cls).setData(getContentUri(instanceId)); in createIntent()
DAlarmInstance.kt325 fun createIntent(context: Context?, cls: Class<*>?, instanceId: Long): Intent { in createIntent()
326 return Intent(context, cls).setData(getContentUri(instanceId)) in createIntent()
DAlarm.kt344 fun createIntent(context: Context?, cls: Class<*>?, alarmId: Long): Intent { in createIntent()
345 return Intent(context, cls).setData(getContentUri(alarmId)) in createIntent()

12