Searched refs:role (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthAppConfiguration.java37 * Constructor to register the SINK role
55 * @param role {@link BluetoothHealth#SOURCE_ROLE} or
59 BluetoothHealthAppConfiguration(String name, int dataType, int role, int argument
63 mRole = role;
120 * Return the role associated with this application configuration.
147 int role = in.readInt();
149 return new BluetoothHealthAppConfiguration(name, type, role,
H A DBluetoothHealth.java38 * <p> How to connect to a health device which is acting in the source role.
142 * @param dataType The dataType of the Source role of Health Profile to which
159 * SOURCE role.This is an asynchronous call and so
165 * @param dataType The dataType of the Source role of Health Profile.
173 public boolean registerAppConfiguration(String name, int dataType, int role, argument
176 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result;
181 new BluetoothHealthAppConfiguration(name, dataType, role, channelType);
548 private boolean checkAppParam(String name, int role, int channelType, argument
550 if (name == null || (role != SOURCE_ROLE && role !
[all...]
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.h177 // Verifies the component role tried to be set to this OMX component is
180 const OMX_PARAM_COMPONENTROLETYPE* role);
H A DSoftVPXEncoder.cpp528 const OMX_PARAM_COMPONENTROLETYPE* role) {
529 const char* roleText = (const char*)role->cRole;
533 ALOGE("Unsupported component role");
527 internalSetRoleParams( const OMX_PARAM_COMPONENTROLETYPE* role) argument
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h64 status_t setRole(IOMX::node_id node, const char *role);
H A DOMXHarness.cpp203 status_t Harness::setRole(IOMX::node_id node, const char *role) { argument
210 strncpy((char *)params.cRole, role, OMX_MAX_STRINGNAME_SIZE - 1);
788 " [ component role ]\n\n"
790 "and role, tool will test all available OMX components "
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java267 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { argument
270 mRole = role;
1091 int mask, role;
1098 role = BluetoothPan.LOCAL_PANU_ROLE;
1102 role = BluetoothPan.LOCAL_NAP_ROLE;
1115 ConnectPanReceiver receiver = getConnectPanReceiver(device, role, mask);
1128 if (role == BluetoothPan.LOCAL_PANU_ROLE) {
1196 int mask, role;
1203 role = BluetoothPan.LOCAL_PANU_ROLE;
1207 role
1419 getConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) argument
[all...]
/frameworks/native/include/media/openmax/
H A DOMX_Core.h304 OMX_U8 cRole[OMX_MAX_STRINGNAME_SIZE]; /**< name of standard component which defines component role */
1381 role and (if the compNames field is non-NULL) the names of those components. The call will fail if
1390 @param [in] role
1397 the given role.
1408 OMX_IN OMX_STRING role,
1416 * first call this function with the roles field NULL to determine the number of role names
/frameworks/av/media/libstagefright/
H A DACodec.cpp858 const char *role = local
862 if (role != NULL) {
867 role, OMX_MAX_STRINGNAME_SIZE - 1);
876 ALOGW("[%s] Failed to set standard component role '%s'.",
877 mComponentName.c_str(), role);
H A DOMXCodec.cpp1415 const char *role = local
1419 if (role != NULL) {
1424 role, OMX_MAX_STRINGNAME_SIZE - 1);
1433 ALOGW("Failed to set standard component role '%s'.", role);

Completed in 2831 milliseconds