Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 152) sorted by relevance

1234567

/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamsFeatureTest.java17 package android.service.dreams.cts;
20 import android.service.dreams.DreamService;
21 import android.service.dreams.IDreamManager;
28 IDreamManager service = IDreamManager.Stub.asInterface( in testDreamManagerExists() local
30 assertTrue("Dream manager service missing", service != null); in testDreamManagerExists()
DDreamServiceTest.java16 package android.service.dreams.cts;
18 import android.service.dreams.DreamService;
/cts/hostsidetests/devicepolicy/app/AutofillApp/src/com/android/cts/devicepolicy/autofillapp/
DSimpleAutofillService.java21 import android.service.autofill.AutofillService;
22 import android.service.autofill.FillCallback;
23 import android.service.autofill.FillRequest;
24 import android.service.autofill.SaveCallback;
25 import android.service.autofill.SaveRequest;
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DBindDeviceAdminServiceGoodSetupTest.java55 public void onServiceConnected(ComponentName name, IBinder service) {}
159 assertCrossProfileCall(ANSWER, service -> service.echo(ANSWER), targetUser); in testCrossProfileCall_echo()
168 assertCrossProfileCall(targetUser, service -> service.getUserHandle(), targetUser); in testCrossProfileCall_getUserHandle()
185 public void onServiceConnected(ComponentName name, IBinder service) { in assertCrossProfileCall()
194 queue.add(ICrossUserService.Stub.asInterface(service)); in assertCrossProfileCall()
204 IInterface service = queue.poll(5, TimeUnit.SECONDS); in assertCrossProfileCall() local
205 assertNotNull("binding to the target service timed out", service); in assertCrossProfileCall()
207 if (NOT_IN_MAIN_THREAD_POISON_PILL.equals(service)) { in assertCrossProfileCall()
210 ICrossUserService crossUserService = (ICrossUserService) service; in assertCrossProfileCall()
224 T call(ICrossUserService service) throws RemoteException; in call() argument
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationTest.java19 import android.service.notification.NotificationRecordProto;
20 import android.service.notification.NotificationServiceDumpProto;
21 import android.service.notification.State;
22 import android.service.notification.ZenMode;
23 import android.service.notification.ZenModeProto;
DFingerprintIncidentTest.java19 import android.service.fingerprint.FingerprintActionStatsProto;
20 import android.service.fingerprint.FingerprintServiceDumpProto;
21 import android.service.fingerprint.FingerprintUserStatsProto;
DDiskStatsProtoTest.java19 import android.service.diskstats.DiskStatsFreeSpaceProto;
20 import android.service.diskstats.DiskStatsServiceDumpProto;
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java146 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x() local
148 final MagnificationController controller2 = service.getMagnificationController(); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x()
153 service.runOnServiceSync(() -> service.disableSelf()); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x()
167 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty() local
170 final MagnificationController controller = service.getMagnificationController(); in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty()
175 service.runOnServiceSync(() -> service.disableSelf()); in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty()
185 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty() local
188 final MagnificationController controller = service.getMagnificationController(); in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty()
193 service.runOnServiceSync(() -> service.disableSelf()); in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty()
DAccessibilityVolumeTest.java68 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testChangeAccessibilityVolume_inAccessibilityService_shouldWork() local
71 service.runOnServiceSync(() -> in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
75 service.runOnServiceSync(() -> mAudioManager.setStreamVolume( in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
/cts/tests/app/src/android/app/cts/
DServiceTest.java39 import android.service.notification.StatusBarNotification;
80 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
105 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
111 service.transact(LocalService.SET_REPORTER_CODE, data, null, 0); in onServiceConnected()
156 private void startExpectResult(Intent service) { in startExpectResult() argument
157 startExpectResult(service, new Bundle()); in startExpectResult()
160 private void startExpectResult(Intent service, Bundle bundle) { in startExpectResult() argument
166 mContext.startService(new Intent(service).putExtras(bundle)); in startExpectResult()
169 mContext.startService(new Intent(service).putExtras(bundle)); in startExpectResult()
174 mContext.stopService(service); in startExpectResult()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DSeccompTest.java213 final ISeccompIsolatedService service = peer.get(); in testIsolatedServicePolicy() local
216 assertTrue(service.installFilter()); in testIsolatedServicePolicy()
217 assertTrue(service.createThread()); in testIsolatedServicePolicy()
218 assertTrue(service.getSystemInfo()); in testIsolatedServicePolicy()
219 doFileWriteTest(service); in testIsolatedServicePolicy()
220 assertTrue(service.openAshmem()); in testIsolatedServicePolicy()
221 assertTrue(service.openDevFile()); in testIsolatedServicePolicy()
244 final ISeccompIsolatedService service = peer.get(); in testViolateIsolatedServicePolicy() local
246 assertTrue(service.installFilter()); in testViolateIsolatedServicePolicy()
249 service.violatePolicy(); in testViolateIsolatedServicePolicy()
[all …]
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSessionService.java17 package android.voiceinteraction.service;
20 import android.service.voice.VoiceInteractionSession;
21 import android.service.voice.VoiceInteractionSessionService;
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DMainInteractionSessionService.java17 package android.assist.service;
20 import android.service.voice.VoiceInteractionSession;
21 import android.service.voice.VoiceInteractionSessionService;
DMainInteractionService.java17 package android.assist.service;
19 import static android.service.voice.VoiceInteractionSession.SHOW_WITH_ASSIST;
20 import static android.service.voice.VoiceInteractionSession.SHOW_WITH_SCREENSHOT;
29 import android.service.voice.VoiceInteractionService;
30 import android.service.voice.VoiceInteractionSession;
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
DMainInteractionSessionService.java17 package android.alarmclock.service;
20 import android.service.voice.VoiceInteractionSession;
21 import android.service.voice.VoiceInteractionSessionService;
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainInteractionSessionService.java17 package android.voicesettings.service;
20 import android.service.voice.VoiceInteractionSession;
21 import android.service.voice.VoiceInteractionSessionService;
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java82 for (String service : services) { in testDumpProtected()
88 .getDeclaredMethod("getService", String.class).invoke(null, service); in testDumpProtected()
97 Log.w(TAG, "Missing service " + service); in testDumpProtected()
101 Log.d(TAG, "Dumping service " + service); in testDumpProtected()
136 fail("dump() for " + service + " produced several lines of output; this " in testDumpProtected()
145 fail("dump() for " + service + " produced a single line which didn't " in testDumpProtected()
DIsolatedProcessTest.java62 public void onServiceConnected(ComponentName name, IBinder service) {
63 mService = IIsolatedService.Stub.asInterface(service);
87 IBinder service = mService.getSystemService(serviceName); in testGetServiceFromIsolatedService() local
89 service); in testGetServiceFromIsolatedService()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java615 BluetoothGattService service = in createAdditionalNotificationService() local
624 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
632 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
640 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
648 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
656 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
664 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
672 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
680 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
688 service.addCharacteristic(notiCharacteristic); in createAdditionalNotificationService()
[all …]
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java49 if (mConnection.service != null) in tearDown()
141 Messenger remote = new Messenger(mConnection.service); in testBindExternalService()
164 Messenger remoteCreator = new Messenger(creatorConnection.service); in testBindExternalServiceWithRunningOwn()
211 ServiceIdentity serviceId = identifyService(new Messenger(mConnection.service)); in testBindExternalServiceWithRunningOwn()
256 ServiceIdentity idOne = identifyService(new Messenger(initialConn.service)); in testBindExternalAboveClient()
269 ServiceIdentity idTwo = identifyService(new Messenger(prioConn.service)); in testBindExternalAboveClient()
293 private ServiceIdentity identifyService(Messenger service) { in identifyService() argument
316 service.send(msg); in identifyService()
328 IBinder service = null; field in ExternalServiceTest.Connection
333 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
[all …]
/cts/tests/tests/print/src/android/print/cts/services/
DPrintServiceCallbacks.java29 public void setService(StubbablePrintService service) { in setService() argument
30 mService = service; in setService()
/cts/hostsidetests/devicepolicy/app/Assistant/src/com/android/cts/devicepolicy/assistapp/
DMyInteractionService.java24 import android.service.voice.VoiceInteractionService;
27 import static android.service.voice.VoiceInteractionSession.SHOW_WITH_ASSIST;
28 import static android.service.voice.VoiceInteractionSession.SHOW_WITH_SCREENSHOT;
/cts/tests/autofillservice/src/android/autofillservice/cts/
DInstrumentedAutoFillService.java35 import android.service.autofill.AutofillService;
36 import android.service.autofill.Dataset;
37 import android.service.autofill.FillCallback;
38 import android.service.autofill.FillContext;
39 import android.service.autofill.FillResponse;
40 import android.service.autofill.SaveCallback;
90 public void onFillRequest(android.service.autofill.FillRequest request, in onFillRequest()
102 public void onSaveRequest(android.service.autofill.SaveRequest request, in onSaveRequest()
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
DAssistantVoiceInteractionSessionService.java21 import android.service.voice.VoiceInteractionSession;
22 import android.service.voice.VoiceInteractionSessionService;
/cts/tests/tests/telephony/src/android/telephony/cts/
DCarrierServiceTest.java21 import android.service.carrier.CarrierIdentifier;
22 import android.service.carrier.CarrierService;

1234567