/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/ |
D | VmsSubscriptionHelperTest.java | 55 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer() 63 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer_IgnoreDuplicates() 64 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer_IgnoreDuplicates() 75 () -> mSubscriptionHelper.subscribe(LAYER1)); in testSubscribe_SingleLayer_RetryAfterException() 78 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer_RetryAfterException() 86 mSubscriptionHelper.subscribe(LAYER1); in testUnsubscribe_SingleLayer() 95 mSubscriptionHelper.subscribe(LAYER1); in testUnsubscribe_SingleLayer_IgnoreUnknown() 104 mSubscriptionHelper.subscribe(LAYER1); in testUnsubscribe_SingleLayer_RetryAfterException() 119 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_MultipleLayers() 120 mSubscriptionHelper.subscribe(LAYER2); in testSubscribe_MultipleLayers() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 255 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe() 268 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_AfterPublish() 276 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_MultipleLayers() 277 mSubscriber.subscribe(SUBSCRIPTION_LAYER_OTHER); in testSubscribe_MultipleLayers() 290 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_MultiplePublishers() 304 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_MultipleLayers_MultiplePublishers() 305 mSubscriber.subscribe(SUBSCRIPTION_LAYER_OTHER); in testSubscribe_MultipleLayers_MultiplePublishers() 319 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_ClearCallback() 330 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_NoCallback() 335 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testUnsubscribe() [all …]
|
D | VmsSubscriberManagerTest.java | 86 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSubscribe() 106 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeToPublisher() 124 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromPublisher() 144 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testUnsubscribe() 163 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromWrongPublisher() 181 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testUnsubscribeFromPublisher() 249 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSimpleAvailableLayersAfterSubscription()
|
D | VmsOperationRecorderTest.java | 89 mRecorder.subscribe(layer1); in testSubscribe() 189 mRecorder.subscribe(layer1, 99); in testSubscribeToPublisher()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/mockable/ |
D | MediaBrowser.java | 129 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) { in subscribe() method in MediaBrowser 130 mDelegate.subscribe(parentId, options, callback); in subscribe() 136 public void subscribe(String parentId, SubscriptionCallback callback) { in subscribe() method in MediaBrowser 137 mDelegate.subscribe(parentId, callback); in subscribe()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriberManager.java | 177 public void subscribe(@NonNull VmsLayer layer) { in subscribe() method in VmsSubscriberManager 178 mSubscriptionHelper.subscribe(layer); in subscribe() 189 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() method in VmsSubscriberManager 190 mSubscriptionHelper.subscribe(layer, publisherId); in subscribe()
|
D | VmsSubscriptionHelper.java | 65 public void subscribe(@NonNull VmsLayer layer) { in subscribe() method in VmsSubscriptionHelper 78 public void subscribe(@NonNull VmsLayer layer, int providerId) { in subscribe() method in VmsSubscriptionHelper
|
D | VmsOperationRecorder.java | 67 public void subscribe(VmsLayer layer) { in subscribe() method in VmsOperationRecorder 82 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() method in VmsOperationRecorder
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 303 mDut.subscribe(clientId1, subscribeConfig, mockSessionCallback1); in testRequestMacAddresses() 305 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 311 mDut.subscribe(clientId2, subscribeConfig, mockSessionCallback2); in testRequestMacAddresses() 313 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 1113 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail() 1115 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail() 1126 when(mMockNative.subscribe(anyShort(), anyByte(), any())) in testSubscribeFail() 1129 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail() 1131 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail() 1185 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeSuccessTerminated() [all …]
|
D | WifiAwareServiceImplTest.java | 332 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in testFailOnSubscribeRangingWithoutRttFeature() 494 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in testSubscribe() 496 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in testSubscribe() 729 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration() 731 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
|
D | WifiAwareNativeApiTest.java | 362 mDut.subscribe(tid, pid, subDefault); in testDiscoveryRangingSettings() 363 mDut.subscribe(tid, pid, subWithMin); in testDiscoveryRangingSettings() 364 mDut.subscribe(tid, pid, subWithMax); in testDiscoveryRangingSettings() 365 mDut.subscribe(tid, pid, subWithMinMax); in testDiscoveryRangingSettings()
|
D | TestUtils.java | 67 public boolean subscribe(short transactionId, byte subscribeId, in subscribe() method in TestUtils.MonitoredWifiAwareNativeApi
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeObserverTest.java | 53 mDarkModeObserver.subscribe(mCallback); in callbackTest_subscribedCallbackCalled() 60 mDarkModeObserver.subscribe(mCallback); in callbackTest_unsubscribedCallNotbackCalled()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModePreference.java | 53 mDarkModeObserver.subscribe(mCallback); in DarkModePreference() 59 mDarkModeObserver.subscribe(mCallback); in onAttached()
|
D | DarkModeObserver.java | 63 public void subscribe(Runnable callback) { in subscribe() method in DarkModeObserver
|
D | DarkModeSettingsFragment.java | 63 mContentObserver.subscribe(mCallback); in onStart()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 127 verify(mHalClient).subscribe(eq(expectedOptions)); in testSubscribeProperty_registeringReadWriteAndOnChangeProperty() 155 verify(mHalClient, never()).subscribe(any(SubscribeOptions.class)); in testSubscribeProperty_registeringStaticProperty() 236 verify(mockVehicle, times(1)).subscribe(vehicleCallbackCaptor.capture(), in testVehicleHalReconnected()
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareSession.java | 197 public void subscribe(@NonNull SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareSession 208 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
|
D | IWifiAwareManager.aidl | 53 void subscribe(in String callingPackage, in String callingFeatureId, int clientId, in subscribe() method
|
D | WifiAwareManager.java | 430 public void subscribe(int clientId, Looper looper, SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareManager 444 mService.subscribe(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in subscribe()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 268 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testConnectFailure() 269 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testConnectFailure() 508 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeFlow() 509 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeFlow() 600 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeRemoteTerminate() 601 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeRemoteTerminate() 1600 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in executeSessionStartup() 1601 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), in executeSessionStartup()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | HalClient.java | 88 public void subscribe(SubscribeOptions... options) throws RemoteException { in subscribe() method in HalClient 89 mVehicle.subscribe(mInternalCallback, new ArrayList<>(Arrays.asList(options))); in subscribe()
|
D | VmsHalService.java | 430 mSubscriptionHelper.subscribe(vmsLayer); in handleSubscribeEvent() 450 mSubscriptionHelper.subscribe(vmsLayer, publisherId); in handleSubscribeToPublisherEvent()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 360 public void subscribe(String callingPackage, String callingFeatureId, int clientId, in subscribe() method in WifiAwareServiceImpl 385 mStateManager.subscribe(clientId, subscribeConfig, callback); in subscribe()
|
/packages/services/Car/cpp/evs/apps/default/ |
D | evs_app.cpp | 95 StatusCode status = pVnet->subscribe(listener, options); in subscribeToVHal()
|