/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/ |
D | MediaBrowserProxyService.java | 63 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/ |
D | OnDevicePersonalizationDebugManager.java | 43 private final AbstractServiceBinder<IOnDevicePersonalizationDebugService> mServiceBinder; field in OnDevicePersonalizationDebugManager 46 mServiceBinder = in OnDevicePersonalizationDebugManager() 60 mServiceBinder.getService(Executors.newSingleThreadExecutor())); in isEnabled() 62 mServiceBinder.unbindFromService(); in isEnabled()
|
D | OnDevicePersonalizationConfigManager.java | 64 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()
|
D | OnDevicePersonalizationSystemEventManager.java | 64 private final AbstractServiceBinder<IOnDevicePersonalizationManagingService> mServiceBinder; field in OnDevicePersonalizationSystemEventManager 87 mServiceBinder = serviceBinder; in OnDevicePersonalizationSystemEventManager() 112 mServiceBinder.getService(executor); in notifyMeasurementEvent()
|
D | OnDevicePersonalizationManager.java | 82 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/ |
D | FederatedComputeManager.java | 60 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/ |
D | HapClientTest.java | 101 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/ |
D | VolumeControlServiceTest.java | 76 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/ |
D | NoOpServiceBinderTest.java | 27 private final NoOpServiceBinder<Object> mServiceBinder = new NoOpServiceBinder<>(); field in NoOpServiceBinderTest 31 assertWithMessage("getService()").that(mServiceBinder.getService()).isNull(); in testGetService() 37 mServiceBinder.unbindFromService(); in testUnbindFromService()
|
D | FakeServiceBinderTest.java | 28 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/ |
D | CobaltUploader.java | 46 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/ |
D | AdIdCompatibleManager.java | 51 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/ |
D | AdServicesExtDataStorageServiceWorker.java | 47 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/ |
D | AppSetIdWorker.java | 61 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/ |
D | AppSetIdManager.java | 58 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/ |
D | HearingAidServiceTest.java | 92 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/ |
D | TopicsManager.java | 73 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/ |
D | ProtectedSignalsManager.java | 59 @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/ |
D | AdIdCacheManager.java | 67 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/ |
D | IsolatedServiceExceptionSafetyTest.java | 63 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/ |
D | CustomAudienceManager.java | 61 @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/ |
D | MeasurementCompatibleManager.java | 64 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/ |
D | AdSelectionManager.java | 86 @NonNull private ServiceBinder<AdSelectionService> mServiceBinder; field in AdSelectionManager 157 mServiceBinder = in initialize() 188 return mServiceBinder.getService(); in doGetService()
|