Searched defs:role (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
H A DMessagingControllerUnitTests.java53 * MockFolder allows setting and retrieving role & name
59 public MyMockFolder(FolderRole role, String name) { argument
60 mRole = role;
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DPanProfile.java160 void setLocalRole(BluetoothDevice device, int role) { argument
161 mDeviceRoleMap.put(device, role);
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hdp.cpp192 jint role, jstring name, jint channel_type) {
200 mdep_cfg.mdep_role = (bthl_mdep_role_t) role;
191 registerHealthAppNative(JNIEnv *env, jobject object, jint data_type, jint role, jstring name, jint channel_type) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java156 if (DBG) log("register datatype: " + appConfig.getDataType() + " role: " +
718 private int convertRoleToHal(int role) { argument
719 if (role == BluetoothHealth.SOURCE_ROLE) return MDEP_ROLE_SOURCE;
720 if (role == BluetoothHealth.SINK_ROLE) return MDEP_ROLE_SINK;
721 Log.e(TAG, "unkonw role: " + role);
875 private native int registerHealthAppNative(int dataType, int role, String name, int channelType); argument

Completed in 93 milliseconds