Home
last modified time | relevance | path

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

12

/frameworks/support/media-compat/api24/android/support/v4/media/
DMediaBrowserCompatApi24.java32 public static void subscribe(Object browserObj, String parentId, Bundle options, in subscribe() method in MediaBrowserCompatApi24
34 ((MediaBrowser) browserObj).subscribe(parentId, options, in subscribe()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DMediaBrowserCompatTest.java184 mMediaBrowser.subscribe( in testReconnection()
261 mMediaBrowser.subscribe( in testSubscribe()
307 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, options, in testSubscribeWithOptions()
355 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_INVALID, in testSubscribeInvalidItem()
376 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_INVALID, options, in testSubscribeInvalidItemWithOptions()
405 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, options, in testUnsubscribeForMultipleSubscriptions()
452 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, options, in testUnsubscribeWithSubscriptionCallbackForMultipleSubscriptions()
DMediaBrowserServiceCompatTest.java111 mMediaBrowser.subscribe( in testNotifyChildrenChanged()
134 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, options, in testNotifyChildrenChangedWithPagination()
151 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_CHILDREN_DELAYED, in testDelayedNotifyChildrenChanged()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java135 when(mMockNative.subscribe(anyShort(), anyInt(), any())) in setUp()
784 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail()
786 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeConfig)); in testSubscribeFail()
795 when(mMockNative.subscribe(anyShort(), anyInt(), any())) in testSubscribeFail()
798 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail()
800 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeConfig)); in testSubscribeFail()
849 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeSuccessTerminated()
851 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeConfig)); in testSubscribeSuccessTerminated()
922 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeUpdateFail()
924 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), eq(subscribeConfig)); in testSubscribeUpdateFail()
[all …]
DWifiAwareServiceImplTest.java386 mDut.subscribe(clientId, subscribeConfig, mockCallback); in testSubscribe()
388 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in testSubscribe()
609 mDut.subscribe(clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
611 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
DWifiAwareDataPathStateManagerTest.java129 when(mMockNative.subscribe(anyShort(), anyInt(), any())) in setUp()
677 sessionCaptor.getValue().subscribe(subscribeConfig, mockSessionCallback, in getSessionNetworkRequest()
679 verify(mMockAwareService).subscribe(eq(clientId), eq(subscribeConfig), in getSessionNetworkRequest()
803 mDut.subscribe(clientId, subscribeConfig, mMockSessionCallback); in initDataPathEndPoint()
809 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq(0), in initDataPathEndPoint()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserCompatApi21.java76 public static void subscribe( in subscribe() method in MediaBrowserCompatApi21
78 ((MediaBrowser)browserObj).subscribe(parentId, in subscribe()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareSession.java172 public void subscribe(@NonNull SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareSession
183 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
DIWifiAwareManager.aidl47 void subscribe(int clientId, in SubscribeConfig subscribeConfig, in subscribe() method
DWifiAwareManager.java334 public void subscribe(int clientId, Looper looper, SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareManager
344 mService.subscribe(clientId, subscribeConfig, in subscribe()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java285 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() method in MediaBrowserCompat
293 mImpl.subscribe(parentId, null, callback); in subscribe()
318 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() method in MediaBrowserCompat
330 mImpl.subscribe(parentId, options, callback); in subscribe()
945 void subscribe(@NonNull String parentId, Bundle options, in subscribe() method
1157 public void subscribe(@NonNull String parentId, Bundle options, in subscribe() method in MediaBrowserCompat.MediaBrowserImplBase
1648 public void subscribe(@NonNull final String parentId, final Bundle options, in subscribe() method in MediaBrowserCompat.MediaBrowserImplApi21
1663 MediaBrowserCompatApi21.subscribe( in subscribe()
1951 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() method in MediaBrowserCompat.MediaBrowserImplApi24
1954 MediaBrowserCompatApi21.subscribe( in subscribe()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java270 public void subscribe(int clientId, SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareServiceImpl
291 mStateManager.subscribe(clientId, subscribeConfig, callback); in subscribe()
DWifiAwareDiscoverySessionState.java162 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe()
DWifiAwareNativeApi.java351 public boolean subscribe(short transactionId, int subscribeId, in subscribe() method in WifiAwareNativeApi
DWifiAwareStateManager.java335 public void subscribe(int clientId, SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareStateManager
1944 boolean success = mWifiAwareNativeApi.subscribe(transactionId, 0, subscribeConfig); in subscribeLocal()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java201 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testConnectFailure()
202 inOrder.verify(mockAwareService).subscribe(eq(clientId), eq(subscribeConfig), any()); in testConnectFailure()
432 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeFlow()
433 inOrder.verify(mockAwareService).subscribe(eq(clientId), eq(subscribeConfig), in testSubscribeFlow()
513 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeRemoteTerminate()
514 inOrder.verify(mockAwareService).subscribe(eq(clientId), eq(subscribeConfig), in testSubscribeRemoteTerminate()
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
DBrowserListFragment.java130 mBrowser.subscribe(mNodeId, new MediaBrowser.SubscriptionCallback() {
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java354 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() method in MediaBrowser
380 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() method in MediaBrowser
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DBrowseFragment.java252 mMediaBrowser.subscribe(mMediaId, options, mSubscriptionCallback); in loadPage()
/frameworks/support/api/
D25.1.0.txt5379 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
5380 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…
D25.0.0.txt4997 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
4998 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…
D25.2.0.txt5379 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
5380 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…
D24.2.0.txt4941 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
4942 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…
D26.0.0-alpha1.txt6248 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
6249 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…
D25.3.0.txt5765 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
5766 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…

12