Searched refs:client (Results 101 - 125 of 372) sorted by relevance

1234567891011>>

/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp103 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
105 GET_PLAYER_TYPE_IMPL(client, url);
108 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
112 GET_PLAYER_TYPE_IMPL(client, fd, offset, length);
115 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
117 GET_PLAYER_TYPE_IMPL(client, source);
120 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
122 GET_PLAYER_TYPE_IMPL(client, source);
172 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
204 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
[all...]
/frameworks/av/media/utils/
H A DISchedulingPolicyService.cpp65 virtual int requestCpusetBoost(bool enable, const sp<IInterface>& client) argument
70 data.writeStrongBinder(IInterface::asBinder(client));
H A DSchedulingPolicyService.cpp62 int requestCpusetBoost(bool enable, const sp<IInterface> &client) argument
78 ret = sps->requestCpusetBoost(enable, client);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.h44 explicit CallbackProcessor(sp<Camera2Client> client);
82 status_t processNewCallback(sp<Camera2Client> &client);
H A DCallbackProcessor.cpp34 CallbackProcessor::CallbackProcessor(sp<Camera2Client> client): argument
36 mClient(client),
37 mDevice(client->getCameraDevice()),
38 mId(client->getCameraId()),
64 sp<Camera2Client> client = mClient.promote(); local
65 if (client == 0) return OK;
66 sp<CameraDeviceBase> device = client->getCameraDevice();
74 client->getCameraId(), strerror(-res), res);
234 sp<Camera2Client> client = mClient.promote(); local
235 if (client
261 processNewCallback(sp<Camera2Client> &client) argument
[all...]
/frameworks/base/core/java/android/app/servertransaction/
H A DWindowVisibilityItem.java35 public void execute(ClientTransactionHandler client, IBinder token, argument
38 client.handleWindowVisibility(token, mShowWindow);
/frameworks/base/core/java/android/printservice/
H A DIPrintService.aidl29 void setClient(IPrintServiceClient client);
/frameworks/base/core/java/android/widget/
H A DCursorFilter.java38 CursorFilter(CursorFilterClient client) { argument
39 mClient = client;
/frameworks/base/media/java/android/media/soundtrigger/
H A DISoundTriggerDetectionService.aidl30 void setClient(in ParcelUuid uuid, in Bundle params, in ISoundTriggerDetectionServiceClient client);
H A DSoundTriggerDetectionService.java93 @NonNull ISoundTriggerDetectionServiceClient client) {
97 mClients.put(uuid, client);
189 ISoundTriggerDetectionServiceClient client;
191 client = mClients.get(uuid);
193 if (client == null) {
194 Log.w(LOG_TAG, "operationFinished called, but no client for "
199 client.onOpFinished(opId);
201 Log.e(LOG_TAG, "operationFinished, remote exception for client " + uuid, e);
219 ISoundTriggerDetectionServiceClient client) {
227 SoundTriggerDetectionService.this, uuid, params, client));
92 setClient(@onNull UUID uuid, @Nullable Bundle params, @NonNull ISoundTriggerDetectionServiceClient client) argument
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
H A DJDWPClassDataRetriever.java36 private final Client client; field in class:JDWPClassDataRetriever
42 public JDWPClassDataRetriever(Client client) { argument
43 this.client = client;
53 public Map<String, String> getClassData(Client client) { argument
54 return new JDWPClassDataRetriever(client).retrieve();
58 if (client == null) {
62 settings = createTestOptions("localhost:" + String.valueOf(client.getDebuggerListenPort()));
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
H A DCursorFilter.java39 CursorFilter(CursorFilterClient client) { argument
40 mClient = client;
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
H A DTestServiceRegistry.java17 package androidx.media.test.client;
26 import androidx.media.test.client.TestUtils.SyncHandler;
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouterService.java225 public void registerClientAsUser(IMediaRouterClient client, String packageName, int userId) { argument
226 if (client == null) {
227 throw new IllegalArgumentException("client must not be null");
244 registerClientLocked(client, uid, pid, packageName, resolvedUserId, trusted);
253 public void unregisterClient(IMediaRouterClient client) { argument
254 if (client == null) {
255 throw new IllegalArgumentException("client must not be null");
261 unregisterClientLocked(client, false);
270 public MediaRouterClientState getState(IMediaRouterClient client) { argument
271 if (client
287 isPlaybackActive(IMediaRouterClient client) argument
309 setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan) argument
332 setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit) argument
349 requestSetVolume(IMediaRouterClient client, String routeId, int volume) argument
369 requestUpdateVolume(IMediaRouterClient client, String routeId, int direction) argument
476 registerClientLocked(IMediaRouterClient client, int uid, int pid, String packageName, int userId, boolean trusted) argument
505 unregisterClientLocked(IMediaRouterClient client, boolean died) argument
515 getStateLocked(IMediaRouterClient client) argument
523 setDiscoveryRequestLocked(IMediaRouterClient client, int routeTypes, boolean activeScan) argument
547 setSelectedRouteLocked(IMediaRouterClient client, String routeId, boolean explicit) argument
576 requestSetVolumeLocked(IMediaRouterClient client, String routeId, int volume) argument
586 requestUpdateVolumeLocked(IMediaRouterClient client, String routeId, int direction) argument
684 ClientRecord(UserRecord userRecord, IMediaRouterClient client, int uid, int pid, String packageName, boolean trusted) argument
[all...]
/frameworks/av/media/libmedia/
H A DIResourceManagerService.cpp76 const sp<IResourceManagerClient> client,
82 data.writeStrongBinder(IInterface::asBinder(client));
133 sp<IResourceManagerClient> client(
135 if (client == NULL) {
140 addResource(pid, clientId, client, resources);
73 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java116 final SntpClient client = new SntpClient();
117 if (client.requestTime(mServer, (int) mTimeout, network)) {
119 mCachedNtpTime = client.getNtpTime();
120 mCachedNtpElapsedRealtime = client.getNtpTimeReference();
121 mCachedNtpCertainty = client.getRoundTripTime() / 2;
/frameworks/base/core/jni/
H A Dandroid_media_RemoteDisplay.cpp113 const sp<NativeRemoteDisplayClient>& client) :
114 mDisplay(display), mClient(client) {
150 sp<NativeRemoteDisplayClient> client(new NativeRemoteDisplayClient(env, remoteDisplayObj));
152 client, String8(iface.c_str()));
159 NativeRemoteDisplay* wrapper = new NativeRemoteDisplay(display, client);
112 NativeRemoteDisplay(const sp<IRemoteDisplay>& display, const sp<NativeRemoteDisplayClient>& client) argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientTest.java33 import org.apache.http.client.methods.HttpGet;
35 import org.apache.http.impl.client.DefaultHttpClient;
81 DefaultHttpClient client = new DefaultHttpClient();
83 HttpResponse a = client.execute(new HttpGet(server.getUrl("/a").toURI()));
87 HttpResponse b = client.execute(new HttpGet(server.getUrl("/b").toURI()));
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
H A DRemoteBridgeClient.java17 package com.android.layoutlib.bridge.remote.client;
28 import com.android.layoutlib.bridge.remote.client.adapters.RemoteDrawableParamsAdapter;
29 import com.android.layoutlib.bridge.remote.client.adapters.RemoteLayoutLogAdapter;
30 import com.android.layoutlib.bridge.remote.client.adapters.RemoteRenderSessionAdapter;
31 import com.android.layoutlib.bridge.remote.client.adapters.RemoteSessionParamsAdapter;
/frameworks/native/include/gui/
H A DLayerState.h124 sp<ISurfaceComposerClient> client; member in struct:android::ComposerState
165 if (lhs.client < rhs.client) return -1;
166 if (lhs.client > rhs.client) return 1;
/frameworks/native/libs/gui/include/gui/
H A DLayerState.h124 sp<ISurfaceComposerClient> client; member in struct:android::ComposerState
165 if (lhs.client < rhs.client) return -1;
166 if (lhs.client > rhs.client) return 1;
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp105 // tear down the client
174 // lock camera to this client if the the camera is unlocked
180 // returns NO_ERROR if the client already owns the camera, EBUSY otherwise
205 // connect a new client to the camera
206 status_t CameraClient::connect(const sp<hardware::ICameraClient>& client) { argument
218 (IInterface::asBinder(client) == IInterface::asBinder(mRemoteCallback))) {
219 LOG1("Connect to the same client");
225 mRemoteCallback = client;
248 // Allow both client and the cameraserver to disconnect at all times
250 ALOGW("different client
852 sp<CameraClient> client = getClientFromCookie(user); local
872 sp<CameraClient> client = getClientFromCookie(user); local
905 sp<CameraClient> client = getClientFromCookie(user); local
922 sp<CameraClient> client = getClientFromCookie(user); local
1117 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp93 ALOGV("%s: Initializing client for camera %s", __FUNCTION__,
188 // Allow both client and the media server to disconnect at all times
216 const sp<TCamCallbacks>& client) {
235 TClientBase::mRemoteCallback = client;
236 mSharedCameraCallbacks = client;
359 SharedCameraCallbacks &client) :
361 mRemoteCallback(client.mRemoteCallback),
362 mSharedClient(client) {
374 const sp<TCamCallbacks>&client) :
376 mRemoteCallback(client) {
215 connect( const sp<TCamCallbacks>& client) argument
358 Lock( SharedCameraCallbacks &client) argument
[all...]
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp105 const sp<IResourceManagerClient>& client,
114 info.client = client;
181 snprintf(buffer, SIZE, " Name: %s\n", infos[j].client->getName().string());
230 const sp<IResourceManagerClient> client,
242 ResourceInfo& info = getResourceInfoForEdit(clientId, client, infos);
260 IInterface::asBinder(client)->linkToDeath(info.deathNotifier);
294 IInterface::asBinder(infos[j].client)->unlinkToDeath(infos[j].deathNotifier);
301 ALOGV("didn't find client");
310 sp<IResourceManagerClient> client; local
103 getResourceInfoForEdit( int64_t clientId, const sp<IResourceManagerClient>& client, ResourceInfos& infos) argument
227 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
457 getLowestPriorityBiggestClient_l( int callingPid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument
529 getBiggestClient_l( int pid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java169 Socket client = mServer.accept();
171 mThreadPool.submit(new ViewServerWorker(client));
174 client.close();
185 private static boolean writeValue(Socket client, String value) { argument
189 OutputStream clientStream = client.getOutputStream();
214 public ViewServerWorker(Socket client) { argument
215 mClient = client;

Completed in 371 milliseconds

1234567891011>>