/frameworks/base/docs/html/training/monitoring-device-state/ |
manifest-receivers.jd | 1 page.title=Manipulating Broadcast Receivers On Demand 17 <li><a href="#ToggleReceivers">Toggle and Cascade State Change Receivers to Improve 32 your application manifest. Then within each of these receivers you simply reschedule your recurring 36 receivers is triggered—potentially much more frequently than required.</p> 38 <p>A better approach is to disable or enable the broadcast receivers at runtime. That way you can 39 use the receivers you declared in the manifest as passive alarms that are triggered by system events 43 <h2 id="ToggleReceivers">Toggle and Cascade State Change Receivers to Improve Efficiency </h2> 46 component defined in the manifest, including whichever broadcast receivers you wish to enable or 58 your receivers except the connectivity-change receiver. Conversely, once you are connected you can
|
index.jd | 57 <dt><b><a href="manifest-receivers.html">Manipulating Broadcast Receivers On Demand</a></b></dt> 58 <dd>Broadcast receivers that you've declared in the manifest can be toggled at runtime to disable 60 efficiency by toggling and cascading state change receivers and delay actions until the device is in
|
/frameworks/support/v4/java/android/support/v4/content/ |
LocalBroadcastManager.java | 71 final ArrayList<ReceiverRecord> receivers; field in class:LocalBroadcastManager.BroadcastRecord 75 receivers = _receivers; 173 ArrayList<ReceiverRecord> receivers = mActions.get(action); local 174 if (receivers != null) { 175 for (int k=0; k<receivers.size(); k++) { 176 if (receivers.get(k).receiver == receiver) { 177 receivers.remove(k); 181 if (receivers.size() <= 0) { 193 * executing while the receivers are run. 195 * @param intent The Intent to broadcast; all receivers matching thi 219 ArrayList<ReceiverRecord> receivers = null; local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
ApplicationResolverTest.java | 50 List<ShadowApplication.Wrapper> receivers = shadowOf(application).getRegisteredReceivers(); local 51 assertEquals(7, receivers.size()); 52 assertTrue(receivers.get(0).intentFilter.matchAction("com.xtremelabs.robolectric.ACTION1"));
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2273.js | 30 // Receivers of strict functions are not coerced. 36 // Receivers of strict functions are not coerced. 42 // Receivers of strict functions are not coerced. 48 // Receivers of strict functions are not coerced. 53 // Receivers of non-strict functions are coerced to objects.
|
regress-318420.js | 34 receivers: [bar, bar, undefined, null], 36 for (var a = this.functions, e = this.receivers, c = a.length,
|
regress-1062422.js | 28 // 1062422 Ensure that accessors can handle unexpected receivers.
|
/frameworks/base/docs/html-intl/ru/training/monitoring-device-state/ |
connectivity-monitoring.jd | 9 next.title=Manipulating Broadcast Receivers On Demand 10 next.link=manifest-receivers.html
|
index.jd | 47 <dt><b><a href="manifest-receivers.html">???????? ? ??????????? ????????????????? ????????? ?? ???????</a></b></dt>
|
manifest-receivers.jd | 1 page.title=Manipulating Broadcast Receivers On Demand
|
/frameworks/base/services/java/com/android/server/am/ |
BroadcastRecord.java | 46 final boolean ordered; // serialize the send to receivers? 53 final List receivers; // contains BroadcastFilter and ResolveInfo field in class:BroadcastRecord 55 long dispatchTime; // when dispatch started on this set of receivers 76 // was found in our list of registered receivers). 161 final int N = receivers != null ? receivers.size() : 0; 165 Object o = receivers.get(i); 192 receivers = _receivers;
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 164 LinearLayout receivers = (LinearLayout)findViewById(R.id.receivers); local 188 if (info.receivers != null) { 189 final int N = info.receivers.length; 191 ActivityInfo ai = info.receivers[i]; 196 receivers.addView(view, lp); 199 receivers.setVisibility(View.GONE);
|
/external/kernel-headers/original/linux/ |
nvhdcp.h | 24 /* maximum receivers and repeaters connected at a time */ 75 // (OUT) Up to 127 receivers & repeaters
|
/external/chromium_org/media/cast/ |
cast_receiver_impl.h | 22 // receivers.
|
cast_receiver_impl.cc | 15 // The video and audio receivers should only be called from the main thread. 68 // The video and audio receivers should only be called from the main thread.
|
/external/srtp/crypto/include/ |
rdb.h | 68 * senders, not receivers - DO NOT use these functions on the same
|
/external/v8/test/mjsunit/regress/ |
regress-1062422.js | 28 // 1062422 Ensure that accessors can handle unexpected receivers.
|
/frameworks/base/docs/html-intl/ja/training/monitoring-device-state/ |
connectivity-monitoring.jd | 10 next.link=manifest-receivers.html
|
index.jd | 47 <dt><b><a href="manifest-receivers.html">???????????????? ??????</a></b></dt>
|
/frameworks/base/docs/html-intl/zh-cn/training/monitoring-device-state/ |
connectivity-monitoring.jd | 10 next.link=manifest-receivers.html
|
index.jd | 47 <dt><b><a href="manifest-receivers.html">???????????</a></b></dt>
|
/external/v8/test/mjsunit/harmony/ |
collections.js | 284 receivers: alwaysBogus.concat([ new Map, new WeakMap ]), 288 receivers: alwaysBogus.concat([ new Set, new WeakMap ]), 292 receivers: alwaysBogus.concat([ new Set, new Map ]), 299 var receivers = testSet[i].receivers; 302 for (var k = 0; k < receivers.length; k++) { 303 assertThrows(function () { func.call(receivers[k], {}) }, TypeError);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricConfig.java | 32 private final List<ReceiverAndIntentFilter> receivers = new ArrayList<ReceiverAndIntentFilter>(); field in class:RobolectricConfig 141 receivers.add(new ReceiverAndIntentFilter(receiverName, actions)); 232 return receivers.size(); 237 return receivers.get(receiverIndex).getBroadcastReceiverClassName(); 242 return receivers.get(receiverIndex).getIntentFilterActions();
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
Compatibility.java | 40 * enables or disables control panel receivers as needed to ensure that only 93 * It then enables the open/close receivers in the active control panel, 202 // The open and close receivers are likely the same, but they may not be. 219 // broadcast to newly enabled receivers, while sending "close session" to 220 // receivers that are about to be disabled. We could also consider just
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
collections.js | 363 receivers: alwaysBogus.concat([ new Map, new WeakMap, new WeakSet ]), 367 receivers: alwaysBogus.concat([ new Set, new WeakMap, new WeakSet ]), 371 receivers: alwaysBogus.concat([ new Set, new Map, new WeakSet ]), 375 receivers: alwaysBogus.concat([ new Set, new Map, new WeakMap ]), 382 var receivers = testSet[i].receivers; 385 for (var k = 0; k < receivers.length; k++) { 386 assertThrows(function () { func.call(receivers[k], {}) }, TypeError);
|