Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java174 ComponentName componentName = tile.getComponentName(); in updateQsTile() local
175 verifyCaller(componentName.getPackageName()); in updateQsTile()
176 CustomTile customTile = getTileForComponent(componentName); in updateQsTile()
190 ComponentName componentName = tile.getComponentName(); in onStartSuccessful() local
191 verifyCaller(componentName.getPackageName()); in onStartSuccessful()
192 CustomTile customTile = getTileForComponent(componentName); in onStartSuccessful()
204 ComponentName componentName = tile.getComponentName(); in onShowDialog() local
205 verifyCaller(componentName.getPackageName()); in onShowDialog()
206 CustomTile customTile = getTileForComponent(componentName); in onShowDialog()
216 ComponentName componentName = tile.getComponentName(); in onDialogHidden() local
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java341 ComponentName componentName = ComponentName.unflattenFromString(component); in getEnabledListenerPackages() local
342 if (componentName != null) { in getEnabledListenerPackages()
343 packageNames.add(componentName.getPackageName()); in getEnabledListenerPackages()
415 handleServiceConnected(event.componentName, event.iBinder); in handleMessage()
435 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { in handleServiceConnected() argument
436 ListenerRecord record = mRecordMap.get(componentName); in handleServiceConnected()
444 private void handleServiceDisconnected(ComponentName componentName) { in handleServiceDisconnected() argument
445 ListenerRecord record = mRecordMap.get(componentName); in handleServiceDisconnected()
451 private void handleRetryListenerQueue(ComponentName componentName) { in handleRetryListenerQueue() argument
452 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 @NonNull ComponentName componentName, in PhoneAccountHandle()
50 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle()
54 @NonNull ComponentName componentName, in PhoneAccountHandle()
57 checkParameters(componentName, userHandle); in PhoneAccountHandle()
58 mComponentName = componentName; in PhoneAccountHandle()
144 private void checkParameters(ComponentName componentName, UserHandle userHandle) { in checkParameters() argument
145 if(componentName == null) { in checkParameters()
/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.java338 ComponentName componentName = ComponentName.unflattenFromString(componentString); in startConfirmation() local
339 if (startConfirmationActivity(componentName, userInfo.getUserHandle(), key, fingerprints) in startConfirmation()
340 || startConfirmationService(componentName, userInfo.getUserHandle(), in startConfirmation()
351 private boolean startConfirmationActivity(ComponentName componentName, UserHandle userHandle, in startConfirmationActivity() argument
354 Intent intent = createConfirmationIntent(componentName, key, fingerprints); in startConfirmationActivity()
361 Slog.e(TAG, "unable to start adb whitelist activity: " + componentName, e); in startConfirmationActivity()
370 private boolean startConfirmationService(ComponentName componentName, UserHandle userHandle, in startConfirmationService() argument
372 Intent intent = createConfirmationIntent(componentName, key, fingerprints); in startConfirmationService()
378 Slog.e(TAG, "unable to start adb whitelist service: " + componentName, e); in startConfirmationService()
383 private Intent createConfirmationIntent(ComponentName componentName, String key, in createConfirmationIntent() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAppInfo.java29 public AppInfo(ComponentName componentName, UserHandle user) { in AppInfo() argument
30 if (componentName == null || user == null) throw new IllegalArgumentException(); in AppInfo()
31 mComponentName = componentName; in AppInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java58 public View inflatePreviewFromService(ComponentName componentName) { in inflatePreviewFromService() argument
59 WidgetInfo info = getWidgetInfoFromService(componentName); in inflatePreviewFromService()
91 private WidgetInfo getWidgetInfoFromService(ComponentName componentName) { in getWidgetInfoFromService() argument
96 componentName, PackageManager.GET_META_DATA).metaData; in getWidgetInfoFromService()
97 return getWidgetInfoFromMetaData(componentName.getPackageName(), metaData); in getWidgetInfoFromService()
99 Log.w(TAG, "Failed to load preview; " + componentName.flattenToShortString() in getWidgetInfoFromService()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java79 final ComponentName componentName = ri.activityInfo.getComponentName(); in sendNext() local
88 Slog.i(TAG, "Pre-boot of " + componentName.toShortString() + " for user " + mUserId); in sendNext()
89 EventLogTags.writeAmPreBoot(mUserId, componentName.getPackageName()); in sendNext()
91 mIntent.setComponent(componentName); in sendNext()
DActivityMetricsLogger.java116 final String componentName = launchedActivity != null in notifyActivityLaunched() local
127 notifyActivityLaunched(resultCode, componentName, processRunning, processSwitch); in notifyActivityLaunched()
155 private void notifyActivityLaunched(int resultCode, @Nullable String componentName, in notifyActivityLaunched() argument
158 if (resultCode < 0 || componentName == null || !processSwitch) { in notifyActivityLaunched()
166 componentName); in notifyActivityLaunched()
/frameworks/base/services/core/java/com/android/server/policy/
DEnableAccessibilityController.java233 ComponentName componentName = getInstalledSpeakingAccessibilityServiceComponent(context); in enableAccessibility() local
234 if (componentName == null) { in enableAccessibility()
243 accessibilityManager.enableAccessibilityService(componentName, userId); in enableAccessibility()
246 componentName, true /* enableTouchExploration */); in enableAccessibility()
258 ComponentName componentName = getInstalledSpeakingAccessibilityServiceComponent(context); in disableAccessibility() local
259 if (componentName == null) { in disableAccessibility()
265 accessibilityManager.disableAccessibilityService(componentName, userId); in disableAccessibility()
DShortcutManager.java140 ComponentName componentName = new ComponentName(packageName, className); in loadShortcuts() local
142 info = packageManager.getActivityInfo(componentName, in loadShortcuts()
149 componentName = new ComponentName(packages[0], className); in loadShortcuts()
151 info = packageManager.getActivityInfo(componentName, in loadShortcuts()
164 intent.setComponent(componentName); in loadShortcuts()
/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.cpp259 const char *componentName, const char *componentRole) { in testStateTransitions() argument
260 if (strncmp(componentName, "OMX.", 4)) { in testStateTransitions()
270 mOMX->allocateNode(componentName, this, NULL, &node); in testStateTransitions()
541 const char *componentName, const char *componentRole) { in testSeek() argument
580 source, 0 /* flags */, NULL /* nativeWindow */, componentName); in testSeek()
723 const char *componentName, const char *componentRole) { in test() argument
724 printf("testing %s [%s] ... ", componentName, componentRole); in test()
725 ALOGI("testing %s [%s].", componentName, componentRole); in test()
727 status_t err1 = testStateTransitions(componentName, componentRole); in test()
728 status_t err2 = testSeek(componentName, componentRole); in test()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java55 public ComponentName componentName; field in DreamBackend.DreamInfo
64 sb.append(',').append(componentName); in toString()
105 dreamInfo.componentName = getDreamComponentName(resolveInfo); in getDreamInfos()
106 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream); in getDreamInfos()
211 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null) in preview()
214 mDreamManager.testDream(dreamInfo.componentName); in preview()
299 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1'); in sortKey()
/frameworks/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java133 public boolean disconnectIfNotMatching(final ComponentName componentName, final int userId) { in disconnectIfNotMatching() argument
134 if (matches(componentName, userId)) { in disconnectIfNotMatching()
201 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in connect()
242 public void onServiceDisconnected(ComponentName componentName) { in connect()
/frameworks/av/media/libstagefright/
DSimpleDecodingSource.cpp59 const AString &componentName = matchingCodecs[i]; in Create() local
60 if (desiredCodec != NULL && componentName.compare(desiredCodec)) { in Create()
64 ALOGV("Attempting to allocate codec '%s'", componentName.c_str()); in Create()
66 codec = MediaCodec::CreateByComponentName(looper, componentName); in Create()
68 ALOGI("Successfully allocated codec '%s'", componentName.c_str()); in Create()
78 ALOGD("Failed to configure codec '%s'", componentName.c_str()); in Create()
/frameworks/base/core/java/android/app/
DSearchDialog.java208 ComponentName componentName, Bundle appSearchData) { in show() argument
209 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData); in show()
225 ComponentName componentName, Bundle appSearchData) { in doShow() argument
227 if (!show(componentName, appSearchData)) { in doShow()
245 private boolean show(ComponentName componentName, Bundle appSearchData) { in show() argument
248 Log.d(LOG_TAG, "show(" + componentName + ", " in show()
255 mSearchable = searchManager.getSearchableInfo(componentName); in show()
261 mLaunchComponent = componentName; in show()
/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/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/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java335 provider.id.componentName.getPackageName(), in onConfigurationChanged()
1097 public int[] getAppWidgetIds(ComponentName componentName) { in getAppWidgetIds() argument
1105 mSecurityPolicy.enforceCallFromPackage(componentName.getPackageName()); in getAppWidgetIds()
1112 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName); in getAppWidgetIds()
1180 ComponentName componentName = intent.getComponent(); in bindRemoteViewsService() local
1184 String providerPackage = widget.provider.id.componentName.getPackageName(); in bindRemoteViewsService()
1185 String servicePackage = componentName.getPackageName(); in bindRemoteViewsService()
1194 componentName, widget.provider.getUserId()); in bindRemoteViewsService()
1505 public void updateAppWidgetProvider(ComponentName componentName, RemoteViews views) { in updateAppWidgetProvider() argument
1513 mSecurityPolicy.enforceCallFromPackage(componentName.getPackageName()); in updateAppWidgetProvider()
[all …]
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsClient.java43 CustomTabsClient(ICustomTabsService service, ComponentName componentName) { in CustomTabsClient() argument
45 mServiceComponentName = componentName; in CustomTabsClient()
144 public final void onServiceDisconnected(ComponentName componentName) { } in connectAndInitialize()
DCustomTabsSession.java40 ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) { in CustomTabsSession() argument
43 mComponentName = componentName; in CustomTabsSession()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java689 ComponentName componentName = getDefaultSendToApplication(userContext, true); in onPackageChanged() local
690 if (componentName != null) { in onPackageChanged()
691 configurePreferredActivity(packageManager, componentName, userId); in onPackageChanged()
702 ComponentName componentName, int userId) { in configurePreferredActivity() argument
704 replacePreferredActivity(packageManager, componentName, userId, SCHEME_SMS); in configurePreferredActivity()
705 replacePreferredActivity(packageManager, componentName, userId, SCHEME_SMSTO); in configurePreferredActivity()
706 replacePreferredActivity(packageManager, componentName, userId, SCHEME_MMS); in configurePreferredActivity()
707 replacePreferredActivity(packageManager, componentName, userId, SCHEME_MMSTO); in configurePreferredActivity()
714 ComponentName componentName, int userId, String scheme) { in replacePreferredActivity() argument
736 set, componentName, userId); in replacePreferredActivity()

12345