/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 | 58 <dt><b><a href="manifest-receivers.html">Manipulating Broadcast Receivers On Demand</a></b></dt> 59 <dd>Broadcast receivers that you've declared in the manifest can be toggled at runtime to disable 61 efficiency by toggling and cascading state change receivers and delay actions until the device is in
|
connectivity-monitoring.jd | 9 next.title=Manipulating Broadcast Receivers On Demand 10 next.link=manifest-receivers.html 89 <p>This technique requires toggling broadcast receivers you've declard in the manifest, which is
|
/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...] |
/tools/motodev/src/plugins/android/templates/widget_project/ |
AndroidWidgetManifest.template | 8 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 | 44 final boolean ordered; // serialize the send to receivers? 49 final List receivers; // contains BroadcastFilter and ResolveInfo field in class:BroadcastRecord 51 long dispatchTime; // when dispatch started on this set of receivers 71 // was found in our list of registered receivers). 151 final int N = receivers != null ? receivers.size() : 0; 155 Object o = receivers.get(i); 179 receivers = _receivers;
|
BroadcastQueue.java | 74 * contains broadcasts to registered receivers, to avoid spinning up 478 final int N = r.receivers.size(); 482 Object target = r.receivers.get(i); 545 // receivers don't get executed with timeouts. They're intended for 548 int numReceivers = (r.receivers != null) ? r.receivers.size() : 0; 576 if (r.receivers == null || r.nextReceiver >= numReceivers 578 // No more receivers for this broadcast! Send the final 636 Object nextReceiver = r.receivers.get(recIdx); [all...] |
/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/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.
|
regress-1491.js | 29 // receivers.
|
regress-crbug-87478.js | 29 // 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);
|
/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/jmonkeyengine/engine/src/core/com/jme3/shadow/ |
ShadowUtil.java | 327 * @param receivers
332 GeometryList receivers,
335 updateShadowCamera(occluders, receivers, shadowCam, points, null);
348 GeometryList receivers,
369 for (int i = 0; i < receivers.size(); i++) {
371 Geometry receiver = receivers.get(i);
|
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/ |
FmService.java | 53 * registered receivers, etc) at this point. Upon return, there will be no
|
/tools/motodev/src/help/studio_help/src/topics/ |
u_new-broadcast-receiver.dita | 40 <stentry>The class from which the broadcast receiver inherits. For broadcast receivers, this is <codeph
|