/packages/apps/Launcher3/src/com/android/launcher3/ |
D | IconCache.java | 75 public ComponentName componentName; field in IconCache.CacheKey 78 CacheKey(ComponentName componentName, UserHandleCompat user) { in CacheKey() argument 79 this.componentName = componentName; in CacheKey() 85 return componentName.hashCode() + user.hashCode(); in hashCode() 91 return other.componentName.equals(componentName) && other.user.equals(user); in equals() 194 public void remove(ComponentName componentName, UserHandleCompat user) { in remove() argument 196 mCache.remove(new CacheKey(componentName, user)); in remove() 206 if (key.componentName.getPackageName().equals(packageName) in remove() 247 CacheEntry entry = cacheLocked(application.componentName, info, labelCache, in getTitleAndIcon() 328 private CacheEntry cacheLocked(ComponentName componentName, LauncherActivityInfoCompat info, in cacheLocked() argument [all …]
|
D | InfoDropTarget.java | 79 ComponentName componentName = null; in acceptDrop() local 81 componentName = ((AppInfo) d.dragInfo).componentName; in acceptDrop() 83 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); in acceptDrop() 85 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; in acceptDrop() 94 if (componentName != null) { in acceptDrop() 95 mLauncher.startApplicationDetailsActivity(componentName, user); in acceptDrop()
|
D | PendingAddItemInfo.java | 33 ComponentName componentName; field in PendingAddItemInfo 69 componentName = i.provider; in PendingAddWidgetInfo() 94 componentName = copy.componentName; in PendingAddWidgetInfo() 105 return "Widget: " + componentName.toShortString(); in toString()
|
D | AppInfo.java | 57 ComponentName componentName; field in AppInfo 81 this.componentName = info.getComponentName(); in AppInfo() 111 componentName = info.componentName; in AppInfo()
|
D | AllAppsList.java | 70 if (mAppFilter != null && !mAppFilter.shouldShowApp(info.componentName)) { in add() 73 if (findActivity(data, info.componentName, info.user)) { in add() 161 mIconCache.remove(applicationInfo.componentName, user); in updatePackage() 213 if (info.user.equals(user) && info.componentName.equals(component)) { in findActivity()
|
D | LauncherModel.java | 1746 tmpInfos = getItemInfoForComponentName(app.componentName, app.user); in verifyApplications() 3100 getItemInfoForComponentName(a.componentName, mUser); 3141 ArrayList<ItemInfo> infos = getItemInfoForComponentName(a.componentName, mUser); 3261 ComponentName componentName = intent.getComponent(); 3262 return getMarketIntent(componentName.getPackageName()); 3296 ComponentName componentName = intent.getComponent(); 3297 if (componentName == null) { 3298 Log.d(TAG, "Missing component found in getShortcutInfo: " + componentName); 3304 newIntent.setComponent(componentName); 3307 Log.d(TAG, "Missing activity found in getShortcutInfo: " + componentName); [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/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 160 ComponentName componentName = entry.getKey(); in onCallAdded() local 164 componentName.equals(mInCallComponentName) /* includeVideoProvider */); in onCallAdded() 291 ComponentName componentName = new ComponentName(serviceInfo.packageName, in bind() local 296 mServiceConnections.containsKey(componentName)); in bind() 298 if (!mServiceConnections.containsKey(componentName)) { in bind() 300 intent.setComponent(componentName); in bind() 304 mServiceConnections.put(componentName, inCallServiceConnection); in bind() 320 private void onConnected(ComponentName componentName, IBinder service) { in onConnected() argument 323 Log.i(this, "onConnected to %s", componentName); in onConnected() 330 mInCallServices.put(componentName, inCallService); in onConnected() [all …]
|
D | ServiceBinder.java | 100 public void onServiceConnected(ComponentName componentName, IBinder binder) { in onServiceConnected() argument 102 Log.i(this, "Service bound %s", componentName); in onServiceConnected() 119 public void onServiceDisconnected(ComponentName componentName) { in onServiceDisconnected() argument 171 protected ServiceBinder(String serviceAction, ComponentName componentName, Context context) { in ServiceBinder() argument 173 Preconditions.checkNotNull(componentName); in ServiceBinder() 177 mComponentName = componentName; in ServiceBinder()
|
D | ConnectionServiceRepository.java | 39 ConnectionServiceWrapper getService(ComponentName componentName) { in getService() argument 40 ConnectionServiceWrapper service = mServiceCache.get(componentName); in getService() 43 componentName, in getService() 48 mServiceCache.put(componentName, service); in getService()
|
D | PhoneAccountRegistrar.java | 234 ComponentName componentName = ComponentName.unflattenFromString(defaultConnectionMgr); in getSimCallManager() local 236 intent.setComponent(componentName); in getSimCallManager() 244 if (componentName.equals(handle.getComponentName())) { in getSimCallManager() 248 Log.d(this, "%s does not have a PhoneAccount; not using as default", componentName); in getSimCallManager() 250 Log.d(this, "%s could not be resolved; not using as default", componentName); in getSimCallManager()
|
/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) { in remove() argument 165 mCache.remove(componentName); 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()
|
D | ApplicationInfo.java | 53 ComponentName componentName; field in ApplicationInfo 70 this.componentName = info.getComponentName(); in ApplicationInfo() 72 this.setActivity(componentName, in ApplicationInfo() 93 componentName = info.componentName; in ApplicationInfo()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 241 ComponentName componentName = new ComponentName(si.packageName, si.name); in getInstalledServices() local 245 Log.e(TAG, "Skipping APDU service " + 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/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 222 ComponentName componentName = new ComponentName( in updateServicesPreferences() local 225 preference.setKey(componentName.flattenToString()); in updateServicesPreferences() 231 final boolean serviceEnabled = enabledServices.contains(componentName); in updateServicesPreferences() 271 extras.putString(EXTRA_SERVICE_COMPONENT_NAME, componentName.flattenToString()); in updateServicesPreferences() 285 String componentName = getArguments().getString(EXTRA_PRINT_SERVICE_COMPONENT_NAME); in startSubSettingsIfNeeded() local 286 if (componentName != null) { in startSubSettingsIfNeeded() 288 Preference prereference = findPreference(componentName); in startSubSettingsIfNeeded() 579 ComponentName componentName = new ComponentName( 584 data.key = componentName.flattenToString();
|
/packages/apps/Settings/src/com/android/settings/ |
D | DreamBackend.java | 59 public ComponentName componentName; field in DreamBackend.DreamInfo 68 sb.append(',').append(componentName); in toString() 109 dreamInfo.componentName = getDreamComponentName(resolveInfo); in getDreamInfos() 110 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream); in getDreamInfos() 213 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null) in preview() 216 mDreamManager.testDream(dreamInfo.componentName); in preview() 305 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1'); in sortKey()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 169 public ComponentName componentName; // used in combination with query field in CalendarController.EventInfo 412 int viewType, long extraLong, String query, ComponentName componentName) { in sendEvent() argument 414 componentName); in sendEvent() 418 long eventId, int viewType, long extraLong, String query, ComponentName componentName) { in sendEvent() argument 427 info.componentName = componentName; in sendEvent() 618 launchSearch(event.id, event.query, event.componentName); in sendEvent() 797 private void launchSearch(long eventId, String query, ComponentName componentName) { in launchSearch() argument 800 final SearchableInfo searchableInfo = searchManager.getSearchableInfo(componentName); in launchSearch()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
D | TestConnectionService.java | 302 ComponentName componentName = new ComponentName(this, TestConnectionService.class); in onCreateIncomingConnection() local 304 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { in onCreateIncomingConnection() 341 "Invalid inputs: " + accountHandle + " " + componentName)); in onCreateIncomingConnection() 349 ComponentName componentName = new ComponentName(this, TestConnectionService.class); in onCreateUnknownConnection() local 350 if (accountHandle != null && componentName.equals(accountHandle.getComponentName())) { in onCreateUnknownConnection() 366 "Invalid inputs: " + accountHandle + " " + componentName)); in onCreateUnknownConnection()
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializerService.java | 121 final ComponentName componentName = intent.getComponent(); in updateDialtactsLauncher() local 124 componentName != null && in updateDialtactsLauncher() 125 "com.android.contacts".equals(componentName.getPackageName()) && in updateDialtactsLauncher() 127 componentName.getClassName()) && in updateDialtactsLauncher() 140 Log.i(TAG, "Updated " + componentName + " to " + newName); in updateDialtactsLauncher()
|
/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()
|
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
D | GalleryHelper.java | 52 ComponentName componentName = galleryIntent.getComponent(); in getGalleryAppName() local 53 if (componentName != null in getGalleryAppName() 54 && GALLERY_PACKAGE_NAME.equals(componentName.getPackageName()) in getGalleryAppName() 55 && GALLERY_ACTIVITY_CLASS.equals(componentName.getClassName())) { in getGalleryAppName()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettings.java | 456 ComponentName componentName = new ComponentName(serviceInfo.packageName, in updateServicesPreferences() local 459 preference.setKey(componentName.flattenToString()); in updateServicesPreferences() 463 && enabledServices.contains(componentName); in updateServicesPreferences() 509 extras.putParcelable(EXTRA_COMPONENT_NAME, componentName); in updateServicesPreferences() 649 ComponentName componentName = new ComponentName(serviceInfo.packageName, 653 indexable.key = componentName.flattenToString();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | BrowseInfo.java | 407 ComponentName componentName = new ComponentName("com.android.tv.settings", in updateAccessories() local 409 Intent i = new Intent().setComponent(componentName); in updateAccessories() 430 ComponentName componentName = new ComponentName(targetPackage, targetClass); in getIntent() local 432 intent.setComponent(componentName); in getIntent() 512 ComponentName componentName = new ComponentName("com.android.tv.settings", in addAccounts() local 514 Intent i = new Intent().setComponent(componentName); in addAccounts()
|