/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()
|
D | DreamServiceTest.java | 16 package android.service.dreams.cts; 18 import android.service.dreams.DreamService;
|
/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/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/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationTest.java | 19 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;
|
D | FingerprintIncidentTest.java | 19 import android.service.fingerprint.FingerprintActionStatsProto; 20 import android.service.fingerprint.FingerprintServiceDumpProto; 21 import android.service.fingerprint.FingerprintUserStatsProto;
|
D | DiskStatsProtoTest.java | 19 import android.service.diskstats.DiskStatsFreeSpaceProto; 20 import android.service.diskstats.DiskStatsServiceDumpProto;
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 146 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()
|
D | AccessibilityVolumeTest.java | 68 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/ |
D | ServiceTest.java | 39 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/ |
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/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/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;
|
D | MainInteractionService.java | 17 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/ |
D | MainInteractionSessionService.java | 17 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/ |
D | MainInteractionSessionService.java | 17 package android.voicesettings.service; 20 import android.service.voice.VoiceInteractionSession; 21 import android.service.voice.VoiceInteractionSessionService;
|
/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); 87 IBinder service = mService.getSystemService(serviceName); in testGetServiceFromIsolatedService() local 89 service); in testGetServiceFromIsolatedService()
|
/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/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 …]
|
/cts/tests/tests/print/src/android/print/cts/services/ |
D | PrintServiceCallbacks.java | 29 public void setService(StubbablePrintService service) { in setService() argument 30 mService = service; in setService()
|
/cts/hostsidetests/devicepolicy/app/Assistant/src/com/android/cts/devicepolicy/assistapp/ |
D | MyInteractionService.java | 24 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/ |
D | InstrumentedAutoFillService.java | 35 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/ |
D | AssistantVoiceInteractionSessionService.java | 21 import android.service.voice.VoiceInteractionSession; 22 import android.service.voice.VoiceInteractionSessionService;
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | CarrierServiceTest.java | 21 import android.service.carrier.CarrierIdentifier; 22 import android.service.carrier.CarrierService;
|