/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | ICalendarTest.java | 39 ICalendar.Component component = new ICalendar.Component("DUMMY", null); in testAddProperty() local 41 component.addProperty(new ICalendar.Property("prop2", "value3")); in testAddProperty() 42 component.addProperty(new ICalendar.Property("prop1", "value1")); in testAddProperty() 43 component.addProperty(new ICalendar.Property("prop1", "value2")); in testAddProperty() 44 assertEquals(text, component.toString()); in testAddProperty() 75 ICalendar.Component component = ICalendar.parseComponent(text); in testParseBasicComponent() local 77 assertEquals("DUMMY", component.getName()); in testParseBasicComponent() 78 assertNull(component.getComponents()); in testParseBasicComponent() 79 assertEquals(2, component.getPropertyNames().size()); in testParseBasicComponent() 80 ICalendar.Property prop1 = component.getFirstProperty("PROP1"); in testParseBasicComponent() [all …]
|
D | RecurrenceSetTest.java | 105 ICalendar.Component component = new ICalendar.Component(MOCK_COMPONENT_NAME, null); in testRRULEfolding() local 112 assertTrue(RecurrenceSet.populateComponent(values, component)); in testRRULEfolding() 113 List<ICalendar.Property> list = component.getProperties("DTSTART"); in testRRULEfolding() 117 list = component.getProperties("RRULE"); in testRRULEfolding() 121 component = new ICalendar.Component(MOCK_COMPONENT_NAME, null); in testRRULEfolding() 128 assertTrue(RecurrenceSet.populateComponent(values, component)); in testRRULEfolding() 130 list = component.getProperties("RRULE"); in testRRULEfolding() 134 component = new ICalendar.Component(MOCK_COMPONENT_NAME, null); in testRRULEfolding() 141 assertTrue(RecurrenceSet.populateComponent(values, component)); in testRRULEfolding() 143 list = component.getProperties("RRULE"); in testRRULEfolding()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLView.java | 140 public void addComponent(GLView component) { in addComponent() argument 142 if (component.mParent != null) throw new IllegalStateException(); in addComponent() 148 mComponents.add(component); in addComponent() 149 component.mParent = this; in addComponent() 153 component.onAttachToRoot(mRoot); in addComponent() 158 public boolean removeComponent(GLView component) { in removeComponent() argument 160 if (mComponents.remove(component)) { in removeComponent() 161 removeOneComponent(component); in removeComponent() 175 private void removeOneComponent(GLView component) { in removeOneComponent() argument 176 if (mMotionTarget == component) { in removeOneComponent() [all …]
|
D | MeasureHelper.java | 30 private MeasureHelper(GLView component) { in MeasureHelper() argument 31 mComponent = component; in MeasureHelper() 34 public static MeasureHelper getInstance(GLView component) { in getInstance() argument 35 sInstance.mComponent = component; in getInstance()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AllAppsList.java | 105 final ComponentName component = info.intent.getComponent(); in removePackage() local 106 if (info.user.equals(user) && packageName.equals(component.getPackageName())) { in removePackage() 128 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local 130 && packageName.equals(component.getPackageName())) { in updatePackage() 131 if (!findActivity(matches, component, user)) { in updatePackage() 133 mIconCache.remove(component); in updatePackage() 161 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local 163 && packageName.equals(component.getPackageName())) { in updatePackage() 165 mIconCache.remove(component); in updatePackage() 176 private static boolean findActivity(List<LauncherActivityInfo> apps, ComponentName component, in findActivity() argument [all …]
|
D | IconCache.java | 199 ComponentName component = intent.getComponent(); in getIcon() local 201 if (launcherActInfo == null || component == null) { in getIcon() 205 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user); in getIcon() 210 public Bitmap getIcon(ComponentName component, LauncherActivityInfo info, in getIcon() argument 213 if (info == null || component == null) { in getIcon() 217 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser()); in getIcon()
|
D | InstallWidgetReceiver.java | 150 final CharSequence component = resolveInfo.loadLabel(packageManager); in getView() local 155 component, widgetSpan[0], widgetSpan[1])); in getView()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AllAppsList.java | 112 final ComponentName component = info.intent.getComponent(); in removePackage() local 113 if (info.user.equals(user) && packageName.equals(component.getPackageName())) { in removePackage() 135 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local 137 && packageName.equals(component.getPackageName())) { in updatePackage() 138 if (!findActivity(matches, component)) { in updatePackage() 140 mIconCache.remove(component, user); in updatePackage() 164 final ComponentName component = applicationInfo.intent.getComponent(); in updatePackage() local 166 && packageName.equals(component.getPackageName())) { in updatePackage() 168 mIconCache.remove(component, user); in updatePackage() 180 ComponentName component) { in findActivity() argument [all …]
|
D | IconCache.java | 241 ComponentName component = intent.getComponent(); in getIcon() local 244 if (component == null) { in getIcon() 249 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user, true); in getIcon() 258 ComponentName component = intent.getComponent(); in getTitleAndIcon() local 261 if (component == null) { in getTitleAndIcon() 268 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user, usePkgIcon); in getTitleAndIcon() 284 public synchronized Bitmap getIcon(ComponentName component, LauncherActivityInfoCompat info, in getIcon() argument 286 if (info == null || component == null) { in getIcon() 290 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser(), false); in getIcon() 522 private static String getResourceFilename(ComponentName component) { in getResourceFilename() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustAgentSettings.java | 46 ComponentName component; // service that implements ITrustAgent field in TrustAgentSettings.AgentInfo 53 return component.equals(((AgentInfo)other).component); in equals() 59 return component.compareTo(other.component); in compareTo() 96 preference.setChecked(mActiveAgents.contains(agent.component)); in updateAgents() 129 agentInfo.component = name; in findAvailableTrustAgents() 143 if (!mActiveAgents.contains(agent.component)) { in onPreferenceChange() 144 mActiveAgents.add(agent.component); in onPreferenceChange() 147 mActiveAgents.remove(agent.component); in onPreferenceChange()
|
D | HelpUtils.java | 99 ComponentName component = intent.resolveActivity(context.getPackageManager()); in prepareHelpMenuItem() local 100 if (component != null) { in prepareHelpMenuItem()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentDefaultDialog.java | 47 ComponentName component = intent.getParcelableExtra( in onCreate() local 52 if (!buildDialog(component, category)) { in onCreate() 70 private boolean buildDialog(ComponentName component, String category) { in buildDialog() argument 71 if (component == null || category == null) { in buildDialog() 87 if (component.equals(service.componentName)) { in buildDialog() 96 Log.e(TAG, "Component " + component + " is not a registered payment service."); in buildDialog() 102 if (defaultComponent != null && defaultComponent.equals(component)) { in buildDialog() 103 Log.e(TAG, "Component " + component + " is already default."); in buildDialog() 107 mNewDefault = component; in buildDialog()
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | CommandRecognizerEngine.java | 354 String component = packageName + "/" + className; in addClassName() local 360 openEntries.put(labelLowerCase, component); in addClassName() 364 int index = classList.indexOf(component); in addClassName() 365 int after = index + component.length(); in addClassName() 370 openEntries.put(labelLowerCase, classList + ' ' + component); in addClassName() 1163 String component = components[i]; in onRecognitionSuccess() local 1166 String packageName = component.substring( in onRecognitionSuccess() 1167 0, component.lastIndexOf('/')); in onRecognitionSuccess() 1168 String className = component.substring( in onRecognitionSuccess() 1169 component.lastIndexOf('/')+1, component.length()); in onRecognitionSuccess()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 208 for (ComponentName component : in notifyVoicemailChange() 212 if (!modifiedPackages.contains(component.getPackageName()) && in notifyVoicemailChange() 214 component.getPackageName())) { in notifyVoicemailChange() 219 intent.setComponent(component); in notifyVoicemailChange() 222 callingPackages.contains(component.getPackageName())); in notifyVoicemailChange() 224 String permissionNeeded = modifiedPackages.contains(component.getPackageName()) ? in notifyVoicemailChange() 229 component.getClassName(), permissionNeeded, in notifyVoicemailChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVL.java | 71 public void startActivityForProfile(ComponentName component, UserHandleCompat user, in startActivityForProfile() argument 73 mLauncherApps.startMainActivity(component, user.getUser(), sourceBounds, opts); in startActivityForProfile() 76 public void showAppDetailsForProfile(ComponentName component, UserHandleCompat user) { in showAppDetailsForProfile() argument 77 mLauncherApps.startAppDetailsActivity(component, user.getUser(), null, null); in showAppDetailsForProfile() 103 public boolean isActivityEnabledForProfile(ComponentName component, UserHandleCompat user) { in isActivityEnabledForProfile() argument 104 return mLauncherApps.isActivityEnabled(component, user.getUser()); in isActivityEnabledForProfile()
|
D | LauncherAppsCompatV16.java | 78 public void startActivityForProfile(ComponentName component, UserHandleCompat user, in startActivityForProfile() argument 82 launchIntent.setComponent(component); in startActivityForProfile() 88 public void showAppDetailsForProfile(ComponentName component, UserHandleCompat user) { in showAppDetailsForProfile() argument 89 String packageName = component.getPackageName(); in showAppDetailsForProfile() 117 public boolean isActivityEnabledForProfile(ComponentName component, UserHandleCompat user) { in isActivityEnabledForProfile() argument 119 ActivityInfo info = mPm.getActivityInfo(component, 0); in isActivityEnabledForProfile()
|
D | LauncherAppsCompat.java | 70 public abstract void startActivityForProfile(ComponentName component, UserHandleCompat user, in startActivityForProfile() argument 72 public abstract void showAppDetailsForProfile(ComponentName component, UserHandleCompat user); in showAppDetailsForProfile() argument 76 public abstract boolean isActivityEnabledForProfile(ComponentName component, in isActivityEnabledForProfile() argument
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 301 ComponentName component = entry.getKey(); in invalidateCache() local 303 ApduServiceInfo serviceInfo = userServices.services.get(component); in invalidateCache() 305 toBeRemoved.add(component); in invalidateCache() 315 for (ComponentName component : toBeRemoved) { in invalidateCache() 316 Log.d(TAG, "Removing dynamic AIDs registered by " + component); in invalidateCache() 317 userServices.dynamicAids.remove(component); in invalidateCache()
|
/packages/apps/Browser/src/com/android/browser/ |
D | UrlHandler.java | 326 String component = hostComponents[googleComponent]; in needsRlzString() local 327 if (!"google".equals(component)) { in needsRlzString() 329 (!"co".equals(component) && !"com".equals(component))) { in needsRlzString()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | GlowPadView.java | 1322 public boolean replaceTargetDrawablesIfPresent(ComponentName component, String name, in replaceTargetDrawablesIfPresent() argument 1327 if (component != null) { in replaceTargetDrawablesIfPresent() 1332 component, PackageManager.GET_META_DATA).metaData; in replaceTargetDrawablesIfPresent() 1336 Resources res = packageManager.getResourcesForActivity(component); in replaceTargetDrawablesIfPresent() 1342 + component.flattenToShortString() + " not found", e); in replaceTargetDrawablesIfPresent() 1345 + component.flattenToShortString(), nfe); in replaceTargetDrawablesIfPresent()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RespondViaSmsManager.java | 187 final ComponentName component = in rejectCallWithMessage() local 190 if (component != null) { in rejectCallWithMessage() 203 intent.setComponent(component); in rejectCallWithMessage()
|
D | Call.java | 393 String component = null; in toString() local 395 component = mConnectionService.getComponentName().flattenToShortString(); in toString() 401 component, in toString()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsIntentResolver.java | 98 String component = intent.getComponent().getClassName(); in resolveIntent() local 99 if (component.equals("alias.DialShortcut")) { in resolveIntent() 101 } else if (component.equals("alias.MessageShortcut")) { in resolveIntent()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | SetDevicePolicyTask.java | 96 ComponentName component = new ComponentName(mPackageName, mAdminReceiver); in setActiveAdmin() local 97 mDevicePolicyManager.setActiveAdmin(component, true); in setActiveAdmin()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RegisteredComponentCache.java | 141 for (ComponentInfo component : components) { in dump() 142 Log.i(TAG, component.toString()); in dump()
|