Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java75 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 …]
DInfoDropTarget.java79 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()
DPendingAddItemInfo.java33 ComponentName componentName; field in PendingAddItemInfo
69 componentName = i.provider; in PendingAddWidgetInfo()
94 componentName = copy.componentName; in PendingAddWidgetInfo()
105 return "Widget: " + componentName.toShortString(); in toString()
DAppInfo.java57 ComponentName componentName; field in AppInfo
81 this.componentName = info.getComponentName(); in AppInfo()
111 componentName = info.componentName; in AppInfo()
DAllAppsList.java70 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()
DLauncherModel.java1746 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/
DSourceLatency.java59 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/
DInCallController.java160 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 …]
DServiceBinder.java100 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()
DConnectionServiceRepository.java39 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()
DPhoneAccountRegistrar.java234 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/
DIconCache.java52 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()
DInfoDropTarget.java77 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()
DPendingAddItemInfo.java33 ComponentName componentName; field in PendingAddItemInfo
63 componentName = i.provider; in PendingAddWidgetInfo()
76 componentName = copy.componentName; in PendingAddWidgetInfo()
87 return "Widget: " + componentName.toShortString(); in toString()
DApplicationInfo.java53 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/
DRegisteredServicesCache.java241 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/
DPrintSettingsFragment.java222 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/
DDreamBackend.java59 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/
DCalendarController.java169 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/
DTestConnectionService.java302 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/
DOneTimeInitializerService.java121 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/
DFrontDoor.java31 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/
DGalleryHelper.java52 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/
DAccessibilitySettings.java456 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/
DBrowseInfo.java407 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()

123