Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 31) 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.java78 protected <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService() argument
79 mContext.injectSystemService(cls, service); in injectSystemService()
92 public <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService() argument
93 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/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/Car/Settings/src/com/android/car/settings/common/
DLogger.java39 public Logger(Class<?> cls) { in Logger() argument
40 this(cls.getSimpleName()); in Logger()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DTemplateSliceBuilder.java115 Class<T> cls) { in pair() argument
116 return new Pair(spec, cls); in pair()
/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/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java119 private boolean startSampleActivity(Class<?> cls) { in startSampleActivity() argument
120 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-ui-lib/src/com/android/car/ui/recyclerview/
DCarUiRecyclerView.java413 Class<?> cls; in createScrollBarFromConfig() local
415 cls = !TextUtils.isEmpty(mScrollBarClass) in createScrollBarFromConfig()
422 mScrollBar = (ScrollBar) cls.getDeclaredConstructor().newInstance(); in createScrollBarFromConfig()
/packages/services/Car/tests/carservice_test/src/com/android/car/pm/
DActivityBlockingActivityTest.java186 private static ComponentName toComponentName(Context ctx, Class<?> cls) { in toComponentName() argument
187 return ComponentName.createRelative(ctx, cls.getName()); in toComponentName()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java189 private static ComponentName toComponentName(Context ctx, Class<?> cls) { in toComponentName() argument
190 return ComponentName.createRelative(ctx, cls.getName()); in toComponentName()
/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/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()
DAlarm.java136 public static Intent createIntent(Context context, Class<?> cls, long alarmId) { in createIntent() argument
137 return new Intent(context, cls).setData(getContentUri(alarmId)); in createIntent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java166 protected String getFlattenComponent(Class cls) { in getFlattenComponent() argument
167 ComponentName cn = new ComponentName(getTestContext(), cls); in getFlattenComponent()
/packages/apps/TV/libs/m2/
Dchecker-qual-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
/packages/services/Car/tests/BugReportApp/libs/
Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...

12