Home
last modified time | relevance | path

Searched refs:Cleaner (Results 1 – 14 of 14) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/util/
DCleaner.java19 import java.lang.ref.Cleaner.Cleanable;
21 public class Cleaner { class
22 private static final java.lang.ref.Cleaner sCleaner = java.lang.ref.Cleaner.create();
26 private Cleaner(Cleanable cleanable) { in Cleaner() method in Cleaner
41 public static Cleaner create(Object ob, Runnable thunk) { in create()
46 return new Cleaner(cleanable); in create()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/libcore/util/
DNativeAllocationRegistry.java20 import java.lang.ref.Cleaner;
31 private static final Cleaner sCleaner = Cleaner.create();
/frameworks/av/media/libaudiohal/impl/
DCleanups.h88 typedef void (C::*Cleaner)(int32_t); // A member function of "C" performing a cleanup action. typedef
97 void add(Cleaner cleaner, int32_t id) { in add()
102 using Cleanup = std::pair<Cleaner, int32_t>;
/frameworks/base/core/java/android/os/
DSharedMemory.java35 import sun.misc.Cleaner;
45 private Cleaner mCleaner;
65 mCleaner = Cleaner.create(mFileDescriptor, in SharedMemory()
DCancellationSignalBeamer.java27 import java.lang.ref.Cleaner;
113 static final Cleaner sCleaner = SystemCleaner.cleaner();
/frameworks/base/core/tests/coretests/src/android/os/
DCancellationSignalBeamerTest.java41 import java.lang.ref.Cleaner;
173 Cleaner.create().register(mReceivedSignal, receivedSignalCleaned::countDown); in testDroppingSentSignal_dropsReceivedSignal()
197 Cleaner.create().register(mReceivedSignal, receivedSignalCleaned::countDown); in testRepeatedBeaming_doesntLeak()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSession.java29 import sun.misc.Cleaner;
43 private final Cleaner mCleaner;
57 mCleaner = Cleaner.create(this, new CleanerRunnable(mEventHelper, mDelegate)); in TextClassificationSession()
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java55 import sun.misc.Cleaner;
203 Cleaner.create(this, new DestroyContextRunnable(mNativeProxy)); in HardwareRenderer()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java121 import sun.misc.Cleaner;
603 private Cleaner mServiceClientCleaner;
2723 mServiceClientCleaner = Cleaner.create(this, () -> { in tryAddServiceClientIfNeededLocked()
/frameworks/base/config/
Ddirty-image-objects616 Lsun/misc/Cleaner; 118
Dpreloaded-classes14801 java.lang.ref.Cleaner$1
14802 java.lang.ref.Cleaner$Cleanable
14803 java.lang.ref.Cleaner
15996 java.util.logging.LogManager$Cleaner
16737 sun.misc.Cleaner$1
16738 sun.misc.Cleaner
Dboot-image-profile.txt25028 HSPLjava/lang/ref/Cleaner$1;->apply(Ljava/lang/Object;)Ljava/lang/Object;
25029 HSPLjava/lang/ref/Cleaner$1;->apply(Ljava/lang/ref/Cleaner;)Ljdk/internal/ref/CleanerImpl;
25030 HSPLjava/lang/ref/Cleaner;->register(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$…
25947 HSPLjava/nio/DirectByteBuffer;->cleaner()Lsun/misc/Cleaner;
30771 HSPLjdk/internal/ref/CleanerFactory;->cleaner()Ljava/lang/ref/Cleaner;
30772 …leanerImpl$PhantomCleanableRef;-><init>(Ljava/lang/Object;Ljava/lang/ref/Cleaner;Ljava/lang/Runnab…
30774 HSPLjdk/internal/ref/CleanerImpl;->getCleanerImpl(Ljava/lang/ref/Cleaner;)Ljdk/internal/ref/Cleaner…
30775 HSPLjdk/internal/ref/PhantomCleanable;-><init>(Ljava/lang/Object;Ljava/lang/ref/Cleaner;)V
31107 HSPLlibcore/util/NativeAllocationRegistry$CleanerRunner;-><init>(Lsun/misc/Cleaner;)V
31424 HSPLsun/misc/Cleaner;-><init>(Ljava/lang/Object;Ljava/lang/Runnable;)V
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37882 Landroid/os/SharedMemory;->mCleaner:Lsun/misc/Cleaner;
58750 Landroid/view/autofill/AutofillManager;->mServiceClientCleaner:Lsun/misc/Cleaner;