Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java834 public static class Channel implements AutoCloseable { class in WifiP2pManager
836 public Channel(Context context, Looper looper, ChannelListener l, Binder binder, in Channel() method in WifiP2pManager.Channel
1108 private static void checkChannel(Channel c) { in checkChannel()
1136 public Channel initialize(Context srcContext, Looper srcLooper, ChannelListener listener) { in initialize()
1138 Channel channel = initalizeChannel(srcContext, srcLooper, listener, getMessenger(binder), in initialize()
1147 public Channel initializeInternal(Context srcContext, Looper srcLooper, in initializeInternal()
1153 private Channel initalizeChannel(Context srcContext, Looper srcLooper, ChannelListener listener, in initalizeChannel()
1157 Channel c = new Channel(srcContext, srcLooper, listener, binder, this); in initalizeChannel()
1192 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
1208 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()
70 static std::shared_ptr<Channel> GetFromMessageInfo(const MessageInfo& info);
205 int flags, const std::shared_ptr<Channel>& channel, int* channel_id);
212 Service* service, int flags, const std::shared_ptr<Channel>& channel,
233 std::shared_ptr<Channel>* channel) const;
240 std::shared_ptr<Channel>* channel) const;
249 std::shared_ptr<Channel> base_pointer; in CheckChannel()
260 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/include/private/dvr/
Dconsumer_channel.h15 using Channel = pdx::Channel; variable
20 const std::shared_ptr<Channel> producer);
45 std::weak_ptr<Channel> producer_;
Dconsumer_queue_channel.h20 const std::shared_ptr<Channel>& producer, bool silent);
63 std::weak_ptr<Channel> producer_;
Dbuffer_hub.h21 class BufferHubChannel : public pdx::Channel {
/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)},
373 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { in PushChannel()
383 Service* service, int flags, const std::shared_ptr<Channel>& channel, in PushChannel()
390 std::shared_ptr<Channel>* channel) const { in CheckChannel()
400 std::shared_ptr<Channel>* channel) const { in CheckChannel()
427 std::shared_ptr<Channel> Message::GetChannel() const { return channel_.lock(); } in GetChannel()
429 Status<void> Message::SetChannel(const std::shared_ptr<Channel>& chan) { in SetChannel()
466 std::shared_ptr<Channel> Service::OnChannelOpen(Message& /*message*/) { in OnChannelOpen()
[all …]
Dservice_tests.cpp11 using android::pdx::Channel;
92 MOCK_METHOD1(OnChannelOpen, std::shared_ptr<Channel>(Message& message));
94 void(Message& message, const std::shared_ptr<Channel>& channel));
174 auto test_channel = std::make_shared<Channel>(); in TEST_F()
202 auto test_channel = std::make_shared<Channel>(); in TEST_F()
226 auto channel = std::make_shared<Channel>(); in TEST_F()
240 auto channel = std::make_shared<Channel>(); in TEST_F()
768 auto test_channel = std::make_shared<Channel>(); in TEST_F()
772 std::shared_ptr<Channel> channel; in TEST_F()
784 std::shared_ptr<Channel> channel; in TEST_F()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pManagerTest.java65 try (WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelFinalize()
77 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelClose()
/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/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/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;
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()
Ddisplay_service.cpp22 using android::pdx::Channel;
116 const std::shared_ptr<Channel>& channel) { in OnChannelClose()
/frameworks/native/libs/vr/libpdx/fuzz/
Dhelpers.h76 Status<void> SetChannel(int channel_id, Channel* channel) { in SetChannel()
78 _channel = std::shared_ptr<Channel>(channel); in SetChannel()
143 Channel* channel, int* channel_id) { in PushChannel()
156 Channel** channel) { in CheckChannel()
289 std::shared_ptr<Channel> _channel;
Dservice_dispatcher_fuzzer.cpp42 std::shared_ptr<Channel> channel(nullptr); in LLVMFuzzerTestOneInput()
47 service->SetChannel(0, std::shared_ptr<Channel>(channel)); in LLVMFuzzerTestOneInput()
/frameworks/base/core/proto/android/app/
Dnotification_channel_group.proto31 // Notification Channel Group ID. Provided by the app.
33 // User-visible Notification Channel Group name.
35 // User-visible Notification Channel Group description.
Dnotification_channel.proto31 // Notification Channel ID. Provided by the app.
33 // User-visible Notification Channel name. Provided by the app.
35 // User-visible Notification Channel description. Provided by the app.
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java26 import java.nio.channels.Channel;
37 public final class SensorDirectChannel implements Channel {
/frameworks/native/services/vr/bufferhubd/
Dconsumer_channel.cpp10 using android::pdx::Channel;
21 const std::shared_ptr<Channel> producer) in ConsumerChannel()
/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()
Dservice_endpoint.cpp265 Status<void> Endpoint::SetChannel(int channel_id, Channel* channel) { in SetChannel()
282 LocalHandle channel_fd, Channel* channel_state) { in OnNewChannelLocked()
427 Channel* channel, in PushChannel()
459 Channel** /*channel*/) { in CheckChannel() argument
464 Channel* Endpoint::GetChannelState(int32_t channel_id) { in GetChannelState()

12