Home
last modified time | relevance | path

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

/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/
DClassesInfoCache.java41 private final Map<Class, CallbackInfo> mCallbackMap = new HashMap<>();
79 CallbackInfo getInfo(Class klass) { in getInfo()
80 CallbackInfo existing = mCallbackMap.get(klass); in getInfo()
103 private CallbackInfo createInfo(Class klass, @Nullable Method[] declaredMethods) { in createInfo()
107 CallbackInfo superInfo = getInfo(superclass); in createInfo()
157 CallbackInfo info = new CallbackInfo(handlerToEvent); in createInfo()
164 static class CallbackInfo { class in ClassesInfoCache
168 CallbackInfo(Map<MethodReference, Lifecycle.Event> handlerToEvent) { in CallbackInfo() method in ClassesInfoCache.CallbackInfo
DReflectiveGenericLifecycleObserver.java19 import androidx.lifecycle.ClassesInfoCache.CallbackInfo;
27 private final CallbackInfo mInfo;
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1274 private static class CallbackInfo { class in LauncherApps.CallbackMessageHandler
1290 if (mCallback == null || !(msg.obj instanceof CallbackInfo)) { in handleMessage()
1293 CallbackInfo info = (CallbackInfo) msg.obj; in handleMessage()
1324 CallbackInfo info = new CallbackInfo(); in postOnPackageAdded()
1331 CallbackInfo info = new CallbackInfo(); in postOnPackageRemoved()
1338 CallbackInfo info = new CallbackInfo(); in postOnPackageChanged()
1346 CallbackInfo info = new CallbackInfo(); in postOnPackagesAvailable()
1355 CallbackInfo info = new CallbackInfo(); in postOnPackagesUnavailable()
1364 CallbackInfo info = new CallbackInfo(); in postOnPackagesSuspended()
1372 CallbackInfo info = new CallbackInfo(); in postOnPackagesUnsuspended()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java128 if (arg instanceof CallbackInfo) { in handleUpdateState()
129 final CallbackInfo info = (CallbackInfo) arg; in handleUpdateState()
200 CallbackInfo mCallbackInfo = new CallbackInfo();
220 protected static final class CallbackInfo { class in HotspotTile
DCellularTile.java165 CallbackInfo cb = (CallbackInfo) arg; in handleUpdateState()
211 private CharSequence getMobileDataDescription(CallbackInfo cb) { in getMobileDataDescription()
233 private static final class CallbackInfo { class in CellularTile
244 private final CallbackInfo mInfo = new CallbackInfo();
DWifiTile.java157 final CallbackInfo cb = mSignalCallback.mInfo; in handleUpdateState()
258 protected static final class CallbackInfo { class in WifiTile
285 final CallbackInfo mInfo = new CallbackInfo();
/frameworks/base/media/java/android/media/
DMediaRouter.java77 final CopyOnWriteArrayList<CallbackInfo> mCallbacks =
78 new CopyOnWriteArrayList<CallbackInfo>();
270 CallbackInfo cbi = mCallbacks.get(i); in updateDiscoveryRequest()
878 CallbackInfo info; in addCallback()
885 info = new CallbackInfo(cb, types, flags, this); in addCallback()
909 final CallbackInfo info = sStatic.mCallbacks.get(i); in findCallbackInfo()
1252 for (CallbackInfo cbi : sStatic.mCallbacks) { in dispatchRouteSelected()
1260 for (CallbackInfo cbi : sStatic.mCallbacks) { in dispatchRouteUnselected()
1276 for (CallbackInfo cbi : sStatic.mCallbacks) { in dispatchRouteChanged()
1303 for (CallbackInfo cbi : sStatic.mCallbacks) { in dispatchRouteAdded()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1426 private static class CallbackInfo { class in ConnectivityServiceTest
1430 public CallbackInfo(CallbackState s, Network n, Object o) { in CallbackInfo() method in ConnectivityServiceTest.CallbackInfo
1438 if (!(o instanceof CallbackInfo)) return false; in equals()
1440 CallbackInfo other = (CallbackInfo) o; in equals()
1460 private final LinkedBlockingQueue<CallbackInfo> mCallbacks = new LinkedBlockingQueue<>();
1464 mCallbacks.offer(new CallbackInfo(state, network, o)); in setLastCallback()
1513 CallbackInfo nextCallback(int timeoutMs) { in nextCallback()
1514 CallbackInfo cb = null; in nextCallback()
1526 CallbackInfo expectCallback(CallbackState state, MockNetworkAgent agent, int timeoutMs) { in expectCallback()
1528 CallbackInfo expected = new CallbackInfo(state, expectedNetwork, 0); in expectCallback()
[all …]
/frameworks/base/config/
Dpreloaded-classes2081 android.media.MediaRouter$CallbackInfo
Dboot-image-profile.txt25170 HSPLandroid/media/MediaRouter$CallbackInfo;->filterRouteEvent(I)Z
25171 HSPLandroid/media/MediaRouter$CallbackInfo;->filterRouteEvent(Landroid/media/MediaRouter$RouteInfo;…
54658 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;
56468 Landroid/media/MediaRouter$CallbackInfo;