/cts/tests/tests/dreams/src/android/service/dreams/cts/ |
D | DreamsFeatureTest.java | 17 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/ |
D | UsbIncidentTest.java | 19 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 …]
|
D | PrintProtoTest.java | 19 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 …]
|
D | NotificationIncidentTest.java | 20 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;
|
D | DiskStatsProtoTest.java | 19 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/ |
D | SimpleAutofillService.java | 21 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/ |
D | NoOpAutofillService.java | 19 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;
|
D | BadAutofillService.java | 19 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;
|
D | CustomDescriptionUnitTest.java | 23 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;
|
D | BatchUpdatesTest.java | 25 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/ |
D | MainInteractionSessionService.java | 17 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/ |
D | MainInteractionSessionService.java | 17 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/ |
D | MainInteractionSessionService.java | 17 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/ |
D | MainInteractionSessionService.java | 17 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/ |
D | BindDeviceAdminServiceGoodSetupTest.java | 55 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/ |
D | AccessibilityVolumeTest.java | 74 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()
|
D | AccessibilityMagnificationTest.java | 152 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/ |
D | SeccompTest.java | 213 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/ |
D | ServicePermissionsTest.java | 82 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()
|
D | IsolatedProcessTest.java | 62 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/ |
D | ServiceTest.java | 41 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/ |
D | BleServerService.java | 615 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/ |
D | PrintServiceCallbacks.java | 29 public void setService(StubbablePrintService service) { in setService() argument 30 mService = service; in setService()
|
/cts/hostsidetests/security/securityPatch/CVE-2017-13253/ |
D | poc.cpp | 36 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/ |
D | ExternalServiceTest.java | 49 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 …]
|