Home
last modified time | relevance | path

Searched refs:mService (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java47 private Intent mService; field in BinderTest
52 mService = new Intent( in setUp()
129 mContext.stopService(mService); in tearDown()
210 getContext().bindService(mService, conn1, 0); in testTransact()
211 getContext().startService(mService); in testTransact()
215 getContext().bindService(mService, conn2, 0); in testTransact()
223 getContext().stopService(mService); in testTransact()
234 getContext().stopService(mService); in testTransact()
246 getContext().bindService(mService, conn1, 0); in testTransact()
247 getContext().startService(mService); in testTransact()
[all …]
DSeccompTest.java301 private final ISeccompIsolatedService.Stub mService = new ISeccompIsolatedService.Stub() { field in SeccompTest.IsolatedService
393 return mService; in onBind()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java54 protected IProjectionService mService; field in ProjectionActivity
59 mService = IProjectionService.Stub.asInterface(binder);
67mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal());
79 mService = null;
102 if (mService != null) { in setContentViewAndInfoResources()
104 mService.onTouchEvent(event); in setContentViewAndInfoResources()
125 if (mService == null) { in onSurfaceTextureAvailable()
135 if (mService != null) { in onSurfaceTextureDestroyed()
137 mService.stopRendering(); in onSurfaceTextureDestroyed()
/cts/tests/tests/print/src/android/print/cts/services/
DPrintServiceCallbacks.java24 private PrintService mService; field in PrintServiceCallbacks
27 return mService; in getService()
31 mService = service; in setService()
DStubbablePrinterDiscoverySession.java26 private final PrintService mService; field in StubbablePrinterDiscoverySession
31 mService = service; in StubbablePrinterDiscoverySession()
39 return mService; in getService()
/cts/tests/tests/app/src/android/app/cts/
DActivityManager_RunningServiceInfoTest.java25 private ComponentName mService; field in ActivityManager_RunningServiceInfoTest
32 mService = new ComponentName(getContext(), MockActivity.class); in setUp()
34 mRunningServiceInfo.service = mService; in setUp()
61 assertEquals(mService, values.service); in testWriteToParcel()
81 assertEquals(mService, values.service); in testReadFromParcel()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java35 private Messenger mService; field in ServiceRunnerActivity
82 mService = new Messenger(service);
88 mService.send(msg);
100 mService = null;
DPermissionTestService.java62 private PermissionTestService mService; field in PermissionTestService.IncomingHandler
65 mService = service; in IncomingHandler()
75 mService.mClient = msg.replyTo; in handleMessage()
76 mService.startTests(); in handleMessage()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetPrimaryUserTest.java57 private Messenger mService; field in CrossProfileWidgetPrimaryUserTest
106 mService.send(message); in sendMessageToCallbacksService()
147 mService = new Messenger(service); in onServiceConnected()
153 mService = null; in onServiceDisconnected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
DProjectionWidgetActivity.java43 if (mService != null) { in onClick()
45 mService.onKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, mKeyCode)); in onClick()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/
DErrorLoggingService.java299 private Messenger mService = null; field in ErrorLoggingService.ErrorServiceConnection
325 mService = null; in close()
404 mService = new Messenger(iBinder);
414 mService = null;
429 while (mService == null && mBind) { in blockingGetBoundService()
438 return mService; in blockingGetBoundService()
449 return mService; in getBoundService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java66 protected IProjectionService mService; field in ProjectionOffscreenActivity
78 mService.onKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_DOWN));
124 mService = IProjectionService.Stub.asInterface(binder);
131 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY,
153 mService = null;
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java73 private Messenger mService; field in LauncherAppsTests
200 mService = new Messenger(service); in onServiceConnected()
206 mService = null; in onServiceDisconnected()
283 mService.send(message); in sendMessageToCallbacksService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java89 private BluetoothGattService mService; field in BleServerService
103 mService = createService(); in onCreate()
105 mGattServer.addService(mService); in onCreate()
206 mService.getCharacteristic(uuid); in getCharacteristic()
251 mService.getCharacteristic(UPDATE_CHARACTERISTIC_UUID); in beginNotification()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockInCallService.java45 private MockInCallService mService; field in MockInCallService.InCallServiceCallbacks
63 return mService; in getService()
67 mService = service; in setService()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1271 private IBinder mService; field in EncodeVirtualDisplayWithCompositionTest.RemoteVirtualDisplayPresentation
1276 mService = arg1;
1312 mService.transact(BINDER_CMD_START, parcel, null, 0); in start()
1319 mService.transact(BINDER_CMD_RENDER, parcel, null, 0); in doRendering()