/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 93 MyMtpDatabase(JNIEnv *env, jobject client); 186 MyMtpDatabase::MyMtpDatabase(JNIEnv *env, jobject client) argument 187 : mDatabase(env->NewGlobalRef(client)),
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | PrintSpoolerService.java | 1234 public void setClient(IPrintSpoolerClient client) { argument 1236 HandlerCallerCallback.MSG_SET_CLIENT, client);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 99 if (lhs.client < rhs.client) return -1; 100 if (lhs.client > rhs.client) return 1; 132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id); 141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 147 status_t setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, 150 const sp<SurfaceComposerClient>& client, cons 249 getLayerStateLocked( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id) argument 266 setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float x, float y) argument 278 setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t w, uint32_t h) argument 294 setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, int32_t z) argument 305 setFlags(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t flags, uint32_t mask) argument 319 setTransparentRegionHint( const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Region& transparentRegion) argument 331 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument 342 setLayerStack(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, uint32_t layerStack) argument 353 setMatrix(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float dsdx, float dtdx, float dsdy, float dtdy) argument 370 setCrop(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, const Rect& crop) argument 463 sp<ISurfaceComposerClient> client; local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 57 Layer::Layer(SurfaceFlinger* flinger, const sp<Client>& client, argument 81 mClientRef(client) 211 * The layer handle is just a BBinder object passed to the client 416 // NOTE: buffer can be NULL if the client never drew into this 459 // SurfaceView because the WindowManager can't know when the client 721 // the size changed, we need to ask our client to request a new buffer 758 // record the new size, form this point on, when the client request 1181 sp<Client> client(mClientRef.promote()); 1187 " client=%p\n", 1195 client [all...] |
H A D | SurfaceFlinger.cpp | 206 sp<Client> client(new Client(this)); 207 status_t err = client->initCheck(); 209 bclient = client; 1829 void SurfaceFlinger::addClientLayer(const sp<Client>& client, argument 1834 // attach this layer to the client 1835 client->attachLayer(handle, lbc); 1906 // one of our own. A malicious client could give us a NULL 1912 if (s.client != NULL) { 1913 sp<IBinder> binder = s.client->asBinder(); 1917 sp<Client> client( static_cas 1989 setClientStateLocked( const sp<Client>& client, const layer_state_t& s) argument 2052 createLayer( const String8& name, const sp<Client>& client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp) argument 2092 createNormalLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h, uint32_t flags, PixelFormat& format, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer) argument 2127 createDimLayer(const sp<Client>& client, const String8& name, uint32_t w, uint32_t h, uint32_t flags, sp<IBinder>* handle, sp<IGraphicBufferProducer>* gbp, sp<Layer>* outLayer) argument 2137 onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle) argument [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewContentsClientAdapter.java | 205 void setWebViewClient(WebViewClient client) { argument 206 if (client != null) { 207 mWebViewClient = client; 213 void setWebChromeClient(WebChromeClient client) { argument 214 mWebChromeClient = client;
|
H A D | WebViewChromium.java | 129 // The client adapter class. 1271 public void setWebViewClient(WebViewClient client) { argument 1272 mContentsClientAdapter.setWebViewClient(client); 1281 public void setWebChromeClient(WebChromeClient client) { argument 1282 mContentsClientAdapter.setWebChromeClient(client);
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 674 OMXClient client; local 682 status = client.connect(); 687 CHECK_EQ(QueryCodecs(client.interface(), kMimeTypes[k], 1029 // Connect to the OMX client 1197 // Connect to the OMX client 1417 // The OMXCodec client should expect to receive 0-length buffers
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 238 ALOGV("Create new media recorder client from pid %d", pid); 242 void MediaPlayerService::removeMediaRecorderClient(wp<MediaRecorderClient> client) argument 245 mMediaRecorderClients.remove(client); 246 ALOGV("Delete media recorder client"); 257 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, argument 264 this, pid, connId, client, audioSessionId, 267 ALOGV("Create new client(%d) from pid %d, uid %d, ", connId, pid, 301 const sp<IRemoteDisplayClient>& client, const String8& iface) { 306 return new RemoteDisplay(client, iface.string()); 398 result.append(" No media recorder client\ 300 listenForRemoteDisplay( const sp<IRemoteDisplayClient>& client, const String8& iface) argument 494 removeClient(wp<Client> client) argument 500 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, int audioSessionId, uid_t uid) argument 1084 Client* client = static_cast<Client*>(cookie); local 1147 Antagonizer(notify_callback_f cb, void* client) argument [all...] |
H A D | StagefrightRecorder.cpp | 90 // The client side of mediaserver asks it to creat a SurfaceMediaSource 91 // and return a interface reference. The client side will use that 859 OMXClient client; local 860 CHECK_EQ(client.connect(), (status_t)OK); 862 OMXCodec::Create(client.interface(), encMeta, 1267 // to the client side when queried 1418 OMXClient client; local 1419 CHECK_EQ(client.connect(), (status_t)OK); 1434 client.interface(), enc_meta,
|
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 64 const sp<Client>& client, 74 mClient(client), 91 // client == 0 implies sharedBuffer == 0 92 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); 104 if (client != 0) { 105 mCblkMemory = client->heap()->allocate(size); 111 client->heap()->dump("AudioTrack"); 175 // If the client's reference count drops to zero, the associated destructor 308 const sp<Client>& client, 317 : TrackBase(thread, client, sampleRat 62 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, bool isOut) argument 306 Track( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t flags) argument 957 create( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument 975 TimedTrack( PlaybackThread *thread, const sp<Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId) argument 1734 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, int sessionId) argument [all...] |
H A D | AudioFlinger.cpp | 260 sp<Client> client = mClients.valueAt(i).promote(); local 261 if (client != 0) { 262 snprintf(buffer, SIZE, " pid: %d\n", client->pid()); 395 sp<Client> client = mClients.valueFor(pid).promote(); local 396 if (client == 0) { 397 client = new Client(this, pid); 398 mClients.add(pid, client); 401 return client; 455 sp<Client> client; local 459 // client AudioTrac 1058 registerClient(const sp<IAudioFlingerClient>& client) argument 1200 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument 1237 sp<Client> client; local 2236 sp<Client> client = registerPid_l(pid); local [all...] |
H A D | Threads.cpp | 136 // IAudioFlinger::createTrack() reports back to client the total size of shared memory area 137 // for the track. The client then sub-divides this into smaller buffers for its use. 138 // Currently the client uses double-buffering by default, but doesn't tell us about that. 139 // So for now we just assume that client is double-buffered. 140 // FIXME It would be better for client to tell AudioFlinger whether it wants double-buffering or 142 // See the client's minBufCount and mNotificationFramesAct calculations for details. 710 const sp<AudioFlinger::Client>& client, 805 handle = new EffectHandle(effect, client, effectClient, priority); 1153 const sp<AudioFlinger::Client>& client, 1170 // client expresse 709 createEffect_l( const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority, int sessionId, effect_descriptor_t *desc, int *enabled, status_t *status ) argument 1152 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, status_t *status) argument 4578 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, int sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, status_t *status) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 216 public void setWebViewClient(WebViewClient client); argument 220 public void setWebChromeClient(WebChromeClient client); argument
|
H A D | WebView.java | 1560 * @param client an implementation of WebViewClient 1562 public void setWebViewClient(WebViewClient client) { argument 1564 mProvider.setWebViewClient(client); 1584 * @param client an implementation of WebChromeClient 1586 public void setWebChromeClient(WebChromeClient client) { argument 1588 mProvider.setWebChromeClient(client);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 72 * - the processDirectory() JNI method wraps the provided mediascanner client in a native 1816 private native void processDirectory(String path, MediaScannerClient client); argument 1817 private native void processFile(String path, String mimeType, MediaScannerClient client); argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 647 // Don't modify the client's object! 834 // Don't modify the client's object! 1482 // the client said not to do anything if that 1577 // We didn't do anything... but it was needed (a.k.a., client 1623 // the client said not to do anything if that 1794 // in the client where it can be constructed with a 2455 String prefix, String label, boolean complete, boolean brief, boolean client, 2511 if (client && r.app != null && r.app.thread != null) { 2454 dumpHistoryList(FileDescriptor fd, PrintWriter pw, List<ActivityRecord> list, String prefix, String label, boolean complete, boolean brief, boolean client, String dumpPackage, boolean needNL, String header1, String header2) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | CameraStreamer.java | 108 public void registerClient(FrameClient client) { argument 111 clientTargets.add(client); 112 mClients.add(client); 113 onRegisterClient(client, context); 116 public void unregisterClient(FrameClient client) { argument 119 clientTargets.remove(client); 123 mClients.remove(client); 150 protected void onRegisterClient(FrameClient client, EGLContext context) { argument 256 for (FrameClient client : mClients) { 257 client 313 onRegisterClient(FrameClient client, EGLContext context) argument 1775 registerClient(FrameClient client) argument 1783 unregisterClient(FrameClient client) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 262 // Submit output buffers to the decoder, submit input buffers to client 2668 // We need to reconnect to the ANativeWindow as a CPU client to ensure that 3072 /* these are unfilled buffers returned by client */ 3398 // The client wants this buffer to be rendered. 3550 OMXClient client; local 3551 CHECK_EQ(client.connect(), (status_t)OK); 3553 sp<IOMX> omx = client.interface();
|
/frameworks/base/services/java/com/android/server/ |
H A D | InputMethodManagerService.java | 204 final ClientState client; field in class:InputMethodManagerService.SessionState 212 return "SessionState{uid " + client.uid + " pid " + client.pid 223 client = _client; 231 final IInputMethodClient client; field in class:InputMethodManagerService.ClientState 249 client = _client; 277 * The client that is currently bound to an input method. 287 * The input context last provided by the current client. 292 * The attributes last provided by the current client. 319 * Set if the client ha 998 addClient(IInputMethodClient client, IInputContext inputContext, int uid, int pid) argument 1010 removeClient(IInputMethodClient client) argument 1097 startInputLocked(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, int controlFlags) argument 1242 startInput(IInputMethodClient client, IInputContext inputContext, EditorInfo attribute, int controlFlags) argument 1258 finishInput(IInputMethodClient client) argument 1717 showSoftInput(IInputMethodClient client, int flags, ResultReceiver resultReceiver) argument 1799 hideSoftInput(IInputMethodClient client, int flags, ResultReceiver resultReceiver) argument 1864 windowGainedFocus(IInputMethodClient client, IBinder windowToken, int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, IInputContext inputContext) argument 2017 showInputMethodPickerFromClient(IInputMethodClient client) argument 2058 showInputMethodAndSubtypeEnablerFromClient( IInputMethodClient client, String inputMethodId) argument [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 355 public int addClient(IAccessibilityManagerClient client, int userId) { argument 359 // If the client is from a process that runs across users such as 364 mGlobalClients.register(client); 366 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid()); 370 userState.mClients.register(client); 371 // If this client is not for the current user we do not 373 // We will send the state to the client on a user switch. 375 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid() 699 AccessibilityInteractionClient client = AccessibilityInteractionClient.getInstance(); 700 client [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 3088 public final ProviderClientRecord client; field in class:ActivityThread.ProviderRefCount 3102 client = inClient; 3111 * than our client -- for the server, stop means to save state and give 3113 * For the client, we want to call onStop()/onStart() to indicate when 4602 // There was a race! Some other client managed to acquire 4610 // More complicated race!! Some client managed to acquire the 4663 // We found out about this due to execution in our client 4830 ProviderClientRecord client = installProviderAuthoritiesLocked( 4833 prc = new ProviderRefCount(holder, client, 1000, 1000); 4836 ? new ProviderRefCount(holder, client, [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 360 * Windows that are being resized. Used so we can tell the client about 899 final IWindow client = win.mClient; 947 if (localLOGV) Slog.v(TAG, "Figuring out where to add app window " + client.asBinder() 1824 // First, make sure the client has the current visibility 2101 public int addWindow(Session session, IWindow client, int seq, argument 2133 if (mWindowMap.containsKey(client.asBinder())) { 2134 Slog.w(TAG, "Window " + client + " is already added"); 2220 win = new WindowState(this, session, client, token, 2225 Slog.w(TAG, "Adding window client " + client 2361 removeWindow(Session session, IWindow client) argument 2589 setTransparentRegionWindow(Session session, IWindow client, Region region) argument 2603 setInsetsWindow(Session session, IWindow client, int touchableInsets, Rect contentInsets, Rect visibleInsets, Region touchableRegion) argument 2630 getWindowDisplayFrame(Session session, IWindow client, Rect outDisplayFrame) argument 2739 relayoutWindow(Session session, IWindow client, int seq, WindowManager.LayoutParams attrs, int requestedWidth, int requestedHeight, int viewVisibility, int flags, Rect outFrame, Rect outOverscanInsets, Rect outContentInsets, Rect outVisibleInsets, Configuration outConfig, Surface outSurface) argument 3049 performDeferredDestroyWindow(Session session, IWindow client) argument 3065 outOfMemoryWindow(Session session, IWindow client) argument 3081 finishDrawingWindow(Session session, IWindow client) argument 6221 viewServerListWindows(Socket client) argument 6279 viewServerGetFocusedWindow(Socket client) argument 6337 viewServerWindowCommand(Socket client, String command, String parameters) argument 7533 openSession(IInputMethodClient client, IInputContext inputContext) argument 7542 inputMethodClientHasFocus(IInputMethodClient client) argument 7886 windowForClientLocked(Session session, IWindow client, boolean throwOnError) argument 7891 windowForClientLocked(Session session, IBinder client, boolean throwOnError) argument [all...] |