/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 101 Client client; 103 client = mClients.get(token); 104 if (client == null) { 106 client = new Client(token, uri, user, aa); 107 token.linkToDeath(client, 0); 108 mClients.put(token, client); 111 client.mRingtone.setLooping(looping); 112 client.mRingtone.setVolume(volume); 113 client.mRingtone.play(); 119 Client client; [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | CaptureSequencer.cpp | 38 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): in CaptureSequencer() argument 48 mClient(client), in CaptureSequencer() 202 sp<Camera2Client> client = mClient.promote(); in threadLoop() local 203 if (client == 0) return false; in threadLoop() 211 currentState = (this->*kStateManagers[currentState])(client); in threadLoop() 224 client->getCameraId(), kStateNames[mCaptureState]); in threadLoop() 230 client->getCameraId()); in threadLoop() 254 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { in manageDone() argument 268 SharedParameters::Lock l(client->getParameters()); in manageDone() 272 __FUNCTION__, client->getCameraId()); in manageDone() [all …]
|
D | CaptureSequencer.h | 48 CaptureSequencer(wp<Camera2Client> client); 140 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client); 156 CaptureState manageIdle(sp<Camera2Client> &client); 157 CaptureState manageStart(sp<Camera2Client> &client); 159 CaptureState manageZslStart(sp<Camera2Client> &client); 160 CaptureState manageZslWaiting(sp<Camera2Client> &client); 161 CaptureState manageZslReprocessing(sp<Camera2Client> &client); 163 CaptureState manageStandardStart(sp<Camera2Client> &client); 164 CaptureState manageStandardPrecaptureWait(sp<Camera2Client> &client); 165 CaptureState manageStandardCapture(sp<Camera2Client> &client); [all …]
|
D | FrameProcessor.cpp | 32 sp<Camera2Client> client) : in FrameProcessor() argument 34 mClient(client), in FrameProcessor() 42 SharedParameters::Lock l(client->getParameters()); in FrameProcessor() 44 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) { in FrameProcessor() 66 sp<Camera2Client> client = mClient.promote(); in processSingleFrame() local 67 if (!client.get()) { in processSingleFrame() 73 if (client->getCameraDeviceVersion() >= CAMERA_DEVICE_API_VERSION_3_2) { in processSingleFrame() 85 if (!isPartialResult && processFaceDetect(frame.mMetadata, client) != OK) { in processSingleFrame() 90 process3aState(frame, client); in processSingleFrame() 97 const sp<Camera2Client> &client) { in processFaceDetect() argument [all …]
|
D | ZslProcessor3.cpp | 44 sp<Camera2Client> client, in ZslProcessor3() argument 49 mClient(client), in ZslProcessor3() 51 mId(client->getCameraId()), in ZslProcessor3() 59 if (client != 0) { in ZslProcessor3() 61 static_cast<Camera3Device*>(client->getCameraDevice().get()); in ZslProcessor3() 137 sp<Camera2Client> client = mClient.promote(); in updateStream() local 138 if (client == 0) { in updateStream() 143 static_cast<Camera3Device*>(client->getCameraDevice().get()); in updateStream() 157 client->getCameraId(), strerror(-res), res); in updateStream() 164 __FUNCTION__, client->getCameraId(), mZslStreamId); in updateStream() [all …]
|
D | FrameProcessor.h | 42 FrameProcessor(wp<CameraDeviceBase> device, sp<Camera2Client> client); 52 void processNewFrames(const sp<Camera2Client> &client); 58 const sp<Camera2Client> &client); 62 const sp<Camera2Client> &client); 103 void callbackFaceDetection(sp<Camera2Client> client,
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteProviderService.java | 141 ClientRecord client = new ClientRecord(messenger, version); in onRegisterClient() local 142 if (client.register()) { in onRegisterClient() 143 mClients.add(client); in onRegisterClient() 145 Log.d(TAG, client + ": Registered, version=" + version); in onRegisterClient() 163 ClientRecord client = mClients.remove(index); in onUnregisterClient() local 165 Log.d(TAG, client + ": Unregistered"); in onUnregisterClient() 167 client.dispose(); in onUnregisterClient() 177 ClientRecord client = mClients.remove(index); in onBinderDied() local 179 Log.d(TAG, client + ": Binder died"); in onBinderDied() 181 client.dispose(); in onBinderDied() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileBridgeTest.java | 38 private FileBridgeOutputStream client; field in FileBridgeTest 52 client = new FileBridgeOutputStream(bridge.getClientSocket()); in setUp() 66 client.close(); in closeAndAssertClosed() 84 client.flush(); in testNoWriteSync() 90 client.write("meow".getBytes(StandardCharsets.UTF_8)); in testWriteNoSync() 97 client.write("cake".getBytes(StandardCharsets.UTF_8)); in testWriteSync() 98 client.flush(); in testWriteSync() 105 client.write("meow".getBytes(StandardCharsets.UTF_8)); in testWriteSyncWrite() 106 client.flush(); in testWriteSyncWrite() 107 client.write("cake".getBytes(StandardCharsets.UTF_8)); in testWriteSyncWrite() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMasClient.java | 17 package android.bluetooth.client.map; 27 import android.bluetooth.client.map.BluetoothMasRequestSetMessageStatus.StatusIndicator; 28 import android.bluetooth.client.map.utils.ObexTime; 313 public SessionHandler(BluetoothMasClient client) { in SessionHandler() argument 316 mClient = new WeakReference<BluetoothMasClient>(client); in SessionHandler() 322 BluetoothMasClient client = mClient.get(); in handleMessage() local 323 if (client == null) { in handleMessage() 330 client.mConnectThread = null; in handleMessage() 331 client.sendToClient(EVENT_CONNECT, false); in handleMessage() 335 client.mConnectThread = null; in handleMessage() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
D | BluetoothPbapClient.java | 17 package android.bluetooth.client.pbap; 385 SessionHandler(BluetoothPbapClient client) { in SessionHandler() argument 386 mClient = new WeakReference<BluetoothPbapClient>(client); in SessionHandler() 393 BluetoothPbapClient client = mClient.get(); in handleMessage() local 394 if (client == null) { in handleMessage() 404 client.sendToClient(EVENT_PULL_PHONE_BOOK_SIZE_ERROR); in handleMessage() 406 client.sendToClient(EVENT_PULL_VCARD_LISTING_SIZE_ERROR); in handleMessage() 408 client.sendToClient(EVENT_PULL_PHONE_BOOK_ERROR); in handleMessage() 410 client.sendToClient(EVENT_PULL_VCARD_LISTING_ERROR); in handleMessage() 412 client.sendToClient(EVENT_PULL_VCARD_ENTRY_ERROR); in handleMessage() [all …]
|
/frameworks/base/media/java/android/media/ |
D | IMediaRouterService.aidl | 26 void registerClientAsUser(IMediaRouterClient client, String packageName, int userId); in registerClientAsUser() argument 27 void unregisterClient(IMediaRouterClient client); in unregisterClient() argument 29 MediaRouterClientState getState(IMediaRouterClient client); in getState() argument 31 void setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan); in setDiscoveryRequest() argument 32 void setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit); in setSelectedRoute() argument 33 void requestSetVolume(IMediaRouterClient client, String routeId, int volume); in requestSetVolume() argument 34 void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction); in requestUpdateVolume() argument
|
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() 188 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() argument 191 mClient = client; in ClientProxy() 235 ClientProxy client = new ClientProxy(paths, mimeTypes, callback); in scanFile() local 236 MediaScannerConnection connection = new MediaScannerConnection(context, client); in scanFile() 237 client.mConnection = connection; in scanFile()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceSession.cpp | 43 SurfaceComposerClient* client = new SurfaceComposerClient(); in nativeCreate() local 44 client->incStrong((void*)nativeCreate); in nativeCreate() 45 return reinterpret_cast<jlong>(client); in nativeCreate() 49 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); in nativeDestroy() local 50 client->decStrong((void*)nativeCreate); in nativeDestroy() 54 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); in nativeKill() local 55 client->dispose(); in nativeKill()
|
/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 …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 45 void addClient(in IInputMethodClient client, in addClient() argument 47 void removeClient(in IInputMethodClient client); in removeClient() argument 49 InputBindResult startInput(in IInputMethodClient client, in startInput() argument 51 void finishInput(in IInputMethodClient client); in finishInput() argument 52 boolean showSoftInput(in IInputMethodClient client, int flags, in showSoftInput() argument 54 boolean hideSoftInput(in IInputMethodClient client, int flags, in hideSoftInput() argument 58 InputBindResult windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus() argument 62 void showInputMethodPickerFromClient(in IInputMethodClient client, in showInputMethodPickerFromClient() argument 64 void showInputMethodAndSubtypeEnablerFromClient(in IInputMethodClient client, String topId); in showInputMethodAndSubtypeEnablerFromClient() argument
|
/frameworks/av/media/libstagefright/ |
D | StagefrightMediaScanner.cpp | 59 MediaScannerClient &client) { in processFile() argument 62 client.setLocale(locale()); in processFile() 63 client.beginFile(); in processFile() 64 MediaScanResult result = processFileInternal(path, mimeType, client); in processFile() 65 client.endFile(); in processFile() 71 MediaScannerClient &client) { in processFileInternal() argument 101 status = client.setMimeType(value); in processFileInternal() 133 status = client.addStringTag(kKeyMap[i].tag, value); in processFileInternal()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 99 if (lhs.client < rhs.client) return -1; in compare_type() 100 if (lhs.client > rhs.client) return 1; in compare_type() 132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id); 141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 147 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 150 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 152 status_t setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 154 status_t setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, [all …]
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpClientStack.java | 26 import org.apache.http.client.HttpClient; 27 import org.apache.http.client.methods.HttpDelete; 28 import org.apache.http.client.methods.HttpEntityEnclosingRequestBase; 29 import org.apache.http.client.methods.HttpGet; 30 import org.apache.http.client.methods.HttpHead; 31 import org.apache.http.client.methods.HttpOptions; 32 import org.apache.http.client.methods.HttpPost; 33 import org.apache.http.client.methods.HttpPut; 34 import org.apache.http.client.methods.HttpTrace; 35 import org.apache.http.client.methods.HttpUriRequest; [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 66 IntRange(int startId, int endId, String client) { in IntRange() argument 70 mClients.add(new ClientRange(startId, endId, client)); in IntRange() 152 ClientRange(int startId, int endId, String client) { in ClientRange() argument 155 mClient = client; in ClientRange() 193 public synchronized boolean enableRange(int startId, int endId, String client) { in enableRange() argument 199 mRanges.add(new IntRange(startId, endId, client)); in enableRange() 213 range.insert(new ClientRange(startId, endId, client)); in enableRange() 235 range.insert(new ClientRange(startId, endId, client)); in enableRange() 258 mRanges.add(startIndex, new IntRange(startId, endId, client)); in enableRange() 268 range.mClients.add(0, new ClientRange(startId, endId, client)); in enableRange() [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 228 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client); 258 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 264 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 295 status_t waitUntilRemoved(const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, 331 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, 357 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const { in wouldEvict() argument 359 return wouldEvictLocked(client); in wouldEvict() 365 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const { in getIncompatibleClients() argument 367 return wouldEvictLocked(client, /*returnIncompatibleClients*/true); in getIncompatibleClients() 373 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, in wouldEvictLocked() argument [all …]
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 829 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in getDocumentThumbnail() local 832 return getDocumentThumbnail(client, documentUri, size, signal); in getDocumentThumbnail() 839 ContentProviderClient.releaseQuietly(client); in getDocumentThumbnail() 845 ContentProviderClient client, Uri documentUri, Point size, CancellationSignal signal) in getDocumentThumbnail() argument 853 afd = client.openTypedAssetFileDescriptor(documentUri, "image/*", openOpts, signal); in getDocumentThumbnail() 926 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in createDocument() local 929 return createDocument(client, parentDocumentUri, mimeType, displayName); in createDocument() 934 ContentProviderClient.releaseQuietly(client); in createDocument() 939 public static Uri createDocument(ContentProviderClient client, Uri parentDocumentUri, in createDocument() argument 946 final Bundle out = client.call(METHOD_CREATE_DOCUMENT, null, in); in createDocument() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 118 public void registerClientAsUser(IMediaRouterClient client, String packageName, int userId) { in registerClientAsUser() argument 119 if (client == null) { in registerClientAsUser() 137 registerClientLocked(client, pid, packageName, resolvedUserId, trusted); in registerClientAsUser() 146 public void unregisterClient(IMediaRouterClient client) { in unregisterClient() argument 147 if (client == null) { in unregisterClient() 154 unregisterClientLocked(client, false); in unregisterClient() 163 public MediaRouterClientState getState(IMediaRouterClient client) { in getState() argument 164 if (client == null) { in getState() 171 return getStateLocked(client); in getState() 180 public void setDiscoveryRequest(IMediaRouterClient client, in setDiscoveryRequest() argument [all …]
|
/frameworks/av/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/docs/html/training/secure-file-sharing/ |
D | request-file.jd | 31 When an app wants to access a file shared by another app, the requesting app (the client) 35 client app. 38 This lesson shows you how a client app requests a file from a server app, receives the file's 44 To request a file from the server app, the client app calls 47 {@link android.content.Intent#ACTION_PICK ACTION_PICK} and a MIME type that the client app 84 The server app sends the file's content URI back to the client app in an 85 {@link android.content.Intent}. This {@link android.content.Intent} is passed to the client 87 the client app has the file's content URI, it can access the file by getting its 93 that the client app receives. Since this URI doesn't contain a directory path, the client app 94 can't discover and open any other files in the server app. Only the client app gets access to [all …]
|