Searched refs:name (Results 76 - 100 of 3167) sorted by path

1234567891011>>

/frameworks/av/media/libaudiohal/2.0/
H A DDevicesFactoryHalHybrid.cpp34 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument
35 if (mHidlFactory != 0 && strcmp(AUDIO_HARDWARE_MODULE_ID_A2DP, name) != 0 &&
36 strcmp(AUDIO_HARDWARE_MODULE_ID_HEARING_AID, name) != 0) {
37 return mHidlFactory->openDevice(name, device);
39 return mLocalFactory->openDevice(name, device);
H A DDevicesFactoryHalHybrid.h29 // Opens a device with the specified name. To close the device, it is
31 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DDevicesFactoryHalLocal.cpp60 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument
62 status_t rc = load_audio_interface(name, &dev);
H A DDevicesFactoryHalLocal.h31 // Opens a device with the specified name. To close the device, it is
33 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DEffectHalHidl.cpp66 memcpy(halDescriptor->name, descriptor.name.data(), descriptor.name.size());
/frameworks/av/media/libaudiohal/4.0/
H A DDevicesFactoryHalHidl.cpp55 status_t DevicesFactoryHalHidl::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument
59 name,
H A DDevicesFactoryHalHidl.h35 // Opens a device with the specified name. To close the device, it is
37 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DDevicesFactoryHalHybrid.cpp35 status_t DevicesFactoryHalHybrid::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument
36 if (mHidlFactory != 0 && strcmp(AUDIO_HARDWARE_MODULE_ID_A2DP, name) != 0 &&
37 strcmp(AUDIO_HARDWARE_MODULE_ID_HEARING_AID, name) != 0) {
38 return mHidlFactory->openDevice(name, device);
40 return mLocalFactory->openDevice(name, device);
H A DDevicesFactoryHalLocal.cpp61 status_t DevicesFactoryHalLocal::openDevice(const char *name, sp<DeviceHalInterface> *device) { argument
63 status_t rc = load_audio_interface(name, &dev);
H A DDevicesFactoryHalLocal.h32 // Opens a device with the specified name. To close the device, it is
34 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
H A DEffectHalHidl.cpp69 memcpy(halDescriptor->name, descriptor.name.data(), descriptor.name.size());
/frameworks/av/media/libaudiohal/4.0/include/libaudiohal/4.0/
H A DDevicesFactoryHalHybrid.h30 // Opens a device with the specified name. To close the device, it is
32 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device);
/frameworks/av/media/libaudiohal/include/media/audiohal/
H A DDevicesFactoryHalInterface.h29 // Opens a device with the specified name. To close the device, it is
31 virtual status_t openDevice(const char *name, sp<DeviceHalInterface> *device) = 0;
/frameworks/av/media/libaudioprocessing/
H A DAudioMixer.cpp94 int name, audio_channel_mask_t channelMask, audio_format_t format, int sessionId)
96 LOG_ALWAYS_FATAL_IF(exists(name), "name %d already exists", name); local
145 // setBufferProvider(name, AudioBufferProvider *) is required before enable(name)
153 // setParameter(name, TRACK, MAIN_BUFFER, mixBuffer) is required before enable(name)
175 mTracks[name] = t;
180 // Called when channel masks have changed for a track name
93 create( int name, audio_channel_mask_t channelMask, audio_format_t format, int sessionId) argument
183 setChannelMasks(int name, audio_channel_mask_t trackChannelMask, audio_channel_mask_t mixerChannelMask) argument
359 destroy(int name) argument
370 enable(int name) argument
382 disable(int name) argument
520 setParameter(int name, int target, int param, void *value) argument
808 setBufferProvider(int name, AudioBufferProvider* bufferProvider) argument
842 const int name = pair.first; local
1423 const int name = mEnabled[0]; local
[all...]
H A DBufferProviders.cpp316 ALOGV("effect %d is called %s", i, sDwnmFxDesc.name);
319 sDwnmFxDesc.name, sDwnmFxDesc.implementor);
/frameworks/av/media/libaudioprocessing/tests/
H A Dtest-mixer.cpp38 static void usage(const char* name) { argument
41 " (<input-file> | <command>)+\n", name);
245 const int name = i; local
247 name, channelMask, formats[i], AUDIO_SESSION_OUTPUT_MIX);
249 names[i] = name;
250 mixer->setBufferProvider(name, &providers[i]);
251 mixer->setParameter(name, AudioMixer::TRACK, AudioMixer::MAIN_BUFFER,
254 name,
259 name,
264 name,
[all...]
H A Dtest-resampler.cpp38 static int usage(const char* name) { argument
43 " <output-file>\n", name);
/frameworks/av/media/libeffects/config/include/media/
H A DEffectsConfig.h52 std::string name; member in struct:android::effectsConfig::Library
63 std::string name; member in struct:android::effectsConfig::Effect
/frameworks/av/media/libeffects/config/src/
H A DEffectsConfig.cpp120 /** Find the stream type enum corresponding to the stream type name or return false */
135 const char* name = xmlLibrary.Attribute("name"); local
137 if (name == nullptr || path == nullptr) {
138 ALOGE("library must have a name and a path: %s", dump(xmlLibrary));
141 libraries->push_back({name, path});
145 /** Find an element in a collection by its name.
149 T* findByName(const char* name, std::vector<T>& collection) { argument
151 [name] (auto& item) { return item.name
161 const char* name = xmlEffect.Attribute("name"); local
[all...]
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c62 .name = "Downmix Library",
78 "Multichannel Downmix To Stereo", // human readable effect name
79 "The Android Open Source Project" // human readable effect implementor name
/frameworks/av/media/libeffects/dynamicsproc/
H A DEffectDynamicsProcessing.cpp1292 .name = "Dynamics Processing Library",
/frameworks/av/media/libeffects/factory/
H A DEffectsConfigLoader.c39 static int loadLibrary(cnode *root, const char *name);
88 loadLibrary(node, node->name);
107 // tries in standard effect library directories with just the library name and returns correct path
126 // Extract library name from input path
130 // Then try with library name and standard path names in order of preference
151 int loadLibrary(cnode *root, const char *name) argument
195 l->name = strndup(name, PATH_MAX);
218 fl->name = strndup(name, PATH_MA
419 getLibrary(const char *name) argument
[all...]
H A DEffectsFactory.c297 ALOGW("EffectCreate() library %s: could not create fx %s, error %d", l->name, d->name, ret);
320 ALOGV("EffectCreate() created entry %p with sub itfe %p in library %s", *pHandle, itfe, l->name);
494 ALOGV("findSubEffect() found effect: %s in lib %s", d->name, l->name);
544 dprintf(fd, " Library %s\n", fl->name);
558 dprintf(fd, " Library %s\n", l->name);
H A DEffectsFactory.h48 char *name; member in struct:lib_entry_s
62 char *name; member in struct:lib_failed_entry_s
H A DEffectsFactoryState.c63 ALOGV("findEffect() found effect: %s in lib %s", d->name, l->name);
124 snprintf(s, sizeof(s), "%s%s / %s\n", idt, desc->name, desc->implementor);

Completed in 184 milliseconds

1234567891011>>