/packages/apps/Nfc/nci/jni/ |
D | NfcJniUtil.cpp | 81 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()
|
D | NativeNfcManager.cpp | 677 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/ |
D | CellBroadcastActivityTestCase.java | 76 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/ |
D | obd2_to_diagjson.py | 31 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/ |
D | Logger.java | 25 public Logger(Class<?> cls) { in Logger() argument 26 super(cls); in Logger()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | ActivityInstrumentationTestCaseIntent.java | 28 public ActivityInstrumentationTestCaseIntent(Context packageContext, Class<?> cls) { in ActivityInstrumentationTestCaseIntent() argument 29 super(packageContext, cls); in ActivityInstrumentationTestCaseIntent()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ResourceBasedOverride.java | 39 Class<?> cls = Class.forName(className); in getObject() local 40 return (T) cls.getDeclaredConstructor(Context.class).newInstance(context); in getObject()
|
/packages/services/Car/tools/ |
D | update-obd2-sensors.py | 57 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/ |
D | filters.h | 38 #define JNIFUNCF(cls, name, vars...) Java_com_android_gallery3d_filtershow_filters_ ## cls ## _ ## … argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ApplicationUtils.java | 35 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/ |
D | CameraTest.java | 62 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/ |
D | CarUiRecyclerView.java | 319 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/ |
D | LoggerBase.java | 45 public LoggerBase(Class<?> cls) { in LoggerBase() argument 46 this(cls.getSimpleName()); in LoggerBase()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Dicttool.java | 76 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/ |
D | AbstractSampleActivity.java | 117 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/ |
D | StoreUtils.java | 93 String cls = str.substring(sep+1); in stringToComponentName() local 94 return new ComponentName(pkg, cls); in stringToComponentName()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.java | 103 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/ |
D | PagedRecyclerView.java | 566 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/ |
D | SystemActivityMonitoringServiceTest.java | 191 private static ComponentName toComponentName(Context ctx, Class<?> cls) { in toComponentName() argument 192 return ComponentName.createRelative(ctx, cls.getName()); in toComponentName()
|
D | MockedCarTestBase.java | 136 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/ |
D | SummaryLoader.java | 178 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/ |
D | SummaryLoader.java | 178 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/ |
D | AlarmInstance.java | 119 public static Intent createIntent(Context context, Class<?> cls, long instanceId) { in createIntent() argument 120 return new Intent(context, cls).setData(getContentUri(instanceId)); in createIntent()
|
D | AlarmInstance.kt | 325 fun createIntent(context: Context?, cls: Class<*>?, instanceId: Long): Intent { in createIntent() 326 return Intent(context, cls).setData(getContentUri(instanceId)) in createIntent()
|
D | Alarm.kt | 344 fun createIntent(context: Context?, cls: Class<*>?, alarmId: Long): Intent { in createIntent() 345 return Intent(context, cls).setData(getContentUri(alarmId)) in createIntent()
|