/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 | 85 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSubscribe() 105 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeToPublisher() 123 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromPublisher() 143 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testUnsubscribe() 162 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromWrongPublisher() 180 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testUnsubscribeFromPublisher() 248 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSimpleAvailableLayersAfterSubscription()
|
D | VmsOperationRecorderTest.java | 89 mRecorder.subscribe(layer1); in testSubscribe() 189 mRecorder.subscribe(layer1, 99); in testSubscribeToPublisher()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/activeunlock/ |
D | ActiveUnlockContentListenerTest.java | 90 mContentListener.subscribe(); in subscribe_contentFetched() 98 mContentListener.subscribe(); in contentUpdated_contentUpdated() 109 mContentListener.subscribe(); in contentUpdated_unsubscribed_contentNotUpdated() 120 mContentListener.subscribe(); in multipleContentUpdates_contentIsNewestValueAndUpdatedTwice() 133 mContentListener.subscribe(); in duplicateContentUpdates_onContentChangedOnlyCalledOnce() 159 assertThat(contentListener.subscribe()).isFalse(); in noProvider_subscribeDoesntRegisterObserver()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/ |
D | MediaBrowser.java | 135 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) { in subscribe() method in MediaBrowser 136 mDelegate.subscribe(parentId, options, callback); in subscribe() 142 public void subscribe(String parentId, SubscriptionCallback callback) { in subscribe() method in MediaBrowser 143 mDelegate.subscribe(parentId, callback); in subscribe()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStubUnitTest.java | 1134 client.subscribe(options); in testSubscribeOnChangePropOneClientSubscribeOnePropManyTime() 1135 client.subscribe(options); in testSubscribeOnChangePropOneClientSubscribeOnePropManyTime() 1136 client.subscribe(options); in testSubscribeOnChangePropOneClientSubscribeOnePropManyTime() 1179 client.subscribe(options); in testSubscribeOnChangePropOneClientSubscribeTwoProp() 1221 client.subscribe(options); in testSubscribeAreaPropertyWithEmptyOptionsAreaIds() 1252 client1.subscribe(options); in testSubscribeOnChangePropTwoClientSubscribeSameProp() 1253 client2.subscribe(options); in testSubscribeOnChangePropTwoClientSubscribeSameProp() 1280 client.subscribe(options); in testSubscribeContinuousProp() 1308 client.subscribe(options1); in testSubscribeContinuousPropDifferentRate() 1313 client.subscribe(options2); in testSubscribeContinuousPropDifferentRate() [all …]
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriberManager.java | 186 public void subscribe(@NonNull VmsLayer layer) { in subscribe() method in VmsSubscriberManager 187 mSubscriptionHelper.subscribe(layer); in subscribe() 199 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() method in VmsSubscriberManager 200 mSubscriptionHelper.subscribe(layer, publisherId); in subscribe()
|
D | VmsSubscriptionHelper.java | 67 public void subscribe(@NonNull VmsLayer layer) { in subscribe() method in VmsSubscriptionHelper 81 public void subscribe(@NonNull VmsLayer layer, int providerId) { in subscribe() method in VmsSubscriptionHelper
|
D | VmsOperationRecorder.java | 70 public void subscribe(VmsLayer layer) { in subscribe() method in VmsOperationRecorder 87 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() method in VmsOperationRecorder
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/ |
D | wifi_aware_test.py | 66 self.subscriber.wifi_aware_snippet.subscribe(is_unsolicited, is_ranging_required, False) 86 self.subscriber.wifi_aware_snippet.subscribe(is_unsolicited, is_ranging_required, True) 101 self.subscriber.wifi_aware_snippet.subscribe(is_unsolicited, is_ranging_required, True)
|
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/ |
D | ActiveUnlockSummaryListener.java | 35 public void subscribe() { in subscribe() method in ActiveUnlockSummaryListener 36 mContentListener.subscribe(); in subscribe()
|
D | ActiveUnlockDeviceNameListener.java | 40 public void subscribe() { in subscribe() method in ActiveUnlockDeviceNameListener 41 mActiveUnlockContentListener.subscribe(); in subscribe()
|
D | ActiveUnlockStatusPreferenceController.java | 96 mActiveUnlockSummaryListener.subscribe(); in onStart() 97 mActiveUnlockDeviceNameListener.subscribe(); in onStart()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 527 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions})); 539 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions})); 551 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions})); 578 doThrow(new RemoteException()).when(mSubscriptionClient).subscribe(any()); 587 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions})); 597 verify(mSubscriptionClient, never()).subscribe(any()); 605 verify(mSubscriptionClient).subscribe(any()); 612 verify(mSubscriptionClient, never()).subscribe(any()); 624 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions})); 645 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions1})); [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeObserverTest.java | 76 mDarkModeObserver.subscribe(mCallback); in callbackTest_subscribedCallbackCalled() 86 mDarkModeObserver.subscribe(mCallback); in callbackTest_unsubscribedAfterSubscribe_noMoreCallbackCalled()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModePreference.java | 53 mDarkModeObserver.subscribe(mCallback); in DarkModePreference() 59 mDarkModeObserver.subscribe(mCallback); in onAttached()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 353 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback, mExtras); in testFailOnSubscribeRangingWithoutRttFeature() 547 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback, mExtras); in testSubscribe() 549 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in testSubscribe() 568 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback, mExtras); in testSubscribePostT() 570 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in testSubscribePostT() 588 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback, mExtras); in testSubscribeExceptionPostT() 1008 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback, mExtras); in doBadSubscribeConfiguration() 1010 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
|
D | WifiAwareStateManagerTest.java | 375 mDut.subscribe(clientId1, subscribeConfig, mockSessionCallback1); in testRequestMacAddresses() 377 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 383 mDut.subscribe(clientId2, subscribeConfig, mockSessionCallback2); in testRequestMacAddresses() 385 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 1130 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeSuccessInstantCommunicationMode() 1132 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeSuccessInstantCommunicationMode() 1425 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail() 1427 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail() 1439 when(mMockNative.subscribe(anyShort(), anyByte(), any(), any())).thenReturn(false); in testSubscribeFail() 1441 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareSession.java | 232 public void subscribe(@NonNull SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareSession 243 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiNanIfaceAidlImplTest.java | 100 mDut.subscribe(tid, pid, subDefault, null); in testDiscoveryRangingSettings() 101 mDut.subscribe(tid, pid, subWithMin, null); in testDiscoveryRangingSettings() 102 mDut.subscribe(tid, pid, subWithMax, null); in testDiscoveryRangingSettings() 103 mDut.subscribe(tid, pid, subWithMinMax, null); in testDiscoveryRangingSettings()
|
D | WifiNanIfaceHidlImplTest.java | 140 mDut.subscribe(tid, pid, subDefault, null); in testDiscoveryRangingSettings() 141 mDut.subscribe(tid, pid, subWithMin, null); in testDiscoveryRangingSettings() 142 mDut.subscribe(tid, pid, subWithMax, null); in testDiscoveryRangingSettings() 143 mDut.subscribe(tid, pid, subWithMinMax, null); in testDiscoveryRangingSettings()
|
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/controller/ |
D | RemoteQCController.java | 158 private void subscribe() { in subscribe() method in RemoteQCController 265 subscribe(); in trySubscribe()
|
/packages/services/Car/cpp/vhal/client/test/ |
D | HidlVhalClientTest.cpp | 73 Return<StatusCode> subscribe(const sp<IVehicleCallback>& callback, in subscribe() function in android::frameworks::automotive::vhal::hidl_test::MockVhal 393 auto result = subscriptionClient->subscribe(options); in TEST_F() 434 auto result = subscriptionClient->subscribe(options); in TEST_F()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 281 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testConnectFailure() 282 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testConnectFailure() 528 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeFlow() 529 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeFlow() 624 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeRemoteTerminate() 625 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeRemoteTerminate() 1649 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in executeSessionStartup() 1650 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), in executeSessionStartup() 1870 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testInitiatePairingFlow() 1871 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testInitiatePairingFlow()
|