Home
last modified time | relevance | path

Searched refs:sRegistry (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodPrivilegedOperationsRegistry.java44 private static WeakHashMap<IBinder, WeakReference<InputMethodPrivilegedOperations>> sRegistry; field in InputMethodPrivilegedOperationsRegistry
74 if (sRegistry == null) { in put()
75 sRegistry = new WeakHashMap<>(); in put()
77 sRegistry.put(token, new WeakReference<>(ops)); in put()
94 if (sRegistry == null) { in get()
97 final WeakReference<InputMethodPrivilegedOperations> wrapperRef = sRegistry.get(token); in get()
121 if (sRegistry == null) { in remove()
124 sRegistry.remove(token); in remove()
125 if (sRegistry.isEmpty()) { in remove()
126 sRegistry = null; in remove()
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java92 private static ITelephonyRegistry sRegistry; field in TelephonyRegistryManager
122 if (sRegistry == null) { in TelephonyRegistryManager()
123 sRegistry = ITelephonyRegistry.Stub.asInterface( in TelephonyRegistryManager()
161 sRegistry.addOnSubscriptionsChangedListener(mContext.getOpPackageName(), in addOnSubscriptionsChangedListener()
183 sRegistry.removeOnSubscriptionsChangedListener(mContext.getOpPackageName(), in removeOnSubscriptionsChangedListener()
228 sRegistry.addOnOpportunisticSubscriptionsChangedListener(mContext.getOpPackageName(), in addOnOpportunisticSubscriptionsChangedListener()
251 sRegistry.removeOnSubscriptionsChangedListener(mContext.getOpPackageName(), in removeOnOpportunisticSubscriptionsChangedListener()
297 sRegistry.listenWithEventList(renounceFineLocationAccess, renounceCoarseLocationAccess, in listenFromListener()
319 sRegistry.listenWithEventList(renounceFineLocationAccess, renounceCoarseLocationAccess, in listenFromCallback()
346 sRegistry.notifyCarrierNetworkChange(active); in notifyCarrierNetworkChange()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DLongArrayMultiStateCounter.java71 private static NativeAllocationRegistry sRegistry; field in LongArrayMultiStateCounter.LongArrayContainer
86 if (sRegistry == null) { in registerNativeAllocation()
88 if (sRegistry == null) { in registerNativeAllocation()
89 sRegistry = NativeAllocationRegistry.createMalloced( in registerNativeAllocation()
94 sRegistry.registerNativeAllocation(this, mNativeObject); in registerNativeAllocation()
159 private static volatile NativeAllocationRegistry sRegistry; field in LongArrayMultiStateCounter
180 if (sRegistry == null) { in registerNativeAllocation()
182 if (sRegistry == null) { in registerNativeAllocation()
183 sRegistry = NativeAllocationRegistry.createMalloced( in registerNativeAllocation()
189 sRegistry.registerNativeAllocation(this, mNativeObject); in registerNativeAllocation()
DLongMultiStateCounter.java63 private static NativeAllocationRegistry sRegistry; field in LongMultiStateCounter
87 if (sRegistry == null) { in registerNativeAllocation()
89 if (sRegistry == null) { in registerNativeAllocation()
90 sRegistry = NativeAllocationRegistry.createMalloced( in registerNativeAllocation()
95 sRegistry.registerNativeAllocation(this, mNativeObject); in registerNativeAllocation()
/frameworks/base/graphics/java/android/graphics/
DColorFilter.java29 public static final NativeAllocationRegistry sRegistry = field in ColorFilter.NoImagePreloadHolder
58 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativeInstance); in getNativeInstance()
DShader.java35 public static final NativeAllocationRegistry sRegistry = field in Shader.NoImagePreloadHolder
194 mCleaner = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in getNativeInstance()
DPathIterator.java48 private static final NativeAllocationRegistry sRegistry = field in PathIterator
86 sRegistry.registerNativeAllocation(this, mNativeIterator); in PathIterator()
DGainmap.java88 public static final NativeAllocationRegistry sRegistry = field in Gainmap.NoImagePreloadHolder
105 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, nativeGainmap); in Gainmap()
DRuntimeShader.java249 public static final NativeAllocationRegistry sRegistry = field in RuntimeShader.NoImagePreloadHolder
278 NoImagePreloadHolder.sRegistry.registerNativeAllocation( in RuntimeShader()
DPath.java45 static final NativeAllocationRegistry sRegistry = field in Path.NoImagePreloadHolder
60 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativePath); in Path()
70 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativePath); in Path()
DMatrix.java233 public static final NativeAllocationRegistry sRegistry = field in Matrix.NoImagePreloadHolder
245 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, native_instance); in Matrix()
255 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, native_instance); in Matrix()
DRenderNode.java199 public static final NativeAllocationRegistry sRegistry = field in RenderNode.NoImagePreloadHolder
229 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativeRenderNode); in RenderNode()
238 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativeRenderNode); in RenderNode()
DCanvas.java81 public static final NativeAllocationRegistry sRegistry = field in Canvas.NoImagePreloadHolder
99 mFinalizer = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in Canvas()
122 mFinalizer = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in Canvas()
137 mFinalizer = NoImagePreloadHolder.sRegistry.registerNativeAllocation( in Canvas()
/frameworks/base/core/java/android/hardware/
DSyncFence.java81 private static final NativeAllocationRegistry sRegistry = field in SyncFence
95 mCloser = sRegistry.registerNativeAllocation(this, mNativePtr); in SyncFence()
106 mCloser = sRegistry.registerNativeAllocation(this, mNativePtr); in SyncFence()
121 mCloser = sRegistry.registerNativeAllocation(this, mNativePtr); in SyncFence()
DOverlayProperties.java43 private static final NativeAllocationRegistry sRegistry = field in OverlayProperties
55 mCloser = sRegistry.registerNativeAllocation(this, nativeObject); in OverlayProperties()
/frameworks/base/core/java/android/view/
DSurfaceControlHdrLayerInfoListener.java32 private static final NativeAllocationRegistry sRegistry = field in SurfaceControlHdrLayerInfoListener
65 Runnable destructor = sRegistry.registerNativeAllocation(this, nativePtr); in register()
DInputChannel.java39 private static final NativeAllocationRegistry sRegistry = field in InputChannel
97 sRegistry.registerNativeAllocation(this, nativeChannel); in setNativeInputChannel()
DSurfaceControl.java511 private static final NativeAllocationRegistry sRegistry = field in SurfaceControl
813 sRegistry.registerNativeAllocation(this, nativeObject); in assignNativeObject()
2775 private static final NativeAllocationRegistry sRegistry = field in SurfaceControl.TrustedPresentationCallback
2784 mFreeNativeResources = sRegistry.registerNativeAllocation(this, mNativeObject); in TrustedPresentationCallback()
2804 public static final NativeAllocationRegistry sRegistry = new NativeAllocationRegistry( field in SurfaceControl.Transaction
2839 mFreeNativeResources = sRegistry.registerNativeAllocation(this, mNativeObject); in Transaction()
4696 mFreeNativeResources = sRegistry.registerNativeAllocation(this, mNativeObject); in readFromParcel()
/frameworks/base/ravenwood/bivalenttest/test/com/android/ravenwoodtest/bivalenttest/
DRavenwoodNativeAllocationRegistryTest.java56 public static final NativeAllocationRegistry sRegistry = field in RavenwoodNativeAllocationRegistryTest.Data.NarHolder
63 NarHolder.sRegistry.registerNativeAllocation(this, mNativePtr); in Data()
/frameworks/base/core/java/android/window/
DInputTransferToken.java64 private static final NativeAllocationRegistry sRegistry = field in InputTransferToken
75 sRegistry.registerNativeAllocation(this, nativeObject); in InputTransferToken()
DScreenCapture.java681 private static final NativeAllocationRegistry sRegistry = field in ScreenCapture.ScreenCaptureListener
690 sRegistry.registerNativeAllocation(this, mNativeObject); in ScreenCaptureListener()
696 sRegistry.registerNativeAllocation(this, mNativeObject); in ScreenCaptureListener()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java389 private static final NativeAllocationRegistry sRegistry = field in LineBreaker.Result
396 sRegistry.registerNativeAllocation(this, mPtr); in Result()
486 private static final NativeAllocationRegistry sRegistry = field in LineBreaker.NoImagePreloadHolder
507 NoImagePreloadHolder.sRegistry.registerNativeAllocation(this, mNativePtr); in LineBreaker()
DMeasuredText.java223 private static final NativeAllocationRegistry sRegistry = field in MeasuredText.Builder
492 sRegistry.registerNativeAllocation(res, ptr); in build()
/frameworks/native/cmds/idlcli/
Dutils.h242 static CommandRegistry sRegistry; in Instance() local
243 return &sRegistry; in Instance()
/frameworks/base/core/java/android/os/
DBinderProxy.java463 NoImagePreloadHolder.sRegistry.registerNativeAllocation(result, nativeData); in getInstance()
486 public static final NativeAllocationRegistry sRegistry = new NativeAllocationRegistry( field in BinderProxy.NoImagePreloadHolder

12