Home
last modified time | relevance | path

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

/system/extras/tests/cpueater/
Ddaemonize.c37 char lockid[32]; in main() local
100 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()
/system/vold/
Dcryptfs.cpp2162 char lockid[32] = {0}; in cryptfs_enable_internal() local
2233 snprintf(lockid, sizeof(lockid), "enablecrypto%d", (int)getpid()); in cryptfs_enable_internal()
2234 acquire_wake_lock(PARTIAL_WAKE_LOCK, lockid); in cryptfs_enable_internal()
2414 release_wake_lock(lockid); in cryptfs_enable_internal()
2451 release_wake_lock(lockid); in cryptfs_enable_internal()
2461 release_wake_lock(lockid); in cryptfs_enable_internal()
2466 if (lockid[0]) { in cryptfs_enable_internal()
2467 release_wake_lock(lockid); in cryptfs_enable_internal()
2483 if (lockid[0]) { in cryptfs_enable_internal()
2484 release_wake_lock(lockid); in cryptfs_enable_internal()