/external/libbrillo/brillo/daemons/ |
dbus_daemon.h | 14 #include <brillo/daemons/daemon.h> 25 // DBusDaemon adds D-Bus support to Daemon. 26 // Derive your daemon from this class if you want D-Bus client services in your 27 // daemon (consuming other D-Bus objects). Currently uses a SYSTEM bus. 28 class BRILLO_EXPORT DBusDaemon : public Daemon { 49 // Derive your daemon from this class if your daemon exposes D-Bus objects. 54 // Constructs the daemon. 55 // |service_name| is the name of D-Bus service provided by the daemon. 74 // daemon's service name on DBus [all...] |
/system/tpm/trunks/ |
trunks_binder_service.h | 22 #include <brillo/daemons/daemon.h> 30 // the trunksd system daemon. 37 class TrunksBinderService : public brillo::Daemon {
|
trunks_binder_service.cc | 70 return brillo::Daemon::OnInit();
|
/external/libweave/examples/daemon/common/ |
daemon.h | 19 class Daemon { 67 Daemon(const Options& opts)
|
/system/bt/service/ipc/ |
ipc_handler_linux.cpp | 25 #include "service/daemon.h" 50 bluetooth::Daemon::Get()->GetSettings()->android_ipc_socket_suffix(); 52 bluetooth::Daemon::Get()->GetSettings()->create_ipc_socket_path(); 77 // assumption that the daemon runs in a sandbox but we should generally do 156 // TODO(armansito): The code below can cause the daemon to run indefinitely if
|
/system/update_engine/ |
daemon.cc | 17 #include "update_engine/daemon.h" 43 // Register the |subprocess_| singleton with this Daemon as the signal 47 int exit_code = Daemon::OnInit(); 58 // the daemon too fast causing thrashing if dbus-daemon is not running. 63 // TODO(deymo): Make it possible to run update_engine even if dbus-daemon 132 << "other update_engine daemon running?";
|
update_engine_client_android.cc | 31 #include <brillo/daemons/daemon.h> 50 class UpdateEngineClientAndroid : public brillo::Daemon { 73 // Called whenever the UpdateEngine daemon dies. 105 int ret = Daemon::OnInit(); 187 LOG(ERROR) << "Failed to bind() the UpdateEngine daemon."; 212 // When following updates status changes, exit if the update_engine daemon 232 &Daemon::QuitWithExitCode, base::Unretained(this), return_code);
|
update_engine_client.cc | 29 #include <brillo/daemons/daemon.h> 48 // Constant to signal that we need to continue running the daemon after 52 class UpdateEngineClient : public brillo::Daemon { 61 int ret = Daemon::OnInit(); 72 // of the ProcessFlags method after the Daemon initialization is done.
|
/system/webservd/test-client/ |
main.cc | 35 #include <brillo/daemons/daemon.h> 36 using WebservTestClientBaseClass = brillo::Daemon;
|
/external/libweave/examples/daemon/light/ |
light.cc | 5 #include "examples/daemon/common/daemon.h" 306 Daemon::Options opts; 309 Daemon::Options::ShowUsage(argv[0]); 312 Daemon daemon{opts}; 314 handler.Register(daemon.GetDevice()); 315 daemon.Run();
|
/external/libweave/examples/daemon/oven/ |
oven.cc | 5 #include "examples/daemon/common/daemon.h" 278 Daemon::Options opts; 280 Daemon::Options::ShowUsage(argv[0]); 283 Daemon daemon{opts}; 284 OvenHandler handler{daemon.GetTaskRunner()}; 285 handler.Register(daemon.GetDevice()); 286 daemon.Run();
|
/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...] |
main.py | 36 from . import daemon namespace 45 class Server(daemon.Daemon):
|
/system/connectivity/apmanager/ |
dhcp_server.cc | 24 #include "apmanager/daemon.h" 136 // This means the daemon would not have any knowledge of the background 146 base::StringAppendF(&config, "user=%s\n", Daemon::kAPManagerUserName);
|
config.cc | 28 #include "apmanager/daemon.h" 259 Daemon::kAPManagerGroupName);
|
/system/core/metricsd/uploader/ |
upload_service.h | 26 #include <brillo/daemons/daemon.h> 65 class UploadService : public base::HistogramFlattener, public brillo::Daemon {
|
upload_service.cc | 48 : brillo::Daemon(), 69 brillo::Daemon::OnInit(); 162 // Increase the failed count in case the daemon crashes while sending the log.
|
/system/media/brillo/audio/audioservice/ |
audio_daemon.cpp | 100 int exit_code = Daemon::OnInit();
|
/system/bt/service/test/ |
ipc_linux_unittest.cpp | 58 bluetooth::Daemon::InitializeForTesting(mock_daemon); 74 bluetooth::Daemon::ShutDown();
|
/art/test/004-ThreadStress/src/ |
Main.java | 35 // -d X ............ number of daemon threads 405 // operations. Each daemon thread will loop over all 417 // numberOfDaemons elements are daemon threads. 438 new Daemon(lock, t, operations); 504 // The notifier thread is a daemon just loops forever to wake 520 // Create and start the daemon threads. 522 Main daemon = threadStresses[numberOfThreads + r]; 523 Thread t = new Thread(daemon, "Daemon thread " + daemon.id) [all...] |
/system/core/metricsd/ |
metrics_collector.h | 31 #include <brillo/daemons/daemon.h> 45 class MetricsCollector : public brillo::Daemon { 57 // Initializes the daemon.
|
metrics_collector.cc | 144 return brillo::Daemon::Run(); 220 int return_code = brillo::Daemon::OnInit(); 359 // Deletes the crash-detected file so that the daemon doesn't report
|
/system/tpm/tpm_manager/client/ |
main.cc | 28 #include <brillo/daemons/daemon.h> 87 using ClientLoopBase = brillo::Daemon;
|
/external/autotest/client/tests/kvm/scripts/ |
virtio_console_guest.py | 713 print "PASS: Daemon start." 737 class Daemon: 743 Init daemon. 789 Run guest as a daemon. 828 Start the daemon 830 @return: PID of daemon. 832 # Check for a pidfile to see if the daemon already runs 845 # Start the daemon 892 daemon = Daemon(stdin [all...] |
/system/tpm/attestation/client/ |
main.cc | 27 #include <brillo/daemons/daemon.h> 92 // The Daemon class works well as a client loop as well. 93 using ClientLoopBase = brillo::Daemon;
|