/libcore/dalvik/src/test/java/libcore/dalvik/system/ |
D | CloseGuardTest.java | 54 ResourceOwner owner = new ResourceOwner(); 55 assertUnreleasedResources(owner, 0); 61 ResourceOwner owner = new ResourceOwner(); 62 owner.open(); 63 assertUnreleasedResources(owner, 1); 69 ResourceOwner owner = new ResourceOwner(); 70 owner.openWithCallsite("testEnabled_OpoenWIthCallsiteNotClosed"); 71 assertUnreleasedResources(owner, 1); 77 ResourceOwner owner = new ResourceOwner(); 78 owner.open(); [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | NativeBuffer.java | 44 private Object owner; field in NativeBuffer 85 void setOwner(Object owner) { in setOwner() argument 86 this.owner = owner; in setOwner() 90 Object owner() { in owner() method in NativeBuffer 91 return owner; in owner()
|
D | FileOwnerAttributeViewImpl.java | 89 return ((PosixFileAttributeView)view).readAttributes().owner(); in getOwner() 96 public void setOwner(UserPrincipal owner) in setOwner() argument 100 ((PosixFileAttributeView)view).setOwner(owner); in setOwner() 102 ((AclFileAttributeView)view).setOwner(owner); in setOwner()
|
D | UnixFileAttributes.java | 57 private volatile UserPrincipal owner; field in UnixFileAttributes 192 public UserPrincipal owner() { in owner() method in UnixFileAttributes 193 if (owner == null) { in owner() 195 if (owner == null) { in owner() 196 owner = UnixUserPrincipals.fromUid(st_uid); in owner() 200 return owner; in owner()
|
D | UnixFileAttributeViews.java | 196 builder.add(OWNER_NAME, attrs.owner()); in addRequestedPosixAttributes() 264 public void setOwner(UserPrincipal owner) in setOwner() argument 267 if (owner == null) in setOwner() 269 if (!(owner instanceof UnixUserPrincipals.User)) in setOwner() 271 if (owner instanceof UnixUserPrincipals.Group) in setOwner() 273 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner() 279 return readAttributes().owner(); in getOwner()
|
D | UnixSecureDirectoryStream.java | 548 return readAttributes().owner(); in getOwner() 552 public void setOwner(UserPrincipal owner) in setOwner() argument 555 if (!(owner instanceof UnixUserPrincipals.User)) in setOwner() 557 if (owner instanceof UnixUserPrincipals.Group) in setOwner() 559 int uid = ((UnixUserPrincipals.User)owner).uid(); in setOwner()
|
D | UnixNativeDispatcher.java | 47 if (buffer.owner() == path) in copyToNativeBuffer()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 89 private static long generateFdOwnerId(Object owner) { in generateFdOwnerId() argument 90 if (owner == null) { in generateFdOwnerId() 96 if (owner instanceof java.io.FileInputStream) { in generateFdOwnerId() 98 } else if (owner instanceof java.io.FileOutputStream) { in generateFdOwnerId() 100 } else if (owner instanceof java.io.RandomAccessFile) { in generateFdOwnerId() 102 } else if (owner instanceof java.net.DatagramSocketImpl) { in generateFdOwnerId() 104 } else if (owner instanceof java.net.SocketImpl) { in generateFdOwnerId() 106 } else if (isParcelFileDescriptor(owner)) { in generateFdOwnerId() 116 long tagValue = System.identityHashCode(owner); in generateFdOwnerId() 135 public static void setFdOwner(@NonNull FileDescriptor fd, @NonNull Object owner) { in setFdOwner() argument [all …]
|
/libcore/ojluni/src/main/java/java/security/acl/ |
D | Owner.java | 57 public boolean addOwner(Principal caller, Principal owner) in addOwner() argument 81 public boolean deleteOwner(Principal caller, Principal owner) in deleteOwner() argument 93 public boolean isOwner(Principal owner); in isOwner() argument
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | PosixFileAttributeViewTest.java | 256 view.setOwner(attrs.owner()); in ownerTests() 260 UserPrincipal owner = (UserPrincipal)Files.getAttribute(file, "posix:owner"); in ownerTests() local 261 Files.setAttribute(file, "posix:owner", owner); in ownerTests() 287 System.out.format("lookup: %s\n", attrs.owner().getName()); in lookupPrincipalTests() 289 UserPrincipal owner = lookupService.lookupPrincipalByName(attrs.owner().getName()); in lookupPrincipalTests() local 290 if (owner instanceof GroupPrincipal) in lookupPrincipalTests() 292 if (!owner.equals(attrs.owner())) in lookupPrincipalTests()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 290 final LogManager owner = this; in ensureLogManagerInitialized() local 291 if (initializationDone || owner != manager) { in ensureLogManagerInitialized() 337 owner.readPrimordialConfiguration(); in ensureLogManagerInitialized() 340 owner.rootLogger = owner.new RootLogger(); in ensureLogManagerInitialized() 341 owner.addLogger(owner.rootLogger); in ensureLogManagerInitialized() 342 if (!owner.rootLogger.isLevelInitialized()) { in ensureLogManagerInitialized() 343 owner.rootLogger.setLevel(defaultLevel); in ensureLogManagerInitialized() 354 owner.addLogger(global); in ensureLogManagerInitialized() 647 final LogManager owner = getOwner(); in demandLogger() local 648 return owner.demandLogger(name, resourceBundleName, null); in demandLogger() [all …]
|
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | ResourceLeakageDetector.java | 200 public void assertUnreleasedResourceCount(Object owner, int expectedCount) { in assertUnreleasedResourceCount() argument 202 FINALIZER_CHECKER.accept(owner, expectedCount); in assertUnreleasedResourceCount()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | PosixFileAttributes.java | 52 UserPrincipal owner(); in owner() method
|
D | FileOwnerAttributeView.java | 100 void setOwner(UserPrincipal owner) throws IOException; in setOwner() argument
|
/libcore/benchmarks/libs/ |
D | caliper.jar.txt | 13 "Licensor" shall mean the copyright owner or entity authorized by 14 the copyright owner that is granting the License. 52 submitted to Licensor for inclusion in the Work by the copyright owner 54 the copyright owner. For the purposes of this definition, "submitted" 61 designated in writing by the copyright owner as "Not a Contribution." 190 Copyright [yyyy] [name of copyright owner]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 821 final ForkJoinWorkerThread owner; // owning thread or null if shared field in ForkJoinPool.WorkQueue 829 WorkQueue(ForkJoinPool pool, ForkJoinWorkerThread owner) { in WorkQueue() argument 831 this.owner = owner; in WorkQueue() 1161 ForkJoinWorkerThread thread = owner; in runTask() 1341 (wt = owner) != null && in isApparentlyUnblocked() 2458 if ((wt = w.owner) != null) { in tryTerminate()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 525 private final java.lang.Thread owner; field in ObjectStreamClass.EntryFuture 528 owner = null;
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 2120 public static Path setOwner(Path path, UserPrincipal owner) 2127 view.setOwner(owner);
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 411 private final Thread owner = Thread.currentThread(); field in ObjectStreamClass.EntryFuture 460 return owner; in getOwner()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | Files2Test.java | 264 String owner = readFromInputStream(statProcess.getInputStream()).trim(); in test_getOwner() local 265 assertEquals(owner, Files.getOwner(filesSetup.getDataFilePath()).getName()); in test_getOwner()
|