/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerController.java | 58 public PlayerController(Activity context, Intent serviceIntent) { 60 if (serviceIntent == null) { 63 mServiceIntent = serviceIntent;
|
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/ |
CustomTabsClient.java | 116 Intent serviceIntent = new Intent(CustomTabsService.ACTION_CUSTOM_TABS_CONNECTION); 118 serviceIntent.setPackage(packageName); 119 if (pm.resolveService(serviceIntent, 0) != null) return packageName;
|
/frameworks/support/media/src/main/java/androidx/media/ |
SessionToken2.java | 324 Intent serviceIntent = new Intent(serviceInterface); 328 serviceIntent.setPackage(serviceComponent.getPackageName()); 331 serviceIntent, PackageManager.GET_META_DATA);
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
CallLogNotificationsService.java | 86 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class); 87 serviceIntent.setAction(CallLogNotificationsService.ACTION_MARK_ALL_NEW_VOICEMAILS_AS_OLD); 88 context.startService(serviceIntent);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
ServiceBinder.java | 84 Intent serviceIntent = new Intent(mServiceAction).setComponent(mComponentName); 91 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, 94 isBound = mContext.bindService(serviceIntent, connection, bindingFlags);
|
InCallController.java | [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
ComponentContextFixture.java | 125 Intent serviceIntent, 130 return bindService(serviceIntent, connection, flags); 135 Intent serviceIntent, 141 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); 144 + serviceIntent.getComponent()); 147 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder());
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupNameEditDialogFragment.java | 253 final Intent serviceIntent; 255 serviceIntent = ContactSaveService.createNewGroupIntent(getActivity(), mAccount, 258 serviceIntent = ContactSaveService.createGroupRenameIntent(getActivity(), mGroupId, 261 ContactSaveService.startService(getActivity(), serviceIntent);
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
MusicPlayerFragment.java | 233 Intent serviceIntent = new Intent(getActivity(), MediaSessionService.class); 234 getActivity().bindService(serviceIntent, mPlaybackServiceConnection,
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiver.java | 231 Intent serviceIntent = new Intent(CellBroadcastConfigService.ACTION_ENABLE_CHANNELS, 234 context.startService(serviceIntent);
|
/frameworks/base/services/core/java/com/android/server/ |
NetworkScorerAppManager.java | 72 final Intent serviceIntent = new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS); 74 pm.queryIntentServices(serviceIntent, PackageManager.GET_META_DATA); 76 if (DEBUG) Log.d(TAG, "Found 0 Services able to handle " + serviceIntent);
|
TextServicesManagerService.java | 654 final Intent serviceIntent = new Intent(SpellCheckerService.SERVICE_INTERFACE); 655 serviceIntent.setComponent(info.getComponent()); 659 if (!bindCurrentSpellCheckerService(serviceIntent, connection, [all...] |
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
TextClassificationManagerService.java | 400 Intent serviceIntent = new Intent(TextClassifierService.SERVICE_INTERFACE) 402 Slog.d(LOG_TAG, "Binding to " + serviceIntent.getComponent()); 404 serviceIntent, mConnection,
|
/cts/tests/app/src/android/app/cts/ |
ActivityManagerProcessStateTest.java | 365 Intent serviceIntent = new Intent(); 366 serviceIntent.setClassName(SIMPLE_PACKAGE_NAME, 368 ServiceConnectionHandler conn = new ServiceConnectionHandler(mContext, serviceIntent, 396 mContext.stopService(serviceIntent); 437 mContext.startService(serviceIntent); 451 mContext.startService(serviceIntent); 460 mContext.stopService(serviceIntent); 482 mContext.startService(serviceIntent); 495 mContext.startService(serviceIntent); 502 mContext.stopService(serviceIntent); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
DeviceAdminTestReceiver.java | 225 final Intent serviceIntent = new Intent(context, PrimaryUserService.class); 226 devicePolicyManager.bindDeviceAdminServiceAsUser(getReceiverComponentName(), serviceIntent,
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
MyBroadcastReceiver.java | 202 final Intent serviceIntent = new Intent(context, MyService.class); 203 final PendingIntent pendingIntent = PendingIntent.getService(context, 0, serviceIntent,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ContextFixture.java | 182 Intent serviceIntent, 188 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); 190 service = mServiceByPackageName.get(serviceIntent.getPackage()); 195 serviceIntent.getComponent(), serviceIntent.getPackage())); 198 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder());
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
UsbDeviceHandlerResolver.java | 502 Intent serviceIntent = new Intent(); 503 serviceIntent.setComponent(ComponentName.unflattenFromString(option.second.mAoapService)); 504 boolean bound = mContext.bindService(serviceIntent, context.mServiceConnection,
|
/cts/tests/tests/content/src/android/content/cts/ |
BroadcastReceiverTest.java | 105 Intent serviceIntent = new Intent(context, MockService.class); 106 mIBinder = peekService(context, serviceIntent);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardBottomAreaView.java | 470 Intent serviceIntent = new Intent(); 471 serviceIntent.setClassName(targetInfo.packageName, clazz); 472 serviceIntent.setAction(CameraPrewarmService.ACTION_PREWARM); 474 if (getContext().bindServiceAsUser(serviceIntent, mPrewarmConnection, [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
CreateAndManageUserTest.java | 677 final Intent serviceIntent = new Intent(context, PrimaryUserService.class); 680 serviceIntent,
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 97 Intent serviceIntent = new Intent(SERVICE_ACTION_NAME); 98 List<ResolveInfo> services = mPackageManager.queryIntentServices(serviceIntent,
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
PhoneNumberInteraction.java | 569 final Intent serviceIntent = 571 activity.startService(serviceIntent);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
ImsResolver.java | [all...] |
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
UsbDeviceHandlerResolver.java | 580 Intent serviceIntent = new Intent(); 581 serviceIntent.setComponent(ComponentName.unflattenFromString(option.second.mAoapService)); 582 boolean bound = mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE); [all...] |