Home
last modified time | relevance | path

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

1234

/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()
449 mClient = conn; in onFirstRef()
464 return IInterface::asBinder(mClient); in connection()
478 if (mClient != 0) { in dispose()
479 client = mClient; // hold ref while lock is held in dispose()
480 mClient.clear(); in dispose()
496 status_t err = mClient->createSurface(name, w, h, format, flags, in createSurface()
522 status_t err = mClient->destroySurface(sid); in destroySurface()
530 return mClient->clearLayerFrameStats(token); in clearLayerFrameStats()
538 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/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.java216 final IBinder winBinder = newWin.mClient.asBinder(); in sendDragStartedLw()
229 newWin.mClient.dispatchDragEvent(event); in sendDragStartedLw()
270 ws.mClient.dispatchDragEvent(evt); in broadcastDragEndedLw()
317 final IBinder touchedBinder = touchedWin.mClient.asBinder(); in notifyMoveLw()
333 mTargetWindow.mClient.dispatchDragEvent(evt); in notifyMoveLw()
344 touchedWin.mClient.dispatchDragEvent(evt); in notifyMoveLw()
371 final IBinder token = touchedWin.mClient.asBinder(); in notifyDropLw()
375 touchedWin.mClient.dispatchDragEvent(evt); in notifyDropLw()
/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/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.java249 private IPrintServiceClient mClient; field in PrintService
318 if (mClient == null) { in getActivePrintJobs()
323 List<PrintJobInfo> printJobInfos = mClient.getPrintJobInfos(); in getActivePrintJobs()
328 printJobs.add(new PrintJob(printJobInfos.get(i), mClient)); in getActivePrintJobs()
454 session.setObserver(mClient);
528 onRequestCancelPrintJob(new PrintJob(printJobInfo, mClient));
540 onPrintJobQueued(new PrintJob(printJobInfo, mClient));
548 mClient = (IPrintServiceClient) message.obj;
549 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/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/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DCopyTest.java118 private ContentProviderClient mClient; field in CopyTest
127 mClient = mResolver.acquireContentProviderClient(AUTHORITY); in setUp()
136 cursor = mClient.query(queryUri, null, null, null, null); in setUp()
148 mClient.release(); in tearDown()
270 c = mClient.query(queryUri, null, null, null, null); in assertDstFileCountEquals()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java73 private IAccessibilityServiceClient mClient; field in UiAutomationConnection
338 mClient = client; in registerUiTestAutomationServiceLocked()
350 manager.unregisterUiTestAutomationService(mClient); in unregisterUiTestAutomationServiceLocked()
351 mClient = null; in unregisterUiTestAutomationServiceLocked()
387 return mClient != null; in isConnectedLocked()
/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.java91 private final IAccessibilityManagerClient.Stub mClient = field in AccessibilityManager
114 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/native/include/gui/
DSurfaceControl.h51 return mHandle!=0 && mClient!=0; in isValid()
98 sp<SurfaceComposerClient> mClient; variable
/frameworks/av/services/radio/
DRadioService.cpp648 : mModule(module), mClient(client), mConfig(*config), mAudio(audio), mTuner(NULL) in ModuleClient()
655 IInterface::asBinder(mClient)->linkToDeath(this); in onFirstRef()
659 if (mClient != 0) { in ~ModuleClient()
660 IInterface::asBinder(mClient)->unlinkToDeath(this); in ~ModuleClient()
661 mClient.clear(); in ~ModuleClient()
679 if (mClient != 0) { in detach()
680 IInterface::asBinder(mClient)->unlinkToDeath(this); in detach()
681 mClient.clear(); in detach()
886 client = mClient; in onCallbackEvent()

1234