Searched defs:Client (Results 1 - 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DClient.h38 class Client : public BnSurfaceComposerClient class in namespace:android
41 explicit Client(const sp<SurfaceFlinger>& flinger);
42 Client(const sp<SurfaceFlinger>& flinger, const sp<Layer>& parentLayer);
43 ~Client();
H A DClient.cpp25 #include "Client.h"
37 Client::Client(const sp<SurfaceFlinger>& flinger) function in class:android::Client
38 : Client(flinger, nullptr)
42 Client::Client(const sp<SurfaceFlinger>& flinger, const sp<Layer>& parentLayer) function in class:android::Client
48 Client::~Client()
53 // to use sp<Client> while holding the SF lock as descoping it could
68 void Client
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DPlaybackSeekUi.java22 * {@link #setPlaybackSeekUiClient(Client)} in the interface. Client (PlaybackGlue) registers
23 * itself as a Client to receive events emitted by PlaybackSeekUi and provide data to the
29 * Client (e.g. PlaybackGlue) to register on PlaybackSeekUi so that it can interact
33 class Client { class in interface:PlaybackSeekUi
44 * Event for start seeking. Client will typically pause media and save the current position
82 void setPlaybackSeekUiClient(Client client);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java60 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>();
78 private class Client implements IBinder.DeathRecipient { class in class:RingtonePlayer
82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { method in class:RingtonePlayer.Client
108 Client client;
113 client = new Client(token, uri, user, aa);
126 Client client;
139 Client client;
152 Client client;
232 for (Client clien
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java32 private static final Client sSystemClient = new Client() {
43 private static Client sClient = sSystemClient;
45 public static void setClient(Client systemClient) {
136 public interface Client { interface in class:L
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dclient.h28 class Client { class in namespace:android::pdx
32 virtual ~Client() = default;
35 * Returns true if the Client instance successfully initialized, false
45 * Returns the error code describing the Client initialization failure, or 0
56 explicit Client(std::unique_ptr<ClientChannel> channel);
57 explicit Client(std::unique_ptr<ClientChannelFactory> channel_factory,
61 * Called by Client::Connect() after successfully connecting to the service
65 * Subclasses may call Client::Close() within this method to terminate the
66 * connection; Client::Connect() returns the negated error passed to
67 * Client
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dclient.cpp10 void Client::EnableAutoReconnect(int64_t reconnect_timeout_ms) {
17 void Client::DisableAutoReconnect() { auto_reconnect_enabled_ = false; }
19 bool Client::IsConnected() const { return channel_.get() != nullptr; }
21 Status<void> Client::CheckReconnect() {
50 bool Client::NeedToDisconnectChannel(int error) const {
54 void Client::CheckDisconnect(int error) {
59 Client::Client(std::unique_ptr<ClientChannel> channel) function in class:android::pdx::Client
62 Client::Client(st function in class:android::pdx::Client
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h70 class Client;
171 // Client functionality
302 class Client : public hardware::BnCamera, public BasicClient class in class:android::CameraService
333 Client(const sp<CameraService>& cameraService,
342 ~Client();
366 }; // class Client
H A DCameraService.cpp321 ALOGI("%s: Client for camera ID %s evicted due to device status change from HAL",
733 sp<Client> tmp = nullptr;
734 if (!(ret = connectHelper<ICameraClient,Client>(
975 ALOGE("%s: Invalid state: Client for camera %s was not removed in disconnect",
1200 sp<Client> client = nullptr;
1201 ret = connectHelper<ICameraClient,Client>(cameraClient, id, api1CameraId,
1228 sp<Client> client = nullptr;
1229 ret = connectHelper<ICameraClient,Client>(cameraClient, id, api1CameraId, halVersion,
1402 // Assume we have always received a Client subclass for API1
1403 sp<Client> shimClien
2070 CameraService::Client::Client(const sp<CameraService>& cameraService, function in class:android::CameraService::Client
[all...]
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java90 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>();
130 private final class Client implements IBinder.DeathRecipient { class in class:MidiService
144 public Client(IBinder token) { method in class:MidiService.Client
246 Log.d(TAG, "Client died: " + this);
252 StringBuilder sb = new StringBuilder("Client: UID: ");
268 private Client getClient(IBinder token) {
270 Client client = mClients.get(token);
272 client = new Client(token);
525 private final Client mClien
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h72 class Client;
247 void removeClient(const wp<Client>& client);
248 bool hasClient(wp<Client> client);
315 class Client : public BnMediaPlayer { class in class:android::MediaPlayerService
438 Client( const sp<MediaPlayerService>& service,
444 Client();
445 virtual ~Client();
470 Listener(const wp<Client> &client) : mClient(client) {}
473 sp<Client> client = mClient.promote();
479 wp<Client> mClien
[all...]
H A DMediaPlayerService.cpp319 sp<Client> c = new Client(
326 wp<Client> w = c;
371 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args)
376 result.append(" Client\n");
420 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destruction.
432 sp<Client> c = mClients[i].promote();
547 void MediaPlayerService::removeClient(const wp<Client>& client)
553 bool MediaPlayerService::hasClient(wp<Client> client)
559 MediaPlayerService::Client function in class:android::MediaPlayerService::Client
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h419 // --- Client ---
420 class Client : public RefBase { class in class:android::AudioFlinger
422 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
423 virtual ~Client();
429 DISALLOW_COPY_AND_ASSIGN(Client);
436 // --- Notification Client ---
709 DefaultKeyedVector< pid_t, wp<Client> > mClients; // see ~Client()
790 sp<Client> registerPid(pid_t pid); // always returns non-0
H A DAudioFlinger.cpp95 static const char kClientLockedString[] = "Client lock is taken\n";
402 sp<Client> client = mClients.valueAt(i).promote();
584 sp<AudioFlinger::Client> AudioFlinger::registerPid(pid_t pid)
588 // (for which promote() is always != 0), otherwise create a new entry and Client.
589 sp<Client> client = mClients.valueFor(pid).promote();
591 client = new Client(this, pid);
661 sp<Client> client;
799 // remove local strong reference to Client before deleting the Track so that the
800 // Client destructor is called by the TrackBase destructor with mClientLock held
1543 AudioFlinger::Client function in class:android::AudioFlinger::Client
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java379 Client client = new Client();
588 final class Client extends IMediaRouterClient.Stub { class in class:MediaRouter.Static
594 if (Client.this == mClient) {
608 if (Client.this != mClient || mSelectedRoute == null
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java493 Client client = new Client(callback, Binder.getCallingUid(), userState);
1416 private int computeRelevantEventTypesLocked(UserState userState, Client client) {
1435 @Nullable AccessibilityServiceInfo serviceInfo, Client client) {
1462 UserState userState, Consumer<Client> clientAction) {
3621 class Client { class in class:AccessibilityManagerService
3626 private Client(IAccessibilityManagerClient callback, int clientUid, UserState userState) { method in class:AccessibilityManagerService.Client

Completed in 348 milliseconds