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

12345

/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.java33 /** Any extras that parameters that are to be passed to the sync adapter. */
34 public final Bundle extras; field in class:PeriodicSync
39 public PeriodicSync(Account account, String authority, Bundle extras, long period) { argument
42 this.extras = new Bundle(extras);
53 dest.writeBundle(extras);
82 && SyncStorageEngine.equals(extras, other.extras);
H A DSyncOperation.java33 public Bundle extras; field in class:SyncOperation
42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras, argument
49 this.extras = new Bundle(extras);
73 if (!extras.getBoolean(extraName, false)) {
74 extras.remove(extraName);
83 this.extras = new Bundle(other.extras);
113 if (!useOneLine && !extras.keySet().isEmpty()) {
115 extrasToStringBuilder(extras, s
[all...]
H A DIIntentReceiver.aidl31 in Bundle extras, boolean ordered, boolean sticky, int sendingUser);
H A DAbstractThreadedSyncAdapter.java151 Bundle extras) {
161 && extras != null
162 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
171 syncContextClient, authority, account, extras);
209 Bundle extras = new Bundle();
210 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true);
211 startSync(null, authority, account, extras);
228 Account account, Bundle extras) {
233 mExtras = extras;
290 * be specified in extras, whic
150 startSync(ISyncContext syncContext, String authority, Account account, Bundle extras) argument
227 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
300 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);
H A DIContentService.aidl56 void requestSync(in Account account, String authority, in Bundle extras);
89 void addPeriodicSync(in Account account, String providerName, in Bundle extras,
99 void removePeriodicSync(in Account account, String providerName, 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);
H A DNdef.java161 Bundle extras = tag.getTechExtras(TagTechnology.NDEF);
162 if (extras != null) {
163 mMaxNdefSize = extras.getInt(EXTRA_NDEF_MAXLENGTH);
164 mCardState = extras.getInt(EXTRA_NDEF_CARDSTATE);
165 mNdefMsg = extras.getParcelable(EXTRA_NDEF_MSG);
166 mNdefType = extras.getInt(EXTRA_NDEF_TYPE);
168 throw new NullPointerException("NDEF tech extras are null.");
/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/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/location/
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);
164 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DLocationProviderInterface.java47 public int getStatus(Bundle extras); argument
49 public boolean sendExtraCommand(String command, Bundle extras); argument
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProviderBase.java96 public int getStatus(Bundle extras) { argument
97 return onGetStatus(extras);
104 public boolean sendExtraCommand(String command, Bundle extras) { argument
105 return onSendExtraCommand(command, extras);
183 * <p>If extras is non-null, additional status information may be
186 public abstract int onGetStatus(Bundle extras); argument
204 * @param extras optional arguments for the command (or null).
205 * The provider may optionally fill the extras Bundle with results from the command.
209 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/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;
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java40 public void onStatusChanged(String provider, int status, Bundle extras) {}

Completed in 224 milliseconds

12345