Home
last modified time | relevance | path

Searched refs:Client (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/native/libs/vr/libpdx/
Dclient.cpp10 void Client::EnableAutoReconnect(int64_t reconnect_timeout_ms) { in EnableAutoReconnect()
17 void Client::DisableAutoReconnect() { auto_reconnect_enabled_ = false; } in DisableAutoReconnect()
19 bool Client::IsConnected() const { return channel_.get() != nullptr; } in IsConnected()
21 Status<void> Client::CheckReconnect() { in CheckReconnect()
50 bool Client::NeedToDisconnectChannel(int error) const { in NeedToDisconnectChannel()
54 void Client::CheckDisconnect(int error) { in CheckDisconnect()
59 Client::Client(std::unique_ptr<ClientChannel> channel) in Client() function in android::pdx::Client
62 Client::Client(std::unique_ptr<ClientChannelFactory> channel_factory, in Client() function in android::pdx::Client
75 bool Client::IsInitialized() const { in IsInitialized()
79 void Client::OnConnect() {} in OnConnect()
[all …]
/frameworks/native/services/surfaceflinger/
DClient.cpp36 Client::Client(const sp<SurfaceFlinger>& flinger) in Client() function in android::Client
41 status_t Client::initCheck() const { in initCheck()
45 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer()
51 void Client::detachLayer(const Layer* layer) in detachLayer()
63 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const in getLayerUser()
75 status_t Client::createSurface(const String8& name, uint32_t w, uint32_t h, PixelFormat format, in createSurface()
84 status_t Client::createWithSurfaceParent(const String8& name, uint32_t w, uint32_t h, in createWithSurfaceParent()
104 status_t Client::clearLayerFrameStats(const sp<IBinder>& handle) const { in clearLayerFrameStats()
113 status_t Client::getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const { in getLayerFrameStats()
DClient.h38 class Client : public BnSurfaceComposerClient
41 explicit Client(const sp<SurfaceFlinger>& flinger);
42 ~Client() = default;
DRefreshRateOverlay.h34 sp<Client> mClient;
DRefreshRateOverlay.cpp26 : mFlinger(flinger), mClient(new Client(&mFlinger)) { in RefreshRateOverlay()
DSurfaceFlinger.h84 class Client; variable
339 friend class Client; variable
603 status_t createLayer(const String8& name, const sp<Client>& client, uint32_t w, uint32_t h,
608 status_t createBufferQueueLayer(const sp<Client>& client, const String8& name, uint32_t w,
613 status_t createBufferStateLayer(const sp<Client>& client, const String8& name, uint32_t w,
617 status_t createColorLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h,
621 status_t createContainerLayer(const sp<Client>& client, const String8& name, uint32_t w,
634 status_t addClientLayer(const sp<Client>& client, const sp<IBinder>& handle,
/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient.h28 class Client {
32 virtual ~Client() = default;
56 explicit Client(std::unique_ptr<ClientChannel> channel);
57 explicit Client(std::unique_ptr<ClientChannelFactory> channel_factory,
130 Client(const Client&) = delete;
131 void operator=(const Client&) = delete;
160 template <typename T, typename ParentClient = Client>
166 static_assert(std::is_base_of<Client, ParentClient>::value,
209 explicit Transaction(Client& client);
294 Client& client_;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java60 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>();
78 private class Client implements IBinder.DeathRecipient { class in RingtonePlayer
82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client() method in RingtonePlayer.Client
86 Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa, in Client() method in RingtonePlayer.Client
119 Client client;
124 client = new Client(token, uri, user, aa, volumeShaperConfig);
137 Client client;
150 Client client;
163 Client client;
243 for (Client client : mClients.values()) { in dump()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp322 sp<Client> c = new Client( in create()
329 wp<Client> w = c; in create()
374 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) in dump()
423 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destruction. in dump()
435 sp<Client> c = mClients[i].promote(); in dump()
550 void MediaPlayerService::removeClient(const wp<Client>& client) in removeClient()
556 bool MediaPlayerService::hasClient(wp<Client> client) in hasClient()
562 MediaPlayerService::Client::Client( in Client() function in android::MediaPlayerService::Client
586 MediaPlayerService::Client::~Client() in ~Client()
590 wp<Client> client(this); in ~Client()
[all …]
DMediaPlayerService.h72 class Client; variable
246 void removeClient(const wp<Client>& client);
247 bool hasClient(wp<Client> client);
314 class Client : public BnMediaPlayer {
408 Client( const sp<MediaPlayerService>& service,
414 Client();
415 virtual ~Client();
440 Listener(const wp<Client> &client) : mClient(client) {} in Listener()
443 sp<Client> client = mClient.promote(); in notify()
449 wp<Client> mClient;
[all …]
/frameworks/base/core/java/android/annotation/
DSystemApi.java44 enum Client { enum
70 Client client() default android.annotation.SystemApi.Client.PRIVILEGED_APPS; in client()
DNullable.java23 import android.annotation.SystemApi.Client;
46 @SystemApi(client = Client.MODULE_LIBRARIES)
DNonNull.java23 import android.annotation.SystemApi.Client;
39 @SystemApi(client = Client.MODULE_LIBRARIES)
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java90 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>();
130 private final class Client implements IBinder.DeathRecipient { class in MidiService
144 public Client(IBinder token) { in Client() method in MidiService.Client
268 private Client getClient(IBinder token) { in getClient()
270 Client client = mClients.get(token); in getClient()
272 client = new Client(token); in getClient()
525 private final Client mClient;
528 public DeviceConnection(Device device, Client client, IMidiDeviceOpenCallback callback) { in DeviceConnection()
538 public Client getClient() { in getClient()
601 Client client = getClient(token); in registerListener()
[all …]
/frameworks/base/core/java/android/os/
DParcelable.java123 @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
131 @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
/frameworks/base/core/tests/BTtraffic/
DREADME6 1. Server (Listener) - Client (Sender) model. Both run as an Android service.
7 2. No pairing needed. Communicate via unsecured RFcomm. Client establishes the connection by
10 4. Client can configure the traffic by specifying the transfer period and package size.
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dremote_method.h336 static typename rpc::EnableIfDirectReturn<R, Status<R>> Invoke(Client& client,
347 Client& client, Args... args) {
390 Client& client, R* return_value, Args... args) {
411 Client& client, R* return_value, Args... args) {
452 Status<typename RemoteMethodType::Return> Client::InvokeRemoteMethod(
462 Status<void> Client::InvokeRemoteMethodInPlace(Return* return_value,
/frameworks/hardware/interfaces/bufferhub/1.0/
Dtypes.hal25 CLIENT_CLOSED, // Client is closed already
45 * Client-defined handle containing other useful params and fds. The data
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_base.h13 class BufferHubBase : public pdx::Client {
42 using Client::event_fd;
/frameworks/base/apex/
DAndroid.bp50 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
55 "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES" +
58 "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS" +
64 "client=android.annotation.SystemApi.Client.SYSTEM_SERVER" +
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringConstants.java19 import static android.annotation.SystemApi.Client.MODULE_LIBRARIES;
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp18 : Client{pdx::default_transport::ClientChannel::Create( in BufferHubBase()
23 : Client{pdx::default_transport::ClientChannelFactory::Create( in BufferHubBase()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_manager_client.h27 using Client::event_fd;
/frameworks/native/libs/vr/libpdx/fuzz/
Dservice_dispatcher_fuzzer.cpp43 std::shared_ptr<Client> client(nullptr); in LLVMFuzzerTestOneInput()
/frameworks/av/services/audioflinger/
DAudioFlinger.h463 class Client : public RefBase {
465 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
466 virtual ~Client();
472 DISALLOW_COPY_AND_ASSIGN(Client);
820 DefaultKeyedVector< pid_t, wp<Client> > mClients; // see ~Client()
906 sp<Client> registerPid(pid_t pid); // always returns non-0

123