Home
last modified time | relevance | path

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

123456789

/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()
/cts/hostsidetests/incident/src/com/android/server/cts/
DUsbIncidentTest.java19 import android.service.usb.UsbAccessoryProto;
20 import android.service.usb.UsbDebuggingManagerProto;
21 import android.service.usb.UsbDeviceFilterProto;
22 import android.service.usb.UsbDeviceManagerProto;
23 import android.service.usb.UsbDeviceProto;
24 import android.service.usb.UsbHandlerProto;
25 import android.service.usb.UsbHostManagerProto;
26 import android.service.usb.UsbProfileGroupSettingsManagerProto;
27 import android.service.usb.UsbServiceDumpProto;
28 import android.service.usb.UsbSettingsDevicePreferenceProto;
[all …]
DPrintProtoTest.java19 import android.service.print.ActivePrintServiceProto;
20 import android.service.print.CachedPrintJobProto;
21 import android.service.print.PrinterDiscoverySessionProto;
22 import android.service.print.PrintDocumentInfoProto;
23 import android.service.print.PrinterIdProto;
24 import android.service.print.PrinterInfoProto;
25 import android.service.print.PrintJobInfoProto;
26 import android.service.print.PrintServiceDumpProto;
27 import android.service.print.PrintSpoolerInternalStateProto;
28 import android.service.print.PrintSpoolerStateProto;
[all …]
DNotificationIncidentTest.java20 import android.service.notification.ConditionProto;
21 import android.service.notification.ManagedServicesProto;
22 import android.service.notification.NotificationRecordProto;
23 import android.service.notification.NotificationServiceDumpProto;
24 import android.service.notification.NotificationRecordProto.State;
25 import android.service.notification.RankingHelperProto;
26 import android.service.notification.RankingHelperProto.RecordProto;
27 import android.service.notification.ZenMode;
28 import android.service.notification.ZenModeProto;
29 import android.service.notification.ZenRuleProto;
DDiskStatsProtoTest.java19 import android.service.diskstats.DiskStatsAppSizesProto;
20 import android.service.diskstats.DiskStatsCachedValuesProto;
21 import android.service.diskstats.DiskStatsFreeSpaceProto;
22 import android.service.diskstats.DiskStatsServiceDumpProto;
/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/tests/autofillservice/src/android/autofillservice/cts/
DNoOpAutofillService.java19 import android.service.autofill.AutofillService;
20 import android.service.autofill.FillCallback;
21 import android.service.autofill.FillRequest;
22 import android.service.autofill.SaveCallback;
23 import android.service.autofill.SaveRequest;
DBadAutofillService.java19 import android.service.autofill.AutofillService;
20 import android.service.autofill.FillCallback;
21 import android.service.autofill.FillRequest;
22 import android.service.autofill.SaveCallback;
23 import android.service.autofill.SaveRequest;
DCustomDescriptionUnitTest.java23 import android.service.autofill.BatchUpdates;
24 import android.service.autofill.CustomDescription;
25 import android.service.autofill.InternalValidator;
26 import android.service.autofill.Transformation;
27 import android.service.autofill.Validator;
DBatchUpdatesTest.java25 import android.service.autofill.BatchUpdates;
26 import android.service.autofill.InternalTransformation;
27 import android.service.autofill.Transformation;
/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;
/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/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/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/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/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityVolumeTest.java74 final InstrumentedAccessibilityService service = InstrumentedAccessibilityService in testChangeAccessibilityVolume_inAccessibilityService_shouldWork() local
77 service.runOnServiceSync(() -> in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
82 service.runOnServiceSync(() -> mAudioManager.setStreamVolume( in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
85 if (service != null) { in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
86 service.runOnServiceSync(() -> service.disableSelf()); in testChangeAccessibilityVolume_inAccessibilityService_shouldWork()
DAccessibilityMagnificationTest.java152 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x() local
154 final MagnificationController controller2 = service.getMagnificationController(); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x()
159 service.runOnServiceSync(() -> service.disableSelf()); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x()
173 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty() local
176 final MagnificationController controller = service.getMagnificationController(); in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty()
181 service.runOnServiceSync(() -> service.disableSelf()); in testGetMagnificationRegion_whenCantControlMagnification_shouldBeEmpty()
191 InstrumentedAccessibilityService service = InstrumentedAccessibilityService.enableService( in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty() local
194 final MagnificationController controller = service.getMagnificationController(); in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty()
199 service.runOnServiceSync(() -> service.disableSelf()); in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty()
/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/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);
89 IBinder service = mService.getSystemService(serviceName); in testGetServiceFromIsolatedService() local
91 service); in testGetServiceFromIsolatedService()
/cts/tests/app/src/android/app/cts/
DServiceTest.java41 import android.service.notification.StatusBarNotification;
82 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
93 @Override public void onServiceConnected(ComponentName name, IBinder service) {} in onServiceConnected() argument
142 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
148 service.transact(LocalService.SET_REPORTER_CODE, data, null, 0); in onServiceConnected()
193 private void startExpectResult(Intent service) { in startExpectResult() argument
194 startExpectResult(service, new Bundle()); in startExpectResult()
197 private void startExpectResult(Intent service, Bundle bundle) { in startExpectResult() argument
203 mContext.startService(new Intent(service).putExtras(bundle)); in startExpectResult()
206 mContext.startService(new Intent(service).putExtras(bundle)); in startExpectResult()
[all …]
/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/print/printTestUtilLib/src/android/print/test/services/
DPrintServiceCallbacks.java29 public void setService(StubbablePrintService service) { in setService() argument
30 mService = service; in setService()
/cts/hostsidetests/security/securityPatch/CVE-2017-13253/
Dpoc.cpp36 sp<IMediaDrmService> service = interface_cast<IMediaDrmService>(binder); in main() local
37 if (service == NULL) { in main()
41 sp<ICrypto> crypto = service->makeCrypto(); in main()
/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 …]

123456789