Home
last modified time | relevance | path

Searched defs:role (Results 1 – 25 of 50) 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.cpp406 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in setDevicesRoleForT()
458 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in removeDevicesRoleForT()
488 T t, device_role_t role, const std::string& logStr, std::function<bool(T)> p) { in removeAllDevicesRoleForT()
515 T t, device_role_t role, AudioDeviceTypeAddrVector &devices, const std::string& logStr, in getDevicesRoleForT()
544 status_t EngineBase::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy()
554 status_t EngineBase::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy()
565 device_role_t role) in clearDevicesRoleForStrategy()
574 status_t EngineBase::getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, in getDevicesForRoleAndStrategy()
584 status_t EngineBase::setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, in setDevicesRoleForCapturePreset()
594 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()
318 public static String roleToString(@Role int role) { in roleToString()
DICapturePresetDevicesRoleDispatcher.aidl29 int capturePreset, int role, in List<AudioDeviceAttributes> devices); in dispatchDevicesRoleChanged()
DAudioSystem.java2149 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForStrategy()
2172 int strategy, int role, @NonNull int[] types, @NonNull String[] addresses); in setDevicesRoleForStrategy()
2183 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices) { in removeDevicesRoleForStrategy()
2206 int strategy, int role, @NonNull int[] types, @NonNull String[] addresses); in removeDevicesRoleForStrategy()
2215 public static native int clearDevicesRoleForStrategy(int strategy, int role); in clearDevicesRoleForStrategy()
2227 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices); in getDevicesForRoleAndStrategy()
2255 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForCapturePreset()
2274 int capturePreset, int role, @NonNull int[] types, @NonNull String[] addresses); in setDevicesRoleForCapturePreset()
2285 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePreset()
2304 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.java407 public int setDevicesRoleForStrategy(int strategy, int role, in setDevicesRoleForStrategy()
420 public int removeDevicesRoleForStrategy(int strategy, int role, in removeDevicesRoleForStrategy()
432 public int clearDevicesRoleForStrategy(int strategy, int role) { in clearDevicesRoleForStrategy()
444 public int setDevicesRoleForCapturePreset(int capturePreset, int role, in setDevicesRoleForCapturePreset()
458 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devicesToRemove) { in removeDevicesRoleForCapturePreset()
471 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePreset()
482 public int clearDevicesRoleForCapturePreset(int capturePreset, int role) { in clearDevicesRoleForCapturePreset()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl221 int listAudioPorts(AudioPortRole role, in listAudioPorts()
231 AudioPortFw[] listDeclaredDevicePorts(AudioPortRole role); in listDeclaredDevicePorts()
357 DeviceRole role, in setDevicesRoleForStrategy()
361 DeviceRole role, in removeDevicesRoleForStrategy()
364 void clearDevicesRoleForStrategy(int /* product_strategy_t */ strategy, DeviceRole role); in clearDevicesRoleForStrategy()
367 DeviceRole role); in getDevicesForRoleAndStrategy()
370 DeviceRole role, in setDevicesRoleForCapturePreset()
374 DeviceRole role, in addDevicesRoleForCapturePreset()
378 DeviceRole role, in removeDevicesRoleForCapturePreset()
382 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/core/java/com/android/server/policy/
DModifierShortcutManager.java167 String role = isShiftOn ? mShiftRoleShortcuts.get(shortcutChar) in getIntent() local
179 private Intent getRoleLaunchIntent(String role) { in getRoleLaunchIntent()
374 String role = sApplicationLaunchKeyRoles.get(keyCode); in handleIntentShortcut() local
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DRolesUtils.java44 @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/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DPanProfile.java167 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole()
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp197 status_t SetComponentRole(const sp<IOMXNode> &omxNode, const char *role) { in SetComponentRole()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1584 audio_port_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in listAudioPorts() local
1613 Status AudioPolicyService::listDeclaredDevicePorts(media::AudioPortRole role, in listDeclaredDevicePorts()
2267 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in setDevicesRoleForStrategy() local
2290 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in removeDevicesRoleForStrategy() local
2311 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in clearDevicesRoleForStrategy() local
2330 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in getDevicesForRoleAndStrategy() local
2358 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in setDevicesRoleForCapturePreset() local
2378 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in addDevicesRoleForCapturePreset() local
2398 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in removeDevicesRoleForCapturePreset() local
2416 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in clearDevicesRoleForCapturePreset() local
[all …]
/frameworks/av/media/libstagefright/omx/1.0/
DOmxStore.cpp97 RoleInfo role; in OmxStore() local
/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java666 public static String powerRoleToString(int role) { in powerRoleToString()
680 public static String dataRoleToString(int role) { in dataRoleToString()
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp148 for (const IOmxStore::RoleInfo& role : roles) { in buildMediaCodecList() 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/services/tests/wmtests/src/com/android/server/policy/
DModifierShortcutTests.java101 final String role = ROLE_SHORTCUTS.valueAt(i); in testMetaShortcuts() 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/base/services/core/java/com/android/server/input/
DKeyboardMetricsCollector.java306 String role = intent.getStringExtra(ModifierShortcutManager.EXTRA_ROLE); in getLogEventFromIntent() local
362 private static KeyboardLogEvent getLogEventFromRole(String role) { in getLogEventFromRole()

12