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.java73 public ComponentName componentName; field in IconCache.CacheKey
76 CacheKey(ComponentName componentName, UserHandleCompat user) { in CacheKey() argument
77 this.componentName = componentName; in CacheKey()
83 return componentName.hashCode() + user.hashCode(); in hashCode()
89 return other.componentName.equals(componentName) && other.user.equals(user); in equals()
186 public synchronized void remove(ComponentName componentName, UserHandleCompat user) { in remove() argument
187 mCache.remove(new CacheKey(componentName, user)); in remove()
196 if (key.componentName.getPackageName().equals(packageName) in remove()
232 CacheEntry entry = cacheLocked(application.componentName, info, labelCache, in getTitleAndIcon()
302 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()
106 componentName = info.componentName; in AppInfo()
DAllAppsList.java66 if (mAppFilter != null && !mAppFilter.shouldShowApp(info.componentName)) { in add()
69 if (findActivity(data, info.componentName, info.user)) { in add()
155 mIconCache.remove(applicationInfo.componentName, user); in updatePackage()
207 if (info.user.equals(user) && info.componentName.equals(component)) { in findActivity()
DLauncherModel.java1714 tmpInfos = getItemInfoForComponentName(app.componentName, app.user); in verifyApplications()
3078 addedOrUpdatedApps.put(ai.componentName, ai);
3085 addedOrUpdatedApps.put(ai.componentName, ai);
3251 … ArrayList<ItemInfo> infos = getItemInfoForComponentName(a.componentName, mUser);
3371 ComponentName componentName = intent.getComponent();
3372 return getMarketIntent(componentName.getPackageName());
3406 ComponentName componentName = intent.getComponent();
3407 if (componentName == null) {
3408 Log.d(TAG, "Missing component found in getShortcutInfo: " + componentName);
3414 newIntent.setComponent(componentName);
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java162 ComponentName componentName = entry.getKey(); in onCallAdded() local
166 componentName.equals(mInCallComponentName) /* includeVideoProvider */); in onCallAdded()
308 ComponentName componentName = new ComponentName(serviceInfo.packageName, in bind() local
313 mServiceConnections.containsKey(componentName)); in bind()
315 if (!mServiceConnections.containsKey(componentName)) { in bind()
317 intent.setComponent(componentName); in bind()
320 if (mInCallComponentName.equals(componentName)) { in bind()
334 mServiceConnections.put(componentName, inCallServiceConnection); in bind()
350 private void onConnected(ComponentName componentName, IBinder service) { in onConnected() argument
352 Trace.beginSection("onConnected: " + componentName); in onConnected()
[all …]
DServiceBinder.java109 public void onServiceConnected(ComponentName componentName, IBinder binder) { in onServiceConnected() argument
111 Log.i(this, "Service bound %s", componentName); in onServiceConnected()
128 public void onServiceDisconnected(ComponentName componentName) { in onServiceDisconnected() argument
184 protected ServiceBinder(String serviceAction, ComponentName componentName, Context context, in ServiceBinder() argument
187 Preconditions.checkNotNull(componentName); in ServiceBinder()
191 mComponentName = componentName; in ServiceBinder()
DConnectionServiceRepository.java43 ConnectionServiceWrapper getService(ComponentName componentName, UserHandle userHandle) { in getService() argument
44 Pair<ComponentName, UserHandle> cacheKey = Pair.create(componentName, userHandle); in getService()
48 componentName, in getService()
78 ComponentName componentName = cacheKey.first; in dump() local
79 pw.println(componentName); in dump()
DPhoneAccountRegistrar.java298 ComponentName componentName = ComponentName.unflattenFromString(defaultConnectionMgr); in getSimCallManager() local
300 List<ResolveInfo> resolveInfos = resolveComponent(componentName, null); in getSimCallManager()
305 if (componentName.equals(handle.getComponentName()) in getSimCallManager()
310 Log.d(this, "%s does not have a PhoneAccount; not using as default", componentName); in getSimCallManager()
312 Log.d(this, "%s could not be resolved; not using as default", componentName); in getSimCallManager()
400 private List<ResolveInfo> resolveComponent(ComponentName componentName, in resolveComponent() argument
404 intent.setComponent(componentName); in resolveComponent()
/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/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()
93 componentName = info.componentName; in ApplicationInfo()
DAllAppsList.java61 if (findActivity(data, info.componentName, info.user)) { in add()
152 mIconCache.remove(applicationInfo.componentName); in updatePackage()
196 if (info.user.equals(user) && info.componentName.equals(component)) { in findActivity()
/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.java223 ComponentName componentName = new ComponentName( in updateServicesPreferences() local
226 preference.setKey(componentName.flattenToString()); in updateServicesPreferences()
232 final boolean serviceEnabled = enabledServices.contains(componentName); in updateServicesPreferences()
272 extras.putString(EXTRA_SERVICE_COMPONENT_NAME, componentName.flattenToString()); in updateServicesPreferences()
286 String componentName = getArguments().getString(EXTRA_PRINT_SERVICE_COMPONENT_NAME); in startSubSettingsIfNeeded() local
287 if (componentName != null) { in startSubSettingsIfNeeded()
289 Preference prereference = findPreference(componentName); in startSubSettingsIfNeeded()
582 ComponentName componentName = new ComponentName(
587 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.java455 ComponentName componentName = new ComponentName(serviceInfo.packageName, in updateServicesPreferences() local
458 preference.setKey(componentName.flattenToString()); in updateServicesPreferences()
462 && enabledServices.contains(componentName); in updateServicesPreferences()
508 extras.putParcelable(EXTRA_COMPONENT_NAME, componentName); in updateServicesPreferences()
648 ComponentName componentName = new ComponentName(serviceInfo.packageName,
652 indexable.key = componentName.flattenToString();

123