Searched refs:lockid (Results 1 – 2 of 2) sorted by relevance
37 char lockid[32]; in main() local100 snprintf(lockid, 32, "daemonize%d", (int) getpid()); in main()101 acquire_wake_lock(PARTIAL_WAKE_LOCK, lockid); in main()118 release_wake_lock(lockid); in main()
2947 char lockid[32] = { 0 }; local3034 snprintf(lockid, sizeof(lockid), "enablecrypto%d", (int) getpid());3035 acquire_wake_lock(PARTIAL_WAKE_LOCK, lockid);3239 release_wake_lock(lockid);3273 release_wake_lock(lockid);3283 release_wake_lock(lockid);3288 if (lockid[0]) {3289 release_wake_lock(lockid);3303 if (lockid[0]) {3304 release_wake_lock(lockid);