Searched refs:client (Results 76 - 100 of 372) sorted by relevance

1234567891011>>

/frameworks/native/libs/vr/libdvr/
H A Ddvr_surface.cpp185 auto client = DisplayClient::Create(&error); local
186 if (!client) {
187 ALOGE("dvrSetupGlobalBuffer: Failed to create display client: %s",
194 auto buffer_status = client->SetupGlobalBuffer(key, size, gralloc_usage);
207 auto client = DisplayClient::Create(&error); local
208 if (!client) {
209 ALOGE("dvrDeleteGlobalBuffer: Failed to create display client: %s",
214 auto buffer_status = client->DeleteGlobalBuffer(key);
229 auto client = DisplayClient::Create(&error); local
230 if (!client) {
250 auto client = DisplayClient::Create(); local
[all...]
H A Ddvr_hardware_composer_client.cpp84 std::unique_ptr<DvrHwcClient> client(new DvrHwcClient());
87 client->composer = android::interface_cast<android::dvr::IVrComposer>(
89 if (!client->composer.get())
92 client->callback = new HwcCallback(std::bind(callback, data,
94 android::binder::Status status = client->composer->registerObserver(
95 client->callback);
99 return client.release();
102 void dvrHwcClientDestroy(DvrHwcClient* client) { argument
103 client->composer->clearObserver();
107 // client callbac
[all...]
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/
H A DServiceWorkerControllerImpl.java82 public void setServiceWorkerClient(ServiceWorkerClientCompat client) { argument
85 getFrameworksImpl().setServiceWorkerClient(new FrameworkServiceWorkerClient(client));
89 new ServiceWorkerClientAdapter(client)));
/frameworks/base/core/java/android/app/servertransaction/
H A DResumeActivityItem.java41 public void preExecute(ClientTransactionHandler client, IBinder token) { argument
43 client.updateProcessState(mProcState, false);
48 public void execute(ClientTransactionHandler client, IBinder token, argument
51 client.handleResumeActivity(token, true /* finalStateRequest */, mIsForward,
57 public void postExecute(ClientTransactionHandler client, IBinder token, argument
H A DActivityRelaunchItem.java56 public void preExecute(ClientTransactionHandler client, IBinder token) { argument
57 mActivityClientRecord = client.prepareRelaunchActivity(token, mPendingResults,
62 public void execute(ClientTransactionHandler client, IBinder token, argument
69 client.handleRelaunchActivity(mActivityClientRecord, pendingActions);
74 public void postExecute(ClientTransactionHandler client, IBinder token, argument
76 client.reportRelaunch(token, pendingActions);
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_composer_client.cpp45 VrComposerClient::VrCommandEngine::VrCommandEngine(VrComposerClient& client) argument
46 : ComposerCommandEngine(client.mHal, client.mResources.get()), mVrClient(client),
47 mVrHal(client.mVrHal) {}
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntRangeManager.java37 * client that enabled that range (or else rejected).
49 * <p>When a client is added, the IntRange may merge with one or more
51 * <p>When a client is removed, the IntRange may divide into several
61 * Create a new IntRange with a single client.
64 * @param client the client requesting the enabled range
66 IntRange(int startId, int endId, String client) { argument
70 mClients.add(new ClientRange(startId, endId, client));
118 // ignore duplicate ranges from the same client
125 // there may be more client followin
152 ClientRange(int startId, int endId, String client) argument
193 enableRange(int startId, int endId, String client) argument
437 disableRange(int startId, int endId, String client) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java33 import org.apache.http.client.HttpClient;
34 import org.apache.http.client.methods.HttpGet;
196 HttpClient client = newHttpClient();
198 proxyConfig.configure(server, client, request);
199 HttpResponse response = client.execute(request);
212 HttpClient client = newHttpClient();
215 HttpResponse response = client.execute(request);
241 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) {
247 @Override void configure(MockWebServer server, HttpClient client, HttpRequest request) {
253 @Override void configure(MockWebServer server, HttpClient client, HttpReques
271 configure(MockWebServer proxy, HttpClient client, HttpRequest request) argument
[all...]
/frameworks/base/services/core/java/com/android/server/slice/
H A DPinnedSliceState.java157 ContentProviderClient client =
159 if (client == null) return null;
160 client.setDetectNotResponding(SLICE_TIMEOUT);
161 return client;
185 try (ContentProviderClient client = getClient()) {
186 if (client == null) return;
190 client.call(SliceProvider.METHOD_PIN, null, b);
198 try (ContentProviderClient client = getClient()) {
199 if (client == null) return;
203 client
[all...]
/frameworks/base/core/java/android/view/autofill/
H A DAutofillManager.java279 * the URL bar changed on client mode
400 * Asks the client to start an authentication flow.
410 * Tells the client this manager has state to be reset.
456 * Checks is the client is currently visible as understood by autofill.
458 * @return {@code true} if the client is currently visible
468 * Finds views by traversing the hierarchies of the client.
478 * Finds a view by traversing the hierarchies of the client.
487 * Finds a view by a11y id in a given client window.
502 * Gets the complete component name of this client.
573 final AutofillClient client
[all...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java205 // really bad. The result will be a 3-second delay in starting each new client.
213 + " failed to respond to cancel, starting client "
366 ClientMonitor client = mCurrentClient;
368 if ( !(client instanceof InternalRemovalClient) && !(client instanceof EnumerateClient) ) {
371 client.onEnumerationResult(fingerId, groupId, remaining);
375 if (client instanceof InternalEnumerateClient) {
377 ((InternalEnumerateClient) client).getUnknownFingerprints();
384 mUnknownFingerprints.add(new UserFingerprint(f, client.getTargetUserId()));
386 removeClient(client);
505 removeClient(ClientMonitor client) argument
[all...]
/frameworks/av/services/mediaresourcemanager/test/
H A DResourceManagerService_test.cpp32 static int64_t getId(const sp<IResourceManagerClient>& client) { argument
33 return (int64_t) client.get();
60 sp<IResourceManagerClient> client(this);
61 mService->removeResource(mPid, (int64_t) client.get());
118 static void expectEqResourceInfo(const ResourceInfo &info, sp<IResourceManagerClient> client, argument
120 EXPECT_EQ(client, info.client);
140 // pid priority client type number
234 EXPECT_EQ(mTestClient3, infos2[0].client);
440 // clean up client
447 sp<IResourceManagerClient> client; local
486 sp<IResourceManagerClient> client; local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp315 // already checked by client, but double-check in case the client wrapper is bypassed
406 sp<AudioRecordClient> client = local
408 client->active = false;
409 client->isConcurrent = false;
410 client->isVirtualDevice = false; //TODO : update from APM->getInputForAttr()
411 client->deviceId = *selectedDeviceId;
412 mAudioRecordClients.add(*portId, client);
471 sp<AudioRecordClient> client; local
479 client
598 sp<AudioRecordClient> client = mAudioRecordClients.valueAt(index); local
614 sp<AudioRecordClient> client; local
[all...]
/frameworks/base/libs/hwui/tests/microbench/
H A DDisplayListCanvasBench.cpp124 NullClient client; local
125 CanvasState state(client);
139 NullClient client; local
140 CanvasState state(client);
151 NullClient client; local
152 CanvasState state(client);
/frameworks/base/services/core/java/com/android/server/os/
H A DSchedulingPolicyService.java48 requestCpusetBoost(false /*enable*/, null /*client*/);
53 // Current client registered to the death recipient
118 public int requestCpusetBoost(boolean enable, IBinder client) { argument
133 return enableCpusetBoost(nativePids[0], client);
140 private int enableCpusetBoost(int pid, IBinder client) { argument
146 // client before we boost the new process, so that the state
159 client.linkToDeath(mDeathRecipient, 0);
165 mClient = client;
172 client.unlinkToDeath(mDeathRecipient, 0);
/frameworks/rs/script_api/
H A Drs_io.spec21 <li>Send information to the Java client, and</li>
59 summary: Send a message to the client, non-blocking
61 Sends a message back to the client. This call does not block.
82 summary: Send a message to the client, blocking
84 Sends a message back to the client. This function will block
87 processed by the client.
/frameworks/av/media/utils/
H A DISchedulingPolicyService.h32 virtual int requestCpusetBoost(bool enable, const sp<IInterface>& client) = 0;
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.h38 sp<IResourceManagerClient> client; member in struct:android::ResourceInfo
65 const sp<IResourceManagerClient> client,
84 // Returns false if any client belongs to a process with higher priority than the
89 // Gets the client who owns specified resource type from lowest possible priority process.
91 // priority. The client will remain unchanged if returns false.
93 sp<IResourceManagerClient> *client);
99 // Gets the client who owns biggest piece of specified resource type from pid.
100 // Returns false if failed. The client will remain unchanged if failed.
101 bool getBiggestClient_l(int pid, MediaResource::Type type, sp<IResourceManagerClient> *client);
105 // A helper function basically calls getLowestPriorityBiggestClient_l and add the result client
[all...]
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
H A Dvsync_client.h6 #include <pdx/client.h>
/frameworks/native/services/surfaceflinger/
H A DColorLayer.h28 ColorLayer(SurfaceFlinger* flinger, const sp<Client>& client, const String8& name, uint32_t w,
H A DContainerLayer.h28 ContainerLayer(SurfaceFlinger* flinger, const sp<Client>& client, const String8& name,
/frameworks/support/webkit/src/main/java/androidx/webkit/
H A DServiceWorkerControllerCompat.java79 * Sets the client to capture service worker related callbacks.
86 public abstract void setServiceWorkerClient(@Nullable ServiceWorkerClientCompat client); argument
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp64 const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId) {
67 data.writeStrongBinder(IInterface::asBinder(client));
97 const sp<IRemoteDisplayClient>& client, const String8& iface)
102 data.writeStrongBinder(IInterface::asBinder(client));
126 sp<IMediaPlayerClient> client = local
129 sp<IMediaPlayer> player = create(client, audioSessionId);
160 sp<IRemoteDisplayClient> client(
162 if (client == NULL) {
167 sp<IRemoteDisplay> display(listenForRemoteDisplay(opPackageName, client, iface));
63 create( const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId) argument
96 listenForRemoteDisplay(const String16 &opPackageName, const sp<IRemoteDisplayClient>& client, const String8& iface) argument
H A DMediaScanner.cpp82 const char *path, MediaScannerClient &client) {
100 client.setLocale(locale());
102 MediaScanResult result = doProcessDirectory(pathBuffer, pathRemaining, client, false);
132 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) {
162 if (doProcessDirectoryEntry(path, pathRemaining, client, noMedia, entry, fileSpot)
173 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
212 // report the directory to the client
214 status_t status = client.scanFile(path, statbuf.st_mtime, 0,
224 client, childNoMedia);
230 status_t status = client
81 processDirectory( const char *path, MediaScannerClient &client) argument
131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument
172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioServiceInterface.h33 * both in the client and in the service.
43 virtual void registerClient(const android::sp<android::IAAudioClient>& client) = 0;
92 const android::AudioClient& client,

Completed in 570 milliseconds

1234567891011>>