Home
last modified time | relevance | path

Searched refs:sticky (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java314 Intent sticky = getContext().registerReceiver(null, filter); in testSetSticky() local
315 assertNotNull("Sticky not found", sticky); in testSetSticky()
316 assertEquals(LaunchpadActivity.DATA_1, sticky.getStringExtra("test")); in testSetSticky()
330 Intent sticky = getContext().registerReceiver(null, filter); in testClearSticky() local
331 assertNull("Sticky not found", sticky); in testClearSticky()
344 Intent sticky = getContext().registerReceiver(null, filter); in testReplaceSticky() local
345 assertNotNull("Sticky not found", sticky); in testReplaceSticky()
346 assertEquals(LaunchpadActivity.DATA_2, sticky.getStringExtra("test")); in testReplaceSticky()
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Ddocking-monitoring.jd36 <p>ホルダー装着状態も sticky {@link android.content.Intent} としてブロードキャストされるので、端末がホルダーに装着されているかどうかと、装着されている場合の…
41 …@link android.content.Intent#ACTION_DOCK_EVENT} アクションの sticky ブロードキャストにエクストラとして含まれています。これは sticky
Dbattery-monitoring.jd39 <p>初めに、現在の充電状態を特定します。{@link android.os.BatteryManager} によって電池と充電状態に関するすべての詳細情報が sticky {@link andro…
41 <p>これは sticky インテントであるため、{@link android.content.BroadcastReceiver} を登録する必要はありません。{@code registerRec…
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java52 final boolean sticky; // originated from existing sticky data? field in BroadcastRecord
154 if (resultAbort || ordered || sticky || initialSticky) { in dump()
157 pw.print(" sticky="); pw.print(sticky); in dump()
240 sticky = _sticky; in BroadcastRecord()
DPreBootBroadcaster.java99 boolean ordered, boolean sticky, int sendingUser) { in performReceive() argument
DUserController.java389 boolean sticky, int sendingUser) { in finishUserUnlockedCompleted()
509 Bundle extras, boolean ordered, boolean sticky, int sendingUser) { in stopSingleUserLocked()
538 Bundle extras, boolean ordered, boolean sticky, int sendingUser) { in finishUserStopping()
887 String data, Bundle extras, boolean ordered, boolean sticky, in startUser()
DBroadcastQueue.java461 boolean ordered, boolean sticky, int sendingUser) throws RemoteException { in performReceiveLocked() argument
469 data, extras, ordered, sticky, sendingUser, app.repProcState); in performReceiveLocked()
490 sticky, sendingUser); in performReceiveLocked()
DActivityManagerService.java6787 boolean sticky, int sendingUser) { in finishBooting()
13169 Bundle extras, boolean ordered, boolean sticky, int sendingUser) in systemReady()
17363 Intent sticky = allSticky != null ? allSticky.get(0) : null; in registerReceiver() local
17364 if (DEBUG_BROADCAST) Slog.v(TAG_BROADCAST, "Register receiver " + filter + ": " + sticky); in registerReceiver()
17366 return sticky; in registerReceiver()
17385 return sticky; in registerReceiver()
17429 return sticky; in registerReceiver()
17587 boolean ordered, boolean sticky, int callingPid, int callingUid, int userId) { in broadcastIntentLocked() argument
17599 (sticky ? "Broadcast sticky: ": "Broadcast: ") + intent in broadcastIntentLocked()
17965 if (sticky) { in broadcastIntentLocked()
[all …]
/frameworks/base/core/java/android/content/
DIIntentReceiver.aidl31 in Bundle extras, boolean ordered, boolean sticky, int sendingUser); in performReceive() argument
DBroadcastReceiver.java251 boolean ordered, boolean sticky, IBinder token, int userId, int flags) { in PendingResult() argument
257 mInitialStickyHint = sticky; in PendingResult()
DIntentSender.java114 Bundle extras, boolean serialized, boolean sticky, int sendingUser) { in performReceive() argument
/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
48 android.content.Intent#ACTION_DOCK_EVENT} action. Because it's sticky, you don't need to register a
Dbattery-monitoring.jd49 broadcasts all battery and charging details in a sticky {@link android.content.Intent} that includes
52 <p>Because it's a sticky intent, you don't need to register a {@link
/frameworks/native/include/gui/
DIGraphicBufferProducer.h308 uint32_t transform, const sp<Fence>& fence, uint32_t sticky = 0)
311 transform(transform), stickyTransform(sticky), fence(fence), in timestamp()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java252 public boolean sticky; field in Keyboard.Key
376 sticky = a.getBoolean( in Key()
423 if (sticky && inside) { in onReleased()
500 if (sticky) { in getCurrentDrawableState()
/frameworks/base/core/java/android/app/
DLoadedApk.java1026 Bundle extras, boolean ordered, boolean sticky, int sendingUser) { in performReceive() argument
1041 ordered, sticky, sendingUser); in performReceive()
1078 boolean ordered, boolean sticky, int sendingUser) { in Args() argument
1081 sticky, mIIntentReceiver.asBinder(), sendingUser, intent.getFlags()); in Args()
1198 Bundle extras, boolean ordered, boolean sticky, int sendingUser) { in performReceive() argument
1200 sticky, sendingUser); in performReceive()
DIApplicationThread.java117 boolean sticky, int sendingUser, int processState) throws RemoteException; in scheduleRegisteredReceiver() argument
DApplicationThreadNative.java400 boolean sticky = data.readInt() != 0; in onTransact()
404 resultCode, dataStr, extras, ordered, sticky, sendingUser, processState); in onTransact()
1187 boolean sticky, int sendingUser, int processState) throws RemoteException { in scheduleRegisteredReceiver() argument
1196 data.writeInt(sticky ? 1 : 0); in scheduleRegisteredReceiver()
DPendingIntent.java227 Bundle extras, boolean serialized, boolean sticky, int sendingUser) { in performReceive() argument
DIActivityManager.java115 … int appOp, Bundle options, boolean serialized, boolean sticky, int userId) throws RemoteException; in broadcastIntent() argument
DActivityThread.java442 boolean ordered, boolean sticky, IBinder token, int sendingUser) { in ReceiverData() argument
443 super(resultCode, resultData, resultExtras, TYPE_COMPONENT, ordered, sticky, in ReceiverData()
938 boolean sticky, int sendingUser, int processState) throws RemoteException { in scheduleRegisteredReceiver() argument
941 sticky, sendingUser); in scheduleRegisteredReceiver()
DActivityManagerNative.java497 boolean sticky = data.readInt() != 0; in onTransact()
501 options, serialized, sticky, userId); in onTransact()
3488 boolean sticky, int userId) throws RemoteException in broadcastIntent() argument
3504 data.writeInt(sticky ? 1 : 0); in broadcastIntent()
/frameworks/base/docs/html/training/system-ui/
Dimmersive.jd15 <li><a href="#sticky">Use Sticky Immersion</a></li>
71 "sticky" version of the flag doesn't trigger any listeners, as system bars temporarily
233 <h2 id="sticky">Use Sticky Immersion</h2>
245 <img src="{@docRoot}images/training/imm-sticky.png"
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1651 boolean ordered, boolean sticky, int sendingUser) {
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java19174 Bundle extras, boolean ordered, boolean sticky,

12