/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | FinalClassField.java | 24 public final String className; field in FinalClassField 28 private FinalClassField(final Field field, final String className, final String fieldName, in FinalClassField() argument 32 this.className = className; in FinalClassField() 47 String className = definedClass.getCanonicalName(); in newInstance() local 50 definedClass.getField(name), className, name, compatValue); in newInstance() 52 return new FinalClassField<>(null, className, name, compatValue); in newInstance() 56 public static <T> FinalClassField<T> newInstance(final String className, final String fieldName, in newInstance() argument 59 return newInstance(Class.forName(className), fieldName, compatValue); in newInstance() 61 return new FinalClassField<>(null, className, fieldName, compatValue); in newInstance()
|
D | InstanceMethod.java | 25 public final String className; field in InstanceMethod 36 this.className = receiverName; in InstanceMethod() 66 final String className = receiverClass.getCanonicalName(); in newInstance() local 69 receiverClass.getMethod(methodName, parameterTypes), className, methodName); in newInstance() 71 return new InstanceMethod(receiverClass, null, className, methodName); in newInstance() 75 public static InstanceMethod newInstance(final String className, final String methodName, in newInstance() argument 78 return newInstance(Class.forName(className), methodName, parameterTypes); in newInstance() 80 return new InstanceMethod(null, null, className, methodName); in newInstance()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 190 * @param className the name of the class to look for. 191 * @return {@code true} if the given class is available, {@code false} otherwise or if className 194 public static boolean isClassAvailable(@Nullable String className) { in isClassAvailable() argument 195 if (TextUtils.isEmpty(className)) { in isClassAvailable() 199 Class.forName(className); in isClassAvailable() 204 Log.e(TAG, "Unexpected exception when checking if class:" + className + " exists at " in isClassAvailable() 214 * @param className the name of the class to look for 217 * @return {@code true} if the given class is available, {@code false} otherwise or if className 220 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName, in isMethodAvailable() argument 222 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) { in isMethodAvailable() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImpl.java | 64 final String className = component.getClassName(); in isSuggestionComplete() local 65 if (className.equals(WallpaperSuggestionActivity.class.getName())) { in isSuggestionComplete() 67 } else if (className.equals(StyleSuggestionActivity.class.getName())) { in isSuggestionComplete() 69 } else if (className.equals(FingerprintSuggestionActivity.class.getName())) { in isSuggestionComplete() 71 } else if (className.equals(FingerprintEnrollSuggestionActivity.class.getName())) { in isSuggestionComplete() 73 } else if (className.equals(ScreenLockSuggestionActivity.class.getName())) { in isSuggestionComplete() 75 } else if (className.equals(WifiCallingSuggestionActivity.class.getName())) { in isSuggestionComplete() 77 } else if (className.equals(NightDisplaySuggestionActivity.class.getName())) { in isSuggestionComplete() 79 } else if (className.equals(ZenSuggestionActivity.class.getName())) { in isSuggestionComplete()
|
/packages/apps/Contacts/src/com/android/contacts/extensions/ |
D | ExtensionsFactory.java | 56 final String className = sProperties.getProperty(EXTENDED_PHONE_DIRECTORIES_KEY); in init() local 57 if (className != null) { in init() 58 mExtendedPhoneDirectoriesManager = createInstance(className); in init() 77 private static <T> T createInstance(String className) { in createInstance() argument 79 Class<?> c = Class.forName(className); in createInstance() 83 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 85 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 87 Log.e(TAG, className + ": unable to create instance.", e); in createInstance()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
D | TestInstrumentationRunner.java | 49 (classLoader, className, intent) -> newActivity.newInstance()); in registerReplacedActivity() 57 public Activity newActivity(ClassLoader cl, String className, Intent intent) in newActivity() argument 59 OnActivityCreatedCallback callback = sReplacedActivityMap.get(className); in newActivity() 61 return callback.createActivity(cl, className, intent); in newActivity() 63 return super.newActivity(cl, className, intent); in newActivity() 68 public Application newApplication(ClassLoader cl, String className, Context context) in newApplication() argument 70 Application app = super.newApplication(cl, className, context); in newApplication() 103 Activity createActivity(ClassLoader cl, String className, Intent intent) in createActivity() argument
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | Utils.java | 239 CharSequence className = node.getClassName(); in isCarUiFocusParkingView() local 240 return className != null && FOCUS_PARKING_VIEW_CLASS_NAME.contentEquals(className); in isCarUiFocusParkingView() 248 CharSequence className = node.getClassName(); in isGenericFocusParkingView() local 249 return className != null && GENERIC_FOCUS_PARKING_VIEW_CLASS_NAME.contentEquals(className); in isGenericFocusParkingView() 254 CharSequence className = node.getClassName(); in isFocusArea() local 255 return className != null && FOCUS_AREA_CLASS_NAME.contentEquals(className); in isFocusArea() 269 CharSequence className = node.getClassName(); in isWebView() local 270 return className != null && WEB_VIEW_CLASS_NAME.contentEquals(className); in isWebView() 284 CharSequence className = node.getClassName(); in isComposeView() local 285 return className != null && COMPOSE_VIEW_CLASS_NAME.contentEquals(className); in isComposeView() [all …]
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricNavigationUtils.java | 50 * @param className The class name of Settings screen to launch. 54 public boolean launchBiometricSettings(Context context, String className, Bundle extras) { in launchBiometricSettings() argument 60 context.startActivity(getSettingsPageIntent(className, extras)); in launchBiometricSettings() 71 * @param className The class name of Settings screen to launch. 75 public Intent getBiometricSettingsIntent(Context context, String className, in getBiometricSettingsIntent() argument 82 : getSettingsPageIntent(className, extras); in getBiometricSettingsIntent() 106 private Intent getSettingsPageIntent(String className, Bundle extras) { in getSettingsPageIntent() argument 108 intent.setClassName(SETTINGS_PACKAGE_NAME, className); in getSettingsPageIntent()
|
/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/ |
D | ComponentGeneratingStep.java | 33 import com.squareup.javapoet.ClassName; 82 private static final ClassName ANDROID_CONTEXT_CLASS_NAME = 83 ClassName.get("android.content", "Context"); 120 ClassName.get(dialerComponentElement).packageName(), in generateComponent() 135 "modules", "$T.class", ClassName.get((TypeMirror) annotationValue.getValue())); in makeDaggerSubcomponentAnnotation() 162 ClassName hasComponenetInterface = in addGetComponentMethod() 163 ClassName.get( in addGetComponentMethod() 168 ClassName hasRootComponentInterface = in addGetComponentMethod() 169 ClassName.get(DIALER_INJECT_PACKAGE, DIALER_HASROOTCOMPONENT_INTERFACE); in addGetComponentMethod() 259 private ClassName getComponentClass( in getComponentClass() [all …]
|
/packages/apps/Launcher3/res/xml/ |
D | default_test2_workspace.xml | 12 launcher:className="com.google.android.dialer.extensions.GoogleDialtactsActivity" 20 launcher:className="com.google.android.apps.messaging.ui.ConversationListActivity" 28 launcher:className="com.google.android.apps.chrome.Main" 36 launcher:className="com.android.camera.CameraLauncher" 42 launcher:className="com.google.android.maps.MapsActivity" 49 launcher:className="com.android.vending.AssetBrowserActivity"
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 49 private String className; field in RunMethodInstrumentation 59 className = arguments.getString("class", getContext().getPackageName() + "." + in onCreate() 65 Log.d(TAG, "Running " + className + "." + methodName); in onCreate() 82 if (className == null || methodName == null) { in onStart() 99 invokeMethod(args, className, methodName); in onStart() 109 private void invokeMethod(Bundle args, String className, String methodName) throws in invokeMethod() argument 116 clazz = getTargetContext().getClassLoader().loadClass(className); in invokeMethod() 120 clazz = getContext().getClassLoader().loadClass(className); in invokeMethod()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.java | 48 private static final String ATTR_CLASS_NAME = "className"; 131 public LauncherLayoutBuilder putApp(String packageName, String className) { in putApp() argument 133 items.put(ATTR_CLASS_NAME, TextUtils.isEmpty(className) ? packageName : className); in putApp() 138 public LauncherLayoutBuilder putWidget(String packageName, String className, in putWidget() argument 141 items.put(ATTR_CLASS_NAME, className); in putWidget() 170 public FolderBuilder addApp(String packageName, String className) { in addApp() argument 173 items.put(ATTR_CLASS_NAME, TextUtils.isEmpty(className) ? packageName : className); in addApp()
|
/packages/apps/Settings/res/xml/ |
D | special_access.xml | 27 android:name="classname" 53 android:name="classname" 69 android:name="classname" 79 android:name="classname" 116 android:name="classname" 126 android:name="classname" 136 android:name="classname" 147 android:name="classname" 157 android:name="classname"
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 124 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = val.className; in queryXmlResources() 339 item.className = TextUtils.isEmpty(item.className) in getSearchIndexableResourcesFromProvider() 341 : item.className; in getSearchIndexableResourcesFromProvider() 365 // The classname and intent information comes from the PreIndexData in getSearchIndexableRawFromProvider() 367 raw.className = bundle.getTargetClass().getName(); in getSearchIndexableRawFromProvider() 385 // The classname and intent information comes from the PreIndexData in getDynamicSearchIndexableRawData() 387 raw.className = bundle.getTargetClass().getName(); in getDynamicSearchIndexableRawData() 418 raw.className = CATEGORY_KEY_TO_PARENT_MAP.get(tile.getCategory()); in getInjectionIndexableRawData() 429 String className = provider.getClass().getName(); in refreshSearchEnabledState() local 430 final int delimiter = className.lastIndexOf("$"); in refreshSearchEnabledState() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SearchIndexProviderCodeInspector.java | 95 final String className = clazz.getName(); in run() local 103 if (!mNotImplementingIndexProviderExemptList.remove(className)) { in run() 104 notImplementingIndexProvider.add(className); in run() 113 if (!mNotSharingPrefControllersExemptList.remove(className)) { in run() 114 notSharingPreferenceControllers.add(className); in run() 120 if (!mNotInSearchIndexableRegistryExemptList.remove(className)) { in run() 121 notInSearchProviderRegistry.add(className); in run() 126 notProvidingValidResource.add(className); in run()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/search/ |
D | SearchIndexProviderCodeInspector.java | 95 final String className = clazz.getName(); in run() local 103 if (!mNotImplementingIndexProviderExemptList.remove(className)) { in run() 104 notImplementingIndexProvider.add(className); in run() 113 if (!mNotSharingPrefControllersExemptList.remove(className)) { in run() 114 notSharingPreferenceControllers.add(className); in run() 120 if (!mNotInSearchIndexableRegistryExemptList.remove(className)) { in run() 121 notInSearchProviderRegistry.add(className); in run() 126 notProvidingValidResource.add(className); in run()
|
/packages/providers/MediaProvider/errorprone/src/com/google/errorprone/matchers/ |
D | FieldMatchers.java | 35 public static Matcher<ExpressionTree> anyFieldInClass(String className) { in anyFieldInClass() argument 39 return classSymbol.getQualifiedName().contentEquals(className); in anyFieldInClass() 49 public static Matcher<ExpressionTree> staticField(String className, String fieldName) { 53 return classSymbol.getQualifiedName().contentEquals(className); 63 public static Matcher<ExpressionTree> instanceField(String className, String fieldName) { 67 return classSymbol.getQualifiedName().contentEquals(className);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | MenuHelper.java | 81 String className) { in startCameraActivity() argument 84 intent.setClassName(activity.getPackageName(), className); in startCameraActivity() local 100 String action, className; in gotoMode() local 104 className = PANORAMA_CLASS; in gotoMode() 108 className = VIDEO_CAMERA_CLASS; in gotoMode() 112 className = CAMERA_CLASS; in gotoMode() 118 startCameraActivity(activity, new Intent(action), className); in gotoMode()
|
/packages/services/Car/car-test-lib/src/android/car/test/util/ |
D | AnnotationHelper.java | 39 String className = classes[i]; in checkForAnnotation() local 40 Field[] fields = Class.forName(className).getDeclaredFields(); in checkForAnnotation() 47 errorsExtraAnnotation.add(className + " FIELD: " + field.getName()); in checkForAnnotation() 51 errorsNoAnnotation.add(className + " FIELD: " + field.getName()); in checkForAnnotation() 55 Method[] methods = Class.forName(className).getDeclaredMethods(); in checkForAnnotation() 66 errorsExtraAnnotation.add(className + " METHOD: " + method.getName()); in checkForAnnotation() 70 errorsNoAnnotation.add(className + " METHOD: " + method.getName()); in checkForAnnotation()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | IntentForwarderActivity.java | 100 String className = intentReceived.getComponent().getClassName(); in onCreate() local 103 if (className.equals(FORWARD_INTENT_TO_PARENT)) { in onCreate() 110 } else if (className.equals(FORWARD_INTENT_TO_MANAGED_PROFILE)) { in onCreate() 128 launchChooserActivityWithCorrectTab(intentReceived, className); in onCreate() 149 launchResolverActivityWithCorrectTab(intentReceived, className, newIntent, in onCreate() 216 private void launchChooserActivityWithCorrectTab(Intent intentReceived, String className) { in launchChooserActivityWithCorrectTab() argument 221 int selectedProfile = findSelectedProfile(className); in launchChooserActivityWithCorrectTab() 234 private void launchResolverActivityWithCorrectTab(Intent intentReceived, String className, in launchResolverActivityWithCorrectTab() argument 246 int selectedProfile = findSelectedProfile(className); in launchResolverActivityWithCorrectTab() 254 private int findSelectedProfile(String className) { in findSelectedProfile() argument [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/ |
D | StatusIconGroupContainerController.java | 84 private static <T> T resolve(String className, Map<Class<?>, Provider<T>> creators) { in resolve() argument 86 Class<?> clazz = Class.forName(className); in resolve() 170 private StatusIconController getStatusIconControllerByName(String className) { in getStatusIconControllerByName() argument 172 StatusIconController statusIconController = resolveStatusIconController(className); in getStatusIconControllerByName() 174 Constructor constructor = Class.forName(className).getConstructor(Context.class); in getStatusIconControllerByName() 188 private StatusIconController resolveStatusIconController(String className) { in resolveStatusIconController() argument 189 return resolve(className, mIconControllerCreators); in resolveStatusIconController()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ManageApplications.java | 169 public static final String EXTRA_CLASSNAME = "classname"; 280 String className = args != null ? args.getString(EXTRA_CLASSNAME) : null; in onCreate() local 281 if (className == null) { in onCreate() 282 className = intent.getComponent().getClassName(); in onCreate() 284 if (className.equals(StorageUseActivity.class.getName())) { in onCreate() 294 } else if (className.equals(UsageAccessSettingsActivity.class.getName())) { in onCreate() 296 } else if (className.equals(HighPowerApplicationsActivity.class.getName())) { in onCreate() 300 } else if (className.equals(OverlaySettingsActivity.class.getName())) { in onCreate() 304 } else if (className.equals(WriteSettingsActivity.class.getName())) { in onCreate() 306 } else if (className.equals(ManageExternalSourcesActivity.class.getName())) { in onCreate() [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | DatabaseIndexingUtils.java | 50 public static Intent buildSearchTrampolineIntent(Context context, String className, String key, in buildSearchTrampolineIntent() argument 53 intent.putExtra(EXTRA_SHOW_FRAGMENT, className) in buildSearchTrampolineIntent() 72 // * @param className which wil provide the map between from {@link Uri}s to 79 // String className, Context context) { 84 // final Class<?> clazz = getIndexableClass(className); 87 // Log.d(TAG, "SearchIndexableResource '" + className +
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | Tasks.java | 49 String className; in createTask() local 51 className = extras.getString(EXTRA_CLASS_NAME); in createTask() 57 VvmLog.i("Task.createTask", "create task:" + className); in createTask() 58 if (className == null) { in createTask() 62 Task task = (Task) Class.forName(className).getDeclaredConstructor().newInstance(); in createTask()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | DebugUtils.kt | 32 .dropLastWhile { it.className.contains(".DebugUtils") } in shortStackTrace() 42 !it.className.startsWith(pkgPrefix) in stackTraceWithin() 44 it.className.startsWith(pkgPrefix) 55 val fullSimpleClassName = it.className.substringAfterLast(".") in toShortString()
|