Home
last modified time | relevance | path

Searched refs:local_role (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java175 convertHalState(cs.state), cs.local_role, cs.remote_role);
337 public ConnectState(byte[] address, int state, int error, int local_role, int remote_role) { in ConnectState() argument
341 this.local_role = local_role; in ConnectState()
347 int local_role; field in PanService.ConnectState
350 private void onConnectStateChanged(byte[] address, int state, int error, int local_role, in onConnectStateChanged() argument
353 log("onConnectStateChanged: " + state + ", local role:" + local_role + in onConnectStateChanged()
357 msg.obj = new ConnectState(address, state, error, local_role, remote_role); in onConnectStateChanged()
360 private void onControlStateChanged(int local_role, int state, int error, String ifname) { in onControlStateChanged() argument
384 String iface, int state, int local_role, int remote_role) { in handlePanDeviceStateChange() argument
387 ", state: " + state + ", local_role:" + local_role + ", remote_role:" + in handlePanDeviceStateChange()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_pan.cpp59 static void control_state_callback(btpan_control_state_t state, int local_role, bt_status_t error, in control_state_callback() argument
61 debug("state:%d, local_role:%d, ifname:%s", state, local_role, ifname); in control_state_callback()
64 …sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onControlStateChanged, (jint)local_role, (jint)… in control_state_callback()
70 int local_role, int remote_role) { in connection_state_callback() argument
72 debug("state:%d, local_role:%d, remote_role:%d", state, local_role, remote_role); in connection_state_callback()
83 (jint)error, (jint)local_role, (jint)remote_role); in connection_state_callback()
165 static jboolean enablePanNative(JNIEnv *env, jobject object, jint local_role) { in enablePanNative() argument
170 status = sPanIf->enable(local_role); in enablePanNative()
176 int local_role = 0; in getPanLocalRoleNative() local
179 local_role = sPanIf->get_local_role(); in getPanLocalRoleNative()
[all …]