Home
last modified time | relevance | path

Searched refs:devicePath (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/input/
DEventHub.cpp629 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked()
632 if (device->path == devicePath) { in getDeviceByPathLocked()
933 status_t EventHub::openDeviceLocked(const char *devicePath) { in openDeviceLocked() argument
936 ALOGV("Opening device: %s", devicePath); in openDeviceLocked()
938 int fd = open(devicePath, O_RDWR | O_CLOEXEC); in openDeviceLocked()
940 ALOGE("could not open %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
958 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string()); in openDeviceLocked()
967 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
975 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1012 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); in openDeviceLocked()
[all …]
DEventHub.h347 status_t openDeviceLocked(const char *devicePath);
351 status_t closeDeviceByPathLocked(const char *devicePath);
360 Device* getDeviceByPathLocked(const char* devicePath) const;
/frameworks/base/core/java/android/server/
DBluetoothHealthProfileHandler.java370 /*package*/ void onHealthDevicePropertyChanged(String devicePath, in onHealthDevicePropertyChanged() argument
373 String address = mBluetoothService.getAddressFromObjectPath(devicePath); in onHealthDevicePropertyChanged()
428 /*package*/ void onHealthDeviceChannelChanged(String devicePath, in onHealthDeviceChannelChanged() argument
430 debugLog("onHealthDeviceChannelChanged: devicePath: " + devicePath + in onHealthDeviceChannelChanged()
433 String address = mBluetoothService.getAddressFromObjectPath(devicePath); in onHealthDeviceChannelChanged()
463 mBluetoothService.getMainChannelNative(devicePath); in onHealthDeviceChannelChanged()
465 errorLog("Main Channel Path is null for devicePath:" + devicePath); in onHealthDeviceChannelChanged()
DBluetoothEventLoop.java1038 private void onHealthDevicePropertyChanged(String devicePath, String[] propValues) { in onHealthDevicePropertyChanged() argument
1040 mBluetoothService.onHealthDevicePropertyChanged(devicePath, propValues[1]); in onHealthDevicePropertyChanged()
1051 private void onHealthDeviceChannelChanged(String devicePath, String channelPath, in onHealthDeviceChannelChanged() argument
1053 log("Health Device : devicePath: " + devicePath + ":channelPath:" + channelPath + in onHealthDeviceChannelChanged()
1055 mBluetoothService.onHealthDeviceChannelChanged(devicePath, channelPath, exists); in onHealthDeviceChannelChanged()
DBluetoothService.java2322 /*package*/ void onHealthDevicePropertyChanged(String devicePath, in onHealthDevicePropertyChanged() argument
2325 mBluetoothHealthProfileHandler.onHealthDevicePropertyChanged(devicePath, in onHealthDevicePropertyChanged()
2330 /*package*/ void onHealthDeviceChannelChanged(String devicePath, in onHealthDeviceChannelChanged() argument
2333 mBluetoothHealthProfileHandler.onHealthDeviceChannelChanged(devicePath, in onHealthDeviceChannelChanged()
2916 native boolean createChannelNative(String devicePath, String appPath, String channelType, in createChannelNative() argument
2918 native boolean destroyChannelNative(String devicePath, String channelpath, int code); in destroyChannelNative() argument
/frameworks/base/core/jni/
Dandroid_server_BluetoothService.cpp1453 jstring devicePath, jstring appPath, jstring config, in createChannelNative() argument
1463 const char *c_device_path = env->GetStringUTFChars(devicePath, NULL); in createChannelNative()
1478 env->ReleaseStringUTFChars(devicePath, c_device_path); in createChannelNative()
1488 static jboolean destroyChannelNative(JNIEnv *env, jobject object, jstring devicePath, in destroyChannelNative() argument
1498 const char *c_device_path = env->GetStringUTFChars(devicePath, NULL); in destroyChannelNative()
1510 env->ReleaseStringUTFChars(devicePath, c_device_path); in destroyChannelNative()
1519 static jstring getMainChannelNative(JNIEnv *env, jobject object, jstring devicePath) { in getMainChannelNative() argument
1524 const char *c_device_path = env->GetStringUTFChars(devicePath, NULL); in getMainChannelNative()
1532 env->ReleaseStringUTFChars(devicePath, c_device_path); in getMainChannelNative()