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

12345

/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 @NonNull ComponentName componentName,
50 this(componentName, id, Process.myUserHandle());
54 @NonNull ComponentName componentName,
57 checkParameters(componentName, userHandle);
58 mComponentName = componentName;
144 private void checkParameters(ComponentName componentName, UserHandle userHandle) { argument
145 if(componentName == null) {
47 PhoneAccountHandle( @onNull ComponentName componentName, @NonNull String id) argument
53 PhoneAccountHandle( @onNull ComponentName componentName, @NonNull String id, @NonNull UserHandle userHandle) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAppInfo.java29 public AppInfo(ComponentName componentName, UserHandle user) { argument
30 if (componentName == null || user == null) throw new IllegalArgumentException();
31 mComponentName = componentName;
/frameworks/support/compat/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/compat/java/android/support/v4/app/
H A DNotificationManagerCompat.java324 ComponentName componentName = ComponentName.unflattenFromString(component);
325 if (componentName != null) {
326 packageNames.add(componentName.getPackageName());
398 handleServiceConnected(event.componentName, event.iBinder);
418 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { argument
419 ListenerRecord record = mRecordMap.get(componentName);
427 private void handleServiceDisconnected(ComponentName componentName) { argument
428 ListenerRecord record = mRecordMap.get(componentName);
434 private void handleRetryListenerQueue(ComponentName componentName) { argument
435 ListenerRecord record = mRecordMap.get(componentName);
442 onServiceConnected(ComponentName componentName, IBinder iBinder) argument
452 onServiceDisconnected(ComponentName componentName) argument
611 public final ComponentName componentName; field in class:NotificationManagerCompat.SideChannelManager.ListenerRecord
621 ListenerRecord(ComponentName componentName) argument
628 final ComponentName componentName; field in class:NotificationManagerCompat.ServiceConnectedEvent
631 ServiceConnectedEvent(ComponentName componentName, final IBinder iBinder) argument
[all...]
/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.cpp259 const char *componentName, const char *componentRole) {
260 if (strncmp(componentName, "OMX.", 4)) {
270 mOMX->allocateNode(componentName, this, NULL, &node);
541 const char *componentName, const char *componentRole) {
580 source, 0 /* flags */, NULL /* nativeWindow */, componentName);
723 const char *componentName, const char *componentRole) {
724 printf("testing %s [%s] ... ", componentName, componentRole);
725 ALOGI("testing %s [%s].", componentName, componentRole);
727 status_t err1 = testStateTransitions(componentName, componentRole);
728 status_t err2 = testSeek(componentName, componentRol
258 testStateTransitions( const char *componentName, const char *componentRole) argument
540 testSeek( const char *componentName, const char *componentRole) argument
722 test( const char *componentName, const char *componentRole) argument
745 const char *componentName = info.mName.string(); local
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DIDreamManager.aidl31 void testDream(in ComponentName componentName);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDebuggingManager.java338 ComponentName componentName = ComponentName.unflattenFromString(componentString);
339 if (startConfirmationActivity(componentName, userInfo.getUserHandle(), key, fingerprints)
340 || startConfirmationService(componentName, userInfo.getUserHandle(),
349 * @returns true if the componentName led to an Activity that was started.
351 private boolean startConfirmationActivity(ComponentName componentName, UserHandle userHandle, argument
354 Intent intent = createConfirmationIntent(componentName, key, fingerprints);
361 Slog.e(TAG, "unable to start adb whitelist activity: " + componentName, e);
368 * @returns true if the componentName led to a Service that was started.
370 private boolean startConfirmationService(ComponentName componentName, UserHandle userHandle, argument
372 Intent intent = createConfirmationIntent(componentName, ke
383 createConfirmationIntent(ComponentName componentName, String key, String fingerprints) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierSignalAgent.java125 ComponentName componentName = ComponentName.unflattenFromString(name);
126 if (componentName == null) {
130 intent.setComponent(componentName);
/frameworks/base/services/core/java/com/android/server/utils/
H A DManagedApplicationService.java129 * @param componentName the component that must match.
133 public boolean disconnectIfNotMatching(final ComponentName componentName, final int userId) { argument
134 if (matches(componentName, userId)) {
201 public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
242 public void onServiceDisconnected(ComponentName componentName) {
/frameworks/base/core/java/android/service/chooser/
H A DChooserTarget.java100 * @param componentName Name of the component to be launched if this target is chosen
104 ComponentName componentName, @Nullable Bundle intentExtras) {
112 mComponentName = componentName;
103 ChooserTarget(CharSequence title, Icon icon, float score, ComponentName componentName, @Nullable Bundle intentExtras) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPreviewInflater.java58 public View inflatePreviewFromService(ComponentName componentName) { argument
59 WidgetInfo info = getWidgetInfoFromService(componentName);
91 private WidgetInfo getWidgetInfoFromService(ComponentName componentName) { argument
96 componentName, PackageManager.GET_META_DATA).metaData;
97 return getWidgetInfoFromMetaData(componentName.getPackageName(), metaData);
99 Log.w(TAG, "Failed to load preview; " + componentName.flattenToShortString()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
H A DDreamBackend.java55 public ComponentName componentName; field in class:DreamBackend.DreamInfo
64 sb.append(',').append(componentName);
105 dreamInfo.componentName = getDreamComponentName(resolveInfo);
106 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream);
211 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null)
214 mDreamManager.testDream(dreamInfo.componentName);
299 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1');
/frameworks/base/services/core/java/com/android/server/policy/
H A DEnableAccessibilityController.java233 ComponentName componentName = getInstalledSpeakingAccessibilityServiceComponent(context);
234 if (componentName == null) {
243 accessibilityManager.enableAccessibilityService(componentName, userId);
246 componentName, true /* enableTouchExploration */);
258 ComponentName componentName = getInstalledSpeakingAccessibilityServiceComponent(context);
259 if (componentName == null) {
265 accessibilityManager.disableAccessibilityService(componentName, userId);
H A DShortcutManager.java140 ComponentName componentName = new ComponentName(packageName, className);
142 info = packageManager.getActivityInfo(componentName,
149 componentName = new ComponentName(packages[0], className);
151 info = packageManager.getActivityInfo(componentName,
164 intent.setComponent(componentName);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityMetricsLogger.java116 final String componentName = launchedActivity != null
127 notifyActivityLaunched(resultCode, componentName, processRunning, processSwitch);
149 * @param componentName the component name of the activity being launched
155 private void notifyActivityLaunched(int resultCode, @Nullable String componentName, argument
158 if (resultCode < 0 || componentName == null || !processSwitch) {
166 componentName);
H A DPreBootBroadcaster.java94 final ComponentName componentName = ri.activityInfo.getComponentName();
103 Slog.i(TAG, "Pre-boot of " + componentName.toShortString() + " for user " + mUserId);
104 EventLogTags.writeAmPreBoot(mUserId, componentName.getPackageName());
106 mIntent.setComponent(componentName);
/frameworks/support/core-utils/java/android/support/v4/app/
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/support/customtabs/src/android/support/customtabs/
H A DCustomTabsClient.java47 CustomTabsClient(ICustomTabsService service, ComponentName componentName) { argument
49 mServiceComponentName = componentName;
148 public final void onServiceDisconnected(ComponentName componentName) { }
H A DCustomTabsSession.java44 ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) {
47 mComponentName = componentName;
43 CustomTabsSession( ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) argument
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProvider.java299 ProviderMetadata(ComponentName componentName) { argument
300 if (componentName == null) {
301 throw new IllegalArgumentException("componentName must not be null");
303 mComponentName = componentName;
322 return "ProviderMetadata{ componentName="
/frameworks/av/media/libstagefright/
H A DSimpleDecodingSource.cpp61 const AString &componentName = matchingCodecs[i]; local
62 if (desiredCodec != NULL && componentName.compare(desiredCodec)) {
66 ALOGV("Attempting to allocate codec '%s'", componentName.c_str());
68 codec = MediaCodec::CreateByComponentName(looper, componentName);
70 ALOGI("Successfully allocated codec '%s'", componentName.c_str());
80 ALOGD("Failed to configure codec '%s'", componentName.c_str());
H A DFrameRenderTracker.cpp36 void FrameRenderTracker::setComponentName(const AString &componentName) { argument
37 mComponentName = componentName;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileServiceManagerTests.java45 ComponentName componentName = new ComponentName(mContext,
47 Mockito.when(mTileLifecycle.getComponent()).thenReturn(componentName);

Completed in 1142 milliseconds

12345