/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
H A D | CopyJob.java | 557 throw new ResourceException("Failed to obtain the client for %s.", 573 ContentProviderClient client, Uri uri) throws ResourceException { 585 cursor = client.query(queryUri, queryColumns, null, null, null); 592 result += calculateFileSizesRecursively(client, dirUri); 572 calculateFileSizesRecursively( ContentProviderClient client, Uri uri) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeIInputMethodManager.java | 229 IInputMethodClient client, IBinder windowToken, int controlFlags, int softInputMode, 227 startInputOrWindowGainedFocus( int startInputReason, IInputMethodClient client, IBinder windowToken, int controlFlags, int softInputMode, int windowFlags, EditorInfo attribute, IInputContext inputContext, int missingMethodFlags) argument
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 105 sp<ISurfaceComposerClient> client; member in struct:android::ComposerState
|
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 49 const sp<SurfaceComposerClient>& client, 52 : mClient(client), mHandle(handle), mGraphicBufferProducer(gbp) 79 // that a client living in the same process still holds references which 182 const sp<SurfaceComposerClient>& client(mClient); 183 return client->clearLayerFrameStats(mHandle); 189 const sp<SurfaceComposerClient>& client(mClient); 190 return client->getLayerFrameStats(mHandle, outStats); 196 ALOGE("invalid handle (%p) or client (%p)", 48 SurfaceControl( const sp<SurfaceComposerClient>& client, const sp<IBinder>& handle, const sp<IGraphicBufferProducer>& gbp) argument
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMapBmessage.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMapMessage.java | 17 package android.bluetooth.client.map; 18 import android.bluetooth.client.map.utils.ObexTime;
|
H A D | BluetoothMasRequest.java | 17 package android.bluetooth.client.map;
|
H A D | BluetoothMasClient.java | 17 package android.bluetooth.client.map; 27 import android.bluetooth.client.map.BluetoothMasRequestSetMessageStatus.StatusIndicator; 28 import android.bluetooth.client.map.utils.ObexTime; 284 /** device associated with client */ 287 /** MAS instance associated with client */ 313 public SessionHandler(BluetoothMasClient client) { argument 316 mClient = new WeakReference<BluetoothMasClient>(client); 322 BluetoothMasClient client = mClient.get(); 323 if (client == null) { 330 client [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | IntRangeManagerTest.java | 607 TestIntRangeManager testManager, int startId, int endId, String client) { 610 assertTrue("enabling range", testManager.enableRange(startId, endId, client)); 606 verifyAddChannel( TestIntRangeManager testManager, int startId, int endId, String client) argument
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 348 sp<MyClient> client = new MyClient; local 377 service->create(client, AUDIO_SESSION_ALLOCATE); 383 client->waitForEOS();
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 228 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client); 258 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 261 * Return a vector of active ClientDescriptors that prevent this client from being added. 264 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 289 * Block until the given client is no longer in the active clients list, or the timeout 295 status_t waitUntilRemoved(const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, 299 * Set the current listener for client add/remove events. 309 * The onClientRemoved method will be called when the client has been removed or evicted 311 * method will be called when the client has been added to the ClientManager that this 324 * vector of ClientDescriptors that are higher priority than the incoming client an 372 wouldEvictLocked( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client, bool returnIncompatibleClients) const argument 465 addAndEvict( const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) argument 582 waitUntilRemoved( const std::shared_ptr<ClientDescriptor<KEY, VALUE>> client, nsecs_t timeout) const argument [all...] |
/frameworks/av/services/mediaresourcemanager/ |
H A D | ResourceManagerService.cpp | 79 const sp<IResourceManagerClient> client, 88 info.client = client; 154 snprintf(buffer, SIZE, " Name: %s\n", infos[j].client->getName().string()); 202 const sp<IResourceManagerClient> client, 214 ResourceInfo& info = getResourceInfoForEdit(clientId, client, infos); 246 ALOGV("didn't find client"); 255 sp<IResourceManagerClient> client; local 256 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) { 257 clients->push_back(client); 77 getResourceInfoForEdit( int64_t clientId, const sp<IResourceManagerClient> client, ResourceInfos& infos) argument 199 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument 402 getLowestPriorityBiggestClient_l( int callingPid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument 474 getBiggestClient_l( int pid, MediaResource::Type type, sp<IResourceManagerClient> *client) argument [all...] |
/frameworks/av/services/mediaresourcemanager/test/ |
H A D | ResourceManagerService_test.cpp | 32 static int64_t getId(sp<IResourceManagerClient> client) { argument 33 return (int64_t) client.get(); 60 sp<IResourceManagerClient> client(this); 61 mService->removeResource(mPid, (int64_t) client.get()); 118 static void expectEqResourceInfo(const ResourceInfo &info, sp<IResourceManagerClient> client, argument 120 EXPECT_EQ(client, info.client); 140 // pid priority client type number 234 EXPECT_EQ(mTestClient3, infos2[0].client); 440 // clean up client 447 sp<IResourceManagerClient> client; local 486 sp<IResourceManagerClient> client; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 111 MyMediaScannerClient(JNIEnv *env, jobject client) argument 113 mClient(env->NewGlobalRef(client)), 240 JNIEnv *env, jobject thiz, jstring path, jobject client) 259 MyMediaScannerClient myClient(env, client); 270 jstring mimeType, jobject client) 299 MyMediaScannerClient myClient(env, client); 239 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 268 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 215 public void setWebViewClient(WebViewClient client) { argument 221 public void setWebChromeClient(WebChromeClient client) { argument
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 202 // and we are not guaranteeing support for client-specified cache 684 void NuCachedSource2::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 685 mSource->getDrmInfo(handle, client);
|
H A D | MediaCodecList.cpp | 194 OMXClient client; local 195 mInitCheck = client.connect(); 199 mOMX = client.interface();
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.h | 212 // Return the package name for this client 215 // Notify client about a fatal error 219 // Get the UID of the application client using this 222 // Get the PID of the application client using this 225 // Check what API level is used for this client. This is used to determine which 268 OpsCallback(wp<BasicClient> client); 292 virtual status_t connect(const sp<hardware::ICameraClient>& client) = 0; 326 // return our camera client 338 // Check what API level is used for this client. This is used to determine which 342 // Convert client fro 835 sp<CLIENT> client = nullptr; local [all...] |
/frameworks/av/services/radio/ |
H A D | RadioService.cpp | 120 const sp<IRadioClient>& client, 129 if (client == 0) { 146 radio = module->addClient(client, config, withAudio); 402 sp<RadioService::ModuleClient> RadioService::Module::addClient(const sp<IRadioClient>& client, argument 412 if (mModuleClients[i]->client() == client) { 413 // client already connected: reject 417 moduleClient = new ModuleClient(this, client, config, audio); 431 // If another client is preempted, it is notified by a callback with RADIO_EVENT_CONTROL 433 // - If the newly connected client request 119 attach(radio_handle_t handle, const sp<IRadioClient>& client, const struct radio_band_config *config, bool withAudio, sp<IRadio>& radio) argument 645 ModuleClient(const sp<Module>& module, const sp<IRadioClient>& client, const struct radio_band_config *config, bool audio) argument 873 sp<IRadioClient> client; local [all...] |
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.cpp | 90 sp<ISoundTriggerClient> client; local 91 sp<Module> module = new Module(this, dev, descriptor, client); 127 const sp<ISoundTriggerClient>& client, 137 if (client == 0) { 146 module->setClient(client); 147 IInterface::asBinder(client)->linkToDeath(module); 494 const sp<ISoundTriggerClient>& client) 496 mClient(client), mServiceState(SOUND_TRIGGER_STATE_NO_INIT) 690 sp<ISoundTriggerClient> client; local 705 client 126 attach(const sound_trigger_module_handle_t handle, const sp<ISoundTriggerClient>& client, sp<ISoundTrigger>& moduleInterface) argument 491 Module(const sp<SoundTriggerHwService>& service, sound_trigger_hw_device* hwDevice, sound_trigger_module_descriptor descriptor, const sp<ISoundTriggerClient>& client) argument 714 sp<ISoundTriggerClient> client; local 729 sp<ISoundTriggerClient> client; local [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmManagerClient.java | 82 * @param client The <code>DrmManagerClient</code> instance. 86 public void onInfo(DrmManagerClient client, DrmInfoEvent event); argument 97 * @param client The <code>DrmManagerClient</code> instance. 101 public void onEvent(DrmManagerClient client, DrmEvent event); argument 111 * @param client The <code>DrmManagerClient</code> instance. 114 public void onError(DrmManagerClient client, DrmErrorEvent event); argument
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
H A D | MidiService.java | 130 // Binder token for this client 132 // This client's UID 134 // This client's PID 136 // List of all receivers for this client 139 // List of all device connections for this client 192 // ignore private devices that our client cannot access 206 // ignore private devices that our client cannot access 220 // ignore private devices that our client cannot access 269 Client client = mClients.get(token); 270 if (client 530 DeviceConnection(Device device, Client client, IMidiDeviceOpenCallback callback) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 55 const sp<IRemoteDisplayClient> &client, 60 mClient(client), 229 ALOGW("A client tried to connect, but we already " 238 CHECK(msg->findString("client-ip", &mClientInfo.mRemoteIP)); 254 ALOGI("We now have a client (%d) connected.", sessionID); 484 // Obsolete event, client is already gone. 1165 // We only support a single playback session per client. 52 WifiDisplaySource( const String16 &opPackageName, const sp<ANetworkSession> &netSession, const sp<IRemoteDisplayClient> &client, const char *path) argument
|
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 68 const sp<Client>& client, 82 mClient(client), 121 if (client != 0) { 122 mCblkMemory = client->heap()->allocate(size); 126 client->heap()->dump("AudioTrack"); 233 // Client destructor must run with AudioFlinger client mutex locked 235 // If the client's reference count drops to zero, the associated destructor 338 const sp<Client>& client, 350 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount, 373 // client 66 TrackBase( ThreadBase *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, audio_session_t sessionId, int clientUid, IAudioFlinger::track_flags_t flags, bool isOut, alloc_type alloc, track_type type) argument 336 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, void *buffer, const sp<IMemory>& sharedBuffer, audio_session_t sessionId, int uid, IAudioFlinger::track_flags_t flags, track_type type) argument 1461 RecordTrack( RecordThread *thread, const sp<Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, void *buffer, audio_session_t sessionId, int uid, IAudioFlinger::track_flags_t flags, track_type type) argument [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyService.cpp | 148 // A notification client is always registered by AudioSystem when the client process 150 void AudioPolicyService::registerClient(const sp<IAudioPolicyServiceClient>& client) argument 152 if (client == 0) { 153 ALOGW("%s got NULL client", __FUNCTION__); 161 client, 163 ALOGV("registerClient() client %p, uid %d", client.get(), uid); 167 sp<IBinder> binder = IInterface::asBinder(client); 183 // removeNotificationClient() is called when the client proces 279 NotificationClient(const sp<AudioPolicyService>& service, const sp<IAudioPolicyServiceClient>& client, uid_t uid) argument [all...] |