Home
last modified time | relevance | path

Searched refs:Client (Results 1 – 25 of 75) 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()
53 status_t Client::initCheck() const { in initCheck()
57 void Client::attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer) in attachLayer()
63 void Client::detachLayer(const Layer* layer) in detachLayer()
75 sp<Layer> Client::getLayerUser(const sp<IBinder>& handle) const in getLayerUser()
88 status_t Client::onTransact( in onTransact()
109 status_t Client::createSurface( in createSurface()
122 Client* client; in createSurface()
132 const String8& name, Client* client, in createSurface()
[all …]
DClient.h38 class Client : public BnSurfaceComposerClient
41 Client(const sp<SurfaceFlinger>& flinger);
42 ~Client();
DSurfaceFlinger.h64 class Client; variable
143 friend class Client;
285 uint32_t setClientStateLocked(const sp<Client>& client, const layer_state_t& s);
291 status_t createLayer(const String8& name, const sp<Client>& client,
295 status_t createNormalLayer(const sp<Client>& client, const String8& name,
300 status_t createDimLayer(const sp<Client>& client, const String8& name,
306 status_t onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle);
317 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.cpp330 sp<Client> c = new Client( in create()
337 wp<Client> w = c; in create()
398 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) in dump()
427 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destruction. in dump()
439 sp<Client> c = mClients[i].promote(); in dump()
554 void MediaPlayerService::removeClient(wp<Client> client) in removeClient()
560 MediaPlayerService::Client::Client( in Client() function in android::MediaPlayerService::Client
583 MediaPlayerService::Client::~Client() in ~Client()
587 wp<Client> client(this); in ~Client()
595 void MediaPlayerService::Client::disconnect() in disconnect()
[all …]
DMediaPlayerService.h71 class Client; variable
228 void removeClient(wp<Client> client);
284 class Client : public BnMediaPlayer {
362 Client( const sp<MediaPlayerService>& service,
368 Client();
369 virtual ~Client();
408 sp<Client> mNextClient;
433 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&);
634 DefaultKeyedVector< pid_t, wp<Client> > mClients; // see ~Client()
707 sp<Client> registerPid(pid_t pid); // always returns non-0
/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()
1260 sp<Client> client = nullptr; in connect()
1261 ret = connectHelper<ICameraClient,Client>(cameraClient, id, in connect()
1305 sp<Client> client = nullptr; in connectLegacy()
1306 ret = connectHelper<ICameraClient,Client>(cameraClient, id, halVersion, in connectLegacy()
2016 CameraService::Client::Client(const sp<CameraService>& cameraService, in Client() function in android::CameraService::Client
2040 CameraService::Client::~Client() { in ~Client()
2046 Client::disconnect(); in ~Client()
2267 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()
/frameworks/base/docs/html/guide/topics/text/
Dspell-checker-framework.jd15 <a href="#SpellCheckClient">Implementing a Spell Checker Client</a>
26 Spell Checker Client</a> sample app
131 Spell Checker Client</a> sample app to learn more about implementing this class.
209 <!-- Accessing the Spell Checker Service from a Client -->
210 <h2 id="SpellCheckClient">Accessing the Spell Checker Service from a Client</h2>
235 Spell Checker Client</a> sample app shows how to interact with a spelling checker service. The

123