Home
last modified time | relevance | path

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

1234

/frameworks/native/libs/gui/
DSurfaceControl.cpp52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) in SurfaceControl()
64 mClient->destroySurface(mHandle); in destroy()
68 mClient.clear(); in destroy()
103 return mClient->setLayerStack(mHandle, layerStack); in setLayerStack()
108 return mClient->setLayer(mHandle, layer); in setLayer()
113 return mClient->setPosition(mHandle, x, y); in setPosition()
118 return mClient->setPositionAppliesWithResize(mHandle); in setPositionAppliesWithResize()
123 return mClient->setSize(mHandle, w, h); in setSize()
128 return mClient->hide(mHandle); in hide()
133 return mClient->show(mHandle); in show()
[all …]
/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()
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()
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()
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/base/services/core/java/com/android/server/wm/
DViewServer.java210 private Socket mClient; field in ViewServer.ViewServerWorker
215 mClient = client; in ViewServerWorker()
224 in = new BufferedReader(new InputStreamReader(mClient.getInputStream()), 1024); in run()
242 result = writeValue(mClient, VALUE_PROTOCOL_VERSION); in run()
244 result = writeValue(mClient, VALUE_SERVER_VERSION); in run()
246 result = mWindowManager.viewServerListWindows(mClient); in run()
248 result = mWindowManager.viewServerGetFocusedWindow(mClient); in run()
252 result = mWindowManager.viewServerWindowCommand(mClient, in run()
270 if (mClient != null) { in run()
272 mClient.close(); in run()
[all …]
/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/support/documents-archive/tests/src/android/support/provider/
DIntegrationTest.java47 private ContentProviderClient mClient; field in IntegrationTest
51 mClient = getContext().getContentResolver().acquireContentProviderClient( in setUp()
53 assertNotNull(mClient); in setUp()
54 mClient.call("reset", null, null); in setUp()
59 if (mClient != null) { in tearDown()
60 mClient.release(); in tearDown()
61 mClient = null; in tearDown()
108 mClient.call("delete", null, null); in testQueryForDocument_ArchiveDescendant()
/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/tests/coretests/src/android/net/
DSntpClientTest.java62 private final SntpClient mClient = new SntpClient(); field in SntpClientTest
66 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testBasicWorkingSntpClientQuery()
72 assertFalse(mClient.requestTime("ntp.server.doesnotexist.example", 5000)); in testDnsResolutionFailure()
77 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testTimeoutFailure()
86 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testIgnoreLeapNoSync()
98 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500); in testAcceptOnlyServerAndBroadcastModes()
122 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500); in testAcceptableStrataOnly()
137 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500)); in testZeroTransmitTime()
/frameworks/base/core/java/android/printservice/
DPrintService.java252 private IPrintServiceClient mClient; field in PrintService
322 if (mClient == null) { in getActivePrintJobs()
327 List<PrintJobInfo> printJobInfos = mClient.getPrintJobInfos(); in getActivePrintJobs()
332 printJobs.add(new PrintJob(this, printJobInfos.get(i), mClient)); in getActivePrintJobs()
467 session.setObserver(mClient);
552 onRequestCancelPrintJob(new PrintJob(PrintService.this, printJobInfo, mClient));
564 onPrintJobQueued(new PrintJob(PrintService.this, printJobInfo, mClient));
572 mClient = (IPrintServiceClient) message.obj;
573 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/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DAbstractJobTest.java50 ContentProviderClient mClient; field in AbstractJobTest
66 mClient = mResolver.acquireContentProviderClient(AUTHORITY); in setUp()
67 mDocs = new DocumentsProviderHelper(AUTHORITY, mClient); in setUp()
75 mClient.release(); in tearDown()
80 mClient.call("clear", null, null); in resetStorage()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DDocumentsProviderHelper.java61 private final ContentProviderClient mClient; field in DocumentsProviderHelper
66 mClient = client; in DocumentsProviderHelper()
73 cursor = mClient.query(rootsUri, null, null, null, null); in getRoot()
92 Uri uri = DocumentsContract.createDocument(mClient, parentUri, mimeType, name); in createDocument()
119 Bundle out = mClient.call("createDocumentWithFlags", null, in); in createDocumentWithFlags()
139 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null); in writeDocument()
146 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null); in readDocument()
263 try (Cursor cursor = mClient.query(uri, null, null, null, null, null)) { in listChildren()
300 Bundle result = mClient.call("createVirtualFile", null, args); in createVirtualFile()
DActivityTest.java72 ContentProviderClient mClient; field in ActivityTest
117 mClient = mResolver.acquireUnstableContentProviderClient(getTestingProviderAuthority()); in setUp()
118 mDocsHelper = new DocumentsProviderHelper(getTestingProviderAuthority(), mClient); in setUp()
128 mClient.release(); in tearDown()
144 mClient.call("clear", null, null); in resetStorage()
/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/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/location/lib/java/com/android/location/provider/
DActivityRecognitionProviderClient.java36 private IActivityRecognitionHardwareClient.Stub mClient = field in ActivityRecognitionProviderClient
63 return mClient; in getBinder()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java75 private IAccessibilityServiceClient mClient; field in UiAutomationConnection
345 mClient = client; in registerUiTestAutomationServiceLocked()
357 manager.unregisterUiTestAutomationService(mClient); in unregisterUiTestAutomationServiceLocked()
358 mClient = null; in unregisterUiTestAutomationServiceLocked()
394 return mClient != null; in isConnectedLocked()
/frameworks/av/services/radio/
DRadioService.cpp649 : mModule(module), mClient(client), mConfig(*config), mAudio(audio), mTuner(NULL) in ModuleClient()
656 IInterface::asBinder(mClient)->linkToDeath(this); in onFirstRef()
660 if (mClient != 0) { in ~ModuleClient()
661 IInterface::asBinder(mClient)->unlinkToDeath(this); in ~ModuleClient()
662 mClient.clear(); in ~ModuleClient()
680 if (mClient != 0) { in detach()
681 IInterface::asBinder(mClient)->unlinkToDeath(this); in detach()
682 mClient.clear(); in detach()
887 client = mClient; in onCallbackEvent()

1234