Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md12 The protocol is based on broadcast intents, and thus can be driven via the command line (```adb she…
20 Commands and subcommands (below) are sent as string extras in the broadcast
65 adb shell am broadcast -a com.android.systemui.demo -e command enter
72 adb shell am broadcast -a com.android.systemui.demo -e command exit
79 adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm
87 adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi
95 adb shell am broadcast -a com.android.systemui.demo -e command status -e volume
103 adb shell am broadcast -a com.android.systemui.demo -e command battery -e level
111 adb shell am broadcast -a com.android.systemui.demo -e command notifications -e
119 adb shell am broadcast -a com.android.systemui.demo -e command exit
[all …]
/frameworks/base/tools/aapt/
DWorkQueue.cpp64 mWorkChangedCondition.broadcast(); in schedule()
87 mWorkChangedCondition.broadcast(); in cancelLocked()
88 mWorkDequeuedCondition.broadcast(); in cancelLocked()
102 mWorkChangedCondition.broadcast(); in finish()
129 mWorkDequeuedCondition.broadcast(); in threadLoop()
/frameworks/base/docs/html/guide/topics/manifest/
Dreceiver-element.jd26 <dd itemprop="description">Declares a broadcast receiver (a {@link android.content.BroadcastReceive…
28 applications to receive intents that are broadcast by the system or by other
32 There are two ways to make a broadcast receiver known to the system: One is
43 <dd>Whether or not the broadcast receiver can be instantiated by the system &mdash;
50 application components, including broadcast receivers. The
53 the broadcast receiver to be enabled. If either is "{@code false}", it is
58 <dd>Whether or not the broadcast receiver can receive messages from sources
60 if not. If "{@code false}", the only messages the broadcast receiver can
65 The default value depends on whether the broadcast receiver contains intent filters.
70 On the other hand, the presence of at least one filter implies that the broadcast
[all …]
Dintent-filter-element.jd28 <dd itemprop="description">Specifies the types of intents that an activity, service, or broadcast
53 <dd>An icon that represents the parent activity, service, or broadcast
99 meaning for both activities and broadcast receivers:
108 <li><p>It controls the order in which broadcast receivers are executed to
109 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/net/java/android/net/dhcp/
DDhcpPacket.java313 byte[] clientMac, boolean broadcast) { in DhcpPacket() argument
321 mBroadcast = broadcast; in DhcpPacket()
355 byte requestCode, boolean broadcast) { in fillInPacket() argument
413 if (broadcast) { in fillInPacket()
862 boolean broadcast = (bootpFlags & 0x8000) != 0; in decodeFullPacket()
1033 transactionId, secs, clientMac, broadcast); in decodeFullPacket()
1037 transactionId, secs, broadcast, ipSrc, clientIp, yourIp, clientMac); in decodeFullPacket()
1041 transactionId, secs, clientIp, clientMac, broadcast); in decodeFullPacket()
1050 transactionId, secs, broadcast, ipSrc, clientIp, yourIp, clientMac); in decodeFullPacket()
1160 short secs, byte[] clientMac, boolean broadcast, byte[] expectedParams) { in buildDiscoverPacket() argument
[all …]
DDhcpAckPacket.java32 DhcpAckPacket(int transId, short secs, boolean broadcast, Inet4Address serverAddress, in DhcpAckPacket() argument
34 super(transId, secs, clientIp, yourIp, serverAddress, INADDR_ANY, clientMac, broadcast); in DhcpAckPacket()
35 mBroadcast = broadcast; in DhcpAckPacket()
DDhcpDiscoverPacket.java29 DhcpDiscoverPacket(int transId, short secs, byte[] clientMac, boolean broadcast) { in DhcpDiscoverPacket() argument
30 super(transId, secs, INADDR_ANY, INADDR_ANY, INADDR_ANY, INADDR_ANY, clientMac, broadcast); in DhcpDiscoverPacket()
DDhcpRequestPacket.java32 boolean broadcast) { in DhcpRequestPacket() argument
33 super(transId, secs, clientIp, INADDR_ANY, INADDR_ANY, INADDR_ANY, clientMac, broadcast); in DhcpRequestPacket()
DDhcpOfferPacket.java34 DhcpOfferPacket(int transId, short secs, boolean broadcast, Inet4Address serverAddress, in DhcpOfferPacket() argument
36 super(transId, secs, clientIp, yourIp, INADDR_ANY, INADDR_ANY, clientMac, broadcast); in DhcpOfferPacket()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp105 mCondition.broadcast(); in registerDisplayEventConnection()
122 mCondition.broadcast(); in setVsyncRate()
135 mCondition.broadcast(); in requestNextVsync()
144 mCondition.broadcast(); in onScreenReleased()
153 mCondition.broadcast(); in onScreenAcquired()
163 mCondition.broadcast(); in onVSyncEvent()
178 mCondition.broadcast(); in onHotplugReceived()
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd67 also broadcast if the {@link android.net.wifi.p2p.WifiP2pManager#discoverPeers discoverPeers()}
174 <p>The Wi-Fi P2P APIs define intents that are broadcast when certain Wi-Fi P2P events happen,
176 to receive these intents in your application by <a href="#creating-br">creating a broadcast
212 <p>A broadcast receiver allows you to receive intents broadcast by the Android system,
214 for creating a broadcast receiver to handle Wi-Fi P2P intents are as follows:</p>
220 the activity that this broadcast receiver will be registered in. This allows the broadcast
224 <li>In the broadcast receiver, check for the intents that you are interested in
227 received. For example, if the broadcast receiver receives a {@link
233 <p>The following code shows you how to create a typical broadcast receiver. The broadcast
236 broadcast receiver receives an intent:</p>
[all …]
/frameworks/opt/telephony/
DREADME.txt33 …adb shell am broadcast -a com.android.internal.telephony.dataconnection.action_fail_bringup --ei c…
37 adb shell am broadcast -a com.android.internal.telephony.dataconnection.action_deactivate_all
41 adb shell am broadcast -a com.android.internal.telephony.{x}.action_detached
42 adb shell am broadcast -a com.android.internal.telephony.{x}.action_attached
/frameworks/base/docs/html/training/monitoring-device-state/
Ddocking-monitoring.jd41 <p>The dock state is also broadcast as a sticky {@link android.content.Intent}, allowing you to
47 <p>The dock-state details are included as an extra in a sticky broadcast of the {@link
51 broadcast receiver as shown in the next snippet.</p>
83 android.content.Intent#ACTION_DOCK_EVENT} action is broadcast. To monitor changes in the
84 device's dock-state, simply register a broadcast receiver in your application manifest as shown in
Dmanifest-receivers.jd38 <p>A better approach is to disable or enable the broadcast receivers at runtime. That way you can
46 component defined in the manifest, including whichever broadcast receivers you wish to enable or
63 Simply enable a broadcast receiver that listens for connectivity changes and initiates the
Dconnectivity-monitoring.jd79 can register a broadcast receiver in your manifest to listen for these changes and resume (or
84 <p>Changes to a device's connectivity can be very frequent&mdash;this broadcast is triggered
86 this broadcast only when you've previously suspended updates or downloads in order to resume them.
90 <p>This technique requires toggling broadcast receivers you've declared in the manifest, which is
/frameworks/base/core/java/com/android/internal/app/
DDumpHeapActivity.java117 Intent broadcast = new Intent(ACTION_DELETE_DUMPHEAP); in scheduleDelete() local
118 broadcast.putExtra(EXTRA_DELAY_DELETE, true); in scheduleDelete()
119 sendBroadcast(broadcast); in scheduleDelete()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp78 mCondition.broadcast(); in onStatusChanged()
85 mTorchCondition.broadcast(); in onTorchStatusChanged()
175 mStatusCondition.broadcast(); in onDeviceError()
183 mStatusCondition.broadcast(); in onDeviceIdle()
194 mStatusCondition.broadcast(); in onCaptureStarted()
206 mStatusCondition.broadcast(); in onResultReceived()
215 mStatusCondition.broadcast(); in onPrepared()
224 mStatusCondition.broadcast(); in onRepeatingRequestError()
/frameworks/base/docs/html/training/run-background-service/
Dreport-status.jd40 limits broadcast {@link android.content.Intent} objects to components in your own app.
89 The next step is to handle the incoming broadcast {@link android.content.Intent} objects in
95 To receive broadcast {@link android.content.Intent} objects, use a subclass of
164 A single {@link android.content.BroadcastReceiver} can handle more than one type of broadcast
187 Sending an broadcast {@link android.content.Intent} doesn't start or resume an
193 {@link android.app.Activity} in response to an incoming broadcast
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp158 mCore->mDequeueCondition.broadcast(); in setMaxDequeuedBufferCount()
210 mCore->mDequeueCondition.broadcast(); in setAsyncMode()
509 mCore->mIsAllocatingCondition.broadcast(); in dequeueBuffer()
594 mCore->mDequeueCondition.broadcast(); in detachBuffer()
894 mCore->mDequeueCondition.broadcast(); in queueBuffer()
929 mCallbackCondition.broadcast(); in queueBuffer()
994 mCore->mDequeueCondition.broadcast(); in cancelBuffer()
1185 mCore->mDequeueCondition.broadcast(); in disconnect()
1264 mCore->mIsAllocatingCondition.broadcast(); in allocateBuffers()
1282 mCore->mIsAllocatingCondition.broadcast(); in allocateBuffers()
[all …]
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp151 mCondition.broadcast(); in queueBuffer()
160 mCondition.broadcast(); in queueEOS()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp609 mCondition.broadcast(); in notifyResetComplete()
619 mCondition.broadcast(); in notifySetSurfaceComplete()
639 mCondition.broadcast(); in notifySeekComplete_l()
773 mCondition.broadcast(); in notifySetDataSourceCompleted()
812 mCondition.broadcast(); in notifyPrepareCompleted()
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp197 mCondition.broadcast(); in onMessageReceived()
215 mCondition.broadcast(); in wakeUp()
/frameworks/opt/telephony/tools/
Dtdi40 …adb shell am broadcast -a com.android.internal.telephony.$the_DC.action_fail_bringup $counter $fai…
/frameworks/av/media/libstagefright/foundation/
DALooper.cpp156 mRepliesCondition.broadcast(); in stop()
256 mRepliesCondition.broadcast(); in postReply()

123456