Searched refs:shutdown (Results 1 - 25 of 27) sorted by last modified time

12

/system/vold/
H A DCommandListener.cpp159 } else if (cmd == "shutdown") {
160 return sendGenericOkFail(cli, vm->shutdown());
H A DVolumeManager.cpp635 int VolumeManager::shutdown() { function in class:VolumeManager
H A DVolumeManager.h138 /* Prepare for device shutdown, safely unmounting all devices */
139 int shutdown();
H A Dcryptfs.c442 enum RebootType {reboot, recovery, shutdown}; enumerator in enum:RebootType
454 case shutdown:
455 property_set(ANDROID_RB_PROPERTY, "shutdown");
1670 /* Now that the framework is shutdown, we should be able to umount()
3257 cryptfs_reboot(shutdown);
3298 SLOGE("Error enabling encryption after framework is shutdown, no data changed, restarting system");
/system/sepolicy/
H A Daccess_vectors57 shutdown
H A Dapp.te61 allow appdomain system_server:unix_stream_socket { read write setopt getattr getopt shutdown };
62 allow appdomain system_server:tcp_socket { read write getattr getopt shutdown };
68 allow appdomain surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
120 allow appdomain dumpstate:unix_stream_socket { read write getopt getattr shutdown };
164 allow appdomain appdomain:unix_stream_socket { getopt getattr read write shutdown };
265 allow appdomain adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
H A Dautoplay_app.te63 allow autoplay_app system_server:unix_stream_socket { read write setopt getattr getopt shutdown };
64 allow autoplay_app system_server:tcp_socket { read write getattr getopt shutdown };
70 allow autoplay_app surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
H A Dte_macros224 allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto recv_msg send_msg name_bind };
/system/nativepower/client/
H A Dpower_manager_client.cc39 LOG(ERROR) << "Unknown shutdown reason " << static_cast<int>(reason);
111 status_t status = power_manager_->shutdown(false /* confirm */,
/system/nativepower/daemon/
H A DBnPowerManager.cc86 return shutdown(confirm, reason, wait);
H A Dpower_manager.cc38 const char PowerManager::kShutdownPrefix[] = "shutdown,";
142 status_t PowerManager::shutdown(bool confirm, function in class:android::PowerManager
147 LOG(WARNING) << "Ignoring shutdown request with invalid reason \""
H A Dpower_manager.h34 // The part of the reboot or shutdown system properties' values that appears
87 status_t shutdown(bool confirm, const String16& reason, bool wait) override;
H A Dpower_manager_stub.cc129 status_t PowerManagerStub::shutdown(bool confirm, function in class:android::PowerManagerStub
H A Dpower_manager_unittest.cc159 EXPECT_EQ(OK, interface_->shutdown(false, String16(), false));
163 EXPECT_EQ(OK, interface_->shutdown(false,
172 EXPECT_EQ(BAD_VALUE, interface_->shutdown(false, String16("foo"), false));
/system/nativepower/include/nativepower/
H A Dpower_manager_stub.h91 status_t shutdown(bool confirm, const String16& reason, bool wait) override;
110 // Reasons passed to reboot() and shutdown(), in the order in which they were
/system/core/adb/
H A Dsocket.h86 /* shutdown is called by the peer before it goes away.
90 void (*shutdown)(asocket *s); member in struct:asocket
H A Dsockets.cpp217 /* Note: it's important to call shutdown before disconnecting from
221 if (s->peer->shutdown) {
222 s->peer->shutdown(s->peer);
393 s->shutdown = NULL;
511 s->shutdown = remote_socket_shutdown;
540 s->shutdown = NULL;
551 s->shutdown = NULL;
765 s->peer->shutdown = nullptr;
802 s->peer->shutdown = nullptr;
845 s->shutdown
[all...]
H A Dsysdeps.h568 return shutdown(fd, SHUT_RDWR);
572 return shutdown(fd, direction);
574 #undef shutdown
575 #define shutdown ____xxx_shutdown
H A Dsysdeps_win32.cpp720 if (shutdown(f->fh_socket, SD_BOTH) == SOCKET_ERROR) {
724 D("socket shutdown failed: %s",
811 // Winsock because we don't cleanly shutdown all threads, so it
1142 if (shutdown(f->fh_socket, SD_BOTH) == SOCKET_ERROR) {
1144 D("socket shutdown fd %d failed: %s", fd,
/system/connectivity/shill/init/
H A Dshill.conf.in23 # cases. Also, stop shill on "starting pre-shutdown" so its exiting blocks the
28 stop on starting pre-shutdown
/system/connectivity/shill/net/
H A Dsockets.cc166 return HANDLE_EINTR(shutdown(sockfd, how));
/system/bt/audio_a2dp_hw/
H A Daudio_a2dp_hw.c319 shutdown(fd, SHUT_RDWR);
/system/bt/btif/src/
H A Dbtif_hl.c4566 shutdown(p_scb->socket_id[1], SHUT_RDWR);
4823 shutdown(connected_s, SHUT_RDWR);
H A Dbtif_sock_l2cap.c254 shutdown(sock->our_fd, SHUT_RDWR);
H A Dbtif_sock_rfc.c402 shutdown(slot->fd, SHUT_RDWR);

Completed in 304 milliseconds

12