Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/docs/html/guide/topics/manifest/
Dreceiver-element.jd24 <dd>Declares a broadcast receiver (a {@link android.content.BroadcastReceiver}
26 applications to receive intents that are broadcast by the system or by other
30 There are two ways to make a broadcast receiver known to the system: One is
41 <dd>Whether or not the broadcast receiver can be instantiated by the system &mdash;
48 application components, including broadcast receivers. The
51 the broadcast receiver to be enabled. If either is "{@code false}", it is
56 <dd>Whether or not the broadcast receiver can receive messages from sources
58 if not. If "{@code false}", the only messages the broadcast receiver can
63 The default value depends on whether the broadcast receiver contains intent filters.
68 On the other hand, the presence of at least one filter implies that the broadcast
[all …]
Dintent-filter-element.jd26 <dd>Specifies the types of intents that an activity, service, or broadcast
51 <dd>An icon that represents the parent activity, service, or broadcast
97 meaning for both activities and broadcast receivers:
106 <li><p>It controls the order in which broadcast receivers are executed to
107 receive broadcast messages. Those with higher priority
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java49 b.broadcast(msg); in test1()
85 b.broadcast(msg); in go()
148 b.broadcast(msg); in test4()
183 b.broadcast(msg); in test5()
219 b.broadcast(msg); in test6()
/frameworks/base/services/java/com/android/server/
DThrottleService.java454 Intent broadcast = new Intent(ThrottleManager.POLICY_CHANGED_ACTION); in onPolicyChanged() local
455 mContext.sendBroadcast(broadcast); in onPolicyChanged()
499 Intent broadcast = new Intent(ThrottleManager.THROTTLE_POLL_ACTION); in onPollAlarm() local
500 broadcast.putExtra(ThrottleManager.EXTRA_CYCLE_READ, periodRx); in onPollAlarm()
501 broadcast.putExtra(ThrottleManager.EXTRA_CYCLE_WRITE, periodTx); in onPollAlarm()
502 broadcast.putExtra(ThrottleManager.EXTRA_CYCLE_START, getPeriodStartTime(mIface)); in onPollAlarm()
503 broadcast.putExtra(ThrottleManager.EXTRA_CYCLE_END, getResetTime(mIface)); in onPollAlarm()
504 mContext.sendStickyBroadcast(broadcast); in onPollAlarm()
558 Intent broadcast = new Intent(ThrottleManager.THROTTLE_ACTION); in checkThrottleAndPostNotification() local
559 broadcast.putExtra(ThrottleManager.EXTRA_THROTTLE_LEVEL, mPolicyThrottleValue); in checkThrottleAndPostNotification()
[all …]
DEventLogTags.logtags21 # This is logged when the screen on broadcast has completed
23 # This is logged when the screen broadcast has completed
25 # This is logged when the screen on broadcast has completed
DAppWidgetService.java86 PendingIntent broadcast; field in AppWidgetService.Provider
325 if (p.broadcast != null) { in cancelBroadcasts()
326 mAlarmManager.cancel(p.broadcast); in cancelBroadcasts()
329 p.broadcast.cancel(); in cancelBroadcasts()
333 p.broadcast = null; in cancelBroadcasts()
638 boolean alreadyRegistered = p.broadcast != null; in registerForBroadcastsLocked()
644 p.broadcast = PendingIntent.getBroadcast(mContext, 1, intent, in registerForBroadcastsLocked()
655 SystemClock.elapsedRealtime() + period, period, p.broadcast); in registerForBroadcastsLocked()
/frameworks/base/docs/html/guide/market/billing/
Dbilling_integrate.jd18 <li><a href="#billing-broadcast-receiver">Creating a BroadcastReceiver</a></li>
51 …<li><a href="#billing-broadcast-receiver">Create a BroadcastReceiver</a> to handle broadcast inten…
63 <li>Handling broadcast intents (asynchronous responses) from the Android Market application.</li>
97 …ontent.BroadcastReceiver} that receives asynchronous response messages (broadcast intents) from An…
166broadcast intents) from Android Market, and you need to declare the {@link android.app.Service} th…
168 …er</code> is the {@link android.content.BroadcastReceiver} that handles broadcast intents from the…
255 …chase response; the complete response is delivered with an asynchronous broadcast intent. For more…
302 …LLING_SUPPORTED</code> request does not trigger any asynchronous responses (broadcast intents).</p>
311 <li>Handle the broadcast intents that are sent by the Android Market application.</li>
372 <h5>Handling broadcast intents</h5>
[all …]
Dbilling_reference.jd48 …PP_RESPONSE_CODE</code> extras in the <code>ACTION_RESPONSE_CODE</code> broadcast intent. Your app…
230broadcast intents that are sent by the Android Market application. These broadcast intents inform …
234 <p>This broadcast intent contains an Android Market response code, and is sent after you make an in…
245 …sactions. After your application receives an <code>ACTION_NOTIFY</code> broadcast intent, you send…
255 <p>This broadcast intent contains detailed information about one or more transactions. The transact…
Dbilling_overview.jd48 …sponses from the Android Market application in the form of asynchronous broadcast intents. Your ap…
119 <p>The asynchronous response messages are sent in the form of individual broadcast intents and incl…
126 …sactions. After your application receives an <code>ACTION_NOTIFY</code> broadcast intent, you send…
163 …<td>A unique identifier that is sent with an <code>ACTION_NOTIFY</code> broadcast intent. Each <co…
194 …r clarity, Figure 2 does not show the <code>ACTION_RESPONSE_CODE</code> broadcast intents that are…
214 …d are shown in <strong>bold</strong> (<code>ACTION_RESPONSE_CODE</code> broadcast intents have bee…
224 …e Android Market application sends an <code>ACTION_RESPONSE_CODE</code> broadcast intent, which pr…
226 …equest type also triggers an <code>ACTION_PURCHASE_STATE_CHANGED</code> broadcast intent, which co…
247 …ing that is contained in the <code>ACTION_PURCHASE_STATE_CHANGED</code> broadcast intent. Android …
/frameworks/base/services/surfaceflinger/
DBarrier.h34 cv.broadcast(); in open()
/frameworks/base/cmds/runtime/
DServiceManager.cpp55 mChanged.broadcast(); in addService()
/frameworks/base/include/utils/
Dthreads.h413 void broadcast();
474 inline void Condition::broadcast() { in broadcast() function
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd10 <li>App Widgets are backed by a special kind of broadcast receiver that handles the App
22 <li><a href="#ProviderBroadcasts">Receiving App Widget broadcast Intents</a></li>
73 …based on broadcast events. Through it, you will receive broadcasts when the App Widget is updated,
108 android.appwidget.AppWidgetManager#ACTION_APPWIDGET_UPDATE ACTION_APPWIDGET_UPDATE} broadcast.
109 This is the only broadcast that you must explicitly declare. The {@link android.appwidget.AppWidget…
233 <p>You must declare your AppWidgetProvider class implementation as a broadcast receiver
242 When these broadcast events occur, the AppWidgetProvider receives the following method calls:</p>
269 <dd>This is called for every broadcast and before each of the above callback methods.
355 <h3 id="ProviderBroadcasts">Receiving App Widget broadcast Intents</h3>
417 (the system will not send the ACTION_APPWIDGET_UPDATE broadcast when a configuration Activity
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java345 Intent broadcast = new Intent(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in sendTetherStateChangedBroadcast() local
346 broadcast.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); in sendTetherStateChangedBroadcast()
347 broadcast.putStringArrayListExtra(ConnectivityManager.EXTRA_AVAILABLE_TETHER, in sendTetherStateChangedBroadcast()
349 broadcast.putStringArrayListExtra(ConnectivityManager.EXTRA_ACTIVE_TETHER, activeList); in sendTetherStateChangedBroadcast()
350 broadcast.putStringArrayListExtra(ConnectivityManager.EXTRA_ERRORED_TETHER, in sendTetherStateChangedBroadcast()
352 mContext.sendStickyBroadcast(broadcast); in sendTetherStateChangedBroadcast()
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd158 your broadcast or who can send a broadcast to you.</li>
281 to deliver the submitted broadcast to the given receiver. As a result, a
287 to control who can broadcast to a programmatically registered receiver.
290 to restrict which BroadcastReceiver objects are allowed to receive the broadcast (see
325 can also specify a required permission when sending a broadcast. By calling {@link
329 permission in order to receive your broadcast.</p>
/frameworks/base/media/java/android/media/
DAudioService.java1226 Intent broadcast = new Intent(AudioManager.RINGER_MODE_CHANGED_ACTION); in broadcastRingerMode() local
1227 broadcast.putExtra(AudioManager.EXTRA_RINGER_MODE, mRingerMode); in broadcastRingerMode()
1228 broadcast.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT in broadcastRingerMode()
1231 mContext.sendStickyBroadcast(broadcast); in broadcastRingerMode()
1238 Intent broadcast = new Intent(AudioManager.VIBRATE_SETTING_CHANGED_ACTION); in broadcastVibrateSetting() local
1239 broadcast.putExtra(AudioManager.EXTRA_VIBRATE_TYPE, vibrateType); in broadcastVibrateSetting()
1240 broadcast.putExtra(AudioManager.EXTRA_VIBRATE_SETTING, getVibrateSetting(vibrateType)); in broadcastVibrateSetting()
1241 mContext.sendBroadcast(broadcast); in broadcastVibrateSetting()
/frameworks/base/docs/html/guide/practices/design/
Dresponsiveness.jd83 broadcast.</p>
114 broadcast. As a side note, you should also avoid starting an Activity from an
117 has something to show the user in response to an Intent broadcast, it should
/frameworks/base/docs/html/guide/topics/intents/
Dintents-filters.jd31 broadcast receivers &mdash; are activated through messages, called <i>intents</i>.
55 <li><p>Intent objects passed to any of the broadcast methods (such as <code>{@link
60 are delivered to all interested broadcast receivers. Many kinds of broadcasts
66 of broadcast receivers to respond to the intent, instantiating them if necessary.
68 only to broadcast receivers, never to activities or services. An intent passed to
70 broadcast receiver, and so on.
122 <dd>A string naming the action to be performed &mdash; or, in the case of broadcast
150 <td>broadcast receiver
154 <td>broadcast receiver
158 <td>broadcast receiver
[all …]
/frameworks/base/core/java/android/os/
DBroadcaster.java171 public void broadcast(Message msg) in broadcast() method in Broadcaster
/frameworks/base/libs/utils/
DThreads.cpp624 void Condition::broadcast()
780 self->mThreadExitedCondition.broadcast(); in _threadLoop()
/frameworks/base/libs/ui/
DFramebufferNativeWindow.cpp252 self->mCondition.broadcast(); in queueBuffer()
/frameworks/base/docs/html/resources/faq/
Dframework.jd165 is broadcast by the system. Similarly when a package is removed, an
166 intent with PACKAGE_REMOVED action is broadcast. To receive these
/frameworks/base/docs/html/guide/appendix/
Dinstall-location.jd137 android.content.Intent#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE} broadcast Intent, which will notify
171 <dd>The system delivers the {@link android.content.Intent#ACTION_BOOT_COMPLETED} broadcast
173 external storage, it can never receive this broadcast.</dd>
Dglossary.jd130 single target application or it can send it as a broadcast, which can in
155 <dd>An application class that listens for Intents that are broadcast,
157 delivers a broadcast Intent to all interested broadcast receivers, which
/frameworks/base/docs/html/guide/topics/
Dfundamentals.jd198 <dd>A <i>broadcast receiver</i> is a component that does nothing but
199 receive and react to broadcast announcements. Many broadcasts originate in
207 An application can have any number of broadcast receivers to respond to any
255 and broadcast receivers &mdash; are activated by asynchronous messages
261 text. For broadcast receivers, the Intent object names the action being
320 <li><p>An application can initiate a broadcast by passing an Intent object to
327 broadcast receivers by calling their <code>{@link
343 a ContentResolver. And a broadcast receiver is active only while it's
344 responding to a broadcast message. So there's no need to explicitly shut
423 elements for broadcast receivers, and
[all …]

12