/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthAppConfiguration.java | 37 * 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 D | BluetoothHealth.java | 35 * <p> How to connect to a health device which is acting in the source role. 107 * @param dataType The dataType of the Source role of Health Profile to which 124 * SOURCE role.This is an asynchronous call and so 130 * @param dataType The dataType of the Source role of Health Profile. 138 public boolean registerAppConfiguration(String name, int dataType, int role, argument 141 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result; 146 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); 474 private boolean checkAppParam(String name, int role, int channelType, argument 476 if (name == null || (role != SOURCE_ROLE && role ! [all...] |
/frameworks/base/core/java/android/server/ |
H A D | BluetoothPanProfileHandler.java | 255 String iface, int state, int role) { 268 if (role == BluetoothPan.LOCAL_NAP_ROLE) { 290 panDevice = new BluetoothPanDevice(state, ifaceAddr, iface, role); 295 panDevice.mLocalRole = role; 303 intent.putExtra(BluetoothPan.EXTRA_LOCAL_ROLE, role); 315 private int mLocalRole; // Which local role is this PAN device bound to 254 handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int role) argument
|
H A D | BluetoothHealthProfileHandler.java | 91 int role = registerApp.getRole(); 94 if (role == BluetoothHealth.SINK_ROLE) { 96 registerApp.getDataType(), getStringRole(role), registerApp.getName()); 99 registerApp.getDataType(), getStringRole(role), registerApp.getName(), 240 private String getStringRole(int role) { argument 241 if (role == BluetoothHealth.SINK_ROLE) { 243 } else if (role == BluetoothHealth.SOURCE_ROLE) {
|
H A D | BluetoothService.java | 2093 int role) { 2095 mBluetoothPanProfileHandler.handlePanDeviceStateChange(device, iface, state, role); 2100 int state, int role) { 2102 mBluetoothPanProfileHandler.handlePanDeviceStateChange(device, null, state, role); 2845 native String registerHealthApplicationNative(int dataType, String role, String name, argument 2847 native String registerHealthApplicationNative(int dataType, String role, String name); argument 2090 handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int role) argument 2099 handlePanDeviceStateChange(BluetoothDevice device, int state, int role) argument
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 267 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/base/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 209 status_t Harness::setRole(IOMX::node_id node, const char *role) { argument 216 strncpy((char *)params.cRole, role, OMX_MAX_STRINGNAME_SIZE - 1); 783 " [ component role ]\n\n" 785 "and role, tool will test all available OMX components "
|
/frameworks/base/core/jni/ |
H A D | android_server_BluetoothService.cpp | 1298 jint dataType, jstring role, 1305 const char *c_role = env->GetStringUTFChars(role, NULL); 1335 env->ReleaseStringUTFChars(role, c_role); 1361 jint dataType, jstring role, 1368 const char *c_role = env->GetStringUTFChars(role, NULL); 1397 env->ReleaseStringUTFChars(role, c_role); 1297 registerHealthApplicationNative(JNIEnv *env, jobject object, jint dataType, jstring role, jstring name, jstring channelType) argument 1360 registerSinkHealthApplicationNative(JNIEnv *env, jobject object, jint dataType, jstring role, jstring name) argument
|
/frameworks/base/media/libstagefright/ |
H A D | ACodec.cpp | 719 const char *role = local 723 if (role != NULL) { 728 role, OMX_MAX_STRINGNAME_SIZE - 1); 737 LOGW("[%s] Failed to set standard component role '%s'.", 738 mComponentName.c_str(), role);
|
H A D | OMXCodec.cpp | 1564 const char *role = local 1568 if (role != NULL) { 1573 role, OMX_MAX_STRINGNAME_SIZE - 1); 1582 LOGW("Failed to set standard component role '%s'.", role);
|