Searched refs:componentName (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConnectionManager.java40 ComponentName componentName,
42 if (!mRemoteConnectionServices.containsKey(componentName)) {
47 mRemoteConnectionServices.put(componentName, remoteConnectionService);
62 ComponentName componentName = request.getAccountHandle().getComponentName();
63 if (!mRemoteConnectionServices.containsKey(componentName)) {
65 + componentName);
68 RemoteConnectionService remoteService = mRemoteConnectionServices.get(componentName);
39 addConnectionService( ComponentName componentName, IConnectionService outgoingConnectionServiceRpc) argument
H A DPhoneAccountHandle.java48 ComponentName componentName,
50 this(componentName, id, Process.myUserHandle());
55 ComponentName componentName,
58 mComponentName = componentName;
47 PhoneAccountHandle( ComponentName componentName, String id) argument
54 PhoneAccountHandle( ComponentName componentName, String id, UserHandle userHandle) argument
/frameworks/support/v4/java/android/support/v4/content/
H A DIntentCompat.java31 Intent makeMainActivity(ComponentName componentName); argument
38 public Intent makeMainActivity(ComponentName componentName) { argument
40 intent.setComponent(componentName);
67 public Intent makeMainActivity(ComponentName componentName) { argument
68 return IntentCompatHoneycomb.makeMainActivity(componentName);
71 public Intent makeRestartActivityTask(ComponentName componentName) { argument
72 return IntentCompatHoneycomb.makeRestartActivityTask(componentName);
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationManagerCompat.java242 ComponentName componentName = ComponentName.unflattenFromString(component);
243 if (componentName != null) {
244 packageNames.add(componentName.getPackageName());
317 handleServiceConnected(event.componentName, event.iBinder);
337 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { argument
338 ListenerRecord record = mRecordMap.get(componentName);
346 private void handleServiceDisconnected(ComponentName componentName) { argument
347 ListenerRecord record = mRecordMap.get(componentName);
353 private void handleRetryListenerQueue(ComponentName componentName) { argument
354 ListenerRecord record = mRecordMap.get(componentName);
361 onServiceConnected(ComponentName componentName, IBinder iBinder) argument
371 onServiceDisconnected(ComponentName componentName) argument
530 public final ComponentName componentName; field in class:NotificationManagerCompat.SideChannelManager.ListenerRecord
540 ListenerRecord(ComponentName componentName) argument
547 final ComponentName componentName; field in class:NotificationManagerCompat.ServiceConnectedEvent
550 ServiceConnectedEvent(ComponentName componentName, final IBinder iBinder) argument
[all...]
H A DNavUtils.java250 * @param componentName ComponentName for the source Activity
254 public static Intent getParentActivityIntent(Context context, ComponentName componentName) argument
256 String parentActivity = getParentActivityName(context, componentName);
261 componentName.getPackageName(), parentActivity);
290 * the application's manifest. The source activity is provided by componentName.
293 * @param componentName ComponentName for the source Activity
298 public static String getParentActivityName(Context context, ComponentName componentName) argument
301 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h67 const char *componentName, const char *componentRole);
70 const char *componentName, const char *componentRole);
73 const char *componentName, const char *componentRole);
H A DOMXHarness.cpp280 const char *componentName, const char *componentRole) {
281 if (strncmp(componentName, "OMX.", 4)) {
291 mOMX->allocateNode(componentName, this, &node);
562 const char *componentName, const char *componentRole) {
602 source, componentName);
745 const char *componentName, const char *componentRole) {
746 printf("testing %s [%s] ... ", componentName, componentRole);
747 ALOGI("testing %s [%s].", componentName, componentRole);
749 status_t err1 = testStateTransitions(componentName, componentRole);
750 status_t err2 = testSeek(componentName, componentRol
279 testStateTransitions( const char *componentName, const char *componentRole) argument
561 testSeek( const char *componentName, const char *componentRole) argument
744 test( const char *componentName, const char *componentRole) argument
767 const char *componentName = info.mName.string(); local
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDebuggingManager.java263 ComponentName componentName = ComponentName.unflattenFromString(nameString);
264 if (startConfirmationActivity(componentName, key, fingerprints)
265 || startConfirmationService(componentName, key, fingerprints)) {
273 * @returns true if the componentName led to an Activity that was started.
275 private boolean startConfirmationActivity(ComponentName componentName, String key, argument
278 Intent intent = createConfirmationIntent(componentName, key, fingerprints);
285 Slog.e(TAG, "unable to start adb whitelist activity: " + componentName, e);
292 * @returns true if the componentName led to a Service that was started.
294 private boolean startConfirmationService(ComponentName componentName, String key, argument
296 Intent intent = createConfirmationIntent(componentName, ke
307 createConfirmationIntent(ComponentName componentName, String key, String fingerprints) argument
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DIDreamManager.aidl31 void testDream(in ComponentName componentName);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java266 ProviderMetadata(ComponentName componentName) { argument
267 if (componentName == null) {
268 throw new IllegalArgumentException("componentName must not be null");
270 mComponentName = componentName;
289 return "ProviderMetadata{ componentName="
/frameworks/base/core/java/android/print/
H A DIPrintSpooler.aidl37 void getPrintJobInfos(IPrintSpoolerCallbacks callback, in ComponentName componentName,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java577 ComponentName componentName = getDefaultSendToApplication(userContext, true);
578 if (componentName != null) {
579 configurePreferredActivity(packageManager, componentName, userId);
590 ComponentName componentName, int userId) {
592 replacePreferredActivity(packageManager, componentName, userId, SCHEME_SMS);
593 replacePreferredActivity(packageManager, componentName, userId, SCHEME_SMSTO);
594 replacePreferredActivity(packageManager, componentName, userId, SCHEME_MMS);
595 replacePreferredActivity(packageManager, componentName, userId, SCHEME_MMSTO);
602 ComponentName componentName, int userId, String scheme) {
624 set, componentName, userI
589 configurePreferredActivity(PackageManager packageManager, ComponentName componentName, int userId) argument
601 replacePreferredActivity(PackageManager packageManager, ComponentName componentName, int userId, String scheme) argument
[all...]
H A DWapPushOverSms.java285 ComponentName componentName = SmsApplication.getDefaultMmsApplication(mContext, true);
286 if (componentName != null) {
288 intent.setComponent(componentName);
289 if (DBG) Rlog.v(TAG, "Delivering MMS to: " + componentName.getPackageName() +
290 " " + componentName.getClassName());
/frameworks/base/core/java/android/app/
H A DSearchDialog.java210 ComponentName componentName, Bundle appSearchData) {
211 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData);
227 ComponentName componentName, Bundle appSearchData) {
229 if (!show(componentName, appSearchData)) {
247 private boolean show(ComponentName componentName, Bundle appSearchData) { argument
250 Log.d(LOG_TAG, "show(" + componentName + ", "
257 mSearchable = searchManager.getSearchableInfo(componentName);
263 mLaunchComponent = componentName;
209 show(String initialQuery, boolean selectInitialQuery, ComponentName componentName, Bundle appSearchData) argument
226 doShow(String initialQuery, boolean selectInitialQuery, ComponentName componentName, Bundle appSearchData) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalKeyManager.java107 String componentName = parser.getAttributeValue(null, ATTR_COMPONENT);
111 componentName));
H A DEnableAccessibilityController.java248 ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name);
251 String enabledServiceString = componentName.flattenToString();
275 componentName, enableTouchExploration);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java291 provider.id.componentName.getPackageName(),
834 public int[] getAppWidgetIds(ComponentName componentName) { argument
842 mSecurityPolicy.enforceCallFromPackage(componentName.getPackageName());
849 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName);
917 ComponentName componentName = intent.getComponent();
921 String providerPackage = widget.provider.id.componentName.getPackageName();
922 String servicePackage = componentName.getPackageName();
931 componentName, widget.provider.getUserId());
1242 public void updateAppWidgetProvider(ComponentName componentName, RemoteViews views) { argument
1250 mSecurityPolicy.enforceCallFromPackage(componentName
2195 getProviderInfo(ComponentName componentName, int userId) argument
3040 enforceServiceExistsAndRequiresBindRemoteViewsPermission( ComponentName componentName, int userId) argument
3252 final ComponentName componentName; field in class:AppWidgetServiceImpl.ProviderId
3254 ProviderId(int uid, ComponentName componentName) argument
3841 findProviderLocked(ComponentName componentName, int userId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java451 ComponentName componentName = ComponentName.unflattenFromString(componentStr);
452 if (componentName == null) {
456 mComponentFilters.add(componentName);
522 public void queryByComponent(ComponentName componentName, List<Rule> candidateRules) { argument
523 Rule[] rules = mRulesByComponent.get(componentName);
529 public void addComponentFilter(ComponentName componentName, Rule rule) { argument
530 Rule[] rules = mRulesByComponent.get(componentName);
532 mRulesByComponent.put(componentName, rules);
/frameworks/base/services/print/java/com/android/server/print/
H A DPrintManagerService.java507 ComponentName componentName = iterator.next();
508 if (packageName.equals(componentName.getPackageName())) {
528 ComponentName componentName = iterator.next();
529 if (packageName.equals(componentName.getPackageName())) {
555 ComponentName componentName = iterator.next();
556 String componentPackage = componentName.getPackageName();
605 for (ComponentName componentName : componentNames) {
609 builder.append(componentName.flattenToShortString());
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java56 ComponentName componentName = ComponentName.unflattenFromString(
59 intent.setClassName(componentName.getPackageName(), componentName.getClassName());
/frameworks/base/services/core/java/com/android/server/am/
H A DProviderMap.java331 ComponentName componentName = name != null
334 if (componentName == null) {
339 componentName = null;
346 if (componentName != null) {
347 if (r1.name.equals(componentName)) {
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java491 String componentName = extractValue(state);
492 Component child = new Component(componentName, component);
499 String componentName = extractValue(state);
501 !componentName.equals(component.getName())) {
502 throw new FormatException("Unexpected END " + componentName);
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java570 ComponentName componentName,
573 mComponentName = componentName;
635 public List<IBinder> getSessions(ComponentName componentName, int userId) { argument
641 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid);
659 ComponentName componentName, int userId) throws RemoteException {
665 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid);
673 componentName, resolvedUserId, pid, uid);
816 private int verifySessionsRequest(ComponentName componentName, int userId, final int pid, argument
819 if (componentName != null) {
822 packageName = componentName
569 SessionsListenerRecord(IActiveSessionsListener listener, ComponentName componentName, int userId, int pid, int uid) argument
658 addSessionsListener(IActiveSessionsListener listener, ComponentName componentName, int userId) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java258 public final ComponentName componentName; field in class:RegisteredServicesCache.ServiceInfo
262 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
264 this.componentName = componentName;
270 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid;
487 ComponentName componentName = new ComponentName(si.packageName, si.name);
519 return new ServiceInfo<V>(v, componentName, uid);
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java890 boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force, argument
892 if (DEBUG) Slog.v(TAG, "bindWallpaperComponentLocked: componentName=" + componentName);
897 if (componentName == null) {
902 } else if (wallpaper.wallpaperComponent.equals(componentName)) {
911 if (componentName == null) {
912 componentName = WallpaperManager.getDefaultWallpaperComponent(mContext);
913 if (componentName == null) {
915 componentName = mImageWallpaper;
922 ServiceInfo si = mIPackageManager.getServiceInfo(componentName,
[all...]

Completed in 4343 milliseconds

123