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

1234567

/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/app/
H A DNotificationManagerCompat.java269 ComponentName componentName = ComponentName.unflattenFromString(component);
270 if (componentName != null) {
271 packageNames.add(componentName.getPackageName());
341 handleServiceConnected(event.componentName, event.iBinder);
361 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { argument
362 ListenerRecord record = mRecordMap.get(componentName);
370 private void handleServiceDisconnected(ComponentName componentName) { argument
371 ListenerRecord record = mRecordMap.get(componentName);
377 private void handleRetryListenerQueue(ComponentName componentName) { argument
378 ListenerRecord record = mRecordMap.get(componentName);
385 onServiceConnected(ComponentName componentName, IBinder iBinder) argument
395 onServiceDisconnected(ComponentName componentName) argument
555 public final ComponentName componentName; field in class:NotificationManagerCompat.SideChannelManager.ListenerRecord
565 ListenerRecord(ComponentName componentName) argument
572 final ComponentName componentName; field in class:NotificationManagerCompat.ServiceConnectedEvent
575 ServiceConnectedEvent(ComponentName componentName, final IBinder iBinder) argument
[all...]
/frameworks/base/core/java/android/app/
H A DITaskStackListener.aidl83 * @param componentName of the activity that the task is being started with.
85 void onTaskCreated(int taskId, in ComponentName componentName);
H A DTaskStackListener.java67 public void onTaskCreated(int taskId, ComponentName componentName) throws RemoteException { argument
/frameworks/base/core/java/android/service/dreams/
H A DIDreamManager.aidl31 void testDream(in ComponentName componentName);
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp73 char componentName[256]; local
75 componentName, sizeof(componentName), index) == OMX_ErrorNone) {
79 info.mName = componentName;
83 mMaster->getRolesOfComponent(componentName, &roles);
/frameworks/support/core-utils/java/android/support/v4/app/
H A DNavUtils.java181 * @param componentName ComponentName for the source Activity
185 public static Intent getParentActivityIntent(Context context, ComponentName componentName) argument
187 String parentActivity = getParentActivityName(context, componentName);
192 componentName.getPackageName(), parentActivity);
221 * the application's manifest. The source activity is provided by componentName.
224 * @param componentName ComponentName for the source Activity
229 public static String getParentActivityName(Context context, ComponentName componentName) argument
232 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h68 const char *componentName, const char *componentRole);
71 const char *componentName, const char *componentRole);
74 const char *componentName, const char *componentRole);
/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/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/av/media/libstagefright/omx/1.0/
H A DOmx.cpp57 char componentName[256]; local
60 componentName, sizeof(componentName), index) == OMX_ErrorNone;
64 info.mName = componentName;
67 mMaster->getRolesOfComponent(componentName, &roles);
/frameworks/base/services/core/java/com/android/server/policy/
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/tests/servicestests/src/com/android/server/am/
H A DTaskStackChangedListenerTest.java103 public void onTaskCreated(int taskId, ComponentName componentName)
155 public void onTaskCreated(int taskId, ComponentName componentName)
158 params[1] = componentName;
188 ComponentName componentName = (ComponentName) params[1];
189 assertEquals(ActivityTaskChangeCallbacks.class.getName(), componentName.getClassName());
/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/base/packages/SystemUI/src/com/android/systemui/volume/car/
H A DCarVolumeDialogController.java44 public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
55 public void onServiceDisconnected(ComponentName componentName) {
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTransportManager.java121 ComponentName componentName = validTransport.getKey();
122 if (componentName.getPackageName().equals(packageName)) {
128 + componentName.flattenToShortString());
140 ComponentName componentName = new ComponentName(packageName, component);
141 TransportConnection removed = mValidTransports.remove(componentName);
145 componentName.flattenToShortString());
309 private boolean bindToTransport(ComponentName componentName, ServiceConnection connection) { argument
311 .setComponent(componentName);
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsSession.java46 ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) {
49 mComponentName = componentName;
45 CustomTabsSession( ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) argument
/frameworks/base/core/java/com/android/internal/app/
H A DResolverComparator.java358 public void updateModel(ComponentName componentName) { argument
363 .indexOf(componentName);
368 Log.d(TAG, "Selected a unknown component: " + componentName);
426 ComponentName componentName = new ComponentName(
430 final String perm = mPm.getServiceInfo(componentName, 0).permission;
432 Log.w(TAG, "ResolverRankerService " + componentName + " does not require"
437 + " to the <service> tag for " + componentName
444 Log.w(TAG, "ResolverRankerService " + componentName + " does not hold"
450 Log.e(TAG, "Could not look up service " + componentName
455 Log.d(TAG, "Succeeded to retrieve a ranker: " + componentName);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DPluginFragment.java158 ComponentName componentName = new ComponentName(mInfo.packageName,
160 if (mPm.getComponentEnabledSetting(componentName)
173 ComponentName componentName = new ComponentName(mInfo.packageName,
175 mPm.setComponentEnabledSetting(componentName, desiredState,
/frameworks/base/services/core/java/com/android/server/am/
H A DPreBootBroadcaster.java96 final ComponentName componentName = ri.activityInfo.getComponentName();
105 Slog.i(TAG, "Pre-boot of " + componentName.toShortString() + " for user " + mUserId);
106 EventLogTags.writeAmPreBoot(mUserId, componentName.getPackageName());
108 mIntent.setComponent(componentName);

Completed in 653 milliseconds

1234567