/frameworks/av/media/libmedia/ |
H A D | IAudioFlinger.cpp | 432 virtual void registerClient(const sp<IAudioFlingerClient>& client) argument 436 data.writeStrongBinder(IInterface::asBinder(client)); 714 const sp<IEffectClient>& client, 735 data.writeStrongBinder(IInterface::asBinder(client)); 1117 sp<IAudioFlingerClient> client = interface_cast<IAudioFlingerClient>( local 1119 registerClient(client); 1292 sp<IEffectClient> client = interface_cast<IEffectClient>(data.readStrongBinder()); local 1301 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId, 712 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, status_t *status, int *id, int *enabled) argument
|
H A D | IAudioPolicyService.cpp | 646 virtual void registerClient(const sp<IAudioPolicyServiceClient>& client) argument 650 data.writeStrongBinder(IInterface::asBinder(client)); 1265 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local 1267 registerClient(client); 1279 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local 1296 sp<IAudioPolicyServiceClient> client = interface_cast<IAudioPolicyServiceClient>( local
|
H A D | IMediaPlayerService.cpp | 67 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 D | IResourceManagerService.cpp | 76 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 D | MediaScanner.cpp | 82 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 D | MediaPlayerFactory.cpp | 104 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument 106 GET_PLAYER_TYPE_IMPL(client, url); 109 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument 113 GET_PLAYER_TYPE_IMPL(client, fd, offset, length); 116 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument 118 GET_PLAYER_TYPE_IMPL(client, source); 121 player_type MediaPlayerFactory::getPlayerType(const sp<IMediaPlayer>& client, argument 123 GET_PLAYER_TYPE_IMPL(client, source); 174 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, 206 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, [all...] |
H A D | MediaPlayerFactory.h | 32 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, 36 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, 42 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, 46 virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, 56 static player_type getPlayerType(const sp<IMediaPlayer>& client, 58 static player_type getPlayerType(const sp<IMediaPlayer>& client, 62 static player_type getPlayerType(const sp<IMediaPlayer>& client, 64 static player_type getPlayerType(const sp<IMediaPlayer>& client,
|
H A D | MediaPlayerService.cpp | 305 ALOGV("Create new media recorder client from pid %d", pid); 309 void MediaPlayerService::removeMediaRecorderClient(wp<MediaRecorderClient> client) argument 312 mMediaRecorderClients.remove(client); 313 ALOGV("Delete media recorder client"); 324 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, argument 331 this, pid, connId, client, audioSessionId, 334 ALOGV("Create new client(%d) from pid %d, uid %d, ", connId, pid, 366 const sp<IRemoteDisplayClient>& client, const String8& iface) { 371 return new RemoteDisplay(opPackageName, client, iface.string()); 427 SortedVector< sp<Client> > clients; //to serialise the mutex unlock & client destructio 364 listenForRemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient>& client, const String8& iface) argument 554 removeClient(wp<Client> client) argument 560 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, audio_session_t audioSessionId, uid_t uid) argument 1270 Client* client = static_cast<Client*>(cookie); local 1336 Antagonizer(notify_callback_f cb, void* client) argument [all...] |
H A D | MediaPlayerService.h | 52 Antagonizer(notify_callback_f cb, void* client); 214 void removeMediaRecorderClient(wp<MediaRecorderClient> client); 217 virtual sp<IMediaPlayer> create(const sp<IMediaPlayerClient>& client, 225 const sp<IRemoteDisplayClient>& client, const String8& iface); 228 void removeClient(wp<Client> client); 365 const sp<IMediaPlayerClient>& client,
|
H A D | MediaRecorderClient.cpp | 317 wp<MediaRecorderClient> client(this); 318 mMediaPlayerService->removeMediaRecorderClient(client);
|
H A D | RemoteDisplay.cpp | 30 const sp<IRemoteDisplayClient> &client, 36 mSource = new WifiDisplaySource(opPackageName, mNetSession, client); 28 RemoteDisplay( const String16 &opPackageName, const sp<IRemoteDisplayClient> &client, const char *iface) argument
|
H A D | RemoteDisplay.h | 37 const sp<IRemoteDisplayClient> &client,
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 365 // Submit output buffers to the decoder, submit input buffers to client 910 // if we require conversion, allocate conversion buffer for client use; 5671 /* these are unfilled buffers returned by client */ 6149 // The client wants this buffer to be rendered. 6161 // use media timestamp if client did not request a specific render timestamp 6353 OMXClient client; local 6354 if (client.connect() != OK) { 6359 sp<IOMX> omx = client.interface(); 7821 OMXClient client; local 7822 status_t err = client [all...] |
H A D | FileSource.cpp | 195 void FileSource::getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 198 *client = mDrmManagerClient;
|
H A D | MediaCodec.cpp | 56 static int64_t getId(sp<IResourceManagerClient> client) { argument 57 return (int64_t) client.get(); 78 ALOGD("Wait for the client to release codec."); 145 const sp<IResourceManagerClient> client, 151 mService->addResource(mPid, clientId, client, resources); 213 OMXClient client; local 214 CHECK_EQ(client.connect(), (status_t)OK); 215 sp<IOMX> omx = client.interface(); 951 "(the index %zu is not owned by client)", index); 1590 // We already notify the client o 143 addResource( int64_t clientId, const sp<IResourceManagerClient> client, const Vector<MediaResource> &resources) argument [all...] |
H A D | MediaCodecList.cpp | 194 OMXClient client; local 195 mInitCheck = client.connect(); 199 mOMX = client.interface();
|
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 | StagefrightMediaScanner.cpp | 59 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); 133 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/http/ |
H A D | MediaHTTP.cpp | 176 sp<DecryptHandle> &handle, DrmManagerClient **client) { 178 *client = mDrmManagerClient; 175 getDrmInfo( sp<DecryptHandle> &handle, DrmManagerClient **client) argument
|
/frameworks/av/media/libstagefright/include/ |
H A D | NuCachedSource2.h | 46 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
|
H A D | ThrottledSource.h | 61 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client) { argument 62 mSource->getDrmInfo(handle, client);
|
/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
|
H A D | WifiDisplaySource.h | 45 const sp<IRemoteDisplayClient> &client,
|
/frameworks/av/radio/ |
H A D | IRadioService.cpp | 81 const sp<IRadioClient>& client, 89 data.writeStrongBinder(IInterface::asBinder(client)); 154 sp<IRadioClient> client = local 165 status_t status = attach(handle, client, configPtr, withAudio, radio); 80 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 D | AudioFlinger.cpp | 326 sp<Client> client = mClients.valueAt(i).promote(); local 327 if (client != 0) { 328 snprintf(buffer, SIZE, " pid: %d\n", client->pid()); 504 sp<Client> client = mClients.valueFor(pid).promote(); local 505 if (client == 0) { 506 client = new Client(this, pid); 507 mClients.add(pid, client); 510 return client; 590 sp<Client> client; local 603 // client AudioTrac 1307 registerClient(const sp<IAudioFlingerClient>& client) argument 1439 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument 1478 sp<Client> client; local 2761 sp<Client> client = registerPid(pid); local [all...] |