Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java242 ComponentName componentName = ComponentName.unflattenFromString(component); in getEnabledListenerPackages() local
243 if (componentName != null) { in getEnabledListenerPackages()
244 packageNames.add(componentName.getPackageName()); in getEnabledListenerPackages()
317 handleServiceConnected(event.componentName, event.iBinder); in handleMessage()
337 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { in handleServiceConnected() argument
338 ListenerRecord record = mRecordMap.get(componentName); in handleServiceConnected()
346 private void handleServiceDisconnected(ComponentName componentName) { in handleServiceDisconnected() argument
347 ListenerRecord record = mRecordMap.get(componentName); in handleServiceDisconnected()
353 private void handleRetryListenerQueue(ComponentName componentName) { in handleRetryListenerQueue() argument
354 ListenerRecord record = mRecordMap.get(componentName); in handleRetryListenerQueue()
[all …]
DNavUtils.java254 public static Intent getParentActivityIntent(Context context, ComponentName componentName) in getParentActivityIntent() argument
256 String parentActivity = getParentActivityName(context, componentName); in getParentActivityIntent()
261 componentName.getPackageName(), parentActivity); in getParentActivityIntent()
298 public static String getParentActivityName(Context context, ComponentName componentName) in getParentActivityName() argument
301 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA); in getParentActivityName()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionManager.java40 ComponentName componentName, in addConnectionService() argument
42 if (!mRemoteConnectionServices.containsKey(componentName)) { in addConnectionService()
47 mRemoteConnectionServices.put(componentName, remoteConnectionService); in addConnectionService()
62 ComponentName componentName = request.getAccountHandle().getComponentName(); in createRemoteConnection() local
63 if (!mRemoteConnectionServices.containsKey(componentName)) { in createRemoteConnection()
65 + componentName); in createRemoteConnection()
68 RemoteConnectionService remoteService = mRemoteConnectionServices.get(componentName); in createRemoteConnection()
DPhoneAccountHandle.java48 ComponentName componentName, in PhoneAccountHandle() argument
50 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
55 ComponentName componentName, in PhoneAccountHandle() argument
58 mComponentName = componentName; in PhoneAccountHandle()
/frameworks/support/v4/java/android/support/v4/content/
DIntentCompat.java31 Intent makeMainActivity(ComponentName componentName); in makeMainActivity() argument
38 public Intent makeMainActivity(ComponentName componentName) { in makeMainActivity() argument
40 intent.setComponent(componentName); in makeMainActivity()
67 public Intent makeMainActivity(ComponentName componentName) { in makeMainActivity() argument
68 return IntentCompatHoneycomb.makeMainActivity(componentName); in makeMainActivity()
71 public Intent makeRestartActivityTask(ComponentName componentName) { in makeRestartActivityTask() argument
72 return IntentCompatHoneycomb.makeRestartActivityTask(componentName); in makeRestartActivityTask()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java263 ComponentName componentName = ComponentName.unflattenFromString(nameString); in startConfirmation() local
264 if (startConfirmationActivity(componentName, key, fingerprints) in startConfirmation()
265 || startConfirmationService(componentName, key, fingerprints)) { in startConfirmation()
275 private boolean startConfirmationActivity(ComponentName componentName, String key, in startConfirmationActivity() argument
278 Intent intent = createConfirmationIntent(componentName, key, fingerprints); in startConfirmationActivity()
285 Slog.e(TAG, "unable to start adb whitelist activity: " + componentName, e); in startConfirmationActivity()
294 private boolean startConfirmationService(ComponentName componentName, String key, in startConfirmationService() argument
296 Intent intent = createConfirmationIntent(componentName, key, fingerprints); in startConfirmationService()
302 Slog.e(TAG, "unable to start adb whitelist service: " + componentName, e); in startConfirmationService()
307 private Intent createConfirmationIntent(ComponentName componentName, String key, in createConfirmationIntent() argument
[all …]
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h67 const char *componentName, const char *componentRole);
70 const char *componentName, const char *componentRole);
73 const char *componentName, const char *componentRole);
DOMXHarness.cpp280 const char *componentName, const char *componentRole) { in testStateTransitions() argument
281 if (strncmp(componentName, "OMX.", 4)) { in testStateTransitions()
291 mOMX->allocateNode(componentName, this, &node); in testStateTransitions()
562 const char *componentName, const char *componentRole) { in testSeek() argument
602 source, componentName); in testSeek()
745 const char *componentName, const char *componentRole) { in test() argument
746 printf("testing %s [%s] ... ", componentName, componentRole); in test()
747 ALOGI("testing %s [%s].", componentName, componentRole); in test()
749 status_t err1 = testStateTransitions(componentName, componentRole); in test()
750 status_t err2 = testSeek(componentName, componentRole); in test()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProvider.java266 ProviderMetadata(ComponentName componentName) { in ProviderMetadata() argument
267 if (componentName == null) { in ProviderMetadata()
270 mComponentName = componentName; in ProviderMetadata()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java577 ComponentName componentName = getDefaultSendToApplication(userContext, true); in onPackageChanged() local
578 if (componentName != null) { in onPackageChanged()
579 configurePreferredActivity(packageManager, componentName, userId); in onPackageChanged()
590 ComponentName componentName, int userId) { in configurePreferredActivity() argument
592 replacePreferredActivity(packageManager, componentName, userId, SCHEME_SMS); in configurePreferredActivity()
593 replacePreferredActivity(packageManager, componentName, userId, SCHEME_SMSTO); in configurePreferredActivity()
594 replacePreferredActivity(packageManager, componentName, userId, SCHEME_MMS); in configurePreferredActivity()
595 replacePreferredActivity(packageManager, componentName, userId, SCHEME_MMSTO); in configurePreferredActivity()
602 ComponentName componentName, int userId, String scheme) { in replacePreferredActivity() argument
624 set, componentName, userId); in replacePreferredActivity()
DWapPushOverSms.java285 ComponentName componentName = SmsApplication.getDefaultMmsApplication(mContext, true); in dispatchWapPdu() local
286 if (componentName != null) { in dispatchWapPdu()
288 intent.setComponent(componentName); in dispatchWapPdu()
289 if (DBG) Rlog.v(TAG, "Delivering MMS to: " + componentName.getPackageName() + in dispatchWapPdu()
290 " " + componentName.getClassName()); in dispatchWapPdu()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java291 provider.id.componentName.getPackageName(), in onConfigurationChanged()
832 public int[] getAppWidgetIds(ComponentName componentName) { in getAppWidgetIds() argument
840 mSecurityPolicy.enforceCallFromPackage(componentName.getPackageName()); in getAppWidgetIds()
847 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName); in getAppWidgetIds()
915 ComponentName componentName = intent.getComponent(); in bindRemoteViewsService() local
919 String providerPackage = widget.provider.id.componentName.getPackageName(); in bindRemoteViewsService()
920 String servicePackage = componentName.getPackageName(); in bindRemoteViewsService()
929 componentName, widget.provider.getUserId()); in bindRemoteViewsService()
1240 public void updateAppWidgetProvider(ComponentName componentName, RemoteViews views) { in updateAppWidgetProvider() argument
1248 mSecurityPolicy.enforceCallFromPackage(componentName.getPackageName()); in updateAppWidgetProvider()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java890 boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force, in bindWallpaperComponentLocked() argument
892 if (DEBUG) Slog.v(TAG, "bindWallpaperComponentLocked: componentName=" + componentName); in bindWallpaperComponentLocked()
897 if (componentName == null) { in bindWallpaperComponentLocked()
902 } else if (wallpaper.wallpaperComponent.equals(componentName)) { in bindWallpaperComponentLocked()
911 if (componentName == null) { in bindWallpaperComponentLocked()
912 componentName = WallpaperManager.getDefaultWallpaperComponent(mContext); in bindWallpaperComponentLocked()
913 if (componentName == null) { in bindWallpaperComponentLocked()
915 componentName = mImageWallpaper; in bindWallpaperComponentLocked()
922 ServiceInfo si = mIPackageManager.getServiceInfo(componentName, in bindWallpaperComponentLocked()
926 Slog.w(TAG, "Attempted wallpaper " + componentName + " is unavailable"); in bindWallpaperComponentLocked()
[all …]
/frameworks/base/core/java/android/app/
DSearchDialog.java210 ComponentName componentName, Bundle appSearchData) { in show() argument
211 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData); in show()
227 ComponentName componentName, Bundle appSearchData) { in doShow() argument
229 if (!show(componentName, appSearchData)) { in doShow()
247 private boolean show(ComponentName componentName, Bundle appSearchData) { in show() argument
250 Log.d(LOG_TAG, "show(" + componentName + ", " in show()
257 mSearchable = searchManager.getSearchableInfo(componentName); in show()
263 mLaunchComponent = componentName; in show()
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java451 ComponentName componentName = ComponentName.unflattenFromString(componentStr); in readChild() local
452 if (componentName == null) { in readChild()
456 mComponentFilters.add(componentName); in readChild()
522 public void queryByComponent(ComponentName componentName, List<Rule> candidateRules) { in queryByComponent() argument
523 Rule[] rules = mRulesByComponent.get(componentName); in queryByComponent()
529 public void addComponentFilter(ComponentName componentName, Rule rule) { in addComponentFilter() argument
530 Rule[] rules = mRulesByComponent.get(componentName); in addComponentFilter()
532 mRulesByComponent.put(componentName, rules); in addComponentFilter()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java507 ComponentName componentName = iterator.next(); in registerBroadcastReceivers()
508 if (packageName.equals(componentName.getPackageName())) { in registerBroadcastReceivers()
528 ComponentName componentName = iterator.next(); in registerBroadcastReceivers()
529 if (packageName.equals(componentName.getPackageName())) { in registerBroadcastReceivers()
555 ComponentName componentName = iterator.next(); in registerBroadcastReceivers()
556 String componentPackage = componentName.getPackageName(); in registerBroadcastReceivers()
605 for (ComponentName componentName : componentNames) { in registerBroadcastReceivers()
609 builder.append(componentName.flattenToShortString()); in registerBroadcastReceivers()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java570 ComponentName componentName, in SessionsListenerRecord() argument
573 mComponentName = componentName; in SessionsListenerRecord()
635 public List<IBinder> getSessions(ComponentName componentName, int userId) { in getSessions() argument
641 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in getSessions()
659 ComponentName componentName, int userId) throws RemoteException { in addSessionsListener() argument
665 int resolvedUserId = verifySessionsRequest(componentName, userId, pid, uid); in addSessionsListener()
673 componentName, resolvedUserId, pid, uid); in addSessionsListener()
816 private int verifySessionsRequest(ComponentName componentName, int userId, final int pid, in verifySessionsRequest() argument
819 if (componentName != null) { in verifySessionsRequest()
822 packageName = componentName.getPackageName(); in verifySessionsRequest()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java491 String componentName = extractValue(state); in parseLine() local
492 Component child = new Component(componentName, component); in parseLine()
499 String componentName = extractValue(state); in parseLine() local
501 !componentName.equals(component.getName())) { in parseLine()
502 throw new FormatException("Unexpected END " + componentName); in parseLine()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java258 public final ComponentName componentName; field in RegisteredServicesCache.ServiceInfo
262 public ServiceInfo(V type, ComponentName componentName, int uid) { in ServiceInfo() argument
264 this.componentName = componentName; in ServiceInfo()
270 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid; in toString()
487 ComponentName componentName = new ComponentName(si.packageName, si.name); in parseServiceInfo() local
519 return new ServiceInfo<V>(v, componentName, uid); in parseServiceInfo()
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java331 ComponentName componentName = name != null in dumpProvider() local
334 if (componentName == null) { in dumpProvider()
339 componentName = null; in dumpProvider()
346 if (componentName != null) { in dumpProvider()
347 if (r1.name.equals(componentName)) { in dumpProvider()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java56 ComponentName componentName = ComponentName.unflattenFromString( in getIntentForConfirmation() local
59 intent.setClassName(componentName.getPackageName(), componentName.getClassName()); in getIntentForConfirmation()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalKeyManager.java107 String componentName = parser.getAttributeValue(null, ATTR_COMPONENT); in loadGlobalKeys() local
111 componentName)); in loadGlobalKeys()
DEnableAccessibilityController.java248 ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name); in enableAccessibility() local
251 String enabledServiceString = componentName.flattenToString(); in enableAccessibility()
275 componentName, enableTouchExploration); in enableAccessibility()
/frameworks/av/media/libstagefright/omx/
DOMX.cpp203 char componentName[256]; in listNodes() local
205 componentName, sizeof(componentName), index) == OMX_ErrorNone) { in listNodes()
209 info.mName = componentName; in listNodes()
213 mMaster->getRolesOfComponent(componentName, &roles); in listNodes()
/frameworks/base/core/java/android/service/dreams/
DIDreamManager.aidl31 void testDream(in ComponentName componentName); in testDream() argument

123