/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ServiceWrapperTest.kt | 113 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()
|
D | ControlsBindingControllerImplTest.kt | 274 controller.subscribe(structure) in testSubscribe() 304 controller.subscribe(structure) in testUnsubscribe_refreshing()
|
D | ControlsProviderLifecycleManagerTest.kt | 166 verify(service).subscribe(list, subscriberService) in testMaybeBindAndSubscribe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ServiceWrapper.kt | 59 fun subscribe(controlIds: List<String>, subscriber: IControlsSubscriber): Boolean { in subscribe() method 61 service.subscribe(controlIds, subscriber) in subscribe()
|
D | ControlsBindingController.kt | 65 fun subscribe(structureInfo: StructureInfo) in bindAndLoad() method
|
D | ControlsProviderLifecycleManager.kt | 329 return wrapper?.subscribe(list, subscriber) ?: false in callWrapper()
|
D | ControlsBindingControllerImpl.kt | 130 override fun subscribe(structureInfo: StructureInfo) { in subscribe() method in com.android.systemui.controls.controller.ControlsBindingControllerImpl
|
/frameworks/base/core/java/android/service/controls/ |
D | ControlsProviderService.java | 152 public void subscribe(List<String> controlIds, in onBind() method in ControlsProviderService 188 ControlsProviderService.this.createPublisherForAllAvailable().subscribe(proxy); 202 publisher.subscribe(proxy); 213 .subscribe(proxy);
|
D | IControlsProvider.aidl | 31 void subscribe(in List<String> controlIds, in subscribe() method
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 282 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 …]
|
D | WifiAwareServiceImplTest.java | 302 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()
|
D | TestUtils.java | 67 public boolean subscribe(short transactionId, byte subscribeId, in subscribe() method in TestUtils.MonitoredWifiAwareNativeApi
|
D | WifiAwareNativeApiTest.java | 361 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()
|
D | WifiAwareDataPathStateManagerTest.java | 1663 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/ |
D | WifiAwareSession.java | 193 public void subscribe(@NonNull SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareSession 204 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
|
D | IWifiAwareManager.aidl | 48 void subscribe(in String callingPackage, in String callingFeatureId, int clientId, in subscribe() method
|
D | WifiAwareManager.java | 325 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/ |
D | ControlProviderServiceTest.java | 224 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/ |
D | WifiAwareManagerTest.java | 232 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/ |
D | WifiAwareServiceImpl.java | 330 public void subscribe(String callingPackage, String callingFeatureId, int clientId, in subscribe() method in WifiAwareServiceImpl 355 mStateManager.subscribe(clientId, subscribeConfig, callback); in subscribe()
|
D | WifiAwareDiscoverySessionState.java | 195 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | ResumeMediaBrowser.java | 136 mMediaBrowser.subscribe(root, mSubscriptionCallback);
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 360 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/ |
D | NekoControlsService.kt | 298 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/ |
D | metrics.proto | 1493 // 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 …]
|