/packages/apps/Settings/src/com/android/settings/location/ |
D | InjectedSetting.java | 45 public final String className; field in InjectedSetting 68 private InjectedSetting(String packageName, String className, in InjectedSetting() argument 71 this.className = Preconditions.checkNotNull(className, "className"); in InjectedSetting() 81 public static InjectedSetting newInstance(String packageName, String className, in newInstance() argument 83 if (packageName == null || className == null || in newInstance() 87 + packageName + ", class=" + className in newInstance() 92 return new InjectedSetting(packageName, className, title, iconId, userHandle, in newInstance() 100 ", mClassName='" + className + '\'' + in toString() 113 intent.setClassName(packageName, className); in getServiceIntent() 124 return packageName.equals(that.packageName) && className.equals(that.className) in equals() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | ExtensionsFactory.java | 64 private static <T> T createInstance(String className) { in createInstance() argument 66 Class<?> c = Class.forName(className); in createInstance() 69 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 71 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 73 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 83 String className = sProperties.getProperty(ALL_IN_ONE_MENU_KEY); in getAllInOneMenuExtensions() local 84 if (className != null) { in getAllInOneMenuExtensions() 85 sAllInOneMenuExtensions = createInstance(className); in getAllInOneMenuExtensions() 109 String className = sProperties.getProperty(CLOUD_NOTIFICATION_KEY); in getCloudNotificationBackplane() local 110 if (className != null) { in getCloudNotificationBackplane() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
D | CompatUtils.java | 186 public static boolean isClassAvailable(@Nullable String className) { in isClassAvailable() argument 187 if (TextUtils.isEmpty(className)) { in isClassAvailable() 191 Class.forName(className); in isClassAvailable() 196 Log.e(TAG, "Unexpected exception when checking if class:" + className + " exists at " in isClassAvailable() 212 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName, in isMethodAvailable() argument 214 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) { in isMethodAvailable() 219 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable() 222 Log.v(TAG, "Could not find method: " + className + "#" + methodName); in isMethodAvailable() 225 Log.e(TAG, "Unexpected exception when checking if method: " + className + "#" in isMethodAvailable() 249 String className = instance.getClass().getName(); in invokeMethod() local [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/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() 71 private static <T> T createInstance(String className) { in createInstance() argument 73 Class<?> c = Class.forName(className); in createInstance() 77 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 79 Log.e(TAG, className + ": unable to create instance.", e); in createInstance() 81 Log.e(TAG, className + ": unable to create instance.", e); in createInstance()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SuggestionsChecks.java | 54 String className = suggestion.intent.getComponent().getClassName(); in isSuggestionComplete() local 55 if (className.equals(ZenModeAutomationSuggestionActivity.class.getName())) { in isSuggestionComplete() 57 } else if (className.equals(WallpaperSuggestionActivity.class.getName())) { in isSuggestionComplete() 59 } else if (className.equals(WifiCallingSuggestionActivity.class.getName())) { in isSuggestionComplete() 61 } else if (className.equals(FingerprintSuggestionActivity.class.getName())) { in isSuggestionComplete() 63 } else if (className.equals(ScreenLockSuggestionActivity.class.getName()) in isSuggestionComplete() 64 || className.equals(FingerprintEnrollSuggestionActivity.class.getName())) { in isSuggestionComplete()
|
/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/Email/provider_src/com/android/email/mail/ |
D | Sender.java | 45 private static Sender instantiateSender(Context context, String className, Account account) in instantiateSender() argument 49 Class<?> c = Class.forName(className); in instantiateSender() 57 e.toString(), className, account.mDisplayName)); in instantiateSender() 62 account.mDisplayName + ": " + className + " create incompatible object"); in instantiateSender() 85 String className = xml.getAttributeValue(null, "class"); in findSender() local 86 sender = instantiateSender(context, className, account); in findSender()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 483 public void updateFromClassNameResource(String className, final boolean rebuild, in updateFromClassNameResource() argument 485 if (className == null) { in updateFromClassNameResource() 488 final SearchIndexableResource res = SearchIndexableResources.getResourceByName(className); in updateFromClassNameResource() 490 Log.e(LOG_TAG, "Cannot find SearchIndexableResources for class name: " + className); in updateFromClassNameResource() 577 final String className = cursor.getString(COLUMN_INDEX_XML_RES_CLASS_NAME); in addIndexablesForXmlResourceUri() local 589 sir.className = className; in addIndexablesForXmlResourceUri() 630 final String className = cursor.getString(COLUMN_INDEX_RAW_CLASS_NAME); in addIndexablesForRawDataUri() local 650 data.className = className; in addIndexablesForRawDataUri() 745 raw.className, in indexOneRaw() 762 private static Class<?> getIndexableClass(String className) { in getIndexableClass() argument [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/Launcher3/src/com/android/launcher3/ |
D | AppFilter.java | 14 public static AppFilter loadByName(String className) { in loadByName() argument 15 if (TextUtils.isEmpty(className)) return null; in loadByName() 16 if (DBG) Log.d(TAG, "Loading AppFilter: " + className); in loadByName() 18 Class<?> cls = Class.forName(className); in loadByName()
|
D | AutoInstallsLayout.java | 340 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd() local 342 if (!TextUtils.isEmpty(packageName) && !TextUtils.isEmpty(className)) { in parseAndAdd() 347 cn = new ComponentName(packageName, className); in parseAndAdd() 352 cn = new ComponentName(packages[0], className); in parseAndAdd() 364 Log.e(TAG, "Unable to add favorite: " + packageName + "/" + className, e); in parseAndAdd() 389 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd() local 390 if (TextUtils.isEmpty(packageName) || TextUtils.isEmpty(className)) { in parseAndAdd() 398 .setComponent(new ComponentName(packageName, className)) in parseAndAdd() 469 final String className = getAttributeValue(parser, ATTR_CLASS_NAME); in parseAndAdd() local 470 if (TextUtils.isEmpty(packageName) || TextUtils.isEmpty(className)) { in parseAndAdd() [all …]
|
/packages/services/Car/car-support-lib/src/android/support/car/content/pm/ |
D | CarPackageManagerEmbedded.java | 38 public boolean isActivityAllowedWhileDriving(String packageName, String className) in isActivityAllowedWhileDriving() argument 41 return mManager.isActivityAllowedWhileDriving(packageName, className); in isActivityAllowedWhileDriving() 48 public boolean isServiceAllowedWhileDriving(String packageName, String className) in isServiceAllowedWhileDriving() argument 51 return mManager.isServiceAllowedWhileDriving(packageName, className); in isServiceAllowedWhileDriving()
|
D | CarPackageManager.java | 33 public abstract boolean isActivityAllowedWhileDriving(String packageName, String className) in isActivityAllowedWhileDriving() argument 42 public abstract boolean isServiceAllowedWhileDriving(String packageName, String className) in isServiceAllowedWhileDriving() argument
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 129 public boolean isActivityAllowedWhileDriving(String packageName, String className) { in isActivityAllowedWhileDriving() argument 130 assertPackageAndClassName(packageName, className); in isActivityAllowedWhileDriving() 140 return isActivityInWhitelistsLocked(packageName, className); in isActivityAllowedWhileDriving() 145 public boolean isServiceAllowedWhileDriving(String packageName, String className) { in isServiceAllowedWhileDriving() argument 170 private void assertPackageAndClassName(String packageName, String className) { in assertPackageAndClassName() argument 174 if (className == null) { in assertPackageAndClassName() 200 private boolean isActivityInWhitelistsLocked(String packageName, String className) { in isActivityInWhitelistsLocked() argument 202 if (isActivityInMapAndMatching(policy.whitelistsMap, packageName, className)) { in isActivityInWhitelistsLocked() 206 return isActivityInMapAndMatching(mSystemWhitelists, packageName, className); in isActivityInWhitelistsLocked() 210 String packageName, String className) { in isActivityInMapAndMatching() argument [all …]
|
/packages/services/Car/car-lib/src/android/car/content/pm/ |
D | CarPackageManager.java | 130 public boolean isActivityAllowedWhileDriving(String packageName, String className) in isActivityAllowedWhileDriving() argument 133 return mService.isActivityAllowedWhileDriving(packageName, className); in isActivityAllowedWhileDriving() 148 public boolean isServiceAllowedWhileDriving(String packageName, String className) in isServiceAllowedWhileDriving() argument 151 return mService.isServiceAllowedWhileDriving(packageName, className); in isServiceAllowedWhileDriving()
|
D | ICarPackageManager.aidl | 24 boolean isActivityAllowedWhileDriving(in String packageName, in String className) = 1; in isActivityAllowedWhileDriving() argument 25 boolean isServiceAllowedWhileDriving(in String packageName, in String className) = 2; in isServiceAllowedWhileDriving() argument
|
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/ |
D | CarUiController.java | 51 private static CarUiController getProjectedCarUiController(String className, in getProjectedCarUiController() argument 55 uiControllerClass = Class.forName(className); in getProjectedCarUiController() 58 className, e); in getProjectedCarUiController() 65 " no constructor: " + className, e); in getProjectedCarUiController()
|
/packages/apps/Nfc/nci/jni/ |
D | NfcJniUtil.cpp | 79 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() 154 int nfc_jni_cache_object_local (JNIEnv *e, const char *className, jobject *cachedObj) in nfc_jni_cache_object_local() argument 156 ScopedLocalRef<jclass> cls(e, e->FindClass(className)); in nfc_jni_cache_object_local()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 34 public static Class<?> getClass(final String className) { in getClass() argument 36 return Class.forName(className); in getClass() 131 public static ClassWrapper getClassWrapper(final String className) { in getClassWrapper() argument 132 return new ClassWrapper(getClass(className)); in getClassWrapper()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMain.java | 39 private static final String className = new Object(){}.getClass().getEnclosingClass().getName(); field in StkMain 40 private static final String LOG_TAG = className.substring(className.lastIndexOf('.') + 1);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | DebugUtils.java | 377 String className = caller.getClassName(); 379 int lastDot = className.lastIndexOf('.'); 381 className = className.substring(lastDot + 1); 383 LogUtil.d(tag, className + "." + caller.getMethodName());
|
/packages/apps/Settings/src/com/android/settings/ |
D | Settings.java | 61 public boolean isValidFragment(String className) { in isValidFragment() argument 62 if (AppOpsSummary.class.getName().equals(className)) { in isValidFragment() 65 return super.isValidFragment(className); in isValidFragment()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | MoreContactUtils.java | 230 String className = accountType.getInviteContactActivityClassName(); in getInvitableIntent() local 231 if (TextUtils.isEmpty(syncAdapterPackageName) || TextUtils.isEmpty(className)) { in getInvitableIntent() 235 intent.setClassName(syncAdapterPackageName, className); in getInvitableIntent()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utils.java | 113 public static void updateSearchIndex(Context context, String className, String title, in updateSearchIndex() argument 116 data.className = className; in updateSearchIndex()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ManageApplications.java | 245 String className = args != null ? args.getString(EXTRA_CLASSNAME) : null; in onCreate() local 246 if (className == null) { in onCreate() 247 className = intent.getComponent().getClassName(); in onCreate() 249 if (className.equals(AllApplicationsActivity.class.getName())) { in onCreate() 251 } else if (className.equals(NotificationAppListActivity.class.getName())) { in onCreate() 254 } else if (className.equals(DomainsURLsAppListActivity.class.getName())) { in onCreate() 256 } else if (className.equals(StorageUseActivity.class.getName())) { in onCreate() 266 } else if (className.equals(UsageAccessSettingsActivity.class.getName())) { in onCreate() 268 } else if (className.equals(HighPowerApplicationsActivity.class.getName())) { in onCreate() 272 } else if (className.equals(OverlaySettingsActivity.class.getName())) { in onCreate() [all …]
|