Home
last modified time | relevance | path

Searched refs:Channel (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/support/tv-provider/tests/src/android/support/media/tv/
DChannelTest.java56 Channel emptyChannel = new Channel.Builder() in testEmptyChannel()
59 compareChannel(emptyChannel, Channel.fromCursor(getChannelCursor(contentValues)), true); in testEmptyChannel()
66 Channel sampleChannel = new Channel.Builder() in testSampleChannel()
76 compareChannel(sampleChannel, Channel.fromCursor(getChannelCursor(contentValues)), true); in testSampleChannel()
78 Channel clonedSampleChannel = new Channel.Builder(sampleChannel).build(); in testSampleChannel()
84 Channel fullyPopulatedChannel = createFullyPopulatedChannel(); in testFullyPopulatedChannel()
86 compareChannel(fullyPopulatedChannel, Channel.fromCursor(getChannelCursor(contentValues)), in testFullyPopulatedChannel()
89 Channel clonedFullyPopulatedChannel = new Channel.Builder(fullyPopulatedChannel).build(); in testFullyPopulatedChannel()
98 Channel fullyPopulatedChannel = createFullyPopulatedChannel(); in testChannelWithSystemContentProvider()
104 Channel channelFromSystemDb = loadChannelFromContentProvider(resolver, channelUri); in testChannelWithSystemContentProvider()
[all …]
DProgramTest.java102 Channel channel = new Channel.Builder() in testChannelWithSystemContentProvider()
124 Channel channel = new Channel.Builder() in testProgramUpdateWithContentProvider()
DPreviewProgramTest.java107 Channel channel = new Channel.Builder() in testPreviewProgramWithSystemContentProvider()
130 Channel channel = new Channel.Builder() in testPreviewProgramUpdateWithContentProvider()
DChannelLogoUtilsTest.java42 ContentValues contentValues = new Channel.Builder() in setUp()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java673 public static class Channel implements AutoCloseable { class in WifiP2pManager
675 public Channel(Context context, Looper looper, ChannelListener l, Binder binder, in Channel() method in WifiP2pManager.Channel
910 private static void checkChannel(Channel c) { in checkChannel()
938 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize()
940 Channel channel = initalizeChannel(srcContext, srcLooper, listener, getMessenger(binder), in initialize()
949 public Channel initializeInternal(Context srcContext, Looper srcLooper, in initializeInternal()
955 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel()
959 Channel c = new Channel(srcContext, srcLooper, listener, binder, this); in initalizeChannel()
988 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
1004 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h56 class Channel : public std::enable_shared_from_this<Channel> {
58 Channel() {} in Channel() function
59 virtual ~Channel() {} in ~Channel()
64 static std::shared_ptr<Channel> GetFromMessageInfo(const MessageInfo& info);
196 int flags, const std::shared_ptr<Channel>& channel, int* channel_id);
203 Service* service, int flags, const std::shared_ptr<Channel>& channel,
224 std::shared_ptr<Channel>* channel) const;
231 std::shared_ptr<Channel>* channel) const;
240 std::shared_ptr<Channel> base_pointer; in CheckChannel()
251 std::shared_ptr<Channel> base_pointer; in CheckChannel()
[all …]
Dservice_endpoint.h14 class Channel; variable
27 Channel* channel{nullptr};
50 virtual Status<void> SetChannel(int channel_id, Channel* channel) = 0;
70 Channel* channel,
78 Channel** channel) = 0;
Dmock_service_endpoint.h14 MOCK_METHOD2(SetChannel, Status<void>(int channel_id, Channel* channel));
20 Channel* channel, int* channel_id));
23 Channel** channel));
/frameworks/native/services/vr/bufferhubd/
Dconsumer_channel.h16 using Channel = pdx::Channel; variable
21 const std::shared_ptr<Channel> producer);
47 std::weak_ptr<Channel> producer_;
Dconsumer_queue_channel.h22 const std::shared_ptr<Channel>& producer, bool silent);
48 std::weak_ptr<Channel> producer_;
Dconsumer_channel.cpp12 using android::pdx::Channel;
23 const std::shared_ptr<Channel> producer) in ConsumerChannel()
Dbuffer_hub.h21 class BufferHubChannel : public pdx::Channel {
156 const std::shared_ptr<pdx::Channel>& channel) override;
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pManagerTest.java62 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelFinalize()
74 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelClose()
/frameworks/native/libs/vr/libpdx/
Dservice.cpp15 std::shared_ptr<Channel> Channel::GetFromMessageInfo(const MessageInfo& info) { in GetFromMessageInfo()
17 : std::shared_ptr<Channel>(); in GetFromMessageInfo()
24 channel_{Channel::GetFromMessageInfo(info)},
379 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { in PushChannel()
389 Service* service, int flags, const std::shared_ptr<Channel>& channel, in PushChannel()
396 std::shared_ptr<Channel>* channel) const { in CheckChannel()
406 std::shared_ptr<Channel>* channel) const { in CheckChannel()
433 std::shared_ptr<Channel> Message::GetChannel() const { return channel_.lock(); } in GetChannel()
435 Status<void> Message::SetChannel(const std::shared_ptr<Channel>& chan) { in SetChannel()
472 std::shared_ptr<Channel> Service::OnChannelOpen(Message& /*message*/) { in OnChannelOpen()
[all …]
Dservice_tests.cpp11 using android::pdx::Channel;
90 MOCK_METHOD1(OnChannelOpen, std::shared_ptr<Channel>(Message& message));
92 void(Message& message, const std::shared_ptr<Channel>& channel));
172 auto test_channel = std::make_shared<Channel>(); in TEST_F()
200 auto test_channel = std::make_shared<Channel>(); in TEST_F()
224 auto channel = std::make_shared<Channel>(); in TEST_F()
238 auto channel = std::make_shared<Channel>(); in TEST_F()
766 auto test_channel = std::make_shared<Channel>(); in TEST_F()
770 std::shared_ptr<Channel> channel; in TEST_F()
782 std::shared_ptr<Channel> channel; in TEST_F()
[all …]
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h43 Status<void> SetChannel(int channel_id, Channel* channel) override;
48 Channel* channel,
51 Channel** channel) override;
114 Channel* channel_state{nullptr};
138 LocalHandle channel_fd, Channel* channel_state);
141 Channel* GetChannelState(int32_t channel_id);
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_manager_service.h18 class DisplayManager : public pdx::Channel {
43 std::shared_ptr<pdx::Channel> OnChannelOpen(pdx::Message& message) override;
45 const std::shared_ptr<pdx::Channel>& channel) override;
Dvsync_service.h37 class VSyncChannel : public pdx::Channel {
61 std::shared_ptr<pdx::Channel> OnChannelOpen(pdx::Message& message) override;
63 const std::shared_ptr<pdx::Channel>& channel) override;
Ddisplay_manager_service.cpp13 using android::pdx::Channel;
43 std::shared_ptr<pdx::Channel> DisplayManagerService::OnChannelOpen( in OnChannelOpen()
61 pdx::Message& /*message*/, const std::shared_ptr<pdx::Channel>& channel) { in OnChannelClose()
Dvsync_service.cpp17 using android::pdx::Channel;
52 std::shared_ptr<Channel> VSyncService::OnChannelOpen(pdx::Message& message) { in OnChannelOpen()
62 const std::shared_ptr<Channel>& channel) { in OnChannelClose()
/frameworks/support/tv-provider/api/
Dcurrent.txt3 public final class Channel {
4 method public static android.support.media.tv.Channel fromCursor(android.database.Cursor);
37 public static final class Channel.Builder {
38 ctor public Channel.Builder();
39 ctor public Channel.Builder(android.support.media.tv.Channel);
40 method public android.support.media.tv.Channel build();
41 method public android.support.media.tv.Channel.Builder setAppLinkColor(int);
42 method public android.support.media.tv.Channel.Builder setAppLinkIconUri(android.net.Uri);
43 method public android.support.media.tv.Channel.Builder setAppLinkIntent(android.content.Intent);
44 method public android.support.media.tv.Channel.Builder setAppLinkIntentUri(android.net.Uri);
[all …]
D26.0.0.txt3 public final class Channel {
4 method public static android.support.media.tv.Channel fromCursor(android.database.Cursor);
37 public static final class Channel.Builder {
38 ctor public Channel.Builder();
39 ctor public Channel.Builder(android.support.media.tv.Channel);
40 method public android.support.media.tv.Channel build();
41 method public android.support.media.tv.Channel.Builder setAppLinkColor(int);
42 method public android.support.media.tv.Channel.Builder setAppLinkIconUri(android.net.Uri);
43 method public android.support.media.tv.Channel.Builder setAppLinkIntent(android.content.Intent);
44 method public android.support.media.tv.Channel.Builder setAppLinkIntentUri(android.net.Uri);
[all …]
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java26 import java.nio.channels.Channel;
37 public final class SensorDirectChannel implements Channel {
/frameworks/support/tv-provider/src/android/support/media/tv/
DChannel.java80 public final class Channel { class
97 private Channel(Builder builder) { in Channel() method in Channel
337 if (!(other instanceof Channel)) { in equals()
340 return mValues.equals(((Channel) other).mValues); in equals()
397 public static Channel fromCursor(Cursor cursor) { in fromCursor()
577 public Builder(Channel other) { in Builder()
950 public Channel build() { in build()
951 return new Channel(this); in build()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp27 using android::pdx::Channel;
74 class TestChannel : public Channel {
93 std::shared_ptr<Channel> OnChannelOpen(Message& message) override { in OnChannelOpen()
98 const std::shared_ptr<Channel>& channel) override { in OnChannelClose()

12