Home
last modified time | relevance | path

Searched refs:mServiceBinder (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMediaBrowserProxyService.java63 private IMediaBrowserService mServiceBinder; field in MediaBrowserProxyService
123 mServiceBinder.disconnect(callbacks); in disconnect()
135 mServiceBinder.addSubscriptionDeprecated(uri, callbacks); in addSubscriptionDeprecated()
149 mServiceBinder.removeSubscriptionDeprecated(uri, callbacks); in removeSubscriptionDeprecated()
163 mServiceBinder.getMediaItem(uri, cb, callbacks); in getMediaItem()
176 mServiceBinder.addSubscription(uri, token, options, callbacks); in addSubscription()
189 mServiceBinder.removeSubscription(uri, token, callbacks); in removeSubscription()
228 writer.printf("mServiceBinder: %s\n", mServiceBinder); in dump()
250 mServiceBinder = IMediaBrowserService.Stub.asInterface(iBinder); in onServiceConnected()
255 Log.d(TAG, "Connecting MediaBrowserService " + mServiceBinder); in onServiceConnected()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DOnDevicePersonalizationDebugManager.java43 private final AbstractServiceBinder<IOnDevicePersonalizationDebugService> mServiceBinder; field in OnDevicePersonalizationDebugManager
46 mServiceBinder = in OnDevicePersonalizationDebugManager()
60 mServiceBinder.getService(Executors.newSingleThreadExecutor())); in isEnabled()
62 mServiceBinder.unbindFromService(); in isEnabled()
DOnDevicePersonalizationConfigManager.java64 private final AbstractServiceBinder<IOnDevicePersonalizationConfigService> mServiceBinder; field in OnDevicePersonalizationConfigManager
82 this.mServiceBinder = serviceBinder; in OnDevicePersonalizationConfigManager()
106 IOnDevicePersonalizationConfigService service = mServiceBinder.getService(executor); in setPersonalizationEnabled()
164 mServiceBinder.unbindFromService(); in unbindFromService()
DOnDevicePersonalizationSystemEventManager.java64 private final AbstractServiceBinder<IOnDevicePersonalizationManagingService> mServiceBinder; field in OnDevicePersonalizationSystemEventManager
87 mServiceBinder = serviceBinder; in OnDevicePersonalizationSystemEventManager()
112 mServiceBinder.getService(executor); in notifyMeasurementEvent()
DOnDevicePersonalizationManager.java82 private final AbstractServiceBinder<IOnDevicePersonalizationManagingService> mServiceBinder; field in OnDevicePersonalizationManager
142 mServiceBinder = serviceBinder; in OnDevicePersonalizationManager()
200 mServiceBinder.getService(executor); in execute()
357 Objects.requireNonNull(mServiceBinder.getService(executor)); in requestSurfacePackage()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/
DFederatedComputeManager.java60 private final AbstractServiceBinder<IFederatedComputeService> mServiceBinder; field in FederatedComputeManager
64 this.mServiceBinder = in FederatedComputeManager()
84 final IFederatedComputeService service = mServiceBinder.getService(executor); in schedule()
130 final IFederatedComputeService service = mServiceBinder.getService(executor); in cancel()
163 mServiceBinder.unbindFromService(); in unbindFromService()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java101 private HapClientService.BluetoothHapClientBinder mServiceBinder; field in HapClientTest
130 mServiceBinder = (HapClientService.BluetoothHapClientBinder) mService.initBinder(); in setUp()
131 mServiceBinder.mIsTesting = true; in setUp()
259 int policy = mServiceBinder.getConnectionPolicy(mDevice, mAttributionSource); in testGetSetPolicy()
429 int state = mServiceBinder.getConnectionState(mDevice, mAttributionSource); in testOutgoingConnectTimeout()
449 List<BluetoothDevice> devices = mServiceBinder.getConnectedDevices(mAttributionSource); in testConnectTwo()
490 int hapGroup = mServiceBinder.getHapGroup(mDevice2, mAttributionSource); in testGetHapGroupCoordinatedOps()
514 mServiceBinder.selectPreset(mDevice, 0x01, mAttributionSource); in testSelectPresetNative()
540 mServiceBinder.selectPresetForGroup(0x03, 0x01, mAttributionSource); in testGroupSelectActivePresetNative()
554 mServiceBinder.switchToNextPreset(mDevice, mAttributionSource); in testSwitchToNextPreset()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java76 private VolumeControlService.BluetoothVolumeControlBinder mServiceBinder; field in VolumeControlServiceTest
136 mServiceBinder = (VolumeControlService.BluetoothVolumeControlBinder) mService.initBinder(); in setUp()
137 mServiceBinder.mIsTesting = true; in setUp()
265 int policy = mServiceBinder.getConnectionPolicy(mDevice, mAttributionSource); in testGetPolicyAfterStopped()
370 "Connect expected to succeed", mServiceBinder.connect(mDevice, mAttributionSource)); in testOutgoingConnectDisconnectExistingVolumeControlUuid()
382 mServiceBinder.disconnect(mDevice, mAttributionSource)); in testOutgoingConnectDisconnectExistingVolumeControlUuid()
436 int state = mServiceBinder.getConnectionState(mDevice, mAttributionSource); in testOutgoingConnectTimeout()
655 mServiceBinder.setGroupVolume(groupId, volume, mAttributionSource); in testVolumeCache()
657 int groupVolume = mServiceBinder.getGroupVolume(groupId, mAttributionSource); in testVolumeCache()
690 mServiceBinder.setGroupVolume(groupId_1, volume_groupId_1, mAttributionSource); in testActiveGroupChange()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/src/com/android/adservices/
DNoOpServiceBinderTest.java27 private final NoOpServiceBinder<Object> mServiceBinder = new NoOpServiceBinder<>(); field in NoOpServiceBinderTest
31 assertWithMessage("getService()").that(mServiceBinder.getService()).isNull(); in testGetService()
37 mServiceBinder.unbindFromService(); in testUnbindFromService()
DFakeServiceBinderTest.java28 private final FakeServiceBinder<Object> mServiceBinder = new FakeServiceBinder<>(mService); field in FakeServiceBinderTest
33 .that(mServiceBinder.getService()) in testGetService()
40 mServiceBinder.unbindFromService(); in testUnbindFromService()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DCobaltUploader.java46 private final ServiceBinder<IAdServicesCobaltUploadService> mServiceBinder; field in CobaltUploader
51 mServiceBinder = in CobaltUploader()
88 mServiceBinder.unbindFromService(); in uploadDone()
93 return mServiceBinder.getService(); in getService()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DAdIdCompatibleManager.java51 private ServiceBinder<IAdIdService> mServiceBinder; field in AdIdCompatibleManager
78 mServiceBinder = in initialize()
91 service = mServiceBinder.getService(); in getService()
195 mServiceBinder.unbindFromService(); in unbindFromService()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceWorker.java47 private final ServiceBinder<IAdServicesExtDataStorageService> mServiceBinder; field in AdServicesExtDataStorageServiceWorker
52 mServiceBinder = in AdServicesExtDataStorageServiceWorker()
177 return mServiceBinder.getService();
182 mServiceBinder.unbindFromService();
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/
DAppSetIdWorker.java61 private final ServiceBinder<IAppSetIdProviderService> mServiceBinder; field in AppSetIdWorker
73 mServiceBinder = Objects.requireNonNull(serviceBinder, "serviceBinder cannot be null"); in AppSetIdWorker()
82 mServiceBinder.unbindFromService(); in unbindFromService()
96 IAppSetIdProviderService service = mServiceBinder.getService(); in getAppSetId()
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/
DAppSetIdManager.java58 private ServiceBinder<IAppSetIdService> mServiceBinder; field in AppSetIdManager
97 mServiceBinder = in initialize()
110 service = mServiceBinder.getService(); in getService()
211 mServiceBinder.unbindFromService(); in unbindFromService()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java92 private HearingAidService.BluetoothHearingAidBinder mServiceBinder; field in HearingAidServiceTest
136 mServiceBinder = (HearingAidService.BluetoothHearingAidBinder) mService.initBinder(); in setUp()
137 mServiceBinder.mIsTesting = true; in setUp()
220 int connectionPolicy = mServiceBinder.getConnectionPolicy(mLeftDevice, null); in testGetSetPriority()
333 assertThat(mServiceBinder.connect(mLeftDevice, null)).isFalse(); in testOutgoingConnectPriorityOff()
360 int connectionState = mServiceBinder.getConnectionState(mLeftDevice, null); in testOutgoingConnectTimeout()
469 assertThat(mServiceBinder.getConnectedDevices(null)).doesNotContain(mLeftDevice); in testConnectAnotherPair_disconnectCurrentPair()
554 assertThat(mServiceBinder.disconnect(mRightDevice, null)).isTrue(); in testAudioManagerConnectDisconnect()
903 assertThat(mServiceBinder.getActiveDevices(null)).doesNotContain(mLeftDevice); in testConnectionStateChangedActiveDevice()
953 assertThat(mServiceBinder.setActiveDevice(null, null)).isTrue(); in testConnectionStateChangedAnotherActiveDevice()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/
DTopicsManager.java73 private ServiceBinder<ITopicsService> mServiceBinder; field in TopicsManager
118 mServiceBinder = in initialize()
128 ITopicsService service = mServiceBinder.getService(); in getService()
278 mServiceBinder.unbindFromService(); in unbindFromService()
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/
DProtectedSignalsManager.java59 @NonNull private ServiceBinder<IProtectedSignalsService> mServiceBinder; field in ProtectedSignalsManager
104 mServiceBinder = in initialize()
114 IProtectedSignalsService service = mServiceBinder.getService(); in getService()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/
DAdIdCacheManager.java67 private final ServiceBinder<IAdIdProviderService> mServiceBinder; field in AdIdCacheManager
73 mServiceBinder = in AdIdCacheManager()
264 return mServiceBinder.getService(); in getService()
275 mServiceBinder.unbindFromService(); in unbindFromService()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DIsolatedServiceExceptionSafetyTest.java63 private AbstractServiceBinder<IIsolatedService> mServiceBinder; field in IsolatedServiceExceptionSafetyTest
83 mServiceBinder = AbstractServiceBinder.getIsolatedServiceBinderByServiceName( in setUp()
91 mIsolatedService = mServiceBinder.getService(Runnable::run); in setUp()
97 mServiceBinder.unbindFromService(); in tearDown()
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DCustomAudienceManager.java61 @NonNull private ServiceBinder<ICustomAudienceService> mServiceBinder; field in CustomAudienceManager
104 mServiceBinder = in initialize()
120 ICustomAudienceService service = mServiceBinder.getService(); in getService()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementCompatibleManager.java64 private final ServiceBinder<IMeasurementService> mServiceBinder; field in MeasurementCompatibleManager
103 mServiceBinder = in MeasurementCompatibleManager()
119 IMeasurementService service = mServiceBinder.getService(); in getService()
648 mServiceBinder.unbindFromService(); in unbindFromService()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionManager.java86 @NonNull private ServiceBinder<AdSelectionService> mServiceBinder; field in AdSelectionManager
157 mServiceBinder = in initialize()
188 return mServiceBinder.getService(); in doGetService()