usb_moded
0.86.0+mer57
|
#include "usb_moded-dsme.h"
#include "usb_moded-control.h"
#include "usb_moded-dbus-private.h"
#include "usb_moded-log.h"
#include "usb_moded-modesetting.h"
#include <unistd.h>
#include <dsme/state.h>
#include <dsme/protocol.h>
#include <dsme/processwd.h>
#include <dsme/state_states.h>
Go to the source code of this file.
Functions | |
bool | dsme_state_is_shutdown (void) |
bool | dsme_state_is_user (void) |
Copyright (c) 2013 - 2021 Jolla Ltd. Copyright (c) 2020 Open Mobile Platform LLC.
This program is free software; you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the Lesser GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file usb_moded-dsme.c.
bool dsme_state_is_shutdown | ( | void | ) |
Checks if the device is shutting down (or rebooting)
Definition at line 231 of file usb_moded-dsme.c.
bool dsme_state_is_user | ( | void | ) |
Checks if the device is is USER-state.
Definition at line 243 of file usb_moded-dsme.c.