Searched refs:S_ISSOCK (Results 1 – 9 of 9) sorted by relevance
28 import static android.system.OsConstants.S_ISSOCK;372 assertTrue(S_ISSOCK(OsConstants.S_IFSOCK)); in test_S_ISSOCK()374 assertFalse(S_ISSOCK(OsConstants.S_IFBLK)); in test_S_ISSOCK()375 assertFalse(S_ISSOCK(OsConstants.S_IFCHR)); in test_S_ISSOCK()376 assertFalse(S_ISSOCK(OsConstants.S_IFDIR)); in test_S_ISSOCK()377 assertFalse(S_ISSOCK(OsConstants.S_IFIFO)); in test_S_ISSOCK()378 assertFalse(S_ISSOCK(OsConstants.S_IFLNK)); in test_S_ISSOCK()379 assertFalse(S_ISSOCK(OsConstants.S_IFMT)); in test_S_ISSOCK()380 assertFalse(S_ISSOCK(OsConstants.S_IFREG)); in test_S_ISSOCK()381 assertFalse(S_ISSOCK(OsConstants.S_IRGRP)); in test_S_ISSOCK()[all …]
67 #if defined(S_ISSOCK) in getFileType()68 else if (S_ISSOCK(sb.st_mode)) in getFileType()
149 else if (S_ISSOCK(path_stat.st_mode))176 if (S_ISSOCK(path_stat.st_mode))
94 #if defined(S_ISSOCK)95 } else if (S_ISSOCK(sb.st_mode)) {
20 import static android.system.OsConstants.S_ISSOCK;232 if (S_ISSOCK(ss.st_mode) || S_ISFIFO(ss.st_mode)) { in AutoCloseInputStream()
41 import static android.system.OsConstants.S_ISSOCK;479 } else if (S_ISSOCK(st_in.st_mode) || S_ISSOCK(st_out.st_mode)) { in copy()
230 if (S_ISSOCK(f_stat.st_mode)) { in CreateFromFd()
94 public static boolean S_ISSOCK(int mode) { return (mode & S_IFMT) == S_IFSOCK; } in S_ISSOCK() method in OsConstants
27643 method public static boolean S_ISSOCK(int);