/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | BatteryController.java | 161 public void onReceive(Context context, Intent intent) { argument 162 onReceiveInternal(intent); 166 public void onReceiveInternal(Intent intent) { argument 167 final String action = intent.getAction(); 186 Slog.d(TAG, "Received charging intent, fired @ "
|
H A D | IdleController.java | 116 Intent intent = new Intent(ACTION_TRIGGER_IDLE) 119 mIdleTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 149 public void onReceive(Context context, Intent intent) { argument 150 final String action = intent.getAction();
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GeofenceState.java | 47 int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) { 56 mIntent = intent; 46 GeofenceState(Geofence fence, long expireAt, int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) argument
|
/frameworks/base/services/core/java/com/android/server/updates/ |
H A D | ConfigUpdateInstallReceiver.java | 58 public void onReceive(final Context context, final Intent intent) { argument 64 byte[] altContent = getAltContent(context, intent); 66 int altVersion = getVersionFromIntent(intent); 68 String altRequiredHash = getRequiredHashFromIntent(intent); 83 postInstall(context, intent); 214 protected void postInstall(Context context, Intent intent) { argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | BroadcastInterceptingContext.java | 55 public boolean dispatchBroadcast(Intent intent) { argument 56 if (mFilter.match(getContentResolver(), intent, false, TAG) > 0) { 59 mReceiver.onReceive(context, intent); 62 set(intent); 124 public void sendBroadcast(Intent intent) { argument 129 if (interceptor.dispatchBroadcast(intent)) { 137 public void sendBroadcast(Intent intent, String receiverPermission) { argument 138 sendBroadcast(intent); 142 public void sendBroadcastMultiplePermissions(Intent intent, String[] receiverPermissions) { argument 143 sendBroadcast(intent); 147 sendBroadcastAsUser(Intent intent, UserHandle user) argument 152 sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) argument 158 sendStickyBroadcast(Intent intent) argument 163 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument 168 removeStickyBroadcast(Intent intent) argument [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerService.java | 57 public IBinder onBind(Intent intent) { argument 65 public int onStartCommand(Intent intent, int flags, int startId) { argument
|
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
H A D | RemoteDisplayProviderService.java | 37 public IBinder onBind(Intent intent) { argument 38 if (intent.getAction().equals(RemoteDisplayProvider.SERVICE_INTERFACE)) {
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
H A D | AppWidgetHostActivity.java | 84 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK); 85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId()); 86 startActivityForResult(intent, requestCode); 90 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE); 91 intent.setComponent(configure); 92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 96 startActivityForResult(intent, requestCode); 99 void handleAppWidgetPickResult(int resultCode, Intent intent) { argument 101 Bundle extras = intent.getExtras();
|
/frameworks/ex/common/java/com/android/common/ |
H A D | NetworkConnectivityListener.java | 65 public void onReceive(Context context, Intent intent) { argument 66 String action = intent.getAction(); 70 Log.w(TAG, "onReceived() called with " + mState.toString() + " and " + intent); 75 intent.getBooleanExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, false); 84 intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO); 86 intent.getParcelableExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO); 88 mReason = intent.getStringExtra(ConnectivityManager.EXTRA_REASON); 90 intent.getBooleanExtra(ConnectivityManager.EXTRA_IS_FAILOVER, false);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationStatsAggregator.java | 98 Intent intent = new Intent(LocationUpdater.LOCATION_UPDATE); 101 mPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 186 public void onReceive(Context context, Intent intent) { argument
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | PhotoPagerAdapter.java | 76 Intent intent, int position, boolean onlyShowSpinner) { 77 return PhotoViewFragment.newInstance(intent, position, onlyShowSpinner); 75 createPhotoViewFragment( Intent intent, int position, boolean onlyShowSpinner) argument
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | WizardManagerHelper.java | 48 * Get an intent that will invoke the next step of setup wizard. 50 * @param originalIntent The original intent that was used to start the step, usually via 53 * @return A new intent that can be used with startActivityForResult() to start the next step of 61 * Get an intent that will invoke the next step of setup wizard. 63 * @param originalIntent The original intent that was used to start the step, usually via 66 * @param data An intent containing extra result data. 67 * @return A new intent that can be used with startActivityForResult() to start the next step of 71 Intent intent = new Intent(ACTION_NEXT); 72 intent.putExtra(EXTRA_SCRIPT_URI, originalIntent.getStringExtra(EXTRA_SCRIPT_URI)); 73 intent 88 isSetupWizardIntent(Intent intent) argument 141 isLightTheme(Intent intent, boolean def) argument [all...] |
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | PartnerTest.java | 187 public List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags) { argument 188 if ("com.android.setupwizard.action.PARTNER_CUSTOMIZATION".equals(intent.getAction())) { 191 return super.queryBroadcastReceivers(intent, flags);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | RemoteInput.java | 34 /** Extra added to a clip data intent object to hold the results bundle. */ 181 * Get the remote input results bundle from an intent. The returned Bundle will 184 * @param intent The intent object that fired in response to an action or content intent 187 public static Bundle getResultsFromIntent(Intent intent) { argument 188 return IMPL.getResultsFromIntent(intent); 192 * Populate an intent object with the results gathered from remote input. This method 194 * pending intent. 196 * @param intent Th 202 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument 210 getResultsFromIntent(Intent intent) argument 211 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument 217 getResultsFromIntent(Intent intent) argument 223 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument 230 getResultsFromIntent(Intent intent) argument 235 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument 242 getResultsFromIntent(Intent intent) argument 247 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 70 final Intent intent; field in class:LocalBroadcastManager.BroadcastRecord 74 intent = _intent; 191 * Broadcast the given intent to all interested BroadcastReceivers. This 195 * @param intent The Intent to broadcast; all receivers matching this 200 public boolean sendBroadcast(Intent intent) { argument 202 final String action = intent.getAction(); 203 final String type = intent.resolveTypeIfNeeded( 205 final Uri data = intent.getData(); 206 final String scheme = intent.getScheme(); 207 final Set<String> categories = intent 276 sendBroadcastSync(Intent intent) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ShareActionProvider.java | 57 * // Get the provider and hold onto it to set/change the share intent. 69 * // When you want to share set the share intent. 99 * <strong>Note:</strong> Modifying the intent is not permitted and 104 * intent here. This callback aims to notify the client that a 110 * @param intent The intent for launching the chosen share target. 113 public boolean onShareTargetSelected(ShareActionProvider source, Intent intent); argument 267 * private void doShare(Intent intent) { 268 * if (IMAGE.equals(intent.getMimeType())) { 270 * } else if (TEXT.equals(intent 355 onChooseActivity(ActivityChooserModel host, Intent intent) argument 364 updateIntent(Intent intent) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | FragmentHostCallback.java | 119 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode, argument 125 mContext.startActivity(intent);
|
H A D | LocalActivityManager.java | 51 intent = _intent; 55 Intent intent; // Which activity to run here. field in class:LocalActivityManager.LocalActivityRecord 132 if (localLOGV) Log.v(TAG, r.id + ": starting " + r.intent); 134 r.activityInfo = mActivityThread.resolveActivityInfo(r.intent); 137 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); 253 * @param intent The Intent describing the activity to be started 261 public Window startActivity(String id, Intent intent) { argument 276 r = new LocalActivityRecord(id, intent); 278 } else if (r.intent != null) { 279 sameIntent = r.intent [all...] |
H A D | RemoteInput.java | 28 * an intent inside a {@link android.app.PendingIntent} that is sent. 37 * with the intent and can be retrieved with the result key (provided to the {@link Builder} 48 * <p>When the {@link android.app.PendingIntent} is fired, the intent inside will contain the 55 * Bundle results = RemoteInput.getResultsFromIntent(intent); 64 /** Extra added to a clip data intent object to hold the results bundle. */ 240 * Get the remote input results bundle from an intent. The returned Bundle will 243 * @param intent The intent object that fired in response to an action or content intent 246 public static Bundle getResultsFromIntent(Intent intent) { argument 272 addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) argument [all...] |
H A D | Service.java | 322 public void onStart(Intent intent, int startId) { argument 344 * don't retain this delivered intent. Later the system will try to 348 * delivered to the service, it will be called with a null intent 405 * re-delivery of a previously delivered intent, because the service 443 * @param intent The Intent supplied to {@link android.content.Context#startService}, 458 public int onStartCommand(Intent intent, int flags, int startId) { argument 459 onStart(intent, startId); 494 * @param intent The Intent that was used to bind to this service, 503 public abstract IBinder onBind(Intent intent); argument 510 * @param intent Th 518 onUnbind(Intent intent) argument 533 onRebind(Intent intent) argument [all...] |
/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminReceiver.java | 34 * class provides a convenience for interpreting the raw intent actions 109 * its intent filter. 213 * specified in the original intent or NFC bump that started the provisioning process 217 * <p>A device admin application which listens to this intent can find out if the device was 237 * the device initializer field of the original intent or NFC bump that started the provisioning 319 * <p> If the admin is activated by a device owner, then the intent 325 * @param intent The received intent as per {@link #onReceive}. 327 public void onEnabled(Context context, Intent intent) { argument 337 * @param intent Th 341 onDisableRequested(Context context, Intent intent) argument 353 onDisabled(Context context, Intent intent) argument 365 onPasswordChanged(Context context, Intent intent) argument 376 onPasswordFailed(Context context, Intent intent) argument 387 onPasswordSucceeded(Context context, Intent intent) argument 408 onPasswordExpiring(Context context, Intent intent) argument 433 onProfileProvisioningComplete(Context context, Intent intent) argument 456 onReadyForUserInitialization(Context context, Intent intent) argument 466 onLockTaskModeEntering(Context context, Intent intent, String pkg) argument 475 onLockTaskModeExiting(Context context, Intent intent) argument 491 onChoosePrivateKeyAlias(Context context, Intent intent, int uid, Uri uri, String alias) argument 509 onSystemUpdatePending(Context context, Intent intent, long receivedTime) argument 518 onReceive(Context context, Intent intent) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 218 public Item(Intent intent) { argument 221 mIntent = intent; 239 public Item(CharSequence text, Intent intent, Uri uri) { argument 242 mIntent = intent; 252 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { argument 259 mIntent = intent; 303 * <li> If {@link #getIntent} is non-null, convert that to an intent: 369 Intent intent = getIntent(); 370 if (intent != null) { 371 return intent 713 newIntent(CharSequence label, Intent intent) argument [all...] |
H A D | IntentSender.java | 94 * @param intent The original Intent that was sent. 99 void onSendFinished(IntentSender IntentSender, Intent intent, argument 117 public void performReceive(Intent intent, int resultCode, String data, argument 119 mIntent = intent; 141 * <var>intent</var> is also null. 143 * @param intent Additional Intent data. See {@link Intent#fillIn 156 public void sendIntent(Context context, int code, Intent intent, argument 158 sendIntent(context, code, intent, onFinished, handler, null); 167 * <var>intent</var> is also null. 169 * @param intent Additiona 187 sendIntent(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherApps.java | 181 * Returns the activity info for a given intent and user handle, if it resolves. Otherwise it 184 * @param intent The intent to find a match for. 188 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { argument 190 ResolveInfo ri = mService.resolveActivity(intent, user);
|
/frameworks/base/core/java/android/net/ |
H A D | VpnService.java | 89 * and launch the returned intent, if non-null.</li> 102 * permission and intent filter. Their access must be secured by 104 * their intent filter must match {@link #SERVICE_INTERFACE} action. Here 109 * <intent-filter> 111 * </intent-filter> 119 * The action must be matched by the intent filter of this service. It also 152 * which case this method will return an intent the next time it is 335 * action. Applications overriding this method must identify the intent 341 public IBinder onBind(Intent intent) { argument 342 if (intent ! 428 setConfigureIntent(PendingIntent intent) argument [all...] |