Home
last modified time | relevance | path

Searched refs:Class (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java34 public static Class<?> getClass(final String className) { in getClass()
36 return Class.forName(className); in getClass()
42 public static Method getMethod(final Class<?> targetClass, final String name, in getMethod()
43 final Class<?>... parameterTypes) { in getMethod()
55 public static Field getField(final Class<?> targetClass, final String name) { in getField()
67 public static Constructor<?> getConstructor(final Class<?> targetClass, in getConstructor()
68 final Class<?> ... types) { in getConstructor()
136 private final Class<?> mClass;
137 public ClassWrapper(final Class<?> targetClass) { in ClassWrapper()
146 final T defaultValue, final Class<?>... parameterTypes) { in getMethod()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticConstantsTest.java46 private static String dumpClass(Class<?> clazz) { in dumpClass()
54 private static void logClasses(Class<?> clazz1, Class<?> clazz2) { in logClasses()
63 static MismatchException fieldValueMismatch(Class<?> clazz1, Class<?> clazz2, String name, in fieldValueMismatch()
70 static MismatchException fieldsOnlyInClass1(Class<?> clazz1, Class<?> clazz2, in fieldsOnlyInClass1()
79 static MismatchException fieldOnlyInClass2(Class<?> clazz1, Class<?> clazz2, String field) { in fieldOnlyInClass2()
97 static void validateMatch(Class<?> clazz1, Class<?> clazz2) throws Exception { in validateMatch()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java98 Class<?> listenerClass = Class.forName(
195 public static int getIntFieldIfExists(Class<?> klass, String fieldName, in getIntFieldIfExists()
196 Class<?> obj, int defaultVal) { in getIntFieldIfExists()
205 private static boolean hasField(Class<?> klass, String fieldName) { in hasField()
215 Class<?>... parameterTypes) { in hasMethod()
217 Class<?> klass = Class.forName(className); in hasMethod()
226 Class<?> klass, String methodName, Class<?> ... paramTypes) { in hasMethod()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/
DMainActivity.java213 Class<?> canaryClass = Class.forName("leakcanary.LeakCanary"); in initLeakCanary()
215 Class<?> onHeapAnalyzedListenerClass = in initLeakCanary()
216 Class.forName("leakcanary.OnHeapAnalyzedListener"); in initLeakCanary()
217 Class<?> metadataExtractorClass = Class.forName("shark.MetadataExtractor"); in initLeakCanary()
219 Class<?> configClass = getConfig.getReturnType(); in initLeakCanary()
271 private boolean isServiceRunning(Class<? extends Service> serviceClazz) { in isServiceRunning()
282 private void setServiceRunning(Class<? extends Service> serviceClass, boolean running) { in setServiceRunning()
333 private final Class<? extends Activity> mActivityClass;
335 ActivityElement(String text, Class<? extends Activity> activityClass) { in ActivityElement()
340 Class<? extends Activity> getActivity() { in getActivity()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java66 private static final Class[] BASE_CLS_TO_INCLUDE = {
71 private static final Class[] SUPPORTED_SIZES = {
84 Class<?> cls = Class.forName(className, false, this.getClass().getClassLoader()); in testAllClassInheritance()
88 for (Class<?> parent : BASE_CLS_TO_INCLUDE) { in testAllClassInheritance()
107 private boolean hasSize(Class<?> cls) { in hasSize()
141 private boolean isTestClass(Class<?> loadedClass) { in isTestClass()
187 private boolean hasJUnit3TestMethod(Class<?> loadedClass) { in hasJUnit3TestMethod()
/packages/apps/TV/common/src/com/android/tv/common/util/
DSystemPropertiesProxy.java33 Class SystemPropertiesClass = Class.forName("android.os.SystemProperties"); in getBoolean()
50 Class SystemPropertiesClass = Class.forName("android.os.SystemProperties"); in getInt()
66 Class SystemPropertiesClass = Class.forName("android.os.SystemProperties"); in getString()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DScreenManager.java57 static final Map<ManagedProvisioningScreens, Class<? extends Activity>>
60 private final Map<ManagedProvisioningScreens, Class<? extends Activity>> mScreenToActivityMap;
62 ScreenManager(Map<ManagedProvisioningScreens, Class<? extends Activity>> screenToActivityMap) { in ScreenManager()
75 Class<? extends Activity> newClass) { in setOverrideActivity()
85 public Class<? extends Activity> getActivityClassForScreen(ManagedProvisioningScreens screen) { in getActivityClassForScreen()
89 private static Map<ManagedProvisioningScreens, Class<? extends Activity>>
91 Map<ManagedProvisioningScreens, Class<? extends Activity>> map = in createBaseScreenMap()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DInstanceMethod.java27 private final Class<?> clazz;
30 private InstanceMethod(final Class<?> receiverClass, final Method instanceMethod, in InstanceMethod()
62 public static InstanceMethod newInstance(final Class<?> receiverClass, final String methodName, in newInstance()
63 final Class<?>... parameterTypes) { in newInstance()
76 final Class<?>... parameterTypes) { in newInstance()
78 return newInstance(Class.forName(className), methodName, parameterTypes); in newInstance()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java59 Class mClass;
63 ProfileConfig(Class theClass, int supportedFlag, long mask) { in ProfileConfig()
112 private static Class[] sSupportedProfiles = new Class[0];
127 ArrayList<Class> profiles = new ArrayList<>(PROFILE_SERVICES_AND_FLAGS.length); in init()
147 sSupportedProfiles = profiles.toArray(new Class[profiles.size()]); in init()
151 static Class[] getSupportedProfiles() { in getSupportedProfiles()
159 private static long getProfileMask(Class profile) { in getProfileMask()
171 for (final Class profileClass : getSupportedProfiles()) { in getSupportedProfilesBitMask()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DSystemUIOverlayWindowManager.java40 private final Map<Class<?>, Provider<OverlayViewMediator>>
47 Map<Class<?>, Provider<OverlayViewMediator>> contentMediatorCreators, in SystemUIOverlayWindowManager() argument
67 Constructor constructor = Class.forName(clsName).getConstructor(Context.class); in startServices()
91 private <T> T resolve(String className, Map<Class<?>, Provider<T>> creators) { in resolve() argument
93 Class<?> clazz = Class.forName(className); in resolve()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java55 private final Class<T> mType;
60 SparseArray<AreaConfig<T>> supportedAreas, Class<T> type) { in CarPropertyConfig()
222 public Class<T> getPropertyType() { in getPropertyType()
386 mType = (Class<T>) Class.forName(className); in CarPropertyConfig()
438 private static <E> Parcelable.Creator<AreaConfig<E>> getCreator(final Class<E> clazz) { in getCreator()
493 public static <T> Builder<T> newBuilder(Class<T> type, int propertyId, int areaType,
505 public static <T> Builder<T> newBuilder(Class<T> type, int propertyId, int areaType) {
525 private final Class<T> mType;
527 private Builder(int areaCapacity, int areaType, int propertyId, Class<T> type) {
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTable.java47 final Class<? extends ContextualCardController> mControllerClass;
48 final Class<? extends ContextualCardRenderer> mRendererClass;
51 Class<? extends ContextualCardController> controllerClass, in ControllerRendererMapping()
52 Class<? extends ContextualCardRenderer> rendererClass) { in ControllerRendererMapping()
104 public static Class<? extends ContextualCardController> getCardControllerClass( in getCardControllerClass()
114 public static Class<? extends ContextualCardRenderer> getCardRendererClassByViewType( in getCardRendererClassByViewType()
DControllerRendererPool.java56 final Class<? extends ContextualCardController> clz = in getController()
84 final Class<? extends ContextualCardRenderer> clz = in getRendererByViewType()
90 @NonNull Class<? extends ContextualCardRenderer> clz) { in getRenderer()
106 Class<? extends ContextualCardController> clz) { in createCardController()
118 LifecycleOwner lifecycleOwner, Class<?> clz) { in createCardRenderer()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DBaseFiltersManager.java31 protected HashMap<Class, ImageFilter> mFilters = null;
42 mFilters = new HashMap<Class, ImageFilter>(); in init()
44 Vector<Class> filters = new Vector<Class>(); in init()
46 for (Class filterClass : filters) { in init()
80 public ImageFilter getFilter(Class c) { in getFilter()
89 public FilterRepresentation getRepresentation(Class c) { in getRepresentation()
102 for (Class c : mFilters.keySet()) { in freeFilterResources()
110 protected void addFilterClasses(Vector<Class> filters) { in addFilterClasses()
/packages/services/Car/service/src/com/android/car/
DCarLocalServices.java40 private static final ArrayMap<Class<?>, Object> sLocalServiceObjects =
41 new ArrayMap<Class<?>, Object>();
50 public static <T> T getService(Class<T> type) { in getService()
62 public static <T> void addService(Class<T> type, T service) { in addService()
78 public static <T> void removeServiceForTest(Class<T> type) { in removeServiceForTest()
/packages/apps/Dialer/java/com/android/dialer/common/
DFragmentUtils.java42 public static <T> T getParent(@NonNull Fragment fragment, @NonNull Class<T> callbackInterface) { in getParent()
78 @NonNull android.app.Fragment fragment, @NonNull Class<T> callbackInterface) { in getParent()
110 @NonNull Fragment fragment, @NonNull Class<T> callbackInterface) { in getParentUnsafe()
120 @NonNull android.app.Fragment fragment, @NonNull Class<T> callbackInterface) { in getParentUnsafe()
131 public static void checkParent(@NonNull Fragment frag, @NonNull Class<?> callbackInterface) in checkParent()
156 <T> T getImpl(Class<T> callbackInterface); in getImpl()
/packages/modules/DnsResolver/tests/testdata/
Dgetaddrinfo.topsite.google.pbtxt32 "\x00\x01" # Class: IN
44 "\x00\x01" # Class: IN
48 "\x00\x01" # Class: IN
66 "\x00\x01" # Class: IN
78 "\x00\x01" # Class: IN
82 "\x00\x01" # Class: IN
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbDeviceAccessor.java57 Class tvInputManagerClass = Class.forName("android.media.tv.TvInputManager");
58 Class dvbDeviceInfoClass = Class.forName("android.media.tv.DvbDeviceInfo");
161 Class dvbDeviceInfoClass = Class.forName("android.media.tv.DvbDeviceInfo");
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/
DTestSupport.java41 public static Path copyTestResource(Class<?> baseClass, String testResource, Path targetDir) in copyTestResource()
50 Class<?> baseClass, String testResource, Path targetDir) in copyTestResourceWithoutLicense()
58 private static Path copyResourceAndLicense(Class<?> baseClass, in copyResourceAndLicense()
70 private static Path copyResource(Class<?> baseClass, String relativeResourcePath, in copyResource()
86 public static Path createTempDir(Class<?> testClass) throws IOException { in createTempDir()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java61 private Class[] mProfiles;
64 private void setProfileState(Class profile, int state) throws TimeoutException { in setProfileState()
78 for (Class profile : mProfiles) { in setAllProfilesState()
86 for (Class profile : mProfiles) { in setAllProfilesState()
163 for (Class profile : mProfiles) { in testEnableDisableInterleaved()
194 for (Class profile : mProfiles) { in testRepeatedEnableDisableSingly()
220 for (Class profile : mProfiles) { in testProfileServiceRegisterUnregister()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateImpl.java32 private final Map<Class, EventHandler> mEventHandlerMap;
63 public final <T extends Event> EventHandler<T> getEventHandler(Class<T> eventClass) { in getEventHandler()
69 Class<T> eventClass, EventHandler<T> eventHandler) { in setEventHandler()
74 public <T extends Event> void removeEventHandler(Class<T> eventClass) { in removeEventHandler()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfMap.java62 private final Class<K> mKeyClass;
63 private final Class<V> mValueClass;
74 public BpfMap(@NonNull final String path, final int flag, final Class<K> key, in BpfMap()
75 final Class<V> value) throws ErrnoException, NullPointerException { in BpfMap()
91 protected BpfMap(final Class<K> key, final Class<V> value) { in BpfMap()
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java137 final Class<?> clazz = Class.forName(controllerName); in createInstance()
156 final Class<?> clazz = Class.forName(controllerName); in createInstance()
180 final Class<?> clazz = Class.forName(controllerName); in createInstance()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/
DShadowOverrides.java39 private static Map<Class, ObjectProvider> sProviderMap = new HashMap<>();
43 Class<T> clazz, Context context, int resId) { in getObject()
49 ClassParameter.from(Class.class, clazz), in getObject()
54 public static <T> void setProvider(Class<T> clazz, ObjectProvider<T> provider) { in setProvider()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DScreenManagerTest.java69 private static final Map<ManagedProvisioningScreens, Class<? extends Activity>>
71 private static final Map<ManagedProvisioningScreens, Class<? extends Activity>>
165 Collection<Class<? extends Activity>> mappedActivities = in isActivityMapped()
183 private static Map<ManagedProvisioningScreens, Class<? extends Activity>>
185 Map<ManagedProvisioningScreens, Class<? extends Activity>> map = new HashMap<>(); in createTestScreenToActivityMap()
200 private static Map<ManagedProvisioningScreens, Class<? extends Activity>>

12345678910>>...25