Searched refs:client (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/frameworks/native/libs/vr/libdvr/
H A Ddvr_vsync.cpp10 std::unique_ptr<android::dvr::VSyncClient> client; member in struct:DvrVSyncClient
14 auto client = android::dvr::VSyncClient::Create(); local
15 if (!client) {
16 ALOGE("dvrVSyncClientCreate: Failed to create vsync client!");
20 *client_out = new DvrVSyncClient{std::move(client)};
24 void dvrVSyncClientDestroy(DvrVSyncClient* client) { delete client; } argument
26 int dvrVSyncClientGetSchedInfo(DvrVSyncClient* client, int64_t* vsync_period_ns, argument
29 return client->client
[all...]
/frameworks/native/services/vr/virtual_touchpad/include/dvr/
H A Dvirtual_touchpad_client.h15 // Creates a new virtual touchpad client.
17 // @return Pointer to the created virtual touchpad client; nullptr on failure.
21 // Destroys a virtual touchpad client.
23 // @param client Pointer to the virtual touchpad client to be destroyed.
25 void dvrVirtualTouchpadDestroy(DvrVirtualTouchpad* client);
30 // the kernel virtual touchpad device(s). A single client may be attached
33 // @param client Pointer to the virtual touchpad client to be attached.
36 int dvrVirtualTouchpadAttach(DvrVirtualTouchpad* client);
[all...]
/frameworks/native/services/vr/virtual_touchpad/
H A DDvrVirtualTouchpadClient.cpp11 android::dvr::VirtualTouchpad* FromC(DvrVirtualTouchpad* client) { argument
12 return reinterpret_cast<android::dvr::VirtualTouchpad*>(client);
21 void dvrVirtualTouchpadDestroy(DvrVirtualTouchpad* client) { argument
22 delete FromC(client);
25 int dvrVirtualTouchpadAttach(DvrVirtualTouchpad* client) { argument
26 return FromC(client)->Attach();
29 int dvrVirtualTouchpadDetach(DvrVirtualTouchpad* client) { argument
30 return FromC(client)->Detach();
33 int dvrVirtualTouchpadTouch(DvrVirtualTouchpad* client, int touchpad, float x, argument
35 return FromC(client)
38 dvrVirtualTouchpadButtonState(DvrVirtualTouchpad* client, int touchpad, int buttons) argument
[all...]
/frameworks/base/media/java/android/media/
H A DIMediaRouterService.aidl26 void registerClientAsUser(IMediaRouterClient client, String packageName, int userId);
27 void unregisterClient(IMediaRouterClient client);
29 MediaRouterClientState getState(IMediaRouterClient client);
31 void setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan);
32 void setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit);
33 void requestSetVolume(IMediaRouterClient client, String routeId, int volume);
34 void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction);
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientProxyTest.java19 import org.apache.http.client.HttpClient;
20 import org.apache.http.impl.client.DefaultHttpClient;
H A DAndroidHttpClientProxyTest.java19 import org.apache.http.client.HttpClient;
H A DCookiesTest.java32 import org.apache.http.client.HttpClient;
33 import org.apache.http.client.methods.HttpGet;
35 import org.apache.http.impl.client.DefaultHttpClient;
67 HttpClient client = new DefaultHttpClient();
68 client.execute(new HttpGet(server.getUrl("/").toURI()));
97 HttpClient client = new DefaultHttpClient();
98 client.getParams().setParameter(
101 HttpResponse getCookies = client.execute(new HttpGet("http://my.t-mobile.com/"));
105 HttpResponse sendCookies = client.execute(new HttpGet("http://my.t-mobile.com/"));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DClientWakelockTracker.java39 ClientWakelockAccountant client = getClientWakelockAccountant(clientId);
41 client.startAttributingWakelock(requestId, token, numRequestsInQueue, uptime);
44 if (!mActiveClients.contains(client)) {
45 mActiveClients.add(client);
52 ClientWakelockAccountant client = getClientWakelockAccountant(clientId);
54 client.stopAttributingWakelock(requestId, token, uptime);
55 if(client.getPendingRequestCount() == 0) {
57 mActiveClients.remove(client);
67 for (ClientWakelockAccountant client : mActiveClients) {
68 client
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceSession.cpp44 SurfaceComposerClient* client = new SurfaceComposerClient(); local
45 client->incStrong((void*)nativeCreate);
46 return reinterpret_cast<jlong>(client);
51 SurfaceComposerClient* client = new SurfaceComposerClient(parent->getIGraphicBufferProducer()); local
52 client->incStrong((void*)nativeCreate);
53 return reinterpret_cast<jlong>(client);
57 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); local
58 client->decStrong((void*)nativeCreate);
62 SurfaceComposerClient* client = reinterpret_cast<SurfaceComposerClient*>(ptr); local
63 client
[all...]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DMountReceiver.java27 final ContentProviderClient client = context.getContentResolver()
30 ((ExternalStorageProvider) client.getLocalContentProvider()).updateVolumes();
32 ContentProviderClient.releaseQuietly(client);
/frameworks/native/services/surfaceflinger/tests/
H A DStress_test.cpp31 sp<SurfaceComposerClient> client = new SurfaceComposerClient;
32 ASSERT_EQ(NO_ERROR, client->initCheck());
34 auto surf = client->createSurface(String8("t"), 100, 100,
37 client->destroySurface(surf->getHandle());
/frameworks/native/libs/vr/libdvr/include/dvr/
H A Ddvr_vsync.h11 // Creates a new client to the system vsync service.
14 // Destroys the vsync client.
15 void dvrVSyncClientDestroy(DvrVSyncClient* client);
20 int dvrVSyncClientGetSchedInfo(DvrVSyncClient* client, int64_t* vsync_period_ns,
/frameworks/native/libs/vr/libvrsensor/include/dvr/
H A Dpose_client.h118 // Creates a new pose client.
120 // @return Pointer to the created pose client, nullptr on failure.
123 // Destroys a pose client.
125 // @param client Pointer to the pose client to be destroyed.
126 void dvrPoseDestroy(DvrPose* client);
130 // @param client Pointer to the pose client.
135 int dvrPoseGet(DvrPose* client, uint32_t vsync_count, DvrPoseAsync* out_pose);
138 uint32_t dvrPoseGetVsyncCount(DvrPose* client);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java76 * Represents an active remote {@link Ringtone} client.
108 Client client;
110 client = mClients.get(token);
111 if (client == null) {
113 client = new Client(token, uri, user, aa);
114 token.linkToDeath(client, 0);
115 mClients.put(token, client);
118 client.mRingtone.setLooping(looping);
119 client.mRingtone.setVolume(volume);
120 client
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileBridgeTest.java38 private FileBridgeOutputStream client; field in class:FileBridgeTest
52 client = new FileBridgeOutputStream(bridge.getClientSocket());
66 client.close();
84 client.flush();
90 client.write("meow".getBytes(StandardCharsets.UTF_8));
97 client.write("cake".getBytes(StandardCharsets.UTF_8));
98 client.flush();
105 client.write("meow".getBytes(StandardCharsets.UTF_8));
106 client.flush();
107 client
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/
H A DClassDataRetriever.java24 * Retrieve a class-to-classloader map for loaded classes from the client.
28 public Map<String, String> getClassData(Client client); argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackSeekUi.java30 * with Seeking UI. For example client(PlaybackGlue) will pause media when PlaybackSeekUi emits
36 * Called by PlaybackSeekUi to query client if seek is allowed.
52 * after {@link #isSeekEnabled()} returns true. If client does not provide a
53 * {@link PlaybackSeekDataProvider}, client may directly seek media in
70 * Called when cancelled or confirmed. When cancelled, client should restore playing from
71 * the position before {@link #onSeekStarted()}. When confirmed, client should seek to
82 void setPlaybackSeekUiClient(Client client); argument
/frameworks/av/include/media/stagefright/
H A DStagefrightMediaScanner.h31 MediaScannerClient &client);
41 MediaScannerClient &client);
/frameworks/av/media/libstagefright/foundation/include/
H A DStagefrightMediaScanner.h31 MediaScannerClient &client);
41 MediaScannerClient &client);
/frameworks/av/media/libstagefright/include/
H A DStagefrightMediaScanner.h31 MediaScannerClient &client);
41 MediaScannerClient &client);
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DScanPackageAction.java45 Client client = Main.getUI().getSelectedClient();
46 if (client != null) {
47 work(client);
61 work(ret.client);
85 private Client client; field in class:ScanPackageAction.ClientWrapper
88 client = c;
93 return client.getClientData().getClientDescription() + " (pid "
94 + client.getClientData().getPid() + ")";
/frameworks/native/libs/vr/libvrsensor/
H A Dpose_client.cpp7 #include <pdx/client.h>
31 static PoseClient* FromC(DvrPose* client) { argument
32 return reinterpret_cast<PoseClient*>(client);
281 PoseClient* client = PoseClient::Create().release(); local
282 return reinterpret_cast<DvrPose*>(client);
285 void dvrPoseDestroy(DvrPose* client) { delete PoseClient::FromC(client); } argument
287 int dvrPoseGet(DvrPose* client, uint32_t vsync_count, DvrPoseAsync* out_pose) { argument
288 return PoseClient::FromC(client)->GetPose(vsync_count, out_pose);
291 uint32_t dvrPoseGetVsyncCount(DvrPose* client) { argument
295 dvrPoseGetController(DvrPose* client, int32_t controller_id, uint32_t vsync_count, DvrPoseAsync* out_pose) argument
301 dvrPoseLogController(DvrPose* client, bool enable) argument
305 dvrPosePoll(DvrPose* client, DvrPoseState* state) argument
309 dvrPoseFreeze(DvrPose* client, const DvrPoseState* frozen_state) argument
313 dvrPoseSetMode(DvrPose* client, DvrPoseMode mode) argument
317 dvrPoseGetMode(DvrPose* client, DvrPoseMode* mode) argument
321 dvrPoseGetRingBuffer(DvrPose* client, DvrPoseRingBufferInfo* out_info) argument
325 privateDvrPoseNotifyVsync(DvrPose* client, uint32_t vsync_count, int64_t display_timestamp, int64_t display_period_ns, int64_t right_eye_photon_offset_ns) argument
334 privateDvrPoseGetRingBufferFd(DvrPose* client, LocalHandle* fd) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCaptureSequencer.cpp37 CaptureSequencer::CaptureSequencer(wp<Camera2Client> client): argument
48 mClient(client),
204 sp<Camera2Client> client = mClient.promote(); local
205 if (client == 0) return false;
213 currentState = (this->*kStateManagers[currentState])(client);
226 client->getCameraId(), kStateNames[mCaptureState]);
232 client->getCameraId());
240 sp<Camera2Client> &/*client*/) {
256 CaptureSequencer::CaptureState CaptureSequencer::manageDone(sp<Camera2Client> &client) { argument
270 SharedParameters::Lock l(client
326 manageStart( sp<Camera2Client> &client) argument
358 manageZslStart( sp<Camera2Client> &client) argument
407 manageStandardStart( sp<Camera2Client> &client) argument
489 manageStandardCapture( sp<Camera2Client> &client) argument
584 manageStandardCaptureWait( sp<Camera2Client> &client) argument
676 updateCaptureRequest(const Parameters &params, sp<Camera2Client> &client) argument
711 shutterNotifyLocked(const Parameters &params, const sp<Camera2Client>& client, int msgType) argument
[all...]
H A DCaptureSequencer.h47 explicit CaptureSequencer(wp<Camera2Client> client);
138 typedef CaptureState (CaptureSequencer::*StateManager)(sp<Camera2Client> &client);
154 CaptureState manageIdle(sp<Camera2Client> &client);
155 CaptureState manageStart(sp<Camera2Client> &client);
157 CaptureState manageZslStart(sp<Camera2Client> &client);
158 CaptureState manageZslWaiting(sp<Camera2Client> &client);
159 CaptureState manageZslReprocessing(sp<Camera2Client> &client);
161 CaptureState manageStandardStart(sp<Camera2Client> &client);
162 CaptureState manageStandardPrecaptureWait(sp<Camera2Client> &client);
163 CaptureState manageStandardCapture(sp<Camera2Client> &client);
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteProviderService.java185 ClientRecord client = new ClientRecord(messenger, version);
186 if (client.register()) {
187 mClients.add(client);
189 Log.d(TAG, client + ": Registered, version=" + version);
195 createDescriptorBundleForClient(descriptor, client), null);
207 ClientRecord client = mClients.remove(index);
209 Log.d(TAG, client + ": Unregistered");
211 client.dispose();
221 ClientRecord client = mClients.remove(index);
223 Log.d(TAG, client
423 createDescriptorBundleForClient(MediaRouteProviderDescriptor descriptor, ClientRecord client) argument
[all...]

Completed in 484 milliseconds

1234567891011>>