Home
last modified time | relevance | path

Searched refs:component (Results 1 – 13 of 13) sorted by relevance

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DICalendarTest.java38 ICalendar.Component component = new ICalendar.Component("DUMMY", null); in testAddProperty() local
40 component.addProperty(new ICalendar.Property("prop2", "value3")); in testAddProperty()
41 component.addProperty(new ICalendar.Property("prop1", "value1")); in testAddProperty()
42 component.addProperty(new ICalendar.Property("prop1", "value2")); in testAddProperty()
43 assertEquals(text, component.toString()); in testAddProperty()
74 ICalendar.Component component = ICalendar.parseComponent(text); in testParseBasicComponent() local
76 assertEquals("DUMMY", component.getName()); in testParseBasicComponent()
77 assertNull(component.getComponents()); in testParseBasicComponent()
78 assertEquals(2, component.getPropertyNames().size()); in testParseBasicComponent()
79 ICalendar.Property prop1 = component.getFirstProperty("PROP1"); in testParseBasicComponent()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java111 final ComponentName component = info.intent.getComponent(); in removePackage() local
112 if (packageName.equals(component.getPackageName())) { in removePackage()
131 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local
132 if (packageName.equals(component.getPackageName())) { in updatePackage()
133 if (!findActivity(matches, component)) { in updatePackage()
135 AppInfoCache.remove(component); in updatePackage()
192 private static boolean findActivity(List<ResolveInfo> apps, ComponentName component) { in findActivity() argument
193 final String className = component.getClassName(); in findActivity()
208 final ComponentName component = info.intent.getComponent(); in findApplicationInfoLocked() local
209 if (packageName.equals(component.getPackageName()) in findApplicationInfoLocked()
[all …]
DAllAppsView.java734 ComponentName component = item.intent.getComponent(); in findAppByComponent() local
738 if (x.intent.getComponent().equals(component)) { in findAppByComponent()
DLauncher.java653 ComponentName component = data.getComponent(); in infoFromApplicationIntent() local
657 activityInfo = packageManager.getActivityInfo(component, 0 /* no flags */); in infoFromApplicationIntent()
670 itemInfo.setActivity(component, Intent.FLAG_ACTIVITY_NEW_TASK | in infoFromApplicationIntent()
/packages/apps/Calendar/src/com/android/calendar/
DIcsImportActivity.java186 for (ICalendar.Component component : mCalendar.getComponents()) { in parseCalendar()
187 if ("VEVENT".equals(component.getName())) { in parseCalendar()
211 for (ICalendar.Component component : mCalendar.getComponents()) { in importCalendar()
212 if ("VEVENT".equals(component.getName())) { in importCalendar()
215 if (Calendar.Events.insertVEvent(cr, component, calInfo.id, in importCalendar()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DTestSuggestionSource.java40 ComponentName component, in TestSuggestionSource() argument
44 mComponent = component; in TestSuggestionSource()
172 public Builder setComponent(ComponentName component) { in setComponent() argument
173 mComponent = component; in setComponent()
DSearchSettings.java161 private ResolveInfo findWebSearchSettingsActivity(ComponentName component) { in findWebSearchSettingsActivity() argument
167 String packageName = component.getPackageName(); in findWebSearchSettingsActivity()
168 String name = component.getClassName(); in findWebSearchSettingsActivity()
DShortcutRepositoryImplLog.java307 return ComponentName.unflattenFromString(cursor.getString(SourceStats.component.ordinal())); in sourceFromCursor()
404 cv.put(SourceLog.component.name(), name.flattenToString()); in logSourceEvents()
435 final String columns = SourceLog.component + "," + in postSourceEventCleanup()
441 + SourceLog.component.name()); in postSourceEventCleanup()
546 component, enumConstant
578 component, enumConstant
761 SourceLog.component.name() + " TEXT NOT NULL COLLATE UNICODE, " + in onCreate()
768 SourceStats.component.name() + " TEXT NOT NULL COLLATE UNICODE PRIMARY KEY, " + in onCreate()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java365 ComponentName component = ComponentName.unflattenFromString(shortcutId); in refreshShortcut() local
366 if (component == null) { in refreshShortcut()
374 String[] selectionArgs = { component.getPackageName(), component.getClassName() }; in refreshShortcut()
/packages/apps/Launcher/src/com/android/launcher/
DLauncherModel.java214 final ComponentName component = intent.getComponent(); in removePackage() local
215 if (packageName.equals(component.getPackageName())) { in removePackage()
378 final ComponentName component = intent.getComponent(); in removeDisabledActivities() local
379 if (packageName.equals(component.getPackageName())) { in removeDisabledActivities()
380 if (!findIntent(matches, component)) { in removeDisabledActivities()
404 final ComponentName component = intent.getComponent(); in findIntent() local
405 if (packageName.equals(component.getPackageName()) && in findIntent()
406 name.equals(component.getClassName())) { in findIntent()
414 private static boolean findIntent(List<ResolveInfo> apps, ComponentName component) { in findIntent() argument
415 final String className = component.getClassName(); in findIntent()
DLauncher.java622 ComponentName component = data.getComponent(); in infoFromApplicationIntent() local
626 activityInfo = packageManager.getActivityInfo(component, 0 /* no flags */); in infoFromApplicationIntent()
639 itemInfo.setActivity(component, Intent.FLAG_ACTIVITY_NEW_TASK | in infoFromApplicationIntent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarSyncAdapter.java367 ICalendar.Component component = new ICalendar.Component("DUMMY", in cursorToEntry() local
369 if (RecurrenceSet.populateComponent(c, component)) { in cursorToEntry()
370 addRecurrenceToEntry(component, event); in cursorToEntry()
541 private void addRecurrenceToEntry(ICalendar.Component component, in addRecurrenceToEntry() argument
550 for (String propertyName : component.getPropertyNames()) { in addRecurrenceToEntry()
552 component.getProperties(propertyName)) { in addRecurrenceToEntry()
563 List<ICalendar.Component> children = component.getComponents(); in addRecurrenceToEntry()
/packages/apps/GlobalSearch/tests/src/com/android/globalsearch/
DSuggestionSessionTest.java101 SuggestionData makeSimple(ComponentName component, String title) { in makeSimple() argument
102 return new SuggestionData.Builder(component) in makeSimple()