Home
last modified time | relevance | path

Searched refs:broadcastManager (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowLocalBroadcastManagerTest.java91 …LocalBroadcastManager broadcastManager = LocalBroadcastManager.getInstance(RuntimeEnvironment.appl… in testGetBroadcastIntents() local
92 broadcastManager.registerReceiver(new BroadcastReceiver() { in testGetBroadcastIntents()
99 broadcastManager.sendBroadcast(intent1); in testGetBroadcastIntents()
101 broadcastManager.sendBroadcast(intent2); in testGetBroadcastIntents()
108 …LocalBroadcastManager broadcastManager = LocalBroadcastManager.getInstance(RuntimeEnvironment.appl… in testGetRegisteredBroadcastReceivers() local
109 ShadowLocalBroadcastManager shadowLocalBroadcastManager = shadowOf(broadcastManager); in testGetRegisteredBroadcastReceivers()
118 broadcastManager.registerReceiver(receiver, filter); in testGetRegisteredBroadcastReceivers()
125 broadcastManager.unregisterReceiver(receiver); in testGetRegisteredBroadcastReceivers()
131 …LocalBroadcastManager broadcastManager = LocalBroadcastManager.getInstance(RuntimeEnvironment.appl… in testGetSentBroadcastIntents() local
132 ShadowLocalBroadcastManager shadowLocalBroadcastManager = shadowOf(broadcastManager); in testGetSentBroadcastIntents()
[all …]
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSimpleLogger.java40 private LocalBroadcastManager broadcastManager; field in SimpleLogger
52 broadcastManager = LocalBroadcastManager.getInstance(context); in SimpleLogger()
59 if (broadcastManager != null) { in log()
62 broadcastManager.sendBroadcast(intent); in log()
67 broadcastManager.registerReceiver(broadcastReceiver, new IntentFilter(LOG_INTENT)); in registerReceiver()
71 broadcastManager.unregisterReceiver(broadcastReceiver); in unregisterReceiver()
DBaseUsbConnection.java39 private LocalBroadcastManager broadcastManager; field in BaseUsbConnection
51 broadcastManager = LocalBroadcastManager.getInstance(context); in BaseUsbConnection()
88 broadcastManager.unregisterReceiver(currentConnectReceiver); in registerConnectCallback()
100 broadcastManager.unregisterReceiver(this); in registerConnectCallback()
104 broadcastManager.registerReceiver(currentConnectReceiver, in registerConnectCallback()
178 broadcastManager.sendBroadcast(new Intent(getConnectIntent()));
DMainActivity.java75 LocalBroadcastManager broadcastManager; field in MainActivity
219 broadcastManager = LocalBroadcastManager.getInstance(this); in onCreate()