Searched defs:interface (Results 1 - 13 of 13) sorted by relevance

/frameworks/av/services/audiopolicy/manager/
H A DAudioPolicyFactory.cpp27 extern "C" void destroyAudioPolicyManager(AudioPolicyInterface *interface) argument
29 delete interface;
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp66 sp<IOMX> OMXClient::interface() { function in class:android::OMXClient
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c49 * are interface, addresses, routes, DNS servers, and search domains and VPN
62 * is to have an interface configured with the given address and netmask
85 const char *interface = env("INTERFACE"); local
93 /* Bring up the interface. */
95 strncpy(ifr.ifr_name, interface, IFNAMSIZ);
97 ALOGE("Cannot bring up %s: %s", interface, strerror(errno));
118 fprintf(state, "%s\n", interface);
/frameworks/native/libs/dumputils/
H A Ddump_utils.cpp42 /* list of hal interface to dump containing process during native dumps */
57 bool should_dump_hal_interface(const char* interface) { argument
59 if (!strcmp(*i, interface)) {
/frameworks/wilhelm/tests/sandbox/
H A Dengine.c40 printf("Display the ID of each available interface\n");
48 printf("interface[%u] ", index);
75 printf("Create engine with NULL interface pointer\n");
95 printf("Create an engine and require non-sensical volume interface\n");
103 printf("Create an engine and politely request a non-sensical interface with options\n");
114 printf("Get each available interface before realization\n");
116 void *interface = NULL; local
117 // Use the interface ID as returned by slQuerySupportedEngineInterfaces
118 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface);
121 printf("interface availabl
140 void *interface = NULL; local
[all...]
/frameworks/wilhelm/src/itf/
H A DIObject.cpp332 void *interface = NULL; local
349 // Can't get interface on an unrealized object unless pre-realize is ok
353 // Can't get the MuteSolo interface of an audio player if the channel count is
354 // mono, but _can_ get the MuteSolo interface if the channel count is unknown
360 interface = (char *) thiz + clazz->mInterfaces[index].mOffset;
361 // Note that interface has been gotten,
366 ((size_t *) interface)[0] ^= ~0;
370 // Can't get interface if uninitialized, initialized, suspended,
380 *(void **)pInterface = interface;
578 // Call the deinitializer for each currently initialized interface,
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp402 const ISelectionCriterionTypeInterface *interface = criterion->getCriterionType(); local
404 return interface->getLiteralValue(valueToCheck, literalValue);
/frameworks/av/media/mtp/
H A DMtpDevice.cpp87 struct usb_interface_descriptor *interface = (struct usb_interface_descriptor *)desc; local
89 if (interface->bInterfaceClass == USB_CLASS_STILL_IMAGE &&
90 interface->bInterfaceSubClass == 1 && // Still Image Capture
91 interface->bInterfaceProtocol == 1) // Picture Transfer Protocol (PIMA 15470)
100 } else if (interface->bInterfaceClass == 0xFF &&
101 interface->bInterfaceSubClass == 0xFF &&
102 interface->bInterfaceProtocol == 0) {
103 char* interfaceName = usb_device_get_string(device, interface->iInterface,
158 // interface should be followed by three endpoints
195 int ret = usb_device_claim_interface(device, interface
219 MtpDevice(struct usb_device* device, int interface, const struct usb_endpoint_descriptor *ep_in, const struct usb_endpoint_descriptor *ep_out, const struct usb_endpoint_descriptor *ep_intr) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp435 sp<provider::V2_4::ICameraProvider> interface; local
436 interface = mServiceProxy->getService(newProvider);
438 if (interface == nullptr) {
449 new ProviderInfo(newProvider, interface, this);
501 sp<provider::V2_4::ICameraProvider>& interface,
504 mInterface(interface),
853 Status s, sp<device::V1_0::ICameraDevice> interface) {
855 cameraInterface = interface;
858 ALOGE("%s: Transaction error trying to obtain interface for camera device %s: %s",
863 ALOGE("%s: Unable to obtain interface fo
499 ProviderInfo( const std::string &providerName, sp<provider::V2_4::ICameraProvider>& interface, CameraProviderManager *manager) argument
898 setTorchMode(InterfaceT& interface, bool enabled) argument
904 DeviceInfo1(const std::string& name, const metadata_vendor_id_t tagId, const std::string &id, uint16_t minorVersion, const CameraResourceCost& resourceCost, sp<InterfaceT> interface) argument
1003 DeviceInfo3(const std::string& name, const metadata_vendor_id_t tagId, const std::string &id, uint16_t minorVersion, const CameraResourceCost& resourceCost, sp<InterfaceT> interface) argument
[all...]
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp109 uint32_t samplingRate; // sampling rate at effect process interface
783 effect_handle_t *interface)
786 *interface = (effect_handle_t)&effect->itfe;
824 effect_handle_t *interface)
877 status = Effect_Create(&session->effects[procId], session, interface);
1867 // effect_handle_t interface implementation for effect
1922 int PreProcessingLib_Release(effect_handle_t interface) argument
1924 ALOGV("EffectRelease start %p", interface);
1929 preproc_effect_t *fx = (preproc_effect_t *)interface;
781 Effect_Create(preproc_effect_t *effect, preproc_session_t *session, effect_handle_t *interface) argument
822 Session_CreateEffect(preproc_session_t *session, int32_t procId, effect_handle_t *interface) argument
/frameworks/native/libs/binder/
H A DParcel.cpp599 // Write RPC headers. (previously just the interface token)
600 status_t Parcel::writeInterfaceToken(const String16& interface) argument
604 // currently the interface identification token is just its name as a string
605 return writeString16(interface);
613 bool Parcel::enforceInterface(const String16& interface, argument
631 if (str == interface) {
635 String8(interface).string(), String8(str).string());
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp271 sp<MmapStreamInterface>& interface,
283 sessionId, callback, interface, handle);
295 sp<MmapStreamInterface>& interface,
338 interface = new MmapThreadHandle(thread);
653 // IAudioFlinger interface
1236 // AUDIO_IO_HANDLE_NONE means the parameters are global to the audio hardware interface
1861 ALOGI("loadHwModule() Loaded %s audio interface, handle %d", name, handle);
2155 ALOGI("Using module %d as the primary audio interface", module);
264 openMmapStream(MmapStreamInterface::stream_direction_t direction, const audio_attributes_t *attr, audio_config_base_t *config, const AudioClient& client, audio_port_handle_t *deviceId, audio_session_t *sessionId, const sp<MmapStreamCallback>& callback, sp<MmapStreamInterface>& interface, audio_port_handle_t *handle) argument
288 openMmapStream(MmapStreamInterface::stream_direction_t direction, const audio_attributes_t *attr, audio_config_base_t *config, const AudioClient& client, audio_port_handle_t *deviceId, audio_session_t *sessionId, const sp<MmapStreamCallback>& callback, sp<MmapStreamInterface>& interface, audio_port_handle_t *handle) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp163 ALOGV("Session interface chain:");
326 HalInterface* interface; local
331 interface = mInterface.get();
336 interface->close();
587 "Camera %s: %s: Unable to lock interface lock, proceeding anyway",
4062 sp<HalInterface> interface, const Vector<int32_t>& sessionParamKeys) :
4066 mInterface(interface),
4060 RequestThread(wp<Camera3Device> parent, sp<StatusTracker> statusTracker, sp<HalInterface> interface, const Vector<int32_t>& sessionParamKeys) argument

Completed in 278 milliseconds