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

1234567891011>>

/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
43 dvrVirtualTouchpadScroll(DvrVirtualTouchpad* client, int touchpad, float x, float y) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DContextHubClientCallback.java24 * receive messages and life-cycle events from nanoapps in the Context Hub at which the client is
33 * or targeted to a specific client.
35 * the client can choose to ignore the event by filtering through the parameters.
45 * client receiving the invocation.
47 * @param client the client that is associated with this callback
50 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) {} argument
55 * @param client the client that is associated with this callback
57 public void onHubReset(ContextHubClient client) {} argument
66 onNanoAppAborted(ContextHubClient client, long nanoAppId, int abortCode) argument
74 onNanoAppLoaded(ContextHubClient client, long nanoAppId) argument
82 onNanoAppUnloaded(ContextHubClient client, long nanoAppId) argument
90 onNanoAppEnabled(ContextHubClient client, long nanoAppId) argument
98 onNanoAppDisabled(ContextHubClient client, long nanoAppId) argument
[all...]
/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...]
H A Ddvr_performance.cpp12 if (auto client = PerformanceClient::Create(&error))
13 return client->SetSchedulerPolicy(task_id, scheduler_policy);
H A Ddvr_pose.cpp12 int dvrPoseClientGetDataReader(DvrPoseClient* client, uint64_t data_type, argument
14 if (!client || !queue_out)
18 int status = android::dvr::dvrPoseClientGetDataReaderHandle(client,
H A Ddvr_configuration_data.cpp16 auto client = DisplayClient::Create(); local
17 if (!client) {
18 ALOGE("dvrGetGlobalBuffer: Failed to create display client!");
24 client->GetConfigurationData(config_file_type);
/frameworks/native/services/vr/virtual_touchpad/include/dvr/
H A Dvirtual_touchpad_client.h12 // Creates a new virtual touchpad client.
14 // @return Pointer to the created virtual touchpad client; nullptr on failure.
18 // Destroys a virtual touchpad client.
20 // @param client Pointer to the virtual touchpad client to be destroyed.
22 void dvrVirtualTouchpadDestroy(DvrVirtualTouchpad* client);
27 // the kernel virtual touchpad device(s). A single client may be attached
30 // @param client Pointer to the virtual touchpad client to be attached.
33 int dvrVirtualTouchpadAttach(DvrVirtualTouchpad* client);
[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);
30 boolean isPlaybackActive(IMediaRouterClient client);
32 void setDiscoveryRequest(IMediaRouterClient client, int routeTypes, boolean activeScan);
33 void setSelectedRoute(IMediaRouterClient client, String routeId, boolean explicit);
34 void requestSetVolume(IMediaRouterClient client, String routeId, int volume);
35 void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction);
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A Dpackage-info.java2 * Package containing all the client side adapters. These adapters have the mission of receiving
5 package com.android.layoutlib.bridge.remote.client.adapters
/frameworks/native/libs/vr/libvrsensor/include/dvr/
H A Dpose_client.h70 // Creates a new pose client.
72 // @return Pointer to the created pose client, nullptr on failure.
75 // Destroys a pose client.
77 // @param client Pointer to the pose client to be destroyed.
78 void dvrPoseClientDestroy(DvrPoseClient* client);
82 // @param client Pointer to the pose client.
87 int dvrPoseClientGet(DvrPoseClient* client, uint32_t vsync_count,
91 uint32_t dvrPoseClientGetVsyncCount(DvrPoseClient* client);
[all...]
/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;
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
H A DMockActivity.java17 package androidx.media.test.client;
/frameworks/support/webkit-codegen/src/test/resources/codegen/
H A DFilterMethods.java26 public void method3(WebViewClient client) { argument
/frameworks/base/core/java/android/app/servertransaction/
H A DBaseClientRequest.java23 * Base interface for individual requests from server to client.
30 * Prepare the client request before scheduling.
33 * @param client Target client handler.
36 default void preExecute(ClientTransactionHandler client, IBinder token) { argument
41 * @param client Target client handler.
45 void execute(ClientTransactionHandler client, IBinder token, argument
50 * @param client Target client handle
54 postExecute(ClientTransactionHandler client, IBinder token, PendingTransactionActions pendingActions) argument
[all...]
/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/base/services/core/java/com/android/server/am/
H A DClientLifecycleManager.java29 * Class that is able to combine multiple client lifecycle transition requests and/or callbacks,
40 * @param transaction A sequence of client transaction items.
46 final IApplicationThread client = transaction.getClient();
48 if (!(client instanceof Binder)) {
49 // If client is not an instance of Binder - it's a remote call and at this point it is
51 // the transaction is executed on client in ActivityThread.
57 * Schedule a single lifecycle request or callback to client activity.
58 * @param client Target client.
65 void scheduleTransaction(@NonNull IApplicationThread client, argument
81 scheduleTransaction(@onNull IApplicationThread client, @NonNull IBinder activityToken, @NonNull ClientTransactionItem callback) argument
96 scheduleTransaction(@onNull IApplicationThread client, @NonNull ClientTransactionItem callback) argument
109 transactionWithState(@onNull IApplicationThread client, @NonNull IBinder activityToken, @NonNull ActivityLifecycleItem stateRequest) argument
122 transactionWithCallback(@onNull IApplicationThread client, IBinder activityToken, @NonNull ClientTransactionItem callback) argument
[all...]
/frameworks/base/core/java/android/os/
H A DISchedulingPolicyService.aidl37 * from SP_FOREGROUND into SP_TOP_APP cpuset. A valid 'client' must be
40 * the original cpuset, and 'client' is ignored in this case.
42 int requestCpusetBoost(boolean enable, IBinder client);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
H A DSliceClientPermissionsTest.java59 SliceClientPermissions client = new SliceClientPermissions(pkg, tracker);
65 client.grantUri(base.buildUpon()
68 client.revokeUri(base.buildUpon()
72 assertFalse(client.hasPermission(base.buildUpon()
77 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities());
85 SliceClientPermissions client = new SliceClientPermissions(pkg, tracker);
91 client.grantUri(base.buildUpon()
95 client.grantUri(base.buildUpon()
99 client.revokeUri(base.buildUpon()
103 assertFalse(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/services/autofill/java/com/android/server/autofill/ui/
H A DPendingUi.java39 public final IAutoFillManagerClient client; field in class:PendingUi
47 @NonNull IAutoFillManagerClient client) {
51 this.client = client;
46 PendingUi(@onNull IBinder token, int sessionId, @NonNull IAutoFillManagerClient client) argument
/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

Completed in 597 milliseconds

1234567891011>>