Searched refs:shutdown (Results 26 - 50 of 53) sorted by relevance

123

/system/media/audio_utils/include/audio_utils/
H A Dfifo.h98 * Mark the FIFO as shutdown (permanently unusable), usually due to an -EIO status from an API.
101 void shutdown() const;
129 /** Whether FIFO is marked as shutdown due to detection of an "impossible" error condition. */
285 * If it ever happens, then the FIFO will be marked unusable with shutdown().
/system/vold/
H A DVolumeManager.h105 /* Prepare for device shutdown, safely unmounting all devices */
106 int shutdown();
H A DVoldNativeService.h38 binder::Status shutdown();
H A DVoldNativeService.cpp243 binder::Status VoldNativeService::shutdown() { function in class:android::vold::VoldNativeService
247 return translate(VolumeManager::Instance()->shutdown());
H A Dcryptfs.cpp228 enum class RebootType {reboot, recovery, shutdown};
240 case RebootType::shutdown:
241 property_set(ANDROID_RB_PROPERTY, "shutdown");
1586 /* Now that the framework is shutdown, we should be able to umount()
2439 cryptfs_reboot(RebootType::shutdown);
2484 SLOGE("Error enabling encryption after framework is shutdown, no data changed, restarting system");
H A DVolumeManager.cpp295 // Vold could receive "mount" after "shutdown" command in the extreme case.
583 // Can be called twice (sequentially) during shutdown. should be safe for that.
584 int VolumeManager::shutdown() { function in class:VolumeManager
586 return 0; // already shutdown
/system/netd/libnetdutils/
H A DSyscalls.cpp166 Status shutdown(Fd fd, int how) const override {
167 auto rv = ::shutdown(fd.get(), how);
169 return statusFromErrno(errno, "shutdown() failed");
/system/sepolicy/prebuilts/api/28.0/public/
H A Dte_macros120 allow $1 pdx_$2_endpoint_socket_type:unix_stream_socket { read getattr write setattr lock append getopt setopt shutdown listen accept };
136 allow $1 pdx_$2_endpoint_socket_type:unix_stream_socket { connectto read write shutdown };
145 allow $1 pdx_$2_channel_socket_type:unix_stream_socket { read getattr write setattr lock append getopt setopt shutdown };
405 allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto name_bind };
/system/sepolicy/public/
H A Dte_macros120 allow $1 pdx_$2_endpoint_socket_type:unix_stream_socket { read getattr write setattr lock append getopt setopt shutdown listen accept };
136 allow $1 pdx_$2_endpoint_socket_type:unix_stream_socket { connectto read write shutdown };
145 allow $1 pdx_$2_channel_socket_type:unix_stream_socket { read getattr write setattr lock append getopt setopt shutdown };
405 allow $1 self:netlink_selinux_socket { read write create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt setopt shutdown recvfrom sendto name_bind };
/system/netd/libnetdutils/include/netdutils/
H A DSyscalls.h76 virtual Status shutdown(Fd fd, int how) const = 0;
/system/sepolicy/prebuilts/api/26.0/private/
H A Dapp.te63 allow appdomain system_server:unix_stream_socket { read write setopt getattr getopt shutdown };
64 allow appdomain system_server:tcp_socket { read write getattr getopt shutdown };
70 allow appdomain surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
147 allow appdomain dumpstate:unix_stream_socket { read write getopt getattr shutdown };
197 allow appdomain appdomain:unix_stream_socket { getopt getattr read write shutdown };
330 allow appdomain adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
H A Daccess_vectors56 shutdown
H A Dsystem_server.te480 allow system_server appdomain:{ tcp_socket udp_socket } { getattr getopt setopt read write shutdown };
623 allow system_server adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
/system/sepolicy/prebuilts/api/27.0/private/
H A Daccess_vectors58 shutdown
H A Dsystem_server.te509 allow system_server appdomain:{ tcp_socket udp_socket } { getattr getopt setopt read write shutdown };
651 allow system_server adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
/system/sepolicy/prebuilts/api/28.0/private/
H A Daccess_vectors58 shutdown
H A Dsystem_server.te556 allow system_server appdomain:{ tcp_socket udp_socket } { getattr getopt setopt read write shutdown };
707 allow system_server adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
/system/sepolicy/private/
H A Daccess_vectors58 shutdown
H A Dsystem_server.te556 allow system_server appdomain:{ tcp_socket udp_socket } { getattr getopt setopt read write shutdown };
707 allow system_server adbd:unix_stream_socket { getattr getopt ioctl read write shutdown };
/system/sepolicy/reqd_mask/
H A Daccess_vectors58 shutdown
/system/chre/platform/slpi/
H A Dhost_link.cc623 void HostLinkBase::shutdown() { function in class:chre::HostLinkBase
638 FARF(ERROR, "No room in outbound queue for shutdown message and host not "
641 // We were able to push the shutdown message. Wait for the queue to
/system/core/adb/
H A Dsysdeps_win32.cpp582 if (shutdown(f->fh_socket, SD_BOTH) == SOCKET_ERROR) {
586 D("socket shutdown failed: %s",
672 // Winsock because we don't cleanly shutdown all threads, so it
1024 if (shutdown(f->fh_socket, direction) == SOCKET_ERROR) {
1026 D("socket shutdown fd %d failed: %s", fd,
/system/bt/btif/src/
H A Dbtif_sock_l2cap.cc225 shutdown(sock->our_fd, SHUT_RDWR);
H A Dbtif_sock_rfc.cc412 shutdown(slot->fd, SHUT_RDWR);
/system/libhwbinder/
H A DIPCThreadState.cpp290 ALOGW("Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.\n");
319 void IPCThreadState::shutdown() function in class:android::hardware::IPCThreadState

Completed in 338 milliseconds

123