Home
last modified time | relevance | path

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

123

/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
DChannelTest.java58 Channel emptyChannel = new Channel.Builder() in testEmptyChannel()
61 compareChannel(emptyChannel, Channel.fromCursor(getChannelCursor(contentValues)), true); in testEmptyChannel()
68 Channel sampleChannel = new Channel.Builder() in testSampleChannel()
78 compareChannel(sampleChannel, Channel.fromCursor(getChannelCursor(contentValues)), true); in testSampleChannel()
80 Channel clonedSampleChannel = new Channel.Builder(sampleChannel).build(); in testSampleChannel()
86 Channel fullyPopulatedChannel = createFullyPopulatedChannel(); in testFullyPopulatedChannel()
88 compareChannel(fullyPopulatedChannel, Channel.fromCursor(getChannelCursor(contentValues)), in testFullyPopulatedChannel()
91 Channel clonedFullyPopulatedChannel = new Channel.Builder(fullyPopulatedChannel).build(); in testFullyPopulatedChannel()
100 Channel fullyPopulatedChannel = createFullyPopulatedChannel(); in testChannelWithSystemContentProvider()
106 Channel channelFromSystemDb = loadChannelFromContentProvider(resolver, channelUri); in testChannelWithSystemContentProvider()
[all …]
/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/base/core/java/android/se/omapi/
DSession.java199 public @Nullable Channel openBasicChannel(@Nullable byte[] aid, @Nullable byte p2) in openBasicChannel()
212 return new Channel(mService, this, channel); in openBasicChannel()
249 public @Nullable Channel openBasicChannel(@Nullable byte[] aid) throws IOException { in openBasicChannel()
305 public @Nullable Channel openLogicalChannel(@Nullable byte[] aid, @Nullable byte p2) in openLogicalChannel()
319 return new Channel(mService, this, channel); in openLogicalChannel()
358 public @Nullable Channel openLogicalChannel(@Nullable byte[] aid) throws IOException { in openLogicalChannel()
DChannel.java42 public final class Channel implements java.nio.channels.Channel { class
50 Channel(@NonNull SEService service, @NonNull Session session, in Channel() method in 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_;
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pManagerTest.java62 try (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 …]
/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()
69 pdx::Message& /*message*/, const std::shared_ptr<pdx::Channel>& channel) { in OnChannelClose()
Dvsync_service.cpp17 using android::pdx::Channel;
50 std::shared_ptr<Channel> VSyncService::OnChannelOpen(pdx::Message& message) { in OnChannelOpen()
60 const std::shared_ptr<Channel>& channel) { in OnChannelClose()
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java259 Channel channel = queryEngineByChannelIndex(ch); in getConfig()
1028 public final static class Channel { class in DynamicsProcessing
1051 public Channel (float inputGain, in Channel() method in DynamicsProcessing.Channel
1071 public Channel(Channel cfg) { in Channel() method in DynamicsProcessing.Channel
1247 private final Channel[] mChannel;
1270 Channel[] channel) { in Config()
1282 mChannel = new Channel[mChannelCount]; in Config()
1288 mChannel[ch] = new Channel(channel[ch]); //copy create in Config()
1324 mChannel = new Channel[channelCount]; in Config()
1327 mChannel[ch] = new Channel(cfg.mChannel[ch]); in Config()
[all …]
/frameworks/support/tv-provider/api_legacy/
D28.0.0-alpha1.txt3 public final class Channel {
4 method public static android.support.media.tv.Channel fromCursor(android.database.Cursor);
39 public static final class Channel.Builder {
40 ctor public Channel.Builder();
41 ctor public Channel.Builder(android.support.media.tv.Channel);
42 method public android.support.media.tv.Channel build();
43 method public android.support.media.tv.Channel.Builder setAppLinkColor(int);
44 method public android.support.media.tv.Channel.Builder setAppLinkIconUri(android.net.Uri);
45 method public android.support.media.tv.Channel.Builder setAppLinkIntent(android.content.Intent);
46 method public android.support.media.tv.Channel.Builder setAppLinkIntentUri(android.net.Uri);
[all …]
D27.1.0.txt3 public final class Channel {
4 method public static android.support.media.tv.Channel fromCursor(android.database.Cursor);
39 public static final class Channel.Builder {
40 ctor public Channel.Builder();
41 ctor public Channel.Builder(android.support.media.tv.Channel);
42 method public android.support.media.tv.Channel build();
43 method public android.support.media.tv.Channel.Builder setAppLinkColor(int);
44 method public android.support.media.tv.Channel.Builder setAppLinkIconUri(android.net.Uri);
45 method public android.support.media.tv.Channel.Builder setAppLinkIntent(android.content.Intent);
46 method public android.support.media.tv.Channel.Builder setAppLinkIntentUri(android.net.Uri);
[all …]
D27.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 …]
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 …]
D26.1.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 …]
Dcurrent.txt3 public final class Channel {
4 method public static android.support.media.tv.Channel fromCursor(android.database.Cursor);
39 public static final class Channel.Builder {
40 ctor public Channel.Builder();
41 ctor public Channel.Builder(android.support.media.tv.Channel);
42 method public android.support.media.tv.Channel build();
43 method public android.support.media.tv.Channel.Builder setAppLinkColor(int);
44 method public android.support.media.tv.Channel.Builder setAppLinkIconUri(android.net.Uri);
45 method public android.support.media.tv.Channel.Builder setAppLinkIntent(android.content.Intent);
46 method public android.support.media.tv.Channel.Builder setAppLinkIntentUri(android.net.Uri);
[all …]
/frameworks/support/tv-provider/api/
Dcurrent.txt3 public final class Channel {
4 method public static androidx.tvprovider.media.tv.Channel fromCursor(android.database.Cursor);
39 public static final class Channel.Builder {
40 ctor public Channel.Builder();
41 ctor public Channel.Builder(androidx.tvprovider.media.tv.Channel);
42 method public androidx.tvprovider.media.tv.Channel build();
43 method public androidx.tvprovider.media.tv.Channel.Builder setAppLinkColor(int);
44 method public androidx.tvprovider.media.tv.Channel.Builder setAppLinkIconUri(android.net.Uri);
45 …method public androidx.tvprovider.media.tv.Channel.Builder setAppLinkIntent(android.content.Intent…
46 method public androidx.tvprovider.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 {

123