Home
last modified time | relevance | path

Searched defs:service (Results 1 – 25 of 223) sorted by relevance

123456789

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DWhitelistTest.java62 final CtsContentCaptureService service = enableService(NO_PACKAGES, NO_ACTIVITIES); in testNothingWhitelisted() local
69 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage() local
75 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testNotWhitelisted_byActivity() local
82 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage() local
88 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testWhitelisted_byActivity() local
95 IOutOfProcessDataSharingService service = getDataShareService(); in testWhitelisted_byService_alreadyRunning() local
113 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat() local
126 private void assertAllowlisted(@NonNull CtsContentCaptureService service) throws Exception { in assertAllowlisted()
130 private void assertNotAllowlisted(@NonNull CtsContentCaptureService service) throws Exception { in assertNotAllowlisted()
134 private void assertContentCaptureManagerAvailable(IOutOfProcessDataSharingService service, in assertContentCaptureManagerAvailable()
[all …]
DBlankActivityTest.java89 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() local
106 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName() local
131 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread() local
151 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread() local
171 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread() local
187 final CtsContentCaptureService service = enableService(); in testOnConnectionEvents() local
196 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageActivity_noSessionCreated() local
209 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageContentCaptureEnable_updateAllowList() local
265 final CtsContentCaptureService service = enableService(); in testSnapshotReceivedOnActivityStart() local
DLoginActivityTest.java112 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_defaultSession() local
135 final CtsContentCaptureService service = enableService(); in testContentCaptureSessionCache() local
175 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_rootViewSession() local
292 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextAfterCreate() local
334 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextOnCreate() local
394 final CtsContentCaptureService service = enableService(); in testTextChanged() local
426 final CtsContentCaptureService service = enableService(); in testTextChangeBuffer() local
481 final CtsContentCaptureService service = enableService(); in testComposingSpan_mergedEvent() local
518 final CtsContentCaptureService service = enableService(); in testComposingSpan_notMergedWithoutComposing() local
563 final CtsContentCaptureService service = enableService(); in testComposingSpan_differentEditText() local
[all …]
DCustomViewActivityTest.java88 final CtsContentCaptureService service = enableService(); in testLifecycle() local
108 final CtsContentCaptureService service = enableService(); in testSessionLifecycleEvents() local
164 final CtsContentCaptureService service = enableService(); in testVirtualView_wrongWay() local
227 final CtsContentCaptureService service = enableService(); in testVirtualView_oneLevel() local
292 final CtsContentCaptureService service = enableService(); in testVirtualView_multipleLevels() local
406 final CtsContentCaptureService service = enableService(); in testVirtualView_batchDisappear() local
464 final CtsContentCaptureService service = enableService(); in testVirtualView_batchAppear() local
516 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions() local
540 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions_otherPackage() local
558 final CtsContentCaptureService service = enableService(); in testContentCaptureEnabled_dynamicFlagSecure() local
[all …]
DDataSharingActivityTest.java54 final CtsContentCaptureService service = enableService(); in testHappyPath_dataCopiedSuccessfully() local
74 final CtsContentCaptureService service = enableService(); in testDataSharingSessionIsRejected_propagatedToClient() local
DBlankWithTitleActivityTest.java51 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() local
69 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle_noAnimation() local
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/
DSharedConnectivityTest.java170 TestSharedConnectivityService service = getService(); in registerCallback_withoutPermission_throwsSecurityException() local
191 TestSharedConnectivityService service = getService(); in registerCallback_onServiceConnectedCallbackReceived() local
233 TestSharedConnectivityService service = getService(); in unregisterCallback_unregisterSuccessful() local
266 TestSharedConnectivityService service = getService(); in setHotspotNetworks_managerCallbackReceivedWithCorrectData() local
296 TestSharedConnectivityService service = getService(); in setKnownNetworks_managerCallbackReceivedWithCorrectData() local
326 TestSharedConnectivityService service = getService(); in setSettingsState_managerCallbackReceivedWithCorrectData() local
357 TestSharedConnectivityService service = getService(); in updateHotspotNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local
388 TestSharedConnectivityService service = getService(); in updateKnownNetworkConnectionStatus_managerCallbackReceivedWithCorrectData() local
410 TestSharedConnectivityService service = getService(); in connectHotspotNetwork_serviceCallbackReceivedWithCorrectData() local
434 TestSharedConnectivityService service = getService(); in disconnectHotspotNetwork_serviceCallbackReceivedWithCorrectData() local
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0330/
Dpoc.cpp33 sp<IBinder> service = sm->checkService(String16("storaged")); in trigger_onUserStarted() local
35 if (not service) { in trigger_onUserStarted() local
62 sp<IBinder> service = sm->checkService(String16("storaged")); in main() local
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothGattCharacteristicTest.java61 BluetoothGattService service = new BluetoothGattService(TEST_UUID, in getService() local
66 assertEquals(mBluetoothGattCharacteristic.getService(), service); in getService() local
DBluetoothGattServerTest.java134 BluetoothGattService service = new BluetoothGattService(TEST_UUID, in getService() local
146 assertEquals(mBluetoothGattServer.getService(TEST_UUID), service); in getService() local
179 BluetoothGattService service = new BluetoothGattService(TEST_UUID, in notifyCharacteristicChanged_withValueOverMaxLength() local
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DSandboxedDetectionServiceNonExistenceTest.java74 CtsMainVoiceInteractionService service = in testHotwordDetectionService_noHotwordDetectionComponentName_triggerFailure() local
93 CtsMainVoiceInteractionService service = in testVisualQueryDetectionService_noVisualQueryDetectionComponentName_triggerFailure() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/services/
DServices.java329 public boolean serviceIsAvailable(String service) { in serviceIsAvailable()
343 private boolean serviceIsAvailable(String service, Class<?> serviceClass) { in serviceIsAvailable()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/
DServiceCreatedEvent.java82 public static ServiceCreatedEvent.ServiceCreatedEventLogger logger(Service service, in logger()
91 private ServiceCreatedEventLogger(Service service, in ServiceCreatedEventLogger()
112 public ServiceInfo service() { in service() method in ServiceCreatedEvent
DServiceLowMemoryEvent.java83 public static ServiceLowMemoryEvent.ServiceLowMemoryEventLogger logger(Service service, in logger()
91 private ServiceLowMemoryEventLogger(Service service, in ServiceLowMemoryEventLogger()
112 public ServiceInfo service() { in service() method in ServiceLowMemoryEvent
DServiceDestroyedEvent.java80 public static ServiceDestroyedEventLogger logger(Service service, in logger()
90 private ServiceDestroyedEventLogger(Service service, in ServiceDestroyedEventLogger()
110 public ServiceInfo service() { in service() method in ServiceDestroyedEvent
DServiceConfigurationChangedEvent.java86 Service service, String serviceName, in logger()
96 private ServiceConfigurationChangedEventLogger(Service service, in ServiceConfigurationChangedEventLogger()
135 public ServiceInfo service() { in service() method in ServiceConfigurationChangedEvent
DServiceUnboundEvent.java100 public static ServiceUnboundEventLogger logger(Service service, in logger()
109 private ServiceUnboundEventLogger(Service service, in ServiceUnboundEventLogger()
149 public ServiceInfo service() { in service() method in ServiceUnboundEvent
DServiceMemoryTrimmedEvent.java94 public static ServiceMemoryTrimmedEventLogger logger(Service service, in logger()
102 private ServiceMemoryTrimmedEventLogger(Service service, in ServiceMemoryTrimmedEventLogger()
139 public ServiceInfo service() { in service() method in ServiceMemoryTrimmedEvent
DServiceTaskRemovedEvent.java101 public static ServiceTaskRemovedEvent.ServiceTaskRemovedEventLogger logger(Service service, in logger()
111 private ServiceTaskRemovedEventLogger(Service service, in ServiceTaskRemovedEventLogger()
152 public ServiceInfo service() { in service() method in ServiceTaskRemovedEvent
/cts/tests/location/location_fine/src/android/location/cts/fine/
DSettingInjectorServiceTest.java68 TestSettingInjectorService service = new TestSettingInjectorService(); in testSettingInjectorService() local
95 BadSettingInjectorService service = new BadSettingInjectorService(); in testSettingInjectorService_Exception() local
115 TestSettingInjectorService service = new TestSettingInjectorService(); in testSettingInjectorService_Bind() local
121 TestSettingInjectorService service = new TestSettingInjectorService(); in testSettingInjectorService_EmptyIntent() local
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DDeviceAssociationTest.java335 Service service = TestService.startService(mContext); in serviceContext_lastActivityOnVirtualDevice_returnsVirtualDeviceId() local
345 Service service = TestService.startService(mContext); in serviceContext_lastActivityOnDefaultDevice_returnsDefault() local
357 Service service = TestService.startService(mContext); in serviceContext_startServiceAfterActivity_hasDeviceIdOfTopActivity() local
369 Service service = TestService.startService(mContext); in serviceContext_startServiceAfterActivityDeviceIsClosed_returnsDefault() local
376 Service service = TestService.startService(mContext); in serviceContext_noActivities_hasDefaultId() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0243/
Dpoc.cpp25 sp<IBinder> service; member
50 sp<IBinder> service = sm->checkService(name); in main() local
52 if (not service) { in main() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotification.kt11 …val service = NeneNotificationListenerService.instance.get() ?: throw IllegalStateException("Canno… in cancel() constant
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierServiceSwapTest.java100 final CtsTextClassifierService service = mTestWatcher.getService(); in testOutsideOfPackageActivity_noRequestReceived() local
122 final CtsTextClassifierService service = mTestWatcher.getService(); in testMultipleActiveSessions() local
146 private void serviceOnSuggestConversationActions(CtsTextClassifierService service) in serviceOnSuggestConversationActions()
181 CtsTextClassifierService service = new CtsTextClassifierService(); in testTextClassifierServiceApiCoverage() local
/cts/tests/tests/os/src/android/os/cts/
DSeccompTest.java205 final ISeccompIsolatedService service = peer.get(); in testIsolatedServicePolicy() local
236 final ISeccompIsolatedService service = peer.get(); in testViolateIsolatedServicePolicy() local
250 private void doFileWriteTest(ISeccompIsolatedService service) throws RemoteException { in doFileWriteTest()
281 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()

123456789