Home
last modified time | relevance | path

Searched refs:mClient (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/native/libs/gui/
DSurfaceControl.cpp51 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) in SurfaceControl()
63 mClient->destroySurface(mHandle); in destroy()
67 mClient.clear(); in destroy()
95 return mClient->setLayerStack(mHandle, layerStack); in setLayerStack()
100 return mClient->setLayer(mHandle, layer); in setLayer()
105 return mClient->setPosition(mHandle, x, y); in setPosition()
110 return mClient->setSize(mHandle, w, h); in setSize()
115 return mClient->hide(mHandle); in hide()
120 return mClient->show(mHandle); in show()
125 return mClient->setFlags(mHandle, flags, mask); in setFlags()
[all …]
DSurfaceComposerClient.cpp254 s.client = client->mClient; in getLayerStateLocked()
450 mClient = conn; in onFirstRef()
465 return (mClient != 0) ? mClient->asBinder() : 0; in connection()
479 if (mClient != 0) { in dispose()
480 client = mClient; // hold ref while lock is held in dispose()
481 mClient.clear(); in dispose()
497 status_t err = mClient->createSurface(name, w, h, format, flags, in createSurface()
523 status_t err = mClient->destroySurface(sid); in destroySurface()
531 return mClient->clearLayerFrameStats(token); in clearLayerFrameStats()
539 return mClient->getLayerFrameStats(token, outStats); in getLayerFrameStats()
/frameworks/base/core/java/android/os/
DFileBridge.java62 private final FileDescriptor mClient = new FileDescriptor(); field in FileBridge
68 Os.socketpair(AF_UNIX, SOCK_STREAM, 0, mServer, mClient); in FileBridge()
81 IoUtils.closeQuietly(mClient); in forceClose()
90 return mClient; in getClientSocket()
136 private final FileDescriptor mClient; field in FileBridge.FileBridgeOutputStream
141 mClient = clientPfd.getFileDescriptor(); in FileBridgeOutputStream()
146 mClient = client; in FileBridgeOutputStream()
154 IoBridge.closeAndSignalBlockedThreads(mClient); in close()
165 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH); in writeCommandAndBlock()
168 if (IoBridge.read(mClient, mTemp, 0, MSG_LENGTH) == MSG_LENGTH) { in writeCommandAndBlock()
[all …]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DCameraBrowserApplication.java23 private MtpClient mClient; field in CameraBrowserApplication
27 mClient = new MtpClient(this); in onCreate()
32 mClient.close(); in onTerminate()
33 mClient = null; in onTerminate()
37 return mClient; in getMtpClient()
DCameraBrowser.java44 private MtpClient mClient; field in CameraBrowser
99 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
100 mClient.addListener(this); in onCreate()
101 mDeviceList = mClient.getDeviceList(); in onCreate()
112 mClient.removeListener(this); in onDestroy()
129 mDeviceList = mClient.getDeviceList(); in deviceAdded()
135 mDeviceList = mClient.getDeviceList(); in deviceRemoved()
DObjectBrowser.java47 private MtpClient mClient; field in ObjectBrowser
94 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); in getView()
111 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
122 mObjectList = mClient.getObjectList(mDeviceName, mStorageID, mObjectID); in onResume()
DObjectViewer.java49 private MtpClient mClient; field in ObjectViewer
97 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
118 MtpObjectInfo info = mClient.getObjectInfo(mDeviceName, mObjectID); in onResume()
152 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); in onResume()
177 if (mClient.importFile(mDeviceName, mObjectID, dest.getAbsolutePath())) { in importObject()
188 if (mClient.deleteObject(mDeviceName, mObjectID)) { in deleteObject()
DStorageBrowser.java42 private MtpClient mClient; field in StorageBrowser
95 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
103 mStorageList = mClient.getStorageList(mDeviceName); in onResume()
/frameworks/base/core/java/android/widget/
DCursorFilter.java29 CursorFilterClient mClient; field in CursorFilter
39 mClient = client; in CursorFilter()
44 return mClient.convertToString((Cursor) resultValue); in convertResultToString()
49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering()
64 Cursor oldCursor = mClient.getCursor(); in publishResults()
67 mClient.changeCursor((Cursor) results.values); in publishResults()
/frameworks/support/v4/java/android/support/v4/widget/
DCursorFilter.java30 CursorFilterClient mClient; field in CursorFilter
40 mClient = client; in CursorFilter()
45 return mClient.convertToString((Cursor) resultValue); in convertResultToString()
50 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering()
65 Cursor oldCursor = mClient.getCursor(); in publishResults()
68 mClient.changeCursor((Cursor) results.values); in publishResults()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java45 private MediaScannerConnectionClient mClient; field in MediaScannerConnection
51 MediaScannerConnectionClient client = mClient;
104 mClient = client; in MediaScannerConnection()
184 final OnScanCompletedListener mClient; field in MediaScannerConnection.ClientProxy
191 mClient = client; in ClientProxy()
199 if (mClient != null) { in onScanCompleted()
200 mClient.onScanCompleted(path, uri); in onScanCompleted()
250 if (mService != null && mClient != null) { in onServiceConnected()
251 mClient.onMediaScannerConnected(); in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java207 private Socket mClient; field in ViewServer.ViewServerWorker
212 mClient = client; in ViewServerWorker()
221 in = new BufferedReader(new InputStreamReader(mClient.getInputStream()), 1024); in run()
239 result = writeValue(mClient, VALUE_PROTOCOL_VERSION); in run()
241 result = writeValue(mClient, VALUE_SERVER_VERSION); in run()
243 result = mWindowManager.viewServerListWindows(mClient); in run()
245 result = mWindowManager.viewServerGetFocusedWindow(mClient); in run()
249 result = mWindowManager.viewServerWindowCommand(mClient, in run()
267 if (mClient != null) { in run()
269 mClient.close(); in run()
[all …]
DDragState.java214 final IBinder winBinder = newWin.mClient.asBinder(); in sendDragStartedLw()
227 newWin.mClient.dispatchDragEvent(event); in sendDragStartedLw()
268 ws.mClient.dispatchDragEvent(evt); in broadcastDragEndedLw()
315 final IBinder touchedBinder = touchedWin.mClient.asBinder(); in notifyMoveLw()
331 mTargetWindow.mClient.dispatchDragEvent(evt); in notifyMoveLw()
342 touchedWin.mClient.dispatchDragEvent(evt); in notifyMoveLw()
369 final IBinder token = touchedWin.mClient.asBinder(); in notifyDropLw()
373 touchedWin.mClient.dispatchDragEvent(evt); in notifyDropLw()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplaySessionInfo.java33 private final boolean mClient; field in WifiDisplaySessionInfo
64 mClient = client; in WifiDisplaySessionInfo()
72 return mClient; in isClient()
93 dest.writeInt(mClient ? 1 : 0); in writeToParcel()
109 +"\n Client/Owner: " + (mClient ? "Client":"Owner") in toString()
/frameworks/base/core/java/android/printservice/
DPrintService.java237 private IPrintServiceClient mClient; field in PrintService
306 if (mClient == null) { in getActivePrintJobs()
311 List<PrintJobInfo> printJobInfos = mClient.getPrintJobInfos(); in getActivePrintJobs()
316 printJobs.add(new PrintJob(printJobInfos.get(i), mClient)); in getActivePrintJobs()
442 session.setObserver(mClient);
516 onRequestCancelPrintJob(new PrintJob(printJobInfo, mClient));
528 onPrintJobQueued(new PrintJob(printJobInfo, mClient));
536 mClient = (IPrintServiceClient) message.obj;
537 if (mClient != null) {
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java47 private final DrmManagerClient mClient; field in DrmOutputStream
58 mClient = client; in DrmOutputStream()
62 mSessionId = mClient.openConvertSession(mimeType); in DrmOutputStream()
69 final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId); in finish()
104 final DrmConvertedStatus status = mClient.convertData(mSessionId, exactBuffer); in write()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp113 mClient(env->NewGlobalRef(client)), in MyMediaScannerClient()
145 mEnv->DeleteGlobalRef(mClient); in ~MyMediaScannerClient()
160 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified, in scanFile()
197 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag()
213 mEnv->CallVoidMethod(mClient, mSetMimeTypeMethodID, mimeTypeStr); in setMimeType()
221 jobject mClient; member in MyMediaScannerClient
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java69 private IAccessibilityServiceClient mClient; field in UiAutomationConnection
294 mClient = client; in registerUiTestAutomationServiceLocked()
306 manager.unregisterUiTestAutomationService(mClient); in unregisterUiTestAutomationServiceLocked()
307 mClient = null; in unregisterUiTestAutomationServiceLocked()
343 return mClient != null; in isConnectedLocked()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h128 void setClient(sp<ISoundTriggerClient> client) { mClient = client; } in setClient()
129 void clearClient() { mClient.clear(); } in clearClient()
130 sp<ISoundTriggerClient> client() const { return mClient; } in client()
151 sp<ISoundTriggerClient> mClient; variable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIntRangeManager.java150 final String mClient; field in IntRangeManager.ClientRange
155 mClient = client; in ClientRange()
164 mClient.equals(other.mClient); in equals()
172 return (mStartId * 31 + mEndId) * 31 + mClient.hashCode(); in hashCode()
453 if (cr.mStartId == startId && cr.mEndId == endId && cr.mClient.equals(client)) { in disableRange()
481 if (cr.mStartId == startId && cr.mEndId == endId && cr.mClient.equals(client)) { in disableRange()
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java92 private final IAccessibilityManagerClient.Stub mClient = field in AccessibilityManager
115 return mClient; in getClient()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DBurstCapture.cpp33 mClient(client), in BurstCapture()
68 sp<Camera2Client> client = mClient.promote(); in threadLoop()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp187 sp<BasicClient> client = mClient[cameraId].promote(); in onDeviceStatusChanged()
485 if (mClient[cameraId] != NULL) { in initializeShimMetadata()
486 client = static_cast<Client*>(mClient[cameraId].promote().get()); in initializeShimMetadata()
625 if (mClient[cameraId] != 0) { in canConnectUnsafe()
626 client = mClient[cameraId].promote(); in canConnectUnsafe()
640 mClient[cameraId].clear(); in canConnectUnsafe()
726 mClient[cameraId] = client; in connectHelperLocked()
1004 mClient[cameraId] = client; in connectDevice()
1164 mClient[outIndex].clear(); in removeClientByRemote()
1219 if (mClient[i] == 0) continue; in findClientUnsafe()
[all …]
/frameworks/native/include/gui/
DSurfaceControl.h51 return mHandle!=0 && mClient!=0; in isValid()
98 sp<SurfaceComposerClient> mClient; variable
/frameworks/volley/src/com/android/volley/toolbox/
DHttpClientStack.java51 protected final HttpClient mClient; field in HttpClientStack
56 mClient = client; in HttpClientStack()
87 return mClient.execute(httpRequest); in performRequest()

123