HomeSort by relevance Sort by last modified time
    Searched refs:lock_fd (Results 1 - 7 of 7) sorted by null

  /system/bt/osi/test/
wakelock_test.cc 91 int lock_fd = open(lock_path_.c_str(), O_RDONLY); local
92 CHECK(lock_fd >= 0);
98 fstat(lock_fd, &lock_stat);
104 mmap(nullptr, lock_stat.st_size, PROT_READ, MAP_PRIVATE, lock_fd, 0);
119 close(lock_fd);
  /hardware/qcom/bt/msm8909/libbt-vendor/src/
bt_vendor_qcom.c 343 int lock_fd; local
361 lock_fd = bt_semaphore_create();
362 bt_semaphore_get(lock_fd);
375 bt_semaphore_release(lock_fd);
376 bt_semaphore_destroy(lock_fd);
398 bt_semaphore_release(lock_fd);
399 bt_semaphore_destroy(lock_fd);
409 bt_semaphore_release(lock_fd);
410 bt_semaphore_destroy(lock_fd);
442 bt_semaphore_release(lock_fd);
    [all...]
  /hardware/qcom/bt/msm8992/libbt-vendor/src/
bt_vendor_qcom.c 330 int lock_fd; local
348 lock_fd = bt_semaphore_create();
349 bt_semaphore_get(lock_fd);
362 bt_semaphore_release(lock_fd);
363 bt_semaphore_destroy(lock_fd);
385 bt_semaphore_release(lock_fd);
386 bt_semaphore_destroy(lock_fd);
396 bt_semaphore_release(lock_fd);
397 bt_semaphore_destroy(lock_fd);
429 bt_semaphore_release(lock_fd);
    [all...]
  /hardware/qcom/bt/msm8996/libbt-vendor/src/
bt_vendor_qcom.c 359 int lock_fd; local
377 lock_fd = bt_semaphore_create();
378 bt_semaphore_get(lock_fd);
391 bt_semaphore_release(lock_fd);
392 bt_semaphore_destroy(lock_fd);
414 bt_semaphore_release(lock_fd);
415 bt_semaphore_destroy(lock_fd);
425 bt_semaphore_release(lock_fd);
426 bt_semaphore_destroy(lock_fd);
459 bt_semaphore_release(lock_fd);
    [all...]
  /hardware/qcom/bt/msm8998/libbt-vendor/src/
bt_vendor_qcom.c 382 int lock_fd; local
400 lock_fd = bt_semaphore_create();
401 bt_semaphore_get(lock_fd);
414 bt_semaphore_release(lock_fd);
415 bt_semaphore_destroy(lock_fd);
437 bt_semaphore_release(lock_fd);
438 bt_semaphore_destroy(lock_fd);
447 bt_semaphore_release(lock_fd);
448 bt_semaphore_destroy(lock_fd);
489 bt_semaphore_release(lock_fd);
    [all...]
  /hardware/qcom/bt/sdm845/libbt-vendor/src/
bt_vendor_qcom.c 392 int lock_fd; local
410 lock_fd = bt_semaphore_create();
411 bt_semaphore_get(lock_fd);
424 bt_semaphore_release(lock_fd);
425 bt_semaphore_destroy(lock_fd);
447 bt_semaphore_release(lock_fd);
448 bt_semaphore_destroy(lock_fd);
460 bt_semaphore_release(lock_fd);
461 bt_semaphore_destroy(lock_fd);
505 bt_semaphore_release(lock_fd);
    [all...]
  /device/google/contexthub/util/nanotool/
androidcontexthub.cpp 176 int lock_fd = open(kLockFile, O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); local
177 if (lock_fd < 0) {
183 close(lock_fd);

Completed in 145 milliseconds