HomeSort by relevance Sort by last modified time
    Searched full:receivers (Results 1 - 25 of 272) sorted by null

1 2 3 4 5 6 7 8 91011

  /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&mdash;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/chromium_org/v8/test/webkit/fast/js/
Promise-then-callback-receiver-expected.txt 1 Test whether then callback receivers are correctly set.
  /external/chromium_org/components/password_manager/core/browser/
log_router.h 19 // The router stands between PasswordManagerClient instances and log receivers.
22 // logs to the receivers for displaying.
28 // Passes logs to the router. Only call when there are receivers registered.
36 // receivers or not. RegisterClient adds |client| to the right observer list
37 // and returns true iff there are some receivers registered.
42 // The receivers must register to get updates with new logs in the future.
51 // Observer lists for clients and receivers. The |true| in the template
log_router_unittest.cc 47 // Without receivers, accumulated logs should not have been kept. That means
81 // Check that both receivers get log updates.
112 // The client should be told the LogRouter has some receivers.
115 // receivers.
124 // receivers.
139 // receivers.
log_router.cc 20 // This may not be called when there are no receivers (i.e., the router is
  /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/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/core/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);
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
PersistentIntentResolvingTest.java 62 // receivers. No intent is received.
89 // receivers. No intent is received.
  /external/srtp/crypto/include/
rdb.h 68 * senders, not receivers - DO NOT use these functions on the same
  /frameworks/base/docs/html-intl/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/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/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/es6/
weak_collections.js 289 receivers: alwaysBogus.concat([ new WeakSet ]),
293 receivers: alwaysBogus.concat([ new WeakMap ]),
300 var receivers = testSet[i].receivers;
303 for (var k = 0; k < receivers.length; k++) {
304 assertThrows(function () { func.call(receivers[k], {}) }, TypeError);

Completed in 534 milliseconds

1 2 3 4 5 6 7 8 91011