OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Daemon
(Results
1 - 11
of
11
) sorted by null
/system/bt/service/
daemon.h
31
// The
Daemon
class is a singleton that represents the root of the ownership
34
class
Daemon
{
36
// Initializes the
daemon
. This must be called to at the start of the
37
// application to set up the global
daemon
instance and everything it manages.
41
// Cleans up all the resources associated with the global
Daemon
object.
44
// Assigns the global
Daemon
instance for testing. Should only be called from
46
static void InitializeForTesting(
Daemon
* test_daemon);
48
// Returns the singleton
Daemon
instance. All classes can interact with the
49
//
Daemon
, obtain its resources etc using this getter.
50
static
Daemon
* Get()
[
all
...]
/external/libbrillo/brillo/daemons/
daemon.cc
5
#include <brillo/daemons/
daemon
.h>
17
Daemon
::
Daemon
() : exit_code_{EX_OK} {
21
Daemon
::~
Daemon
() {
24
int
Daemon
::Run() {
43
void
Daemon
::Quit() { QuitWithExitCode(EX_OK); }
45
void
Daemon
::QuitWithExitCode(int exit_code) {
50
void
Daemon
::RegisterHandler(
56
void
Daemon
::UnregisterHandler(int signal)
[
all
...]
daemon.h
21
//
Daemon
is a simple base class for system daemons. It provides a lot
24
// You can use this class directly to implement your
daemon
or you can
26
// brillo::
Daemon
. Override some of the virtual methods provide to fine-tune
27
// its behavior to suit your
daemon
's needs.
28
class BRILLO_EXPORT
Daemon
: public AsynchronousSignalHandlerInterface {
30
Daemon
();
31
virtual ~
Daemon
();
33
// Performs proper initialization of the
daemon
and runs the message loop.
34
// Blocks until the
daemon
is finished. The return value is the error
35
// code that should be returned from
daemon
's main(). Returns EX_OK (0) o
[
all
...]
/external/v8/tools/testrunner/server/
daemon.py
19
class
Daemon
(object):
21
A generic
daemon
class.
23
Usage: subclass the
Daemon
class and override the run() method
83
Start the
daemon
85
# Check for a pidfile to see if the
daemon
already runs
94
message = "pidfile %s already exist.
Daemon
already running?\n"
98
# Start the
daemon
104
Stop the
daemon
115
message = "pidfile %s does not exist.
Daemon
not running?\n"
119
# Try killing the
daemon
proces
[
all
...]
/art/test/004-ThreadStress/src-art/
Main.java
38
// -d X .............. number of
daemon
threads
65
* continue when executed by a runner (non-
daemon
) thread.
586
// operations. Each
daemon
thread will loop over all
598
// numberOfDaemons elements are
daemon
threads.
620
: new
Daemon
(lock, t, operations, mainThread, startBarrier);
695
// The notifier thread is a
daemon
just loops forever to wake
711
// Create and start the
daemon
threads.
713
Main
daemon
= threadStresses[numberOfThreads + r];
local
714
Thread t = new Thread(
daemon
, "
Daemon
thread " + daemon.id)
[
all
...]
/libcore/libart/src/main/java/java/lang/
Daemons.java
68
private static abstract class
Daemon
implements Runnable {
73
protected
Daemon
(String name) {
165
private static class ReferenceQueueDaemon extends
Daemon
{
193
private static class FinalizerDaemon extends
Daemon
{
266
private static class FinalizerWatchdogDaemon extends
Daemon
{
278
// We have been interrupted, need to see if this
daemon
has been stopped.
299
//
Daemon
.stop may have interrupted us.
309
* Notify
daemon
that it's OK to sleep until notified that something is ready to be
317
* Notify
daemon
that there is something ready to be finalized.
452
private static class HeapTaskDaemon extends
Daemon
{
[
all
...]
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-emr/1.11.18/
aws-java-sdk-emr-1.11.18.jar
/prebuilts/misc/common/robolectric/android-all/
android-all-8.0.0_r4-robolectric-0.jar
android-all-8.0.0_r4-robolectric-r1.jar
android-all-8.1.0-robolectric-r4458339.jar
android-all-o-preview-4-robolectric-0.jar
Completed in 184 milliseconds