/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 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() 220 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName, in isMethodAvailable() argument 222 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) { in isMethodAvailable() 227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable() 231 Log.v(TAG, "Could not find method: " + className + "#" + methodName); in isMethodAvailable() 235 Log.e(TAG, "Unexpected exception when checking if method: " + className + "#" in isMethodAvailable() 259 String className = instance.getClass().getName(); in invokeMethod() local [all …]
|
/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/Settings/tests/unit/src/com/android/settings/core/ |
D | UniquePreferenceTest.java | 153 final String className = clazz.getName(); in verifyPreferenceKeys() local 159 verifyResources(className, resourcesToIndex, uniqueKeys, duplicatedKeys, nullKeyClasses); in verifyPreferenceKeys() 160 verifyRaws(className, rawsToIndex, uniqueKeys, duplicatedKeys, nullKeyClasses); in verifyPreferenceKeys() 163 private void verifyResources(String className, List<SearchIndexableResource> resourcesToIndex, in verifyResources() argument 167 Log.d(TAG, className + "is not providing SearchIndexableResource, skipping"); in verifyResources() 186 + " in " + className); in verifyResources() 187 nullKeyClasses.add(className); in verifyResources() 192 + " in " + className in verifyResources() 201 private void verifyRaws(String className, List<SearchIndexableRaw> rawsToIndex, in verifyRaws() argument 204 Log.d(TAG, className + "is not providing SearchIndexableRaw, skipping"); in verifyRaws() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImpl.java | 63 final String className = component.getClassName(); in isSuggestionComplete() local 64 if (className.equals(WallpaperSuggestionActivity.class.getName())) { in isSuggestionComplete() 66 } else if (className.equals(StyleSuggestionActivity.class.getName())) { in isSuggestionComplete() 68 } else if (className.equals(FingerprintSuggestionActivity.class.getName())) { in isSuggestionComplete() 70 } else if (className.equals(FingerprintEnrollSuggestionActivity.class.getName())) { in isSuggestionComplete() 72 } else if (className.equals(ScreenLockSuggestionActivity.class.getName())) { in isSuggestionComplete() 74 } else if (className.equals(WifiCallingSuggestionActivity.class.getName())) { in isSuggestionComplete() 76 } else if (className.equals(NightDisplaySuggestionActivity.class.getName())) { in isSuggestionComplete() 78 } 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/suggestions/ |
D | SuggestionFeatureProviderImpl.java | 62 final String className = component.getClassName(); in isSuggestionComplete() local 63 if (className.equals(WallpaperSuggestionActivity.class.getName())) { in isSuggestionComplete() 65 } else if (className.equals(FingerprintSuggestionActivity.class.getName())) { in isSuggestionComplete() 67 } else if (className.equals(FingerprintEnrollSuggestionActivity.class.getName())) { in isSuggestionComplete() 69 } else if (className.equals(ScreenLockSuggestionActivity.class.getName())) { in isSuggestionComplete() 71 } else if (className.equals(WifiCallingSuggestionActivity.class.getName())) { in isSuggestionComplete() 73 } else if (className.equals(NightDisplaySuggestionActivity.class.getName())) { in isSuggestionComplete() 75 } else if (className.equals(ZenSuggestionActivity.class.getName())) { in isSuggestionComplete()
|
/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/Settings/tests/robotests/src/com/android/settings/search/ |
D | SearchIndexProviderCodeInspector.java | 86 final String className = clazz.getName(); in run() local 94 if (!notImplementingIndexProviderGrandfatherList.remove(className)) { in run() 95 notImplementingIndexProvider.add(className); in run() 104 if (!notSharingPrefControllersGrandfatherList.remove(className)) { in run() 105 notSharingPreferenceControllers.add(className); in run() 112 if (!notInSearchIndexableRegistryGrandfatherList.remove(className)) { in run() 113 notInSearchProviderRegistry.add(className); in run() 118 notProvidingValidResource.add(className); in run()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.java | 130 public LauncherLayoutBuilder putApp(String packageName, String className) { in putApp() argument 132 items.put(ATTR_CLASS_NAME, TextUtils.isEmpty(className) ? packageName : className); in putApp() 137 public LauncherLayoutBuilder putWidget(String packageName, String className, in putWidget() argument 140 items.put(ATTR_CLASS_NAME, className); in putWidget() 160 public FolderBuilder addApp(String packageName, String className) { in addApp() argument 163 items.put(ATTR_CLASS_NAME, TextUtils.isEmpty(className) ? packageName : className); in addApp()
|
/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/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/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDataConverter.java | 126 if (TextUtils.isEmpty(row.className)) { in convertSiteMapPairs() 130 classToTitleMap.put(row.className, row.screenTitle); in convertSiteMapPairs() 132 pairs.add(new SiteMapPair(row.className, row.screenTitle, in convertSiteMapPairs() 173 .setClassName(raw.className) in convertRaw() 252 .setClassName(sir.className) in convertResource() 292 .setClassName(sir.className) in convertResource() 342 Log.w(TAG, "XML Error parsing PreferenceScreen: " + sir.className, e); in convertResource() 344 Log.w(TAG, "IO Error parsing PreferenceScreen: " + sir.className, e); in convertResource() 346 Log.w(TAG, "Resoucre not found error parsing PreferenceScreen: " + sir.className, e); in convertResource()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 348 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd() local 350 if (!TextUtils.isEmpty(packageName) && !TextUtils.isEmpty(className)) { in parseAndAdd() 355 cn = new ComponentName(packageName, className); in parseAndAdd() 360 cn = new ComponentName(packages[0], className); in parseAndAdd() 372 Log.e(TAG, "Favorite not found: " + packageName + "/" + className); in parseAndAdd() 397 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd() local 398 if (TextUtils.isEmpty(packageName) || TextUtils.isEmpty(className)) { in parseAndAdd() 406 .setComponent(new ComponentName(packageName, className)) in parseAndAdd() 484 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in getComponentName() local 485 if (TextUtils.isEmpty(packageName) || TextUtils.isEmpty(className)) { in getComponentName() [all …]
|
/packages/inputmethods/LatinIME/native/jni/ |
D | jni_common.cpp | 63 int registerNativeMethods(JNIEnv *env, const char *const className, const JNINativeMethod *methods, in registerNativeMethods() argument 65 jclass clazz = env->FindClass(className); in registerNativeMethods() 67 AKLOGE("Native registration unable to find class '%s'", className); in registerNativeMethods() 71 AKLOGE("RegisterNatives failed for '%s'", className); in registerNativeMethods()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
D | MediaSource.java | 69 String className = serviceInfo != null ? serviceInfo.name : null; in create() local 70 if (TextUtils.isEmpty(className)) { in create() 80 ComponentName browseService = new ComponentName(packageName, className); in create() 113 String className = componentName.getClassName(); in getBrowseServiceInfo() local 114 if (TextUtils.isEmpty(className)) { in getBrowseServiceInfo() 119 if (result.name.equals(className)) { in getBrowseServiceInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/overlay/ |
D | FeatureFactoryImpl.java | 50 public static SettingsFragment newInstance(String className, Bundle arguments) { in newInstance() argument 53 args.putString(EXTRA_FRAGMENT_CLASS_NAME, className); in newInstance() 61 String className = getArguments().getString(EXTRA_FRAGMENT_CLASS_NAME); in onPreferenceStartInitialScreen() local 62 final Fragment fragment = (Fragment) Class.forName(className).newInstance(); in onPreferenceStartInitialScreen()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | ResolveInfoBuilder.java | 43 public ResolveInfoBuilder setActivity(String packageName, String className) { in setActivity() argument 46 mActivityInfo.name = className; in setActivity() 51 String packageName, String className, String authority, boolean isSystemApp) { in setProvider() argument 60 mProviderInfo.name = className; in setProvider()
|
/packages/services/Car/car-lib/src/android/car/content/pm/ |
D | CarPackageManager.java | 179 public boolean isActivityDistractionOptimized(String packageName, String className) { in isActivityDistractionOptimized() argument 181 return mService.isActivityDistractionOptimized(packageName, className); in isActivityDistractionOptimized() 195 public boolean isServiceDistractionOptimized(String packageName, String className) { in isServiceDistractionOptimized() argument 197 return mService.isServiceDistractionOptimized(packageName, className); in isServiceDistractionOptimized()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/ |
D | TvShadowActivityThread.java | 69 ComponentName className = (ComponentName) args[0]; in getPackageManager() 75 .getActivityInfo(className, flags); in getPackageManager() 80 ComponentName className = (ComponentName) args[0]; in getPackageManager() 86 .getServiceInfo(className, flags); in getPackageManager()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | DtaServiceConnector.java | 55 public void onServiceConnected(ComponentName className, IBinder service) { 60 public void onServiceDisconnected(ComponentName className) { 89 String className = serviceInfo.serviceInfo.name; in createExplicitFromImplicitIntent() local 90 ComponentName component = new ComponentName(packageName, className); in createExplicitFromImplicitIntent()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcJniUtil.cpp | 80 int nfc_jni_cache_object(JNIEnv* e, const char* className, jobject* cachedObj) { in nfc_jni_cache_object() argument 81 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object() 146 int nfc_jni_cache_object_local(JNIEnv* e, const char* className, in nfc_jni_cache_object_local() argument 148 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object_local()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 108 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = val.className; in queryXmlResources() 131 ref[COLUMN_INDEX_RAW_CLASS_NAME] = val.className; in queryRawData() 289 item.className = TextUtils.isEmpty(item.className) in getSearchIndexableResourcesFromProvider() 291 : item.className; in getSearchIndexableResourcesFromProvider() 318 raw.className = clazz.getName(); in getSearchIndexableRawFromProvider()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/ |
D | SettingsSearchIndexablesProvider.java | 108 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = val.className; in queryXmlResources() 131 ref[COLUMN_INDEX_RAW_CLASS_NAME] = val.className; in queryRawData() 289 item.className = TextUtils.isEmpty(item.className) in getSearchIndexableResourcesFromProvider() 291 : item.className; in getSearchIndexableResourcesFromProvider() 318 raw.className = clazz.getName(); in getSearchIndexableRawFromProvider()
|