HomeSort by relevance Sort by last modified time
    Searched defs:serviceIntent (Results 1 - 21 of 21) sorted by null

  /cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/
RecentTaskActivity.java 37 final Intent serviceIntent = new Intent();
38 serviceIntent.setClass(this, TaskRemovedListenerService.class);
40 serviceIntent.putExtras(extras);
42 startService(serviceIntent);
  /cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
SimpleReceiverStartService.java 27 Intent serviceIntent = intent.getParcelableExtra("service");
29 context.startService(serviceIntent);
SimpleActivityStartService.java 48 Intent serviceIntent = getIntent().getParcelableExtra("service");
50 startService(serviceIntent);
  /cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
BindDeviceAdminServiceFailsTest.java 68 final Intent serviceIntent = new Intent();
69 serviceIntent.setClassName(targetPackageName, ProtectedCrossUserService.class.getName());
70 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, otherProfile);
78 private boolean bind(Intent serviceIntent, ServiceConnection serviceConnection,
81 serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE, userHandle);
BindDeviceAdminServiceGoodSetupTest.java 112 final Intent serviceIntent = new Intent(mContext, UnprotectedCrossUserService.class);
115 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, targetUser);
128 final Intent serviceIntent = new Intent();
129 serviceIntent.setClassName(NON_MANAGING_PACKAGE, ProtectedCrossUserService.class.getName());
132 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, targetUser);
145 final Intent serviceIntent = new Intent(mContext, ProtectedCrossUserService.class);
146 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, Process.myUserHandle());
202 final Intent serviceIntent = new Intent(mContext, ProtectedCrossUserService.class);
203 assertTrue(bind(serviceIntent, serviceConnection, targetUserHandle));
217 private boolean bind(Intent serviceIntent, ServiceConnection serviceConnection
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
IsolatedProcessTest.java 71 Intent serviceIntent = new Intent(mContext, IsolatedService.class);
72 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
  /developers/build/prebuilts/gradle/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/
MainActivity.java 62 Intent serviceIntent = new Intent(this, ResponderService.class);
63 serviceIntent.setAction(action);
64 startService(serviceIntent);
  /developers/samples/android/deprecated/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/
MainActivity.java 62 Intent serviceIntent = new Intent(this, ResponderService.class);
63 serviceIntent.setAction(action);
64 startService(serviceIntent);
  /development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/
MainActivity.java 62 Intent serviceIntent = new Intent(this, ResponderService.class);
63 serviceIntent.setAction(action);
64 startService(serviceIntent);
  /developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DeviceDetailFragment.java 130 Intent serviceIntent = new Intent(getActivity(), FileTransferService.class);
131 serviceIntent.setAction(FileTransferService.ACTION_SEND_FILE);
132 serviceIntent.putExtra(FileTransferService.EXTRAS_FILE_PATH, uri.toString());
133 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_ADDRESS,
135 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_PORT, 8988);
136 getActivity().startService(serviceIntent);
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DeviceDetailFragment.java 128 Intent serviceIntent = new Intent(getActivity(), FileTransferService.class);
129 serviceIntent.setAction(FileTransferService.ACTION_SEND_FILE);
130 serviceIntent.putExtra(FileTransferService.EXTRAS_FILE_PATH, uri.toString());
131 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_ADDRESS,
133 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_PORT, 8988);
134 getActivity().startService(serviceIntent);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DeviceAdminTestReceiver.java 236 final Intent serviceIntent = new Intent(context, PrimaryUserService.class);
237 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,
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowContextImplTest.java 149 new Intent().setClassName(context, "ServiceIntent"),
155 .isEqualTo("ServiceIntent");
178 Intent serviceIntent = new Intent();
184 serviceIntent, serviceConnection, flags, Process.myUserHandle()))
192 Intent serviceIntent = new Intent();
196 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isTrue();
204 Intent serviceIntent = new Intent(action);
209 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isFalse();
ShadowApplicationTest.java 537 final Intent serviceIntent = new Intent(unboundableAction);
540 assertThat(context.bindService(serviceIntent, expectedServiceConnection, 0)).isFalse();
  /cts/tests/tests/media/src/android/media/cts/
MediaSession2ServiceTest.java 389 Intent serviceIntent = new Intent(MediaSession2Service.SERVICE_INTERFACE);
390 assertNotNull(service.onBind(serviceIntent));
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
CreateAndManageUserTest.java 545 final Intent serviceIntent = new Intent(context, PrimaryUserService.class);
548 serviceIntent,
  /cts/tests/tests/content/src/android/content/cts/
BroadcastReceiverTest.java 106 Intent serviceIntent = new Intent(context, MockService.class);
107 mIBinder = peekService(context, serviceIntent);
  /cts/tests/app/src/android/app/cts/
ActivityManagerProcessStateTest.java 408 Intent serviceIntent = new Intent();
409 serviceIntent.setClassName(SIMPLE_PACKAGE_NAME,
411 ServiceConnectionHandler conn = new ServiceConnectionHandler(mContext, serviceIntent,
439 mContext.stopService(serviceIntent);
479 mContext.startService(serviceIntent);
493 mContext.startService(serviceIntent);
502 mContext.stopService(serviceIntent);
524 mContext.startService(serviceIntent);
537 mContext.startService(serviceIntent);
544 mContext.stopService(serviceIntent);
    [all...]
NotificationManagerTest.java     [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageManagerTest.java 147 Intent serviceIntent = new Intent(SERVICE_ACTION_NAME);
148 List<ResolveInfo> services = mPackageManager.queryIntentServices(serviceIntent,
    [all...]

Completed in 503 milliseconds