Home
last modified time | relevance | path

Searched refs:mContextRef (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java62 private final WeakReference<Context> mContextRef; field in ApplicationContext
65 mContextRef = new WeakReference<>(context); in ApplicationContext()
70 Context context = mContextRef.get(); in getAssets()
79 Context context = mContextRef.get(); in getResources()
88 Context context = mContextRef.get(); in getPackageManager()
97 Context context = mContextRef.get(); in getContentResolver()
106 Context context = mContextRef.get(); in getMainLooper()
120 Context context = mContextRef.get(); in setTheme()
128 Context context = mContextRef.get(); in getTheme()
137 Context context = mContextRef.get(); in getClassLoader()
[all …]
DBridgePackageManager.java68 private final WeakReference<Context> mContextRef; field in BridgePackageManager
71 mContextRef = new WeakReference<>(context); in BridgePackageManager()
187 Context context = mContextRef.get(); in getApplicationInfo()
198 Context context = mContextRef.get(); in getApplicationInfo()
208 Context context = mContextRef.get(); in getApplicationInfoAsUser()
219 Context context = mContextRef.get(); in getApplicationInfoAsUser()
/frameworks/base/core/java/android/window/
DWindowTokenClient.java65 private WeakReference<Context> mContextRef = null; field in WindowTokenClient
86 if (mContextRef != null) { in attachContext()
89 mContextRef = new WeakReference<>(context); in attachContext()
100 return mContextRef != null ? mContextRef.get() : null; in getContext()
145 final Context context = mContextRef.get(); in onConfigurationChanged()
240 final Context context = mContextRef.get(); in onWindowTokenRemoved()
243 mContextRef.clear(); in onWindowTokenRemoved()