Searched defs:client (Results 1 - 25 of 164) sorted by path

1234567

/frameworks/av/cmds/stagefright/
H A Dstream.cpp352 sp<MyClient> client = new MyClient; local
379 service->create(client, AUDIO_SESSION_ALLOCATE);
385 client->waitForEOS();
/frameworks/av/include/media/stagefright/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/media/libaudioclient/
H A DIAudioFlinger.cpp436 virtual void registerClient(const sp<IAudioFlingerClient>& client) argument
440 data.writeStrongBinder(IInterface::asBinder(client));
718 const sp<IEffectClient>& client,
740 data.writeStrongBinder(IInterface::asBinder(client));
1147 sp<IAudioFlingerClient> client = interface_cast<IAudioFlingerClient>( local
1149 registerClient(client);
1322 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder()); local
1333 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId,
716 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, pid_t pid, status_t *status, int *id, int *enabled) argument
H A DIAudioPolicyService.cpp659 virtual void registerClient(const sp<IAudioPolicyServiceClient>& client) argument
663 data.writeStrongBinder(IInterface::asBinder(client));
1304 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
1306 registerClient(client);
1318 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
1335 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp67 const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId) {
70 data.writeStrongBinder(IInterface::asBinder(client));
115 const sp<IRemoteDisplayClient>& client, const String8& iface)
120 data.writeStrongBinder(IInterface::asBinder(client));
144 sp<IMediaPlayerClient> client = local
147 sp<IMediaPlayer> player = create(client, audioSessionId);
191 sp<IRemoteDisplayClient> client(
193 if (client == NULL) {
198 sp<IRemoteDisplay> display(listenForRemoteDisplay(opPackageName, client, iface));
66 create( const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId) argument
114 listenForRemoteDisplay(const String16 &opPackageName, const sp<IRemoteDisplayClient>& client, const String8& iface) argument
H A DIResourceManagerService.cpp76 const sp<IResourceManagerClient> client,
82 data.writeStrongBinder(IInterface::asBinder(client));
133 sp<IResourceManagerClient> client(
135 if (client == NULL) {
140 addResource(pid, clientId, client, resources);
73 addResource( int pid, int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument
H A DMediaScanner.cpp82 const char *path, MediaScannerClient &client) {
100 client.setLocale(locale());
102 MediaScanResult result = doProcessDirectory(pathBuffer, pathRemaining, client, false);
132 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) {
162 if (doProcessDirectoryEntry(path, pathRemaining, client, noMedia, entry, fileSpot)
173 char *path, int pathRemaining, MediaScannerClient &client, bool noMedia,
212 // report the directory to the client
214 status_t status = client.scanFile(path, statbuf.st_mtime, 0,
224 client, childNoMedia);
230 status_t status = client
81 processDirectory( const char *path, MediaScannerClient &client) argument
131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument
172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp103 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
105 GET_PLAYER_TYPE_IMPL(client, url);
108 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
112 GET_PLAYER_TYPE_IMPL(client, fd, offset, length);
115 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
117 GET_PLAYER_TYPE_IMPL(client, source);
120 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument
122 GET_PLAYER_TYPE_IMPL(client, source);
173 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
205 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/,
[all...]
H A DMediaPlayerService.cpp293 ALOGV("Create new media recorder client from pid %d", pid);
297 void MediaPlayerService::removeMediaRecorderClient(const wp<MediaRecorderClient>& client) argument
300 mMediaRecorderClients.remove(client);
301 ALOGV("Delete media recorder client");
312 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, argument
319 this, pid, connId, client, audioSessionId,
322 ALOGV("Create new client(%d) from pid %d, uid %d, ", connId, pid,
354 const sp<IRemoteDisplayClient>& client, const String8& iface) {
359 return new RemoteDisplay(opPackageName, client, iface.string());
415 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destructio
352 listenForRemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient>& client, const String8& iface) argument
542 removeClient(const wp<Client>& client) argument
548 hasClient(wp<Client> client) argument
554 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId, uid_t uid) argument
1393 Client* client = static_cast<Client*>(cookie); local
1502 Antagonizer(notify_callback_f cb, void* client) argument
[all...]
H A DRemoteDisplay.cpp30 const sp<IRemoteDisplayClient> &client,
36 mSource = new WifiDisplaySource(opPackageName, mNetSession, client);
28 RemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient> &client, const char *iface) argument
/frameworks/av/media/libstagefright/
H A DACodec.cpp396 // Submit output buffers to the decoder, submit input buffers to client
993 // if we require conversion, allocate conversion buffer for client use;
5679 // these are unfilled buffers returned by client
6113 // The client wants this buffer to be rendered.
6146 // use media timestamp if client did not request a specific render timestamp
6337 OMXClient client; local
6339 if (client.connect(&trebleFlag) != OK) {
6345 sp<IOMX> omx = client.interface();
7504 // don't set vendor extension if client has not provided any of its parameters
7505 // or if client simpl
8210 OMXClient client; local
[all...]
H A DFileSource.cpp197 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
200 *client = mDrmManagerClient;
H A DMediaCodec.cpp77 static int64_t getId(const sp<IResourceManagerClient> &client) { argument
78 return (int64_t) client.get();
102 ALOGD("Wait for the client to release codec.");
169 const sp<IResourceManagerClient> &client,
175 mService->addResource(mPid, clientId, client, resources);
448 OMXClient client; local
449 if (client.connect() != OK) {
454 sp<IOMX> omx = client.interface();
1271 "(the index %zu is not owned by client)", index);
1833 // We already notify the client o
167 addResource( int64_t clientId, const sp<IResourceManagerClient> &client, const Vector<MediaResource> &resources) argument
[all...]
H A DMediaCodecList.cpp221 OMXClient client; local
222 mInitCheck = client.connect();
H A DNuCachedSource2.cpp202 // 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 DStagefrightMediaScanner.cpp59 MediaScannerClient &client) {
62 client.setLocale(locale());
63 client.beginFile();
64 MediaScanResult result = processFileInternal(path, mimeType, client);
65 client.endFile();
71 MediaScannerClient &client) {
101 status = client.setMimeType(value);
134 status = client.addStringTag(kKeyMap[i].tag, value);
57 processFile( const char *path, const char *mimeType, MediaScannerClient &client) argument
69 processFileInternal( const char *path, const char * , MediaScannerClient &client) argument
/frameworks/av/media/libstagefright/foundation/include/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp180 sp<DecryptHandle> &handle, DrmManagerClient **client) {
182 *client = mDrmManagerClient;
179 getDrmInfo( sp<DecryptHandle> &handle, DrmManagerClient **client) argument
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument
62 mSource->getDrmInfo(handle, client);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp55 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.
1163 // 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/radio/
H A DIRadioService.cpp80 const sp<IRadioClient>& client,
88 data.writeStrongBinder(IInterface::asBinder(client));
155 sp<IRadioClient> client = local
166 status_t status = attach(handle, client, configPtr, withAudio, radio);
79 attach(radio_handle_t handle, const sp<IRadioClient>& client, const struct radio_band_config *config, bool withAudio, sp<IRadio>& radio) argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp264 const MmapStreamInterface::Client& client,
277 direction, attr, config, client, deviceId, callback, interface);
285 const MmapStreamInterface::Client& client,
306 &streamType, client.clientUid,
314 client.clientPid,
315 client.clientUid,
385 sp<Client> client = mClients.valueAt(i).promote(); local
386 if (client != 0) {
387 snprintf(buffer, SIZE, " pid: %d\n", client->pid());
572 sp<Client> client local
261 openMmapStream(MmapStreamInterface::stream_direction_t direction, const audio_attributes_t *attr, audio_config_base_t *config, const MmapStreamInterface::Client& client, audio_port_handle_t *deviceId, const sp<MmapStreamCallback>& callback, sp<MmapStreamInterface>& interface) argument
282 openMmapStream(MmapStreamInterface::stream_direction_t direction, const audio_attributes_t *attr, audio_config_base_t *config, const MmapStreamInterface::Client& client, audio_port_handle_t *deviceId, const sp<MmapStreamCallback>& callback, sp<MmapStreamInterface>& interface) argument
657 sp<Client> client; local
1387 registerClient(const sp<IAudioFlingerClient>& client) argument
1523 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument
1598 sp<Client> client; local
3045 sp<Client> client = registerPid(pid); local
[all...]
H A DEffects.cpp1132 result.append("\t\t\t Pid Priority Ctrl Locked client server\n");
1156 const sp<AudioFlinger::Client>& client,
1160 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL),
1165 if (client == 0) {
1169 mCblkMemory = client->heap()->allocate(EFFECT_PARAM_BUFFER_SIZE + bufOffset);
1322 // Client destructor must run with AudioFlinger client mutex locked
1378 // particular client process: no risk to block the whole media server process or mixer
1381 // keep local copy of index in case of client corruption b/32220769
1403 // copy to local memory in case of client corruption b/32220769
1420 // verify shared memory: server index shouldn't change; client inde
1155 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument
[all...]
H A DThreads.cpp201 // Initially this heap is used to allocate client buffers for "fast" AudioRecord.
904 // Uses AID_AUDIOSERVER for wakelock. updateWakeLockUids_l() updates with client uids.
1274 const sp<AudioFlinger::Client>& client,
1345 handle = new EffectHandle(effect, client, effectClient, priority);
1589 // Updates ActiveTracks client uids to the thread wakelock.
1832 const sp<AudioFlinger::Client>& client,
1863 // client expresses a preference for FAST, but we get the final say
1946 // or the client should compute and pass in a larger buffer request.
2024 track = new Track(this, client, streamType, sampleRate, format,
2132 // buffers before playing. This is to ensure the client wil
1273 createEffect_l( const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority, audio_session_t sessionId, effect_descriptor_t *desc, int *enabled, status_t *status, bool pinned) argument
1831 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 *pFrameCount, const sp<IMemory>& sharedBuffer, audio_session_t sessionId, audio_output_flags_t *flags, pid_t tid, uid_t uid, status_t *status, audio_port_handle_t portId) argument
6577 createRecordTrack_l( const sp<AudioFlinger::Client>& client, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, audio_session_t sessionId, size_t *notificationFrames, uid_t uid, audio_input_flags_t *flags, pid_t tid, status_t *status, audio_port_handle_t portId) argument
7515 start(const MmapStreamInterface::Client& client, audio_port_handle_t *handle) argument
7608 start(const MmapStreamInterface::Client& client, audio_port_handle_t *handle) argument
[all...]
H A DTracks.cpp68 const sp<Client>& client,
82 mClient(client),
136 if (client != 0) {
137 mCblkMemory = client->heap()->allocate(size);
141 client->heap()->dump("AudioTrack");
249 // Client destructor must run with AudioFlinger client mutex locked
251 // If the client's reference count drops to zero, the associated destructor
364 const sp<Client>& client,
377 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount,
400 // 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, uid_t clientUid, bool isOut, alloc_type alloc, track_type type, audio_port_handle_t portId) argument
362 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, uid_t uid, audio_output_flags_t flags, track_type type, audio_port_handle_t portId) argument
1562 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, uid_t uid, audio_input_flags_t flags, track_type type, audio_port_handle_t portId) argument
[all...]

Completed in 246 milliseconds

1234567