/packages/apps/Car/SystemUI/tests/src/com/android/ |
D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 84 Class<?> cls = Class.forName(className, false, this.getClass().getClassLoader()); in testAllClassInheritance() local 85 if (!isTestClass(cls)) continue; in testAllClassInheritance() 89 if (parent.isAssignableFrom(cls)) { in testAllClassInheritance() 94 boolean hasSize = hasSize(cls); in testAllClassInheritance() 96 fails.add(cls.getName() + " does not have size annotation, such as @SmallTest"); in testAllClassInheritance() 99 fails.add(cls.getName() + " does not extend any of " + getClsStr()); in testAllClassInheritance() 107 private boolean hasSize(Class<?> cls) { in hasSize() argument 109 if (cls.getDeclaredAnnotation(SUPPORTED_SIZES[i]) != null) return true; in hasSize() 133 .stream().map(cls -> cls.getSimpleName()).toArray()); in getClsStr()
|
/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 | 699 ScopedLocalRef<jclass> cls(e, e->GetObjectClass(o)); in nfcManager_initNativeStruc() local 700 jfieldID f = e->GetFieldID(cls.get(), "mNative", "J"); in nfcManager_initNativeStruc() 705 e->GetMethodID(cls.get(), "notifyNdefMessageListeners", in nfcManager_initNativeStruc() 708 e->GetMethodID(cls.get(), "notifyLlcpLinkActivation", in nfcManager_initNativeStruc() 711 e->GetMethodID(cls.get(), "notifyLlcpLinkDeactivated", in nfcManager_initNativeStruc() 714 e->GetMethodID(cls.get(), "notifyLlcpLinkFirstPacketReceived", in nfcManager_initNativeStruc() 718 e->GetMethodID(cls.get(), "notifyHostEmuActivated", "(I)V"); in nfcManager_initNativeStruc() 721 e->GetMethodID(cls.get(), "notifyHostEmuData", "(I[B)V"); in nfcManager_initNativeStruc() 724 e->GetMethodID(cls.get(), "notifyHostEmuDeactivated", "(I)V"); in nfcManager_initNativeStruc() 727 e->GetMethodID(cls.get(), "notifyRfFieldActivated", "()V"); in nfcManager_initNativeStruc() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastActivityTestCase.java | 86 protected <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService() argument 87 mContext.injectSystemService(cls, service); in injectSystemService() 111 public <S> void injectSystemService(Class<S> cls, S service) { in injectSystemService() argument 112 final String name = getSystemServiceName(cls); in injectSystemService()
|
/packages/modules/StatsD/framework/jni/ |
D | android_util_StatsLog.cpp | 59 ScopedLocalRef<jclass> cls(env, env->FindClass(kStatsLogClass)); in register_android_util_StatsLog() local 60 if (cls.get() == nullptr) { in register_android_util_StatsLog() 66 int status = env->RegisterNatives(cls.get(), gMethods, count); in register_android_util_StatsLog()
|
/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/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/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/ |
D | MediaTestUtils.java | 35 public static MediaSource newFakeMediaSource(@NonNull String pkg, @NonNull String cls) { in newFakeMediaSource() argument 36 return newFakeMediaSource(new ComponentName(pkg, cls)); in newFakeMediaSource()
|
/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/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/Car/Settings/src/com/android/car/settings/common/ |
D | Logger.java | 39 public Logger(Class<?> cls) { in Logger() argument 40 this(cls.getSimpleName()); in Logger()
|
/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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/ |
D | TemplateSliceBuilder.java | 115 Class<T> cls) { in pair() argument 116 return new Pair(spec, cls); in pair()
|
/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 | 123 private boolean startSampleActivity(Class<?> cls) { in startSampleActivity() argument 124 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/services/Car/tests/carservice_test/src/com/android/car/pm/ |
D | ActivityBlockingActivityTest.java | 186 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/ |
D | SystemActivityMonitoringServiceTest.java | 189 private static ComponentName toComponentName(Context ctx, Class<?> cls) { in toComponentName() argument 190 return ComponentName.createRelative(ctx, cls.getName()); in toComponentName()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiRecyclerViewImpl.java | 527 Class<?> cls; in createScrollBarFromConfig() local 529 cls = !TextUtils.isEmpty(mScrollBarClass) in createScrollBarFromConfig() 537 Constructor<?> cnst = cls.getDeclaredConstructor(); in createScrollBarFromConfig()
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 904 private <T> T constructWithTrace(LimitedTimingsTraceLog t, Class<T> cls, Callable<T> callable) { in constructWithTrace() argument 905 t.traceBegin(cls.getSimpleName()); in constructWithTrace() 909 CarLocalServices.addService(cls, constructed); in constructWithTrace() 911 throw new RuntimeException("Crash while constructing:" + cls.getSimpleName(), e); in constructWithTrace()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
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 | 343 fun createIntent(context: Context?, cls: Class<*>?, alarmId: Long): Intent { in createIntent() 344 return Intent(context, cls).setData(getContentUri(alarmId)) in createIntent()
|