/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 52 : 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->setGeometryAppliesWithResize(mHandle); in setGeometryAppliesWithResize() 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/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | RemotePlayer.java | 52 private RemotePlaybackClient mClient; field in RemotePlayer 98 return mClient.isQueuingSupported(); in isQueuingSupported() 104 mClient = new RemotePlaybackClient(mContext, route); in connect() 105 mClient.setStatusCallback(mStatusCallback); in connect() 109 + ", isRemotePlaybackSupported: " + mClient.isRemotePlaybackSupported() in connect() 110 + ", isQueuingSupported: "+ mClient.isQueuingSupported()); in connect() 116 mClient.release(); in release() 129 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() { in play() 162 if (!mClient.hasSession() || item.getRemoteItemId() == null) { in getStatus() 171 mClient.getStatus(item.getRemoteItemId(), null, new ItemActionCallback() { in getStatus() [all …]
|
/frameworks/base/core/java/android/os/ |
D | FileBridge.java | 62 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/ |
D | CameraBrowserApplication.java | 23 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()
|
D | CameraBrowser.java | 44 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()
|
D | ObjectViewer.java | 49 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()
|
D | ObjectBrowser.java | 47 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()
|
D | StorageBrowser.java | 42 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/ |
D | CursorFilter.java | 29 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/core-ui/java/android/support/v4/widget/ |
D | CursorFilter.java | 30 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/ |
D | ViewServer.java | 210 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/base/media/java/android/media/ |
D | MediaScannerConnection.java | 45 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/ |
D | IntegrationTest.java | 47 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/ |
D | WifiDisplaySessionInfo.java | 33 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/ |
D | SntpClientTest.java | 62 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/drm/java/android/drm/ |
D | DrmOutputStream.java | 47 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/core/java/android/printservice/ |
D | PrintService.java | 252 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/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
D | AbstractJobTest.java | 50 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/ |
D | ActivityTest.java | 72 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()
|
D | DocumentsProviderHelper.java | 61 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()
|
/frameworks/base/media/jni/ |
D | android_media_MediaScanner.cpp | 113 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/ |
D | SoundTriggerHwService.h | 128 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/location/lib/java/com/android/location/provider/ |
D | ActivityRecognitionProviderClient.java | 36 private IActivityRecognitionHardwareClient.Stub mClient = field in ActivityRecognitionProviderClient 63 return mClient; in getBinder()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 150 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/core/java/android/app/ |
D | UiAutomationConnection.java | 75 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()
|