Java Code Examples for android.content.IntentFilter#actionsIterator()
The following examples show how to use
android.content.IntentFilter#actionsIterator() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BroadcastSystem.java From container with GNU General Public License v3.0 | 6 votes |
Intent dispatchStickyBroadcast(int vuid, IntentFilter filter) { Iterator<String> iterator = filter.actionsIterator(); while (iterator.hasNext()) { String action = iterator.next(); SystemBroadcastReceiver receiver = mSystemReceivers.get(action); if (receiver != null && receiver.sticky && receiver.stickyIntent != null) { Intent intent = new Intent(receiver.stickyIntent); SpecialComponentList.protectIntent(intent); intent.putExtra("_VA_|_uid_", vuid); mContext.sendBroadcast(intent); if (!iterator.hasNext()) { return receiver.stickyIntent; } } } return null; }
Example 2
Source File: ContextImplHook.java From ZjDroid with Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 3
Source File: ContextImplHook.java From zjdroid with Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 4
Source File: ContextImplHook.java From AppTroy with Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 5
Source File: ContextImplHook.java From HeyGirl with Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 6
Source File: ContextImplHook.java From ZjDroid with Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }