Home
last modified time | relevance | path

Searched defs:role (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DNoOpAudioSystemAdapter.java72 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy()
78 public int removeDevicesRoleForStrategy(int strategy, int role, in removeDevicesRoleForStrategy()
84 public int clearDevicesRoleForStrategy(int strategy, int role) { in clearDevicesRoleForStrategy()
89 public int setDevicesRoleForCapturePreset(int capturePreset, int role, in setDevicesRoleForCapturePreset()
96 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devicesToRemove) { in removeDevicesRoleForCapturePreset()
101 public int clearDevicesRoleForCapturePreset(int capturePreset, int role) { in clearDevicesRoleForCapturePreset()
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp387 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in setDevicesRoleForT()
439 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in removeDevicesRoleForT()
469 T t, device_role_t role, const std::string& logStr, std::function<bool(T)> p) { in removeAllDevicesRoleForT()
496 T t, device_role_t role, AudioDeviceTypeAddrVector &devices, const std::string& logStr, in getDevicesRoleForT()
525 status_t EngineBase::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy()
535 status_t EngineBase::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy()
546 device_role_t role) in clearDevicesRoleForStrategy()
555 status_t EngineBase::getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, in getDevicesForRoleAndStrategy()
565 status_t EngineBase::setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, in setDevicesRoleForCapturePreset()
575 status_t EngineBase::addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, in addDevicesRoleForCapturePreset()
[all …]
/frameworks/base/media/java/android/media/
DAudioPort.java96 AudioPort(AudioHandle handle, int role, String name, in AudioPort()
118 AudioPort(AudioHandle handle, int role, String name, in AudioPort()
163 public int role() { in role() method in AudioPort
280 String role = Integer.toString(mRole); in toString() local
DAudioMixPort.java39 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort()
47 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, in AudioMixPort()
DAudioDeviceAttributes.java120 public AudioDeviceAttributes(@Role int role, @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes()
136 public AudioDeviceAttributes(@Role int role, @AudioDeviceInfo.AudioDeviceType int type, in AudioDeviceAttributes()
294 public static String roleToString(@Role int role) { in roleToString()
DICapturePresetDevicesRoleDispatcher.aidl29 int capturePreset, int role, in List<AudioDeviceAttributes> devices); in dispatchDevicesRoleChanged()
DAudioSystem.java2104 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForStrategy()
2127 int strategy, int role, @NonNull int[] types, @NonNull String[] addresses); in setDevicesRoleForStrategy()
2138 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices) { in removeDevicesRoleForStrategy()
2161 int strategy, int role, @NonNull int[] types, @NonNull String[] addresses); in removeDevicesRoleForStrategy()
2170 public static native int clearDevicesRoleForStrategy(int strategy, int role); in clearDevicesRoleForStrategy()
2182 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices); in getDevicesForRoleAndStrategy()
2210 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForCapturePreset()
2229 int capturePreset, int role, @NonNull int[] types, @NonNull String[] addresses); in setDevicesRoleForCapturePreset()
2240 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePreset()
2259 int capturePreset, int role, @NonNull int[] types, @NonNull String[] addresses); in addDevicesRoleForCapturePreset()
[all …]
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DAudioDeviceAttributes.java98 public AudioDeviceAttributes(@AudioDeviceAttributes.Role int role, in AudioDeviceAttributes()
165 public static String roleToString(@AudioDeviceAttributes.Role int role) { in roleToString()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioSystemAdapter.java404 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy()
417 public int removeDevicesRoleForStrategy(int strategy, int role, in removeDevicesRoleForStrategy()
429 public int clearDevicesRoleForStrategy(int strategy, int role) { in clearDevicesRoleForStrategy()
441 public int setDevicesRoleForCapturePreset(int capturePreset, int role, in setDevicesRoleForCapturePreset()
455 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devicesToRemove) { in removeDevicesRoleForCapturePreset()
468 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePreset()
479 public int clearDevicesRoleForCapturePreset(int capturePreset, int role) { in clearDevicesRoleForCapturePreset()
DAudioDeviceInventory.java1054 private int addDevicesRoleForCapturePresetInt(int capturePreset, int role, in addDevicesRoleForCapturePresetInt()
1058 }, capturePreset, role, devices); in addDevicesRoleForCapturePresetInt() field in AudioDeviceInventory
1062 private int removeDevicesRoleForCapturePresetInt(int capturePreset, int role, in removeDevicesRoleForCapturePresetInt()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl214 int listAudioPorts(AudioPortRole role, in listAudioPorts()
224 AudioPortFw[] listDeclaredDevicePorts(AudioPortRole role); in listDeclaredDevicePorts()
346 DeviceRole role, in setDevicesRoleForStrategy()
350 DeviceRole role, in removeDevicesRoleForStrategy()
353 void clearDevicesRoleForStrategy(int /* product_strategy_t */ strategy, DeviceRole role); in clearDevicesRoleForStrategy()
356 DeviceRole role); in getDevicesForRoleAndStrategy()
359 DeviceRole role, in setDevicesRoleForCapturePreset()
363 DeviceRole role, in addDevicesRoleForCapturePreset()
367 DeviceRole role, in removeDevicesRoleForCapturePreset()
371 DeviceRole role); in clearDevicesRoleForCapturePreset()
[all …]
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp126 media::AudioPortRole role, media::AudioPortType type) { in portDirection()
184 const AudioPortMixExtUseCase& aidl, media::AudioPortRole role) { in aidl2legacy_AudioPortMixExtUseCase()
203 const audio_port_config_mix_ext_usecase& legacy, audio_port_role_t role) { in legacy2aidl_AudioPortMixExtUseCase()
221 const AudioPortMixExt& aidl, media::AudioPortRole role, in aidl2legacy_AudioPortMixExt()
234 const audio_port_config_mix_ext& legacy, audio_port_role_t role, in legacy2aidl_AudioPortMixExt()
284 media::AudioPortRole role, const media::AudioPortExtSys& aidlSys) { in aidl2legacy_AudioPortExt_audio_port_config_ext()
316 const audio_port_config_ext& legacy, audio_port_type_t type, audio_port_role_t role, in legacy2aidl_AudioPortExt()
/frameworks/base/services/companion/java/com/android/server/companion/
DRolesUtils.java43 @NonNull String packageName, @NonNull String role) { in isRoleHolder()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp228 status_t Engine::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy()
256 status_t Engine::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy()
282 status_t Engine::clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) in clearDevicesRoleForStrategy()
/frameworks/proto_logging/stats/atoms/wifi/
Dwifi_extension_atoms.proto80 optional Role role = 1; field
189 optional android.net.wifi.SoftApRole role = 2; field
232 optional android.net.wifi.SoftApRole role = 2; field
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPanProfile.java167 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1537 audio_port_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in listAudioPorts() local
1566 Status AudioPolicyService::listDeclaredDevicePorts(media::AudioPortRole role, in listDeclaredDevicePorts()
2187 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in setDevicesRoleForStrategy() local
2210 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in removeDevicesRoleForStrategy() local
2231 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in clearDevicesRoleForStrategy() local
2250 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in getDevicesForRoleAndStrategy() local
2278 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in setDevicesRoleForCapturePreset() local
2298 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in addDevicesRoleForCapturePreset() local
2318 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in removeDevicesRoleForCapturePreset() local
2336 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in clearDevicesRoleForCapturePreset() local
[all …]
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp197 status_t SetComponentRole(const sp<IOMXNode> &omxNode, const char *role) { in SetComponentRole()
DOMXStore.cpp146 for (String8 role : roles) { in addPlugin() local
/frameworks/av/media/libstagefright/omx/1.0/
DOmxStore.cpp97 RoleInfo role; in OmxStore() local
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp148 for (const IOmxStore::RoleInfo& role : roles) { in buildMediaCodecList() local
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp27 IOProfile::IOProfile(const std::string &name, audio_port_role_t role) in IOProfile()
DSerializer.cpp122 static constexpr const char *role = "role"; member
143 static constexpr const char *role = "role"; /**< <device role: sink or source>. */ member
458 std::string role = getXmlAttribute(child, Attributes::role); in deserialize() local
544 std::string role = getXmlAttribute(cur, Attributes::role); in deserialize() local
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h39 AudioPort(const std::string& name, audio_port_type_t type, audio_port_role_t role) : in AudioPort()
/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java645 public static String powerRoleToString(int role) { in powerRoleToString()
659 public static String dataRoleToString(int role) { in dataRoleToString()

12