/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredNfcFServicesCache.java | 188 ComponentName componentName) { in containsServiceLocked() argument 190 if (service.getComponent().equals(componentName)) return true; in containsServiceLocked() 195 public boolean hasService(int userId, ComponentName componentName) { in hasService() argument 196 return getService(userId, componentName) != null; in hasService() 199 public NfcFServiceInfo getService(int userId, ComponentName componentName) { in getService() argument 202 return userServices.services.get(componentName); in getService() 235 ComponentName componentName = new ComponentName(si.packageName, si.name); in getInstalledServices() local 239 Log.e(TAG, "Skipping NfcF service " + componentName + in getInstalledServices() 246 Log.e(TAG, "Skipping NfcF service " + componentName + in getInstalledServices() 328 ComponentName componentName = entry.getKey(); in invalidateCache() local [all …]
|
D | RegisteredServicesCache.java | 241 ComponentName componentName = new ComponentName(si.packageName, si.name); in getInstalledServices() local 245 Log.e(TAG, "Skipping application component " + componentName + in getInstalledServices() 252 Log.e(TAG, "Skipping APDU service " + componentName + in getInstalledServices() 445 ComponentName componentName, AidGroup aidGroup) { in registerAidGroupForService() argument 451 ApduServiceInfo serviceInfo = getService(userId, componentName); in registerAidGroupForService() 453 Log.e(TAG, "Service " + componentName + " does not exist."); in registerAidGroupForService() 474 DynamicAids dynAids = services.dynamicAids.get(componentName); in registerAidGroupForService() 477 services.dynamicAids.put(componentName, dynAids); in registerAidGroupForService() 496 public AidGroup getAidGroupForService(int userId, int uid, ComponentName componentName, in getAidGroupForService() argument 498 ApduServiceInfo serviceInfo = getService(userId, componentName); in getAidGroupForService() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ComponentKey.java | 30 public final ComponentName componentName; field in ComponentKey 35 public ComponentKey(ComponentName componentName, UserHandle user) { in ComponentKey() argument 36 Preconditions.assertNotNull(componentName); in ComponentKey() 38 this.componentName = componentName; in ComponentKey() 40 mHashCode = Arrays.hashCode(new Object[] {componentName, user}); in ComponentKey() 54 componentName = ComponentName.unflattenFromString(componentStr); in ComponentKey() 59 componentName = ComponentName.unflattenFromString(componentKeyStr); in ComponentKey() 62 Preconditions.assertNotNull(componentName); in ComponentKey() 64 mHashCode = Arrays.hashCode(new Object[] {componentName, user}); in ComponentKey() 75 return other.componentName.equals(componentName) && other.user.equals(user); in equals() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
D | DefaultAppInfo.java | 38 public final ComponentName componentName; field in DefaultAppInfo 57 componentName = cn; in DefaultAppInfo() 67 componentName = null; in DefaultAppInfo() 77 if (componentName != null) { in loadLabel() 84 componentName.getPackageName(), 0, userId); in loadLabel() 100 if (componentName != null) { in loadIcon() 107 componentName.getPackageName(), 0, userId); in loadIcon() 123 if (componentName != null) { in getKey() 124 return componentName.flattenToString(); in getKey() 135 componentName, 0, userId); in getComponentInfo() [all …]
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
D | SourceLatency.java | 59 private SearchableInfo getSearchable(ComponentName componentName) { in getSearchable() argument 60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName); in getSearchable() 63 + componentName.flattenToShortString()); in getSearchable() 89 public void checkSourceConcurrent(final String src, final ComponentName componentName, in checkSourceConcurrent() argument 92 final SearchableInfo searchable = getSearchable(componentName); in checkSourceConcurrent() 122 public void checkSource(String src, ComponentName componentName, String[] queries) { in checkSource() argument 126 long t = checkSource(src, componentName, queries[i]); in checkSource() 133 public long checkSource(String src, ComponentName componentName, String query) { in checkSource() argument 134 SearchableInfo searchable = getSearchable(componentName); in checkSource() 214 public void checkLiveSource(String src, ComponentName componentName, String query) { in checkLiveSource() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AllAppsList.java | 75 if (!mAppFilter.shouldShowApp(info.componentName)) { in add() 78 if (findAppInfo(info.componentName, info.user) != null) { in add() 142 if (info.user.equals(user) && packageName.equals(info.componentName.getPackageName())) { in removePackage() 156 if (matcher.matches(info, info.componentName)) { in updateDisabledFlags() 166 if (info.user.equals(user) && packages.contains(info.componentName.getPackageName())) { in updateIconsAndLabels() 186 && packageName.equals(applicationInfo.componentName.getPackageName())) { in updatePackage() 187 if (!findActivity(matches, applicationInfo.componentName)) { in updatePackage() 211 && packageName.equals(applicationInfo.componentName.getPackageName())) { in updatePackage() 213 mIconCache.remove(applicationInfo.componentName, user); in updatePackage() 239 private @Nullable AppInfo findAppInfo(@NonNull ComponentName componentName, in findAppInfo() argument [all …]
|
D | InfoDropTarget.java | 74 ComponentName componentName = null; in startDetailsActivityForInfo() local 76 componentName = ((AppInfo) info).componentName; in startDetailsActivityForInfo() 78 componentName = info.getTargetComponent(); in startDetailsActivityForInfo() 80 componentName = ((PendingAddItemInfo) info).componentName; in startDetailsActivityForInfo() 82 componentName = ((LauncherAppWidgetInfo) info).providerName; in startDetailsActivityForInfo() 84 if (componentName != null) { in startDetailsActivityForInfo() 87 .showAppDetailsForProfile(componentName, info.user, sourceBounds, opts); in startDetailsActivityForInfo() 96 sendUninstallResult(launcher, result, componentName, info.user, callback); in startDetailsActivityForInfo()
|
D | AppInfo.java | 44 public ComponentName componentName; field in AppInfo 73 this.componentName = info.getComponentName(); in AppInfo() 92 componentName = info.componentName; in AppInfo() 101 return super.dumpProperties() + " componentName=" + componentName; in dumpProperties() 109 return new ComponentKey(componentName, user); in toComponentKey()
|
D | IconCache.java | 190 public synchronized void remove(ComponentName componentName, UserHandle user) { in remove() argument 191 mCache.remove(new ComponentKey(componentName, user)); in remove() 200 if (key.componentName.getPackageName().equals(packageName) in removeFromMemCacheLocked() 426 CacheEntry entry = cacheLocked(application.componentName, in updateTitleAndIcon() 506 @NonNull ComponentName componentName, in cacheLocked() 510 ComponentKey cacheKey = new ComponentKey(componentName, user); in cacheLocked() 531 componentName.getPackageName(), user, false); in cacheLocked() 534 componentName.toShortString()); in cacheLocked() 542 componentName.toShortString()); in cacheLocked() 641 addIconToDB(values, cacheKey.componentName, info, in getEntryForPackageLocked() [all …]
|
D | PromiseAppInfo.java | 30 componentName = installInfo.componentName; in PromiseAppInfo() 33 .setComponent(componentName) in PromiseAppInfo() 50 return PackageManagerHelper.getMarketIntent(componentName.getPackageName()); in getMarketIntent()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | IconCache.java | 52 public ComponentName componentName; field in IconCache.CacheKey 55 CacheKey(ComponentName componentName, UserHandle user) { in CacheKey() argument 56 this.componentName = componentName; in CacheKey() 62 return componentName.hashCode() + user.hashCode(); in hashCode() 68 return other.componentName.equals(componentName) && other.user.equals(user); in equals() 163 public void remove(ComponentName componentName, UserHandle user) { in remove() argument 165 mCache.remove(new CacheKey(componentName, user)); in remove() 184 CacheEntry entry = cacheLocked(application.componentName, info, labelCache, in getTitleAndIcon() 226 private CacheEntry cacheLocked(ComponentName componentName, LauncherActivityInfo info, in cacheLocked() argument 228 CacheKey cacheKey = new CacheKey(componentName, user); in cacheLocked()
|
D | InfoDropTarget.java | 77 ComponentName componentName = null; in acceptDrop() local 79 componentName = ((ApplicationInfo) d.dragInfo).componentName; in acceptDrop() 81 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); in acceptDrop() 83 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; in acceptDrop() 91 if (componentName != null) { in acceptDrop() 92 mLauncher.startApplicationDetailsActivity(componentName, user); in acceptDrop()
|
D | PendingAddItemInfo.java | 33 ComponentName componentName; field in PendingAddItemInfo 63 componentName = i.provider; in PendingAddWidgetInfo() 76 componentName = copy.componentName; in PendingAddWidgetInfo() 87 return "Widget: " + componentName.toShortString(); in toString()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 487 ComponentName componentName, 490 addService(ConnectionService.SERVICE_INTERFACE, componentName, service); 493 serviceInfo.packageName = componentName.getPackageName(); 494 serviceInfo.name = componentName.getClassName(); 495 mServiceInfoByComponentName.put(componentName, serviceInfo); 499 ComponentName componentName, 502 addService(InCallService.SERVICE_INTERFACE, componentName, service); 505 serviceInfo.packageName = componentName.getPackageName(); 506 serviceInfo.name = componentName.getClassName(); 507 mServiceInfoByComponentName.put(componentName, serviceInfo); [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ServiceBinder.java | 142 public void onServiceConnected(ComponentName componentName, IBinder binder) { in onServiceConnected() argument 146 Log.i(this, "Service bound %s", componentName); in onServiceConnected() 148 Log.addEvent(mCall, LogUtils.Events.CS_BOUND, componentName); in onServiceConnected() 160 mServiceDeathRecipient = new ServiceDeathRecipient(componentName); in onServiceConnected() 180 public void onServiceDisconnected(ComponentName componentName) { in onServiceDisconnected() argument 252 protected ServiceBinder(String serviceAction, ComponentName componentName, Context context, in ServiceBinder() argument 255 Preconditions.checkNotNull(componentName); in ServiceBinder() 260 mComponentName = componentName; in ServiceBinder()
|
D | ConnectionServiceRepository.java | 63 public ConnectionServiceWrapper getService(ComponentName componentName, UserHandle userHandle) { in getService() argument 64 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle); in getService() 68 componentName, in getService() 90 ComponentName componentName = cacheKey.first; in dump() local 91 pw.println(componentName); in dump()
|
D | InCallController.java | 105 public InCallServiceInfo(ComponentName componentName, in InCallServiceInfo() argument 109 mComponentName = componentName; in InCallServiceInfo() 1112 private InCallServiceInfo getInCallServiceComponent(ComponentName componentName, int type) { in getInCallServiceComponent() argument 1113 List<InCallServiceInfo> list = getInCallServiceComponents(componentName, type); in getInCallServiceComponent() 1119 + componentName +". Trying to bind anyway."); in getInCallServiceComponent() 1120 return new InCallServiceInfo(componentName, false, false, type); in getInCallServiceComponent() 1140 private List<InCallServiceInfo> getInCallServiceComponents(ComponentName componentName, in getInCallServiceComponents() argument 1142 return getInCallServiceComponents(null, componentName, type); in getInCallServiceComponents() 1146 ComponentName componentName, int requestedType) { in getInCallServiceComponents() argument 1154 if (componentName != null) { in getInCallServiceComponents() [all …]
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaManager.java | 92 void onMediaAppChanged(ComponentName componentName); in onMediaAppChanged() argument 294 final ComponentName componentName = in processSearchIntent() local 296 if (componentName == null) { in processSearchIntent() 300 setMediaClientComponent(mServiceAdapter, componentName); in processSearchIntent() 401 private void writeComponentToPrefs(ComponentName componentName) { in writeComponentToPrefs() argument 406 editor.putString(PREFS_KEY_PACKAGE, componentName.getPackageName()); in writeComponentToPrefs() 407 editor.putString(PREFS_KEY_CLASS, componentName.getClassName()); in writeComponentToPrefs() 421 private void updateClientPackageAttributes(ComponentName componentName) { in updateClientPackageAttributes() argument 424 String packageName = componentName.getPackageName(); in updateClientPackageAttributes() 429 componentName, PackageManager.GET_META_DATA); in updateClientPackageAttributes()
|
D | MediaActivity.java | 187 private void sendMediaConnectionStatusBroadcast(ComponentName componentName, in sendMediaConnectionStatusBroadcast() argument 190 if (componentName == null) { in sendMediaConnectionStatusBroadcast() 195 intent.setPackage(componentName.getPackageName()); in sendMediaConnectionStatusBroadcast() 221 public void onMediaAppChanged(ComponentName componentName) { 222 sendMediaConnectionStatusBroadcast(componentName, MediaConstants.MEDIA_CONNECTED);
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | CallScreeningServiceFilter.java | 53 public void onServiceConnected(ComponentName componentName, IBinder service) { in onServiceConnected() argument 57 Log.addEvent(mCall, LogUtils.Events.SCREENING_BOUND, componentName); in onServiceConnected() 68 public void onServiceDisconnected(ComponentName componentName) { in onServiceDisconnected() argument 233 ComponentName componentName = in bindService() local 235 Log.addEvent(mCall, LogUtils.Events.BIND_SCREENING, componentName); in bindService() 236 intent.setComponent(componentName); in bindService()
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializer.java | 112 final ComponentName componentName = intent.getComponent(); in updateDialtactsLauncher() local 115 componentName != null && in updateDialtactsLauncher() 116 "com.android.contacts".equals(componentName.getPackageName()) && in updateDialtactsLauncher() 118 componentName.getClassName()) && in updateDialtactsLauncher() 131 Log.i(TAG, "Updated " + componentName + " to " + newName); in updateDialtactsLauncher()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
D | SuggestionFeatureProviderImplTest.java | 417 final ComponentName componentName = in nightDisplaySuggestion_isCompleted_ifPreviouslyActivated() local 419 assertThat(mProvider.isSuggestionCompleted(mContext, componentName)).isTrue(); in nightDisplaySuggestion_isCompleted_ifPreviouslyActivated() 425 final ComponentName componentName = in nightDisplaySuggestion_isCompleted_ifNonManualMode() local 427 assertThat(mProvider.isSuggestionCompleted(mContext, componentName)).isTrue(); in nightDisplaySuggestion_isCompleted_ifNonManualMode() 435 final ComponentName componentName = in nightDisplaySuggestion_isCompleted_ifPreviouslyCleared() local 437 assertThat(mProvider.isSuggestionCompleted(mContext, componentName)).isTrue(); in nightDisplaySuggestion_isCompleted_ifPreviouslyCleared() 442 final ComponentName componentName = in nightDisplaySuggestion_isNotCompleted_byDefault() local 444 assertThat(mProvider.isSuggestionCompleted(mContext, componentName)).isFalse(); in nightDisplaySuggestion_isNotCompleted_byDefault()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 204 ComponentName componentName = service.getComponentName(); in onLoadFinished() local 205 preference.setKey(componentName.flattenToString()); in onLoadFinished() 224 extras.putString(EXTRA_SERVICE_COMPONENT_NAME, componentName.flattenToString()); in onLoadFinished() 268 String componentName = getArguments().getString(EXTRA_PRINT_SERVICE_COMPONENT_NAME); in startSubSettingsIfNeeded() local 269 if (componentName != null) { in startSubSettingsIfNeeded() 271 Preference prereference = findPreference(componentName); in startSubSettingsIfNeeded() 628 ComponentName componentName = new ComponentName( 633 data.key = componentName.flattenToString();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | VirtualKeyboardPreferenceControllerTest.java | 92 final ComponentName componentName = new ComponentName("pkg", "cls"); in updateState_singleIme_setImeLabelToSummary() local 95 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_singleIme_setImeLabelToSummary() 107 final ComponentName componentName = new ComponentName("pkg", "cls"); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() local 116 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() 118 when(imis.get(1).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | FrontDoor.java | 31 String componentName = intent.getComponent().getClassName(); in onCreate() local 32 if ("com.android.loaderapp.FrontDoorNormal".equals(componentName)) { in onCreate() 35 } else if ("com.android.loaderapp.FrontDoorXLarge".equals(componentName)) { in onCreate() 38 } else if ("com.android.loaderapp.FrontDoorGroupsXLarge".equals(componentName)) { in onCreate()
|