Searched refs:mSubscriptionCallback (Results 1 – 5 of 5) sorted by relevance
75 private StubSubscriptionCallback mSubscriptionCallback; field in MediaBrowserCompatTest81 mSubscriptionCallback = new StubSubscriptionCallback(); in setUp()181 synchronized (mSubscriptionCallback.mWaitLock) { in testReconnection()185 StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, mSubscriptionCallback); in testReconnection()186 mSubscriptionCallback.mWaitLock.wait(TIME_OUT_MS); in testReconnection()187 assertTrue(mSubscriptionCallback.mChildrenLoadedCount > 0); in testReconnection()189 mSubscriptionCallback.mLastParentId); in testReconnection()260 synchronized (mSubscriptionCallback.mWaitLock) { in testSubscribe()262 StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, mSubscriptionCallback); in testSubscribe()263 mSubscriptionCallback.mWaitLock.wait(TIME_OUT_MS); in testSubscribe()[all …]
68 private final SubscriptionCallback mSubscriptionCallback = new SubscriptionCallback(); field in MediaBrowserServiceCompatTest110 mSubscriptionCallback.reset(); in testNotifyChildrenChanged()112 StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, mSubscriptionCallback); in testNotifyChildrenChanged()114 assertTrue(mSubscriptionCallback.mOnChildrenLoaded); in testNotifyChildrenChanged()116 mSubscriptionCallback.reset(); in testNotifyChildrenChanged()119 assertTrue(mSubscriptionCallback.mOnChildrenLoaded); in testNotifyChildrenChanged()133 mSubscriptionCallback.reset(); in testNotifyChildrenChangedWithPagination()135 mSubscriptionCallback); in testNotifyChildrenChangedWithPagination()137 assertTrue(mSubscriptionCallback.mOnChildrenLoadedWithOptions); in testNotifyChildrenChangedWithPagination()139 mSubscriptionCallback.reset(); in testNotifyChildrenChangedWithPagination()[all …]
123 protected final T mSubscriptionCallback; field in MediaBrowserCompatApi21.SubscriptionCallbackProxy126 mSubscriptionCallback = callback; in SubscriptionCallbackProxy()132 mSubscriptionCallback.onChildrenLoaded(parentId, children); in onChildrenLoaded()137 mSubscriptionCallback.onError(parentId); in onError()
58 mSubscriptionCallback.onChildrenLoaded(parentId, children, options); in onChildrenLoaded()63 mSubscriptionCallback.onError(parentId, options); in onError()
75 private MediaBrowserCompat.SubscriptionCallback mSubscriptionCallback = field in BrowseFragment252 mMediaBrowser.subscribe(mMediaId, options, mSubscriptionCallback); in loadPage()