/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 | 58 final String className = component.getClassName(); in isSuggestionComplete() local 59 if (className.equals(WallpaperSuggestionActivity.class.getName())) { in isSuggestionComplete() 61 } else if (className.equals(StyleSuggestionActivity.class.getName())) { in isSuggestionComplete() 63 } else if (className.equals(FingerprintSuggestionActivity.class.getName())) { in isSuggestionComplete() 65 } else if (className.equals(FingerprintEnrollSuggestionActivity.class.getName())) { in isSuggestionComplete() 67 } else if (className.equals(ScreenLockSuggestionActivity.class.getName())) { in isSuggestionComplete() 69 } else if (className.equals(WifiCallingSuggestionActivity.class.getName())) { in isSuggestionComplete() 71 } else if (className.equals(NightDisplaySuggestionActivity.class.getName())) { in isSuggestionComplete() 73 } 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/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/ |
D | ParsedDataBuilderTest.java | 45 String className = "android.car.user.Test1"; in testClassData() local 46 ClassData classData = packageData.classes.get(className); in testClassData() 49 assertThat(classData.fullyQualifiedClassName).isEqualTo(className); in testClassData() 51 assertThat(classData.useableClassName).isEqualTo(className); in testClassData() 60 className = "android.car.user.Test1.UserLifecycleEvent"; in testClassData() 61 classData = packageData.classes.get(className); in testClassData() 64 assertThat(classData.fullyQualifiedClassName).isEqualTo(className); in testClassData() 79 className = "android.car.user.Test1.UserLifecycleEvent.UserLifecycleListener2"; in testClassData() 80 classData = packageData.classes.get(className); in testClassData() 83 assertThat(classData.fullyQualifiedClassName).isEqualTo(className); in testClassData() [all …]
|
/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/Settings/res/xml/ |
D | special_access.xml | 28 android:name="classname" 57 android:name="classname" 75 android:name="classname" 86 android:name="classname" 143 android:name="classname" 154 android:name="classname" 165 android:name="classname" 176 android:name="classname" 188 android:name="classname" 199 android:name="classname" [all …]
|
/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/Settings/src/com/android/settings/biometrics/ |
D | BiometricNavigationUtils.java | 53 * @param className The class name of Settings screen to launch. 58 public boolean launchBiometricSettings(Context context, String className, Bundle extras, in launchBiometricSettings() argument 66 final Intent settingsPageIntent = getSettingsPageIntent(className, extras); in launchBiometricSettings() 82 * @param className The class name of Settings screen to launch. 86 public Intent getBiometricSettingsIntent(Context context, String className, in getBiometricSettingsIntent() argument 93 : getSettingsPageIntent(className, extras); in getBiometricSettingsIntent() 117 private Intent getSettingsPageIntent(String className, Bundle extras) { in getSettingsPageIntent() argument 119 intent.setClassName(SETTINGS_PACKAGE_NAME, className); in getSettingsPageIntent()
|
/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/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/ |
D | TestDeviceHelper.java | 161 * @param className the class name of the activity to launch 163 public static void startActivityWaitUntilCompletion(String packageName, String className) { in startActivityWaitUntilCompletion() argument 164 runShellCommand("am start -W -n %s/.%s", packageName, className); in startActivityWaitUntilCompletion() 168 public static String enableComponent(String packageName, String className) { in enableComponent() argument 169 return runShellCommand("pm enable %s/%s", packageName, className); in enableComponent() 176 public static String enableComponent(String packageName, String className, int userId) { in enableComponent() argument 177 return runShellCommand("pm enable --user %d %s/%s", userId, packageName, className); in enableComponent() 183 public static boolean isActiveReceiver(String intent, String packageName, String className) { in isActiveReceiver() argument 186 String packageAndFullClass = packageName + "/" + className; in isActiveReceiver() 193 if (className.startsWith(packageName)) { in isActiveReceiver() [all …]
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | Utils.java | 246 CharSequence className = node.getClassName(); in isCarUiFocusParkingView() local 247 return className != null && FOCUS_PARKING_VIEW_CLASS_NAME.contentEquals(className); in isCarUiFocusParkingView() 255 CharSequence className = node.getClassName(); in isGenericFocusParkingView() local 256 return className != null && GENERIC_FOCUS_PARKING_VIEW_CLASS_NAME.contentEquals(className); in isGenericFocusParkingView() 261 CharSequence className = node.getClassName(); in isFocusArea() local 262 return className != null && FOCUS_AREA_CLASS_NAME.contentEquals(className); in isFocusArea() 276 CharSequence className = node.getClassName(); in isWebView() local 277 return className != null && WEB_VIEW_CLASS_NAME.contentEquals(className); in isWebView() 291 CharSequence className = node.getClassName(); in isComposeView() local 292 return className != null && COMPOSE_VIEW_CLASS_NAME.contentEquals(className); in isComposeView() [all …]
|
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/src/main/java/com/android/development/ |
D | DexToStubConverter.java | 129 String className = typeToPath(classDefType); in expectClass() local 138 if (className.contains("$")) { in expectClass() 139 mInnerClassMap.put(className, new InnerClassData(className, accessFlags)); in expectClass() 192 String className = typeToPath(classDefType); in writeClass() local 193 String entryName = className + ".class"; in writeClass() 202 dependentInnerClasses.add(className); in writeClass() 226 className, in writeClass() 381 LOGGER.fine("Written " + className); in writeClass() 521 final String className; field in DexToStubConverter.InnerClassData 526 InnerClassData(String className, int code) { in InnerClassData() argument [all …]
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxRestrictionsUnitTest.java | 70 private static final String COMPONENT_CLASS_NAME = "className.test"; 388 * componentClassName : "className.test" in testServiceRestriction_oneFieldSet() 424 /*componentClassName=*/ "className.test", in testServiceRestriction_oneFieldSet() 481 * componentClassName : "className.test" in testServiceRestriction_twoFieldsSet() 487 * componentClassName : "className.test" in testServiceRestriction_twoFieldsSet() 505 /*componentClassName=*/ "className.test", in testServiceRestriction_twoFieldsSet() 511 /*componentClassName=*/ "className.test", in testServiceRestriction_twoFieldsSet() 565 * componentClassName : "className.test" in testServiceRestriction_threeFieldsSet() 577 * componentClassName : "className.test" in testServiceRestriction_threeFieldsSet() 583 * componentClassName : "className.test" in testServiceRestriction_threeFieldsSet() [all …]
|
/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/Car/Launcher/docklib/tests/src/com/android/car/docklib/data/ |
D | DockProtoDataControllerTest.kt | 62 assertThat(dockProtoData[0].className).isEqualTo(pinnedItemA.className) in testSaveToFile_OneItem_DataCorrect() 82 assertThat(dockProtoData[0].className).isEqualTo(pinnedItemA.className) in testSaveToFile_MultipleItems_DataCorrect() 85 assertThat(dockProtoData[1].className).isEqualTo(pinnedItemC.className) in testSaveToFile_MultipleItems_DataCorrect() 120 .setClassName(componentName.className)
|
/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/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/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/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | AtomsHostTest.java | 75 void runIntegrationTest(String testMethodName, String className) throws Exception { in runIntegrationTest() argument 77 runTest("com.android.rkpdapp.e2etest", testMethodName, className); in runIntegrationTest() 80 void runUnitTest(String testMethodName, String className) throws Exception { in runUnitTest() argument 81 runTest("com.android.rkpdapp.unittest", testMethodName, className); in runUnitTest() 95 private void runTest(String packageName, String testMethodName, String className) in runTest() argument 97 String testClassName = packageName + "." + className; in runTest()
|
/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/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | IntentForwarderActivity.java | 102 String className = intentReceived.getComponent().getClassName(); in onCreate() local 105 if (className.equals(FORWARD_INTENT_TO_PARENT)) { in onCreate() 112 } else if (className.equals(FORWARD_INTENT_TO_MANAGED_PROFILE)) { in onCreate() 130 launchChooserActivityWithCorrectTab(intentReceived, className); in onCreate() 151 launchResolverActivityWithCorrectTab(intentReceived, className, newIntent, in onCreate() 218 private void launchChooserActivityWithCorrectTab(Intent intentReceived, String className) { in launchChooserActivityWithCorrectTab() argument 223 int selectedProfile = findSelectedProfile(className); in launchChooserActivityWithCorrectTab() 236 private void launchResolverActivityWithCorrectTab(Intent intentReceived, String className, in launchResolverActivityWithCorrectTab() argument 248 int selectedProfile = findSelectedProfile(className); in launchResolverActivityWithCorrectTab() 256 private int findSelectedProfile(String className) { in findSelectedProfile() argument [all …]
|
/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/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 107 * @param className The class name of the owned component residing in the Bluetooth package 111 protected void setComponentAvailable(String className, boolean enable) { in setComponentAvailable() argument 112 Log.d(mName, "setComponentAvailable(className=" + className + ", enable=" + enable + ")"); in setComponentAvailable() 113 if (className == null) { in setComponentAvailable() 116 ComponentName component = new ComponentName(getPackageName(), className); in setComponentAvailable()
|