/frameworks/base/libs/gui/ |
D | Surface.cpp | 49 const sp<SurfaceComposerClient>& client, in SurfaceControl() argument 52 : mClient(client), mSurface(surface), in SurfaceControl() 97 const sp<SurfaceComposerClient>& client(mClient); in setLayer() local 98 return client->setLayer(mToken, layer); in setLayer() 103 const sp<SurfaceComposerClient>& client(mClient); in setPosition() local 104 return client->setPosition(mToken, x, y); in setPosition() 109 const sp<SurfaceComposerClient>& client(mClient); in setSize() local 110 return client->setSize(mToken, w, h); in setSize() 115 const sp<SurfaceComposerClient>& client(mClient); in hide() local 116 return client->hide(mToken); in hide() [all …]
|
D | SurfaceComposerClient.cpp | 81 if (lhs.client < rhs.client) return -1; in compare_type() 82 if (lhs.client > rhs.client) return 1; in compare_type() 102 const sp<SurfaceComposerClient>& client, SurfaceID id); 106 status_t setPosition(const sp<SurfaceComposerClient>& client, SurfaceID id, 108 status_t setSize(const sp<SurfaceComposerClient>& client, SurfaceID id, 110 status_t setLayer(const sp<SurfaceComposerClient>& client, SurfaceID id, 112 status_t setFlags(const sp<SurfaceComposerClient>& client, SurfaceID id, 115 const sp<SurfaceComposerClient>& client, SurfaceID id, 117 status_t setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, 119 status_t setMatrix(const sp<SurfaceComposerClient>& client, SurfaceID id, [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 66 IntRange(int startId, int endId, String client) { in IntRange() argument 70 clients.add(new ClientRange(startId, endId, client)); in IntRange() 134 final String client; field in IntRangeManager.ClientRange 136 ClientRange(int startId, int endId, String client) { in ClientRange() argument 139 this.client = client; in ClientRange() 148 client.equals(other.client); in equals() 156 return (startId * 31 + endId) * 31 + client.hashCode(); in hashCode() 177 public synchronized boolean enableRange(int startId, int endId, String client) { in enableRange() argument 183 mRanges.add(new IntRange(startId, endId, client)); in enableRange() 198 mRanges.add(startIndex, new IntRange(startId, endId, client)); in enableRange() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 41 void addClient(in IInputMethodClient client, in addClient() argument 43 void removeClient(in IInputMethodClient client); in removeClient() argument 45 InputBindResult startInput(in IInputMethodClient client, in startInput() argument 48 void finishInput(in IInputMethodClient client); in finishInput() argument 49 boolean showSoftInput(in IInputMethodClient client, int flags, in showSoftInput() argument 51 boolean hideSoftInput(in IInputMethodClient client, int flags, in hideSoftInput() argument 53 void windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus() argument 57 void showInputMethodPickerFromClient(in IInputMethodClient client); in showInputMethodPickerFromClient() argument 58 void showInputMethodAndSubtypeEnablerFromClient(in IInputMethodClient client, String topId); in showInputMethodAndSubtypeEnablerFromClient() argument
|
/frameworks/base/media/libstagefright/ |
D | StagefrightMediaScanner.cpp | 56 const char *filename, MediaScannerClient *client) { in HandleMIDI() argument 96 status_t status = client->addStringTag("duration", buffer); in HandleMIDI() 105 MediaScannerClient &client) { in processFile() argument 108 client.setLocale(locale()); in processFile() 109 client.beginFile(); in processFile() 110 MediaScanResult result = processFileInternal(path, mimeType, client); in processFile() 111 client.endFile(); in processFile() 117 MediaScannerClient &client) { in processFileInternal() argument 137 return HandleMIDI(path, &client); in processFileInternal() 150 status = client.setMimeType(value); in processFileInternal() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | CookiesTest.java | 32 import org.apache.http.client.HttpClient; 33 import org.apache.http.client.methods.HttpGet; 35 import org.apache.http.impl.client.DefaultHttpClient; 61 HttpClient client = new DefaultHttpClient(); in testCookiesAreNotLogged() local 62 client.execute(new HttpGet(server.getUrl("/").toURI())); in testCookiesAreNotLogged() 91 HttpClient client = new DefaultHttpClient(); in testCookiesWithNonMatchingCase() local 92 client.getParams().setParameter( in testCookiesWithNonMatchingCase() 95 HttpResponse getCookies = client.execute(new HttpGet("http://my.t-mobile.com/")); in testCookiesWithNonMatchingCase() 99 HttpResponse sendCookies = client.execute(new HttpGet("http://my.t-mobile.com/")); in testCookiesWithNonMatchingCase()
|
D | AbstractProxyTest.java | 33 import org.apache.http.client.HttpClient; 34 import org.apache.http.client.methods.HttpGet; 196 HttpClient client = newHttpClient(); in testParamPreferredOverSystemProperty() local 198 proxyConfig.configure(server, client, request); in testParamPreferredOverSystemProperty() 199 HttpResponse response = client.execute(request); in testParamPreferredOverSystemProperty() 212 HttpClient client = newHttpClient(); in testExplicitNoProxyCancelsSystemProperty() local 215 HttpResponse response = client.execute(request); in testExplicitNoProxyCancelsSystemProperty() 241 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) { in PROXY_SYSTEM_PROPERTY() argument 247 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) { in HTTP_PROXY_SYSTEM_PROPERTY() argument 253 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) { in HTTPS_PROXY_SYSTEM_PROPERTY() argument [all …]
|
D | DefaultHttpClientTest.java | 33 import org.apache.http.client.methods.HttpGet; 35 import org.apache.http.impl.client.DefaultHttpClient; 75 DefaultHttpClient client = new DefaultHttpClient(); in testServerClosesOutput() local 77 HttpResponse a = client.execute(new HttpGet(server.getUrl("/a").toURI())); in testServerClosesOutput() 81 HttpResponse b = client.execute(new HttpGet(server.getUrl("/b").toURI())); in testServerClosesOutput()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 51 MediaScannerConnectionClient client = mClient; 52 if (client != null) { 53 client.onScanCompleted(path, uri); 102 public MediaScannerConnection(Context context, MediaScannerConnectionClient client) { in MediaScannerConnection() argument 104 mClient = client; in MediaScannerConnection() 185 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() argument 188 mClient = client; in ClientProxy() 232 ClientProxy client = new ClientProxy(paths, mimeTypes, callback); in scanFile() local 233 MediaScannerConnection connection = new MediaScannerConnection(context, client); in scanFile() 234 client.mConnection = connection; in scanFile()
|
/frameworks/base/services/camera/libcameraservice/ |
D | CameraService.cpp | 155 sp<Client> client; in connect() local 172 client = mClient[cameraId].promote(); in connect() 173 if (client != 0) { in connect() 174 if (cameraClient->asBinder() == client->getCameraClient()->asBinder()) { in connect() 177 return client; in connect() 208 client = new Client(this, cameraClient, hardware, cameraId, info.facing, callingPid); in connect() 209 mClient[cameraId] = client; in connect() 211 return client; in connect() 221 sp<Client> client; in removeClient() local 231 client = mClient[i].promote(); in removeClient() [all …]
|
/frameworks/base/media/libmedia/ |
D | MediaScanner.cpp | 82 const char *path, MediaScannerClient &client) { in processDirectory() argument 100 client.setLocale(locale()); in processDirectory() 102 MediaScanResult result = doProcessDirectory(pathBuffer, pathRemaining, client, false); in processDirectory() 132 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) { in doProcessDirectory() argument 162 if (doProcessDirectoryEntry(path, pathRemaining, client, noMedia, entry, fileSpot) in doProcessDirectory() 173 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, in doProcessDirectoryEntry() argument 214 status_t status = client.scanFile(path, statbuf.st_mtime, 0, in doProcessDirectoryEntry() 224 client, childNoMedia); in doProcessDirectoryEntry() 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, in doProcessDirectoryEntry()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsXtraDownloader.java | 28 import org.apache.http.client.HttpClient; 29 import org.apache.http.client.methods.HttpGet; 30 import org.apache.http.client.methods.HttpUriRequest; 112 AndroidHttpClient client = null; in doDownload() local 114 client = AndroidHttpClient.newInstance("Android"); in doDownload() 130 HttpResponse response = client.execute(req); in doDownload() 164 if (client != null) { in doDownload() 165 client.close(); in doDownload()
|
/frameworks/base/tests/SslLoad/src/com/android/sslload/ |
D | SslLoad.java | 39 import org.apache.http.client.HttpClient; 40 import org.apache.http.client.ResponseHandler; 41 import org.apache.http.client.methods.HttpGet; 96 AndroidHttpClient client = AndroidHttpClient.newInstance( in run() local 102 client.execute(new HttpGet(url), in run() 114 client.close(); in run()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 82 final SntpClient client = new SntpClient(); in forceRefresh() local 83 if (client.requestTime(mServer, (int) mTimeout)) { in forceRefresh() 85 mCachedNtpTime = client.getNtpTime(); in forceRefresh() 86 mCachedNtpElapsedRealtime = client.getNtpTimeReference(); in forceRefresh() 87 mCachedNtpCertainty = client.getRoundTripTime() / 2; in forceRefresh()
|
/frameworks/base/services/java/com/android/server/am/ |
D | AppBindRecord.java | 29 final ProcessRecord client; // Who has started/bound the service. field in AppBindRecord 36 pw.println(prefix + "client=" + client); in dump() 55 client = _client; in AppBindRecord() 61 + " " + service.shortName + ":" + client.processName + "}"; in toString()
|
/frameworks/base/include/media/ |
D | mediascanner.h | 49 const char *path, const char *mimeType, MediaScannerClient &client) = 0; 52 const char *path, MediaScannerClient &client); 69 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia); 71 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
|
/frameworks/base/services/java/com/android/server/wm/ |
D | ViewServer.java | 166 Socket client = mServer.accept(); in run() local 168 mThreadPool.submit(new ViewServerWorker(client)); in run() 171 client.close(); in run() 182 private static boolean writeValue(Socket client, String value) { in writeValue() argument 186 OutputStream clientStream = client.getOutputStream(); in writeValue() 211 public ViewServerWorker(Socket client) { in ViewServerWorker() argument 212 mClient = client; in ViewServerWorker()
|
/frameworks/base/cmds/stagefright/ |
D | record.cpp | 185 OMXClient client; in main() local 186 CHECK_EQ(client.connect(), OK); in main() 201 client.interface(), meta, false /* createEncoder */, source); in main() 228 client.interface(), enc_meta, true /* createEncoder */, decoder); in main() 263 client.disconnect(); in main() 301 OMXClient client; in main() local 302 CHECK_EQ(client.connect(), OK); in main() 328 OMXCodec::Create(client.interface(), encMeta, true, audioSource); in main() 350 client.disconnect(); in main()
|
D | audioloop.cpp | 26 OMXClient client; in main() local 27 CHECK_EQ(client.connect(), OK); in main() 56 client.interface(), in main() 68 client.interface(), in main()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | SocketTest.java | 139 Socket client = new Socket("localhost", 8383); in testSetReuseAddress() local 140 client.getOutputStream().write(1); in testSetReuseAddress() 246 private Socket client; field in SocketTest 258 client = new Socket(); in disable_testSocketConnectClose() 264 client.connect(new InetSocketAddress(PACKAGE_DROPPING_ADDRESS, 1357)); in disable_testSocketConnectClose() 278 client.close(); in disable_testSocketConnectClose()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SimSmsInterfaceManager.java | 236 String client = context.getPackageManager().getNameForUid( in enableCellBroadcastRange() local 239 if (!mCellBroadcastRangeManager.enableRange(startMessageId, endMessageId, client)) { in enableCellBroadcastRange() 241 + " to " + endMessageId + " from client " + client); in enableCellBroadcastRange() 247 + " to " + endMessageId + " from client " + client); in enableCellBroadcastRange() 263 String client = context.getPackageManager().getNameForUid( in disableCellBroadcastRange() local 266 if (!mCellBroadcastRangeManager.disableRange(startMessageId, endMessageId, client)) { in disableCellBroadcastRange() 268 + " to " + endMessageId + " from client " + client); in disableCellBroadcastRange() 274 + " to " + endMessageId + " from client " + client); in disableCellBroadcastRange()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 154 for (WifiP2pDevice client : mClients) { in addClient() 155 if (client.equals(device)) return; in addClient() 209 for (WifiP2pDevice client : mClients) { in toString() 210 sbuf.append("\n Client: ").append(client); in toString() 239 for (WifiP2pDevice client : mClients) { in writeToParcel() 240 dest.writeParcelable(client, flags); in writeToParcel()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginFullScreenHolder.java | 84 WebChromeClient client = mWebView.getWebChromeClient(); in show() local 85 client.onShowCustomView(mLayout, mOrientation, mCallback); in show() 89 WebChromeClient client = mWebView.getWebChromeClient(); in hide() local 90 client.onHideCustomView(); in hide()
|
/frameworks/base/core/jni/ |
D | android_view_Surface.cpp | 64 jfieldID client; member 110 sp<SurfaceComposerClient> client = new SurfaceComposerClient; in SurfaceSession_init() local 111 client->incStrong(clazz); in SurfaceSession_init() 112 env->SetIntField(clazz, sso.client, (int)client.get()); in SurfaceSession_init() 117 SurfaceComposerClient* client = in SurfaceSession_destroy() local 118 (SurfaceComposerClient*)env->GetIntField(clazz, sso.client); in SurfaceSession_destroy() 119 if (client != 0) { in SurfaceSession_destroy() 120 client->decStrong(clazz); in SurfaceSession_destroy() 121 env->SetIntField(clazz, sso.client, 0); in SurfaceSession_destroy() 127 SurfaceComposerClient* client = in SurfaceSession_kill() local [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | InputMethodManagerService.java | 174 final ClientState client; field in InputMethodManagerService.SessionState 180 return "SessionState{uid " + client.uid + " pid " + client.pid in toString() 190 client = _client; in SessionState() 197 final IInputMethodClient client; field in InputMethodManagerService.ClientState 215 client = _client; in ClientState() 386 if (mCurClient != null && mCurClient.client != null) { in onReceive() 387 mCurClient.client.setActive(mScreenOn); in onReceive() 677 public void addClient(IInputMethodClient client, in addClient() argument 680 mClients.put(client.asBinder(), new ClientState(client, in addClient() 686 public void removeClient(IInputMethodClient client) { in removeClient() argument [all …]
|