Home
last modified time | relevance | path

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

123

/frameworks/base/tools/preload2/src/com/android/preload/
DClientUtils.java21 import com.android.ddmlib.Client;
45 public Client findClient(IDevice device, String processName, int processPid) { in findClient()
59 public Client findClient(IDevice device, String processName, int processPid, int timeout) { in findClient()
67 public Client[] findAllClients(IDevice device) { in findAllClients()
79 public Client[] findAllClients(IDevice device, int timeout) { in findAllClients()
93 private Client result;
103 public Client get() { in get()
125 private Client searchForClient(IDevice device) { in searchForClient()
127 Client tmp = device.getClient(processName); in searchForClient()
135 Client tmp = device.getClient(name); in searchForClient()
[all …]
DMain.java19 import com.android.ddmlib.Client;
67 private DefaultListModel<Client> clientListModel;
99 clientListModel = new DefaultListModel<Client>(); in Main()
154 public DefaultListModel<Client> getClientListModel() { in getClientListModel()
233 Client client = clientUtils.findClient(device, packageName, -1); in findAndGetClassData()
/frameworks/native/services/surfaceflinger/
DClient.cpp37 Client::Client(const sp<SurfaceFlinger>& flinger) in Client() function in android::Client
42 Client::~Client() in ~Client()
50 status_t Client::initCheck() const { in initCheck()
54 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer()
60 void Client::detachLayer(const Layer* layer) in detachLayer()
72 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const in getLayerUser()
85 status_t Client::onTransact( in onTransact()
106 status_t Client::createSurface( in createSurface()
119 Client* client; in createSurface()
129 const String8& name, Client* client, in createSurface()
[all …]
DClient.h38 class Client : public BnSurfaceComposerClient
41 Client(const sp<SurfaceFlinger>& flinger);
42 ~Client();
DSurfaceFlinger.h70 class Client; variable
149 friend class Client;
298 uint32_t setClientStateLocked(const sp<Client>& client, const layer_state_t& s);
304 status_t createLayer(const String8& name, const sp<Client>& client,
308 status_t createNormalLayer(const sp<Client>& client, const String8& name,
313 status_t createDimLayer(const sp<Client>& client, const String8& name,
319 status_t onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle);
330 status_t addClientLayer(const sp<Client>& client,
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DReloadListAction.java19 import com.android.ddmlib.Client;
31 private final DefaultListModel<Client> clientListModel;
34 DefaultListModel<Client> clientListModel) { in ReloadListAction()
42 Client[] clients = clientUtils.findAllClients(device); in run()
47 for (Client c : clients) { in run()
52 private static class ClientComparator implements Comparator<Client> {
55 public int compare(Client o1, Client o2) { in compare()
DScanPackageAction.java19 import com.android.ddmlib.Client;
45 Client client = Main.getUI().getSelectedClient(); in run()
49 Client[] clients = clientUtils.findAllClients(device); in run()
70 private void work(Client c) { in work()
85 private Client client;
87 public ClientWrapper(Client c) { in ClientWrapper()
DScanAllPackagesAction.java19 import com.android.ddmlib.Client;
45 Client[] clients = clientUtils.findAllClients(device); in run()
46 for (Client c : clients) { in run()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DClientKeyManager.java34 mAliasMap.put(OSUCertType.Client, OSUManager.CERT_CLT_CERT_ALIAS + homeSP.getFQDN()); in ClientKeyManager()
41 List<X509Certificate> clientCerts = certs.get(OSUCertType.Client); in reloadKeys()
47 mTempKeys.put(OSUCertType.Client, certArray); in reloadKeys()
54 return mAliasMap.get(OSUCertType.Client); in chooseClientAlias()
63 String alias = mAliasMap.get(OSUCertType.Client); in getClientAliases()
83 if (!mAliasMap.get(OSUCertType.Client).equals(alias)) { in getCertificateChain()
90 mKeyStore.getCertificateChain(mAliasMap.get(OSUCertType.Client))) { in getCertificateChain()
101 return (X509Certificate[]) mTempKeys.get(OSUCertType.Client); in getCertificateChain()
111 if (!mAliasMap.get(OSUCertType.Client).equals(alias)) { in getPrivateKey()
DOSUCertType.java5 Client, enumConstant
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp331 sp<Client> c = new Client( in create()
338 wp<Client> w = c; in create()
399 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) in dump()
428 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destruction. in dump()
440 sp<Client> c = mClients[i].promote(); in dump()
555 void MediaPlayerService::removeClient(wp<Client> client) in removeClient()
561 bool MediaPlayerService::hasClient(wp<Client> client) in hasClient()
567 MediaPlayerService::Client::Client( in Client() function in android::MediaPlayerService::Client
590 MediaPlayerService::Client::~Client() in ~Client()
594 wp<Client> client(this); in ~Client()
[all …]
DMediaPlayerService.h71 class Client; variable
229 void removeClient(wp<Client> client);
230 bool hasClient(wp<Client> client);
286 class Client : public BnMediaPlayer {
364 Client( const sp<MediaPlayerService>& service,
370 Client();
371 virtual ~Client();
410 sp<Client> mNextClient;
435 SortedVector< wp<Client> > mClients;
/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
108 Client client;
113 client = new Client(token, uri, user, aa);
126 Client client;
139 Client client;
152 Client client;
232 for (Client client : mClients.values()) { in dump()
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/
DHprof.java19 import com.android.ddmlib.Client;
48 public static File doHprof(Client client, int timeout) { in doHprof()
119 private Client client;
121 public GetHprof(Client client, long timeout) { in GetHprof()
150 public void onEndFailure(Client arg0, String arg1) { in onEndFailure()
166 public void onSuccess(String arg0, Client arg1) { in onSuccess()
182 public void onSuccess(byte[] arg0, Client arg1) { in onSuccess()
207 public Map<String, String> getClassData(Client client) { in getClassData()
DGeneralHprofDumpHandler.java19 import com.android.ddmlib.Client;
48 public void onEndFailure(Client arg0, String arg1) { in onEndFailure()
56 public void onSuccess(String arg0, Client arg1) { in onSuccess()
64 public void onSuccess(byte[] arg0, Client arg1) { in onSuccess()
/frameworks/base/tools/preload2/src/com/android/preload/ui/
DUI.java19 import com.android.ddmlib.Client;
46 private JList<Client> clientList;
52 public UI(ListModel<Client> clientListModel, in UI()
57 getContentPane().add(new JScrollPane(clientList = new JList<Client>(clientListModel)), in UI()
79 public Client getSelectedClient() { in getSelectedClient()
262 ClientData cd = ((Client) value).getClientData(); in getListCellRendererComponent()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DL.java30 private static final Client sSystemClient = new Client() {
41 private static Client sClient = sSystemClient;
43 public static void setClient(Client systemClient) { in setClient()
126 public interface Client { interface in L
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java89 private final HashMap<IBinder, Client> mClients = new HashMap<IBinder, Client>();
129 private final class Client implements IBinder.DeathRecipient { class in MidiService
143 public Client(IBinder token) { in Client() method in MidiService.Client
267 private Client getClient(IBinder token) { in getClient()
269 Client client = mClients.get(token); in getClient()
271 client = new Client(token); in getClient()
527 private final Client mClient;
530 public DeviceConnection(Device device, Client client, IMidiDeviceOpenCallback callback) { in DeviceConnection()
540 public Client getClient() { in getClient()
603 Client client = getClient(token); in registerListener()
[all …]
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/
DClassDataRetriever.java19 import com.android.ddmlib.Client;
28 public Map<String, String> getClassData(Client client); in getClassData()
/frameworks/av/services/audioflinger/
DAudioFlinger.h412 class Client : public RefBase {
414 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
415 virtual ~Client();
421 Client(const Client&);
422 Client& operator = (const Client&);
639 DefaultKeyedVector< pid_t, wp<Client> > mClients; // see ~Client()
712 sp<Client> registerPid(pid_t pid); // always returns non-0
DTrackBase.h58 const sp<Client>& client,
136 /*const*/ sp<Client> mClient; // see explanation at ~TrackBase() why not const
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
DJDWPClassDataRetriever.java19 import com.android.ddmlib.Client;
36 private final Client client;
42 public JDWPClassDataRetriever(Client client) { in JDWPClassDataRetriever()
53 public Map<String, String> getClassData(Client client) { in getClassData()
/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/av/services/camera/libcameraservice/
DCameraService.cpp837 sp<Client> tmp = nullptr; in initializeShimMetadata()
838 if (!(ret = connectHelper<ICameraClient,Client>( in initializeShimMetadata()
1261 sp<Client> client = nullptr; in connect()
1262 ret = connectHelper<ICameraClient,Client>(cameraClient, id, in connect()
1306 sp<Client> client = nullptr; in connectLegacy()
1307 ret = connectHelper<ICameraClient,Client>(cameraClient, id, halVersion, in connectLegacy()
2017 CameraService::Client::Client(const sp<CameraService>& cameraService, in Client() function in android::CameraService::Client
2041 CameraService::Client::~Client() { in ~Client()
2047 Client::disconnect(); in ~Client()
2266 sp<CameraService::Client> CameraService::Client::getClientFromCookie(void* user) { in getClientFromCookie()
[all …]
DCameraService.h64 class Client;
285 class Client : public hardware::BnCamera, public BasicClient
316 Client(const sp<CameraService>& cameraService,
324 ~Client();
343 static sp<CameraService::Client> getClientFromCookie(void* user);
949 sp<Client> shimClient = reinterpret_cast<Client*>(client.get()); in connectHelper()

123