Home
last modified time | relevance | path

Searched refs:subscribe (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DServiceWrapperTest.kt113 val result = wrapper.subscribe(list, subscriber) in testSubscribe_happyPath()
116 verify(service).subscribe(list, subscriber) in testSubscribe_happyPath()
121 `when`(service.subscribe(any(), any())).thenThrow(exception) in testSubscribe_error()
124 val result = wrapper.subscribe(list, subscriber) in testSubscribe_error()
DControlsBindingControllerImplTest.kt274 controller.subscribe(structure) in testSubscribe()
304 controller.subscribe(structure) in testUnsubscribe_refreshing()
DControlsProviderLifecycleManagerTest.kt166 verify(service).subscribe(list, subscriberService) in testMaybeBindAndSubscribe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DServiceWrapper.kt59 fun subscribe(controlIds: List<String>, subscriber: IControlsSubscriber): Boolean { in subscribe() method
61 service.subscribe(controlIds, subscriber) in subscribe()
DControlsBindingController.kt65 fun subscribe(structureInfo: StructureInfo) in bindAndLoad() method
DControlsProviderLifecycleManager.kt329 return wrapper?.subscribe(list, subscriber) ?: false in callWrapper()
DControlsBindingControllerImpl.kt130 override fun subscribe(structureInfo: StructureInfo) { in subscribe() method in com.android.systemui.controls.controller.ControlsBindingControllerImpl
/frameworks/base/core/java/android/service/controls/
DControlsProviderService.java152 public void subscribe(List<String> controlIds, in onBind() method in ControlsProviderService
188 ControlsProviderService.this.createPublisherForAllAvailable().subscribe(proxy);
202 publisher.subscribe(proxy);
213 .subscribe(proxy);
DIControlsProvider.aidl31 void subscribe(in List<String> controlIds, in subscribe() method
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java282 mDut.subscribe(clientId1, subscribeConfig, mockSessionCallback1); in testRequestMacAddresses()
284 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses()
290 mDut.subscribe(clientId2, subscribeConfig, mockSessionCallback2); in testRequestMacAddresses()
292 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses()
1102 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail()
1104 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail()
1115 when(mMockNative.subscribe(anyShort(), anyByte(), any())) in testSubscribeFail()
1118 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail()
1120 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail()
1176 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeSuccessTerminated()
[all …]
DWifiAwareServiceImplTest.java302 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in testFailOnSubscribeRangingWithoutRttFeature()
464 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in testSubscribe()
466 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in testSubscribe()
695 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
697 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
DTestUtils.java67 public boolean subscribe(short transactionId, byte subscribeId, in subscribe() method in TestUtils.MonitoredWifiAwareNativeApi
DWifiAwareNativeApiTest.java361 mDut.subscribe(tid, pid, subDefault); in testDiscoveryRangingSettings()
362 mDut.subscribe(tid, pid, subWithMin); in testDiscoveryRangingSettings()
363 mDut.subscribe(tid, pid, subWithMax); in testDiscoveryRangingSettings()
364 mDut.subscribe(tid, pid, subWithMinMax); in testDiscoveryRangingSettings()
DWifiAwareDataPathStateManagerTest.java1663 sessionCaptor.getValue().subscribe(subscribeConfig, mockSessionCallback, in getSessionNetworkRequestMore()
1665 inOrderS.verify(mockAwareService).subscribe(any(), any(), eq(clientId), in getSessionNetworkRequestMore()
1781 mDut.subscribe(clientId, subscribeConfig, mMockSessionCallback); in initDataPathEndPoint()
1788 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in initDataPathEndPoint()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareSession.java193 public void subscribe(@NonNull SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareSession
204 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
DIWifiAwareManager.aidl48 void subscribe(in String callingPackage, in String callingFeatureId, int clientId, in subscribe() method
DWifiAwareManager.java325 public void subscribe(int clientId, Looper looper, SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareManager
339 mService.subscribe(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in subscribe()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java224 mControlsProvider.subscribe(new ArrayList<String>(), mSubscriber); in testSubscribe()
288 public void subscribe(final Subscriber s) { in createPublisherForAllAvailable()
297 public void subscribe(final Subscriber s) { in createPublisherFor()
306 public void subscribe(final Subscriber s) {
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java232 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testConnectFailure()
233 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testConnectFailure()
465 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeFlow()
466 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeFlow()
550 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeRemoteTerminate()
551 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeRemoteTerminate()
1550 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in executeSessionStartup()
1551 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), in executeSessionStartup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java330 public void subscribe(String callingPackage, String callingFeatureId, int clientId, in subscribe() method in WifiAwareServiceImpl
355 mStateManager.subscribe(clientId, subscribeConfig, callback); in subscribe()
DWifiAwareDiscoverySessionState.java195 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DResumeMediaBrowser.java136 mMediaBrowser.subscribe(root, mSubscriptionCallback);
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java360 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() method in MediaBrowser
386 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() method in MediaBrowser
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt298 override fun subscribe(subscriber: Flow.Subscriber<in Control>) { in subscribe() method in com.android.egg.neko.NekoControlsService.UglyPublisher
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto1493 // maximum number of concurrent subscribe sessions in a single app
1496 // maximum number of concurrent discovery (publish+subscribe) sessions in a single app
1502 // maximum number of concurrent subscribe sessions in the system
1505 // maximum number of concurrent discovery (publish+subscribe) sessions in the system
1511 // histogram of subscribe request results
1557 // histogram of duration (in ms) of subscribe sessions
1594 // maximum number of concurrent subscribe sessions specifying a geofence in a single app
1600 // maximum number of concurrent subscribe sessions specifying a geofence in the system
1603 // histogram of subscribe session geofence minimum (only when specified)
1606 // histogram of subscribe session geofence maximum (only when specified)
[all …]

12