Home
last modified time | relevance | path

Searched refs:sManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/testables/src/android/testing/
DTestableInstrumentation.java38 private static MainLooperManager sManager; field in TestableInstrumentation
43 sManager = new MainLooperManager(); in onCreate()
60 sManager.destroy(); in finish()
66 if (sManager != null) { in acquireMain()
67 sManager.acquireMain(); in acquireMain()
72 if (sManager != null) { in releaseMain()
73 sManager.releaseMain(); in releaseMain()
/frameworks/layoutlib/bridge/src/android/view/
DSurfaceControl_Delegate.java27 private static final DelegateManager<SurfaceControl_Delegate> sManager = field in SurfaceControl_Delegate
33 return sManager.addNewDelegate(new SurfaceControl_Delegate()); in nativeCreateTransaction()
40 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetNativeTransactionFinalizer()
DDisplayEventReceiver_Delegate.java30 private static final DelegateManager<DisplayEventReceiver_Delegate> sManager = field in DisplayEventReceiver_Delegate
38 return sManager.addNewDelegate(new DisplayEventReceiver_Delegate()); in nativeInit()
45 … sFinalizer = NativeAllocationRegistry_Delegate.createFinalizer(sManager::removeJavaReferenceFor); in nativeGetDisplayEventReceiverFinalizer()
/frameworks/layoutlib/bridge/src/android/os/
DBinder_Delegate.java35 private static final DelegateManager<Binder_Delegate> sManager = field in Binder_Delegate
41 return sManager.addNewDelegate(new Binder_Delegate()); in getNativeBBinderHolder()
49 sManager::removeJavaReferenceFor); in getNativeFinalizer()
/frameworks/layoutlib/bridge/src/libcore/util/
DNativeAllocationRegistry_Delegate.java37 private static final DelegateManager<NativeAllocationRegistry_Delegate> sManager = field in NativeAllocationRegistry_Delegate
50 return sManager.addNewDelegate(new NativeAllocationRegistry_Delegate(finalizer)); in createFinalizer()
59 NativeAllocationRegistry_Delegate delegate = sManager.getDelegate(freeFunction); in applyFreeFunction()
/frameworks/layoutlib/bridge/src/android/content/res/
DAssetManager_Delegate.java37 private static final DelegateManager<AssetManager_Delegate> sManager = field in AssetManager_Delegate
46 return sManager.addNewDelegate(delegate); in nativeCreate()
51 sManager.removeJavaReferenceFor(ptr); in nativeDestroy()
DResources_Theme_Delegate.java45 private static final DelegateManager<Resources_Theme_Delegate> sManager = field in Resources_Theme_Delegate
49 return sManager; in getDelegateManager()
/frameworks/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java39 private static final DelegateManager<MemoryMappedFile_Delegate> sManager = new field in MemoryMappedFile_Delegate
73 long delegateIndex = sManager.addNewDelegate(newDelegate); in mmapRO()
89 sManager.removeJavaReferenceFor(index); in close()
115 return index == null ? null : sManager.getDelegate(index); in getDelegate()
/frameworks/base/core/java/android/content/res/
DResourceTimer.java63 private static ResourceTimer sManager; field in ResourceTimer
/frameworks/av/media/codec2/hal/client/
Dclient.cpp2668 static AidlDeathManager *sManager = new AidlDeathManager(); in GetAidlDeathManager() local
2669 return sManager; in GetAidlDeathManager()