Searched refs:extras (Results 1 - 25 of 139) sorted by relevance

123456

/frameworks/base/core/java/android/content/
H A DSyncActivityTooManyDeletes.java50 Bundle extras = getIntent().getExtras();
51 if (extras == null) {
56 mNumDeletes = extras.getLong("numDeletes");
57 mAccount = (Account) extras.getParcelable("account");
58 mAuthority = extras.getString("authority");
59 mProvider = extras.getString("provider");
117 Bundle extras = new Bundle();
118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true);
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
120 extras
[all...]
H A DPeriodicSync.java32 /** Any extras that parameters that are to be passed to the sync adapter. */
33 public final Bundle extras; field in class:PeriodicSync
48 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { argument
51 if (extras == null) {
52 this.extras = new Bundle();
54 this.extras = new Bundle(extras);
68 this.extras = new Bundle(other.extras);
77 public PeriodicSync(Account account, String authority, Bundle extras, argument
[all...]
H A DIAnonymousSyncAdapter.aidl31 * extras, which is guaranteed to not be null.
35 * @param extras SyncAdapter-specific parameters.
38 void startSync(ISyncContext syncContext, in Bundle extras);
H A DIIntentReceiver.aidl31 in Bundle extras, boolean ordered, boolean sticky, int sendingUser);
H A DAbstractThreadedSyncAdapter.java152 Bundle extras) {
162 && extras != null
163 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
175 syncContextClient, authority, account, extras);
214 Bundle extras = new Bundle();
215 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true);
216 startSync(null, authority, account, extras);
233 Account account, Bundle extras) {
238 mExtras = extras;
295 * be specified in extras, whic
151 startSync(ISyncContext syncContext, String authority, Account account, Bundle extras) argument
232 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
305 onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) argument
[all...]
H A DISyncAdapter.aidl30 * be specified in extras, which is guaranteed to not be null.
36 * @param extras SyncAdapter-specific parameters
39 in Account account, in Bundle extras);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java29 * with the received extras.
62 Bundle extras = intent.getExtras();
63 if (extras != null) {
64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
71 Bundle extras = intent.getExtras();
72 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
73 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
78 Bundle extras = intent.getExtras();
79 if (extras !
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DNfcB.java65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_B);
66 mAppData = extras.getByteArray(EXTRA_APPDATA);
67 mProtInfo = extras.getByteArray(EXTRA_PROTINFO);
H A DNfcBarcode.java65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_BARCODE);
66 if (extras != null) {
67 mType = extras.getInt(EXTRA_BARCODE_TYPE);
69 throw new NullPointerException("NfcBarcode tech extras are null.");
H A DNfcV.java66 Bundle extras = tag.getTechExtras(TagTechnology.NFC_V);
67 mRespFlags = extras.getByte(EXTRA_RESP_FLAGS);
68 mDsfId = extras.getByte(EXTRA_DSFID);
H A DIsoDep.java73 Bundle extras = tag.getTechExtras(TagTechnology.ISO_DEP);
74 if (extras != null) {
75 mHiLayerResponse = extras.getByteArray(EXTRA_HI_LAYER_RESP);
76 mHistBytes = extras.getByteArray(EXTRA_HIST_BYTES);
H A DNfcF.java69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_F);
70 if (extras != null) {
71 mSystemCode = extras.getByteArray(EXTRA_SC);
72 mManufacturer = extras.getByteArray(EXTRA_PMM);
H A DNfcA.java69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A);
70 mSak = extras.getShort(EXTRA_SAK);
71 mAtqa = extras.getByteArray(EXTRA_ATQA);
/frameworks/base/location/java/android/location/
H A DILocationListener.aidl29 void onStatusChanged(String provider, int status, in Bundle extras);
H A DLocationListener.java59 * @param extras an optional Bundle which will contain provider specific
62 * <p> A number of common key/value pairs for the extras Bundle are listed
70 void onStatusChanged(String provider, int status, Bundle extras); argument
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java45 public int getStatus(Bundle extras); argument
47 public boolean sendExtraCommand(String command, Bundle extras); argument
H A DMockProvider.java93 public int getStatus(Bundle extras) { argument
95 extras.clear();
96 extras.putAll(mExtras);
124 public void setStatus(int status, Bundle extras, long updateTime) { argument
128 if (extras != null) {
129 mExtras.putAll(extras);
159 public boolean sendExtraCommand(String command, Bundle extras) { argument
/frameworks/base/location/java/com/android/internal/location/
H A DILocationProvider.aidl41 int getStatus(out Bundle extras);
43 boolean sendExtraCommand(String command, inout Bundle extras);
/frameworks/base/services/java/com/android/server/content/
H A DSyncOperation.java67 public Bundle extras; field in class:SyncOperation
86 Bundle extras, long runTimeFromNow, long flexTime, long backoff,
95 this.extras = new Bundle(extras);
96 cleanBundle(this.extras);
100 // Checks the extras bundle. Must occur after we set the internal bundle.
149 this.extras = new Bundle(other.extras);
182 if (!useOneLine && !extras.keySet().isEmpty()) {
184 extrasToStringBuilder(extras, s
85 SyncOperation(Account account, int userId, int reason, int source, String authority, Bundle extras, long runTimeFromNow, long flexTime, long backoff, long delayUntil, boolean allowParallelSyncs) argument
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java97 public int getStatus(Bundle extras) { argument
98 return onGetStatus(extras);
105 public boolean sendExtraCommand(String command, Bundle extras) { argument
106 return onSendExtraCommand(command, extras);
184 * <p>If extras is non-null, additional status information may be
187 public abstract int onGetStatus(Bundle extras); argument
205 * @param extras optional arguments for the command (or null).
206 * The provider may optionally fill the extras Bundle with results from the command.
210 public boolean onSendExtraCommand(String command, Bundle extras) { argument
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl30 int z, in Bundle extras);
/frameworks/base/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java48 Bundle extras = new Bundle();
49 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
52 ContentResolver.requestSync(account, authority, extras);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRemotePlaybackClient.java235 * @param extras A bundle of extra arguments to be added to the
246 long positionMillis, Bundle extras, ItemActionCallback callback) {
248 extras, callback, MediaControlIntent.ACTION_PLAY);
269 * @param extras A bundle of extra arguments to be added to the
281 long positionMillis, Bundle extras, ItemActionCallback callback) {
283 extras, callback, MediaControlIntent.ACTION_ENQUEUE);
287 long positionMillis, Bundle extras,
307 performItemAction(intent, mSessionId, null, extras, callback);
325 * @param extras A bundle of extra arguments to be added to the
335 public void seek(String itemId, long positionMillis, Bundle extras, argument
245 play(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, ItemActionCallback callback) argument
280 enqueue(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, ItemActionCallback callback) argument
286 playOrEnqueue(Uri contentUri, String mimeType, Bundle metadata, long positionMillis, Bundle extras, final ItemActionCallback callback, String action) argument
367 getStatus(String itemId, Bundle extras, ItemActionCallback callback) argument
399 remove(String itemId, Bundle extras, ItemActionCallback callback) argument
430 pause(Bundle extras, SessionActionCallback callback) argument
457 resume(Bundle extras, SessionActionCallback callback) argument
484 stop(Bundle extras, SessionActionCallback callback) argument
513 startSession(Bundle extras, SessionActionCallback callback) argument
543 getSessionStatus(Bundle extras, SessionActionCallback callback) argument
574 endSession(Bundle extras, SessionActionCallback callback) argument
582 performItemAction(final Intent intent, final String sessionId, final String itemId, Bundle extras, final ItemActionCallback callback) argument
633 performSessionAction(final Intent intent, final String sessionId, Bundle extras, final SessionActionCallback callback) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java193 @param extras A bundle of extras to populate the contact edit page with if the contact
199 public void assignContactFromEmail(String emailAddress, boolean lazyLookup, Bundle extras) { argument
201 mExtras = extras;
234 * @param extras A bundle of extras to populate the contact edit page with if the contact
239 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup, Bundle extras) { argument
241 mExtras = extras;
261 final Bundle extras = (mExtras == null) ? new Bundle() : mExtras;
266 extras
[all...]
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java97 "You must pass a context to your NfcAdapter to use the NFC extras APIs");
104 NfcAdapterExtras extras = sNfcExtras.get(adapter);
105 if (extras == null) {
106 extras = new NfcAdapterExtras(adapter);
107 sNfcExtras.put(adapter, extras);
109 return extras;

Completed in 2033 milliseconds

123456