/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SuggestionsAdapter.java | 581 // Check the component that gave us the suggestion 595 * @param component Name of an activity. 599 private Drawable getActivityIconWithCache(ComponentName component) { argument 601 String componentIconKey = component.flattenToShortString(); 608 Drawable drawable = getActivityIcon(component); 618 * @param component Name of an activity. 622 private Drawable getActivityIcon(ComponentName component) { argument 626 activityInfo = pm.getActivityInfo(component, PackageManager.GET_META_DATA); 633 String pkg = component.getPackageName(); 637 + component [all...] |
/frameworks/rs/ |
H A D | rsElement.cpp | 133 Component component; local 134 component.loadFromStream(stream); 139 component.getType(), 140 component.getKind(), 141 component.getIsNormalized(), 142 component.getVectorSize());
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 56 * A component within an iCalendar (VEVENT, VTODO, VJOURNAL, VFEEBUSY, 80 * Creates a new component with the provided name. 81 * @param name The name of the component. 89 * Returns the name of the component. 90 * @return The name of the component. 97 * Returns the parent of this component. 98 * @return The parent of this component. 116 * Adds a child component to this component. 117 * @param child The child component 427 parseComponentImpl(Component component, String text) argument 466 parseLine(String line, ParserState state, Component component) argument 655 parseComponent(Component component, String text) argument [all...] |
H A D | RecurrenceSet.java | 181 * EXRULE, and EXDATE values extracted from the parsed iCalendar component. 182 * @param component The iCalendar component containing the desired 185 * @return true if the component contained the necessary information 190 public static boolean populateContentValues(ICalendar.Component component, argument 194 component.getFirstProperty("DTSTART"); 210 String duration = computeDuration(start, component); 211 String rrule = flattenProperties(component, "RRULE"); 212 String rdate = extractDates(component.getFirstProperty("RDATE")); 213 String exrule = flattenProperties(component, "EXRUL 256 populateComponent(Cursor cursor, ICalendar.Component component) argument 325 populateComponent(ContentValues values, ICalendar.Component component) argument 384 addPropertiesForRuleStr(ICalendar.Component component, String propertyName, String ruleStr) argument 444 addPropertyForDateStr(ICalendar.Component component, String propertyName, String dateStr) argument 465 computeDuration(Time start, ICalendar.Component component) argument 499 flattenProperties(ICalendar.Component component, String name) argument [all...] |
/frameworks/native/cmds/service/ |
H A D | service.cpp | 167 char* component = NULL; local 199 else if (strcmp(key, "component") == 0) 201 component = value; 223 writeString16(data, component); 280 // " action=STR data=STR type=STR launchFlags=INT component=STR categories=STR[,STR,...]\n";
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
H A D | AppListFragment.java | 61 Log.i("AppListFragment", "Item clicked: " + position + " -- " + item.component); 66 args.putParcelable(BrowserListFragment.ARG_COMPONENT, item.component); 78 final ComponentName component; field in class:AppListFragment.Item 82 this.component = c;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelView.java | 122 ComponentName component = intent.getComponent(); 123 replaceDrawable(mLogo, component, ASSIST_ICON_METADATA_NAME); 129 public void replaceDrawable(ImageView v, ComponentName component, String name) { argument 130 if (component != null) { 135 component, PackageManager.GET_META_DATA).metaData; 139 Resources res = packageManager.getResourcesForActivity(component); 146 + component.flattenToShortString() + " not found", e); 149 + component.flattenToShortString(), nfe);
|
H A D | SystemUI.java | 46 public <T, C extends T> void putComponent(Class<T> interfaceType, C component) { argument 48 mComponents.put(interfaceType, component);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentTasksLoader.java | 150 private boolean isCurrentHomeActivity(ComponentName component, ActivityInfo homeInfo) { argument 157 && homeInfo.packageName.equals(component.getPackageName()) 158 && homeInfo.name.equals(component.getClassName());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | Task.java | 41 /** The ComponentNameKey represents the unique primary key for a component 44 final ComponentName component; field in class:Task.ComponentNameKey 48 component = cn; 54 return Objects.hash(component, userId); 62 return component.equals(((ComponentNameKey) o).component) && 85 /** Returns the component name key for this task. */
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 315 = new ArrayMap<String,String>(); // component name -> registration name 1652 private void registerTransport(String name, String component, IBackupTransport transport) { argument 1655 + component + "::" + name + " = " + transport); 1658 mTransportNames.put(component, name); 1660 mTransports.remove(mTransportNames.get(component)); 1661 mTransportNames.remove(component); 1689 mTransportNames.remove(component); 1829 public void onServiceConnected(ComponentName component, IBinder service) { argument 1830 if (DEBUG) Slog.v(TAG, "Connected to transport " + component); 1831 final String name = component 1843 onServiceDisconnected(ComponentName component) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActiveServices.java | 1072 // Make sure this component isn't in the pending list. 2070 void cleanUpRemovedTaskLocked(TaskRecord tr, ComponentName component, Intent baseIntent) { argument 2075 if (sr.packageName.equals(component.getPackageName())) { 2704 * - a flattened component name that matched an existing service was specified as the 2706 * - the first arg isn't the flattened component name of an existing service: 2707 * dump all services whose component contains the first arg as a substring 2732 // Not a '/' separated full component name; maybe an object ID?
|
H A D | ActivityManagerService.java | 436 * For addAppTask: cached of the last activity component that was added. 778 * have seen. Mapping is target uid -> target component -> source uid -> source process name 904 * Information about component usage 3082 void updateUsageStats(ActivityRecord component, boolean resumed) { argument 3083 if (DEBUG_SWITCH) Slog.d(TAG, "updateUsageStats: comp=" + component + "res=" + resumed); 3087 mUsageStatsService.reportEvent(component.realActivity, component.userId, 3091 stats.noteActivityResumedLocked(component.app.uid); 3095 mUsageStatsService.reportEvent(component.realActivity, component [all...] |
/frameworks/base/services/core/java/com/android/server/dreams/ |
H A D | DreamManagerService.java | 259 private boolean validateDream(ComponentName component) { argument 260 if (component == null) return false; 261 final ServiceInfo serviceInfo = getServiceInfo(component); 263 Slog.w(TAG, "Dream " + component + " does not exist"); 267 Slog.w(TAG, "Dream " + component 284 for (ComponentName component : components) { 285 if (validateDream(component)) { 286 validComponents.add(component); 291 // fallback to the default dream component if necessary 321 // Read the component fro [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ConditionProviders.java | 110 if (filter != null && !filter.matches(r.component)) continue; 178 if (info.component.equals(mExitConditionComponent)) { 187 if (!r.component.equals(info.component)) continue; 202 if (!r.component.equals(removed.component)) continue; 265 private ConditionRecord getRecordLocked(Uri id, ComponentName component) { argument 269 if (r.id.equals(id) && r.component.equals(component)) { 273 final ConditionRecord r = new ConditionRecord(id, component); 340 ensureRecordExists(Condition condition, IConditionProvider provider, ComponentName component) argument 601 public final ComponentName component; field in class:ConditionProviders.ConditionRecord 607 ConditionRecord(Uri id, ComponentName component) argument [all...] |
H A D | ManagedServices.java | 60 * - An associated system settings value with a list of enabled component names. 83 // lists the component names of all enabled (and therefore connected) 116 ComponentName component, int userid, boolean isSystem, ServiceConnection connection, 118 return new ManagedServiceInfo(service, component, userid, isSystem, connection, 136 if (filter != null && !filter.matches(info.component)) continue; 137 pw.println(" " + info.component 194 public void registerService(IInterface service, ComponentName component, int userid) { argument 196 ManagedServiceInfo info = registerServiceImpl(service, component, userid); 304 final ComponentName component 306 if (component ! 115 newServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument 494 registerServiceImpl(final IInterface service, final ComponentName component, final int userid) argument 550 public ComponentName component; field in class:ManagedServices.ManagedServiceInfo 556 ManagedServiceInfo(IInterface service, ComponentName component, int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) argument [all...] |
H A D | NotificationManagerService.java | 1032 ? mListenersDisablingEffects.valueAt(0).component : null; 1285 final ComponentName component, final int userid) { 1287 mListeners.registerService(listener, component, userid); 1364 + "from " + info.component 1444 mZenModeHelper.requestFromListener(info.component, interruptionFilter); 1694 pw.print(listener.component); 2562 String listenerName = listener == null ? null : listener.component.toShortString(); 2627 String listenerName = listener == null ? null : listener.component.toShortString(); 2679 String listenerName = listener == null ? null : listener.component.toShortString(); 3181 if (packageName.equals(serviceInfo.component 3239 matches(ComponentName component) argument [all...] |
H A D | ZenLog.java | 104 public static void traceExitCondition(Condition c, ComponentName component, String reason) { argument 105 append(TYPE_EXIT_CONDITION, c + "," + componentToString(component) + "," + reason); 165 private static String componentToString(ComponentName component) { argument 166 return component != null ? component.toShortString() : null;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 246 public boolean isActivityEnabled(ComponentName component, UserHandle user) argument 248 ensureInUserProfiles(user, "Cannot check component for unrelated profile " + user); 256 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); 264 public void startActivityAsUser(ComponentName component, Rect sourceBounds, argument 275 launchIntent.setPackage(component.getPackageName()); 280 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); 283 + component); 286 // Check that the component actually has Intent.CATEGORY_LAUCNCHER 288 // resolves based on the component if present. 294 if (activityInfo.packageName.equals(component 311 showAppDetailsAsUser(ComponentName component, Rect sourceBounds, Bundle opts, UserHandle user) argument [all...] |
H A D | PackageManagerService.java | 2230 public ActivityInfo getActivityInfo(ComponentName component, int flags, int userId) { argument 2234 PackageParser.Activity a = mActivities.mActivities.get(component); 2236 if (DEBUG_PACKAGE_INFO) Log.v(TAG, "getActivityInfo " + component + ": " + a); 2238 PackageSetting ps = mSettings.mPackages.get(component.getPackageName()); 2243 if (mResolveComponentName.equals(component)) { 2252 public boolean activitySupportsIntent(ComponentName component, Intent intent, argument 2255 PackageParser.Activity a = mActivities.mActivities.get(component); 2270 public ActivityInfo getReceiverInfo(ComponentName component, int flags, int userId) { argument 2274 PackageParser.Activity a = mReceivers.mActivities.get(component); 2276 TAG, "getReceiverInfo " + component 2288 getServiceInfo(ComponentName component, int flags, int userId) argument 2306 getProviderInfo(ComponentName component, int flags, int userId) argument [all...] |
H A D | PreferredComponent.java | 39 private static final String ATTR_NAME = "name"; // component name 61 ComponentName component, boolean always) { 64 mComponent = component; 66 mShortComponent = component.flattenToShortString(); 60 PreferredComponent(Callbacks callbacks, int match, ComponentName[] set, ComponentName component, boolean always) argument
|
/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustManagerService.java | 159 ComponentName component; // service that implements ITrustAgent field in class:TrustManagerService.AgentInfo 170 return component.equals(o.component) && userId == o.userId; 175 return component.hashCode() * 31 + userId; 253 agentInfo.component = name; 369 if (packageName.equals(info.component.getPackageName())) { 370 Log.i(TAG, "Resetting agent " + info.component.flattenToShortString()); 387 if (name.equals(info.component) && userId == info.userId) { 388 Log.i(TAG, "Resetting agent " + info.component.flattenToShortString()); 749 fout.print(" "); fout.println(info.component [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 262 private static boolean hasHardwarePermission(PackageManager pm, ComponentName component) { argument 264 component.getPackageName()) == PackageManager.PERMISSION_GRANTED; 285 ComponentName component = new ComponentName(si.packageName, si.name); 286 if (hasHardwarePermission(pm, component)) { 287 ServiceState serviceState = userState.serviceStateMap.get(component); 292 serviceState = new ServiceState(component, userId); 293 userState.serviceStateMap.put(component, serviceState); 294 updateServiceConnectionLocked(component, userId); 327 ComponentName component = inputMap.get(inputId).info.getComponent(); 329 if (component 450 getServiceStateLocked(ComponentName component, int userId) argument 498 updateServiceConnectionLocked(ComponentName component, int userId) argument 1685 private final ComponentName component; field in class:TvInputManagerService.ServiceState 1694 ServiceState(ComponentName component, int userId) argument 1769 InputServiceConnection(ComponentName component, int userId) argument 1775 onServiceConnected(ComponentName component, IBinder service) argument 1832 onServiceDisconnected(ComponentName component) argument 1866 ServiceCallback(ComponentName component, int userId) argument [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | PrintManagerService.java | 593 ComponentName component = new ComponentName(serviceInfo.packageName, 597 showEnableInstalledPrintServiceNotification(component, label, 737 private void showEnableInstalledPrintServiceNotification(ComponentName component, argument 742 intent.putExtra(EXTRA_PRINT_SERVICE_COMPONENT_NAME, component.flattenToString()); 770 String notificationTag = getClass().getName() + ":" + component.flattenToString();
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsService.java | 473 public void reportEvent(ComponentName component, int userId, int eventType) { argument 474 if (component == null) { 475 Slog.w(TAG, "Event reported without a component name"); 480 event.mPackage = component.getPackageName(); 481 event.mClass = component.getClassName();
|