/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | WhitelistTest.java | 34 import android.service.contentcapture.ContentCaptureService; 62 final CtsContentCaptureService service = enableService(NO_PACKAGES, NO_ACTIVITIES); in testNothingWhitelisted() local 63 assertNotWhitelisted(service); in testNothingWhitelisted() 69 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage() local 70 assertNotWhitelisted(service); in testNotWhitelisted_byPackage() 75 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testNotWhitelisted_byActivity() local 77 assertNotWhitelisted(service); in testNotWhitelisted_byActivity() 82 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage() local 83 assertWhitelisted(service); in testWhitelisted_byPackage() 88 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testWhitelisted_byActivity() local [all …]
|
D | BlankActivityTest.java | 75 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() local 84 final Session session = service.getOnlyFinishedSession(); in testSimpleSessionLifecycle() 92 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName() local 93 service.waitUntilConnected(); in testGetServiceComponentName() 105 service.waitUntilDisconnected(); in testGetServiceComponentName() 117 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread() local 118 service.waitUntilConnected(); in testGetServiceComponentName_onUiThread() 137 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread() local 138 service.waitUntilConnected(); in testIsContentCaptureFeatureEnabled_onUiThread() 157 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread() local [all …]
|
D | DataSharingActivityTest.java | 54 final CtsContentCaptureService service = enableService(); in testHappyPath_dataCopiedSuccessfully() local 57 service.setDataSharingEnabled(true); in testHappyPath_dataCopiedSuccessfully() 63 PollingCheck.waitFor(() -> service.mDataShareSessionFinished); in testHappyPath_dataCopiedSuccessfully() 66 assertThat(service.mDataShareSessionSucceeded).isTrue(); in testHappyPath_dataCopiedSuccessfully() 69 Arrays.copyOfRange(service.mDataShared, 0, activity.mDataWritten.length)); in testHappyPath_dataCopiedSuccessfully() 74 final CtsContentCaptureService service = enableService(); in testDataSharingSessionIsRejected_propagatedToClient() local 77 service.setDataSharingEnabled(false); in testDataSharingSessionIsRejected_propagatedToClient() 83 PollingCheck.waitFor(() -> service.mDataShareSessionFinished); in testDataSharingSessionIsRejected_propagatedToClient() 86 assertThat(service.mDataShareSessionSucceeded).isFalse(); in testDataSharingSessionIsRejected_propagatedToClient()
|
/cts/tests/tests/voiceinteraction/ |
D | Android.bp | 31 "service/src/android/voiceinteraction/service/BasicVoiceInteractionService.java", 32 "service/src/android/voiceinteraction/service/MainHotwordDetectionService.java", 33 "service/src/android/voiceinteraction/service/MainInteractionService.java", 34 "service/src/android/voiceinteraction/service/MainInteractionSession.java", 35 "service/src/android/voiceinteraction/service/MainInteractionSessionService.java", 36 "service/src/android/voiceinteraction/service/MainRecognitionService.java", 37 "service/src/android/voiceinteraction/service/EventPayloadParcelable.java", 38 "service/src/android/voiceinteraction/service/EventPayloadParcelable.aidl"
|
/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/securitybulletin/securityPatch/CVE-2020-0243/ |
D | poc.cpp | 25 sp<IBinder> service; member 34 data.writeInterfaceToken(params->service->getInterfaceDescriptor()); in thread_getParameter() 37 err = params->service->transact(/*GET_PARAMETER_ID*/ 31, data, &reply, 0); in thread_getParameter() 50 sp<IBinder> service = sm->checkService(name); in main() local 52 if (not service) { in main() local 56 String16 interface_name = service->getInterfaceDescriptor(); in main() 62 if (service) { in main() 63 err = service->transact(/*CREATE_ID*/ 1, data, &reply, 0); in main() 74 params->service = binder; in main()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | SettingInjectorServiceTest.java | 68 TestSettingInjectorService service = new TestSettingInjectorService(); in testSettingInjectorService() local 72 service.setEnabledAndSummary(false, null); in testSettingInjectorService() 73 service.onStartCommand(intent, 0, 0); in testSettingInjectorService() 78 service.setEnabledAndSummary(true, "summary"); in testSettingInjectorService() 79 service.onStartCommand(intent, 0, 0); in testSettingInjectorService() 84 service.setEnabledAndSummary(false, "another_summary"); in testSettingInjectorService() 85 service.onStartCommand(intent, 0, 0); in testSettingInjectorService() 95 BadSettingInjectorService service = new BadSettingInjectorService(); in testSettingInjectorService_Exception() local 100 service.onStartCommand(intent, 0, 0); in testSettingInjectorService_Exception() 115 TestSettingInjectorService service = new TestSettingInjectorService(); in testSettingInjectorService_Bind() local [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0330/ |
D | poc.cpp | 33 sp<IBinder> service = sm->checkService(String16("storaged")); in trigger_onUserStarted() local 35 if (not service) { in trigger_onUserStarted() local 41 data.writeInterfaceToken(service->getInterfaceDescriptor()); in trigger_onUserStarted() 43 service->transact(1, data, &reply, 0); in trigger_onUserStarted() 62 sp<IBinder> service = sm->checkService(String16("storaged")); in main() local 63 if (service) { in main()
|
/cts/tests/autofillservice/TestAutofillService/src/android/autofill/cts2/ |
D | NoOpAutofillService.java | 20 import android.service.autofill.AutofillService; 21 import android.service.autofill.FillCallback; 22 import android.service.autofill.FillRequest; 23 import android.service.autofill.SaveCallback; 24 import android.service.autofill.SaveRequest;
|
/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/tests/content/BinderPermissionTestService/ |
D | README.txt | 1 A test project that publishes a Binder service. The methods of this service 2 check if their caller has certain permissions. This service is used by 6 This service has to be in a separate package so the permissions of the 7 caller (the test) and the callee (this service) are different.
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
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;
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | UsbIncidentTest.java | 21 import android.service.usb.UsbAccessoryProto; 22 import android.service.usb.UsbDebuggingManagerProto; 23 import android.service.usb.UsbDeviceFilterProto; 24 import android.service.usb.UsbDeviceManagerProto; 25 import android.service.usb.UsbDeviceProto; 26 import android.service.usb.UsbHandlerProto; 27 import android.service.usb.UsbHostManagerProto; 28 import android.service.usb.UsbProfileGroupSettingsManagerProto; 29 import android.service.usb.UsbServiceDumpProto; 30 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 …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/ |
D | NoPermissionQuickAccessWalletService.java | 19 import android.service.quickaccesswallet.GetWalletCardsCallback; 20 import android.service.quickaccesswallet.GetWalletCardsRequest; 21 import android.service.quickaccesswallet.QuickAccessWalletService; 22 import android.service.quickaccesswallet.SelectWalletCardRequest;
|
D | TestQuickAccessWalletService.java | 23 import android.service.quickaccesswallet.GetWalletCardsCallback; 24 import android.service.quickaccesswallet.GetWalletCardsError; 25 import android.service.quickaccesswallet.GetWalletCardsRequest; 26 import android.service.quickaccesswallet.GetWalletCardsResponse; 27 import android.service.quickaccesswallet.QuickAccessWalletService; 28 import android.service.quickaccesswallet.SelectWalletCardRequest; 29 import android.service.quickaccesswallet.WalletCard; 30 import android.service.quickaccesswallet.WalletServiceEvent; 122 TestQuickAccessWalletService service = sServiceRef.get(); in sendEvent() local 123 if (service != null) { in sendEvent() [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() 108 Log.d(TAG, "Service " + service + " correctly checked permission"); in testDumpProtected() 113 failures.add("Service " + service + " threw exception: " + e); in testDumpProtected() 119 Log.w(TAG, "Service " + service + " threw exception: " + e); in testDumpProtected() 140 failures.add("dump() for " + service + " produced several lines of output; this " in testDumpProtected() 150 failures.add("dump() for " + service + " produced a single line which didn't " in testDumpProtected()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/ |
D | poc.cpp | 77 static void transact(sp<IBinder> &service, TRANTYPE type) { in transact() argument 82 data.writeStrongBinder(service); in transact() 85 service->transact(CONVERT_TO_TRANSLUCENT_TRANSACTION, data, &reply); in transact() 91 sp<IBinder> service = sm->checkService(String16("activity")); in main() local 92 if (service != NULL) { in main() 94 transact(service, HEAPCORRUPT); in main()
|
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RequiredServiceRule.java | 49 public RequiredServiceRule(@NonNull String service) { in RequiredServiceRule() argument 50 mService = service; in RequiredServiceRule() 51 mHasService = hasService(service); in RequiredServiceRule() 76 public static boolean hasService(@NonNull String service) { 79 String command = "service check " + service;
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccServiceTest.java | 27 import android.service.euicc.DownloadSubscriptionResult; 28 import android.service.euicc.EuiccService; 29 import android.service.euicc.GetDefaultDownloadableSubscriptionListResult; 30 import android.service.euicc.GetDownloadableSubscriptionMetadataResult; 31 import android.service.euicc.GetEuiccProfileInfoListResult; 32 import android.service.euicc.IDeleteSubscriptionCallback; 33 import android.service.euicc.IDownloadSubscriptionCallback; 34 import android.service.euicc.IEraseSubscriptionsCallback; 35 import android.service.euicc.IEuiccService; 36 import android.service.euicc.IEuiccServiceDumpResultCallback; [all …]
|
/cts/tests/tests/assist/service/src/android/assist/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/autofillservice/src/android/autofillservice/cts/unittests/ |
D | CustomDescriptionUnitTest.java | 25 import android.service.autofill.BatchUpdates; 26 import android.service.autofill.CustomDescription; 27 import android.service.autofill.InternalOnClickAction; 28 import android.service.autofill.InternalTransformation; 29 import android.service.autofill.InternalValidator; 30 import android.service.autofill.OnClickAction; 31 import android.service.autofill.Transformation; 32 import android.service.autofill.Validator;
|