Home
last modified time | relevance | path

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

12

/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.java48 private MtpClient mClient; field in ObjectViewer
96 mClient = ((CameraBrowserApplication)getApplication()).getMtpClient(); in onCreate()
117 MtpObjectInfo info = mClient.getObjectInfo(mDeviceName, mObjectID); in onResume()
151 byte[] thumbnail = mClient.getThumbnail(mDeviceName, info.getObjectHandle()); in onResume()
176 if (mClient.importFile(mDeviceName, mObjectID, dest.getAbsolutePath())) { in importObject()
187 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()
181 final OnScanCompletedListener mClient; field in MediaScannerConnection.ClientProxy
188 mClient = client; in ClientProxy()
196 if (mClient != null) { in onScanCompleted()
197 mClient.onScanCompleted(path, uri); in onScanCompleted()
247 if (mService != null && mClient != null) { in onServiceConnected()
248 mClient.onMediaScannerConnected(); in onServiceConnected()
/frameworks/base/services/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.java197 final IBinder winBinder = newWin.mClient.asBinder(); in sendDragStartedLw()
210 newWin.mClient.dispatchDragEvent(event); in sendDragStartedLw()
251 ws.mClient.dispatchDragEvent(evt); in broadcastDragEndedLw()
298 final IBinder touchedBinder = touchedWin.mClient.asBinder(); in notifyMoveLw()
314 mTargetWindow.mClient.dispatchDragEvent(evt); in notifyMoveLw()
325 touchedWin.mClient.dispatchDragEvent(evt); in notifyMoveLw()
352 final IBinder token = touchedWin.mClient.asBinder(); in notifyDropLw()
356 touchedWin.mClient.dispatchDragEvent(evt); in notifyDropLw()
DSession.java52 final IInputMethodClient mClient; field in Session
64 mClient = client; in Session()
126 mService.mInputMethodManager.removeClient(mClient); in binderDied()
131 mClient.asBinder().unlinkToDeath(this, 0); in binderDied()
/frameworks/base/libs/gui/
DSurface.cpp52 : mClient(client), mSurface(surface), in SurfaceControl()
65 mClient->destroySurface(mToken); in destroy()
70 mClient.clear(); in destroy()
97 const sp<SurfaceComposerClient>& client(mClient); in setLayer()
103 const sp<SurfaceComposerClient>& client(mClient); in setPosition()
109 const sp<SurfaceComposerClient>& client(mClient); in setSize()
115 const sp<SurfaceComposerClient>& client(mClient); in hide()
121 const sp<SurfaceComposerClient>& client(mClient); in show()
127 const sp<SurfaceComposerClient>& client(mClient); in freeze()
133 const sp<SurfaceComposerClient>& client(mClient); in unfreeze()
[all …]
DSurfaceComposerClient.cpp157 s.client = client->mClient; in getLayerStateLocked()
288 mClient = conn; in onFirstRef()
303 return (mClient != 0) ? mClient->asBinder() : 0; in connection()
317 if (mClient != 0) { in dispose()
318 client = mClient; // hold ref while lock is held in dispose()
319 mClient.clear(); in dispose()
352 sp<ISurface> surface = mClient->createSurface(&data, name, in createSurface()
364 status_t err = mClient->destroySurface(sid); in destroySurface()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp64 mClient(env->NewGlobalRef(client)), in MyMediaScannerClient()
96 mEnv->DeleteGlobalRef(mClient); in ~MyMediaScannerClient()
111 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified, in scanFile()
133 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag()
149 mEnv->CallVoidMethod(mClient, mSetMimeTypeMethodID, mimeTypeStr); in setMimeType()
157 jobject mClient; member in MyMediaScannerClient
/frameworks/base/media/tests/omxjpegdecoder/
Domx_jpeg_decoder.cpp91 status_t err = mClient.connect(); in OmxJpegImageDecoder()
96 mClient.disconnect(); in ~OmxJpegImageDecoder()
120 sp<MediaSource> decoder = getDecoder(&mClient, source); in onDecode()
Domx_jpeg_decoder.h58 OMXClient mClient; variable
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java398 final IInputMethodClient.Stub mClient = new IInputMethodClient.Stub() { field in InputMethodManager
486 return mClient; in getClient()
645 mService.finishInput(mClient); in finishInputLocked()
801 return mService.showSoftInput(mClient, flags, resultReceiver); in showSoftInput()
812 mService.showSoftInput(mClient, flags, resultReceiver); in showSoftInputUnchecked()
870 return mService.hideSoftInput(mClient, flags, resultReceiver); in hideSoftInputFromWindow()
1027 InputBindResult res = mService.startInput(mClient, in startInputInner()
1167 mService.hideSoftInput(mClient, HIDE_NOT_ALWAYS, null); in closeCurrentInput()
1197 mService.windowGainedFocus(mClient, rootView.getWindowToken(), in onWindowFocus()
1473 mService.showInputMethodPickerFromClient(mClient); in showInputMethodPicker()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java107 final IAccessibilityManagerClient.Stub mClient = new IAccessibilityManagerClient.Stub() { field in AccessibilityManager
160 final int stateFlags = mService.addClient(mClient); in AccessibilityManager()
198 return (IAccessibilityManagerClient) mClient.asBinder(); in getClient()
/frameworks/base/core/java/android/view/
DSurfaceSession.java47 private int mClient; field in SurfaceSession
/frameworks/base/services/camera/libcameraservice/
DCameraService.cpp171 if (mClient[cameraId] != 0) { in connect()
172 client = mClient[cameraId].promote(); in connect()
184 mClient[cameraId].clear(); in connect()
209 mClient[cameraId] = client; in connect()
227 if (mClient[i] == 0) continue; in removeClient()
231 client = mClient[i].promote(); in removeClient()
234 mClient[i].clear(); in removeClient()
241 mClient[i].clear(); in removeClient()
251 return mClient[cameraId].promote(); in getClientById()
1272 sp<Client> client = mClient[i].promote(); in dump()
/frameworks/base/include/surfaceflinger/
DSurface.h55 return mToken>=0 && mClient!=0; in isValid()
101 sp<SurfaceComposerClient> mClient; variable
/frameworks/base/media/libstagefright/include/
DStagefrightMetadataRetriever.h46 OMXClient mClient;
/frameworks/base/media/libstagefright/
DStagefrightMetadataRetriever.cpp40 CHECK_EQ(mClient.connect(), OK); in StagefrightMetadataRetriever()
49 mClient.disconnect(); in ~StagefrightMetadataRetriever()
340 &mClient, trackMeta, source, OMXCodec::kPreferSoftwareCodecs, in getFrameAtTime()
347 frame = extractVideoFrameWithCodecFlags(&mClient, trackMeta, source, 0, in getFrameAtTime()
/frameworks/media/libvideoeditor/vss/stagefrightshells/inc/
DVideoEditorVideoDecoder_internal.h79 OMXClient mClient; /**< OMX Client session instance. */ member
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorAudioEncoder.cpp231 OMXClient mClient; member
318 pEncoderContext->mClient.disconnect(); in VideoEditorAudioEncoder_close()
439 result = pEncoderContext->mClient.connect(); in VideoEditorAudioEncoder_open()
447 pEncoderContext->mClient.interface(), encoderMetadata, true, in VideoEditorAudioEncoder_open()

12