/frameworks/base/test-runner/src/android/test/ |
SyncBaseInstrumentation.java | 48 Bundle extras = new Bundle(); local 49 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true); 52 ContentResolver.requestSync(account, authority, extras);
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
NoteEdit.java | 44 Bundle extras = getIntent().getExtras(); local 45 if (extras != null) { 46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); 47 String body = extras.getString(NotesDbAdapter.KEY_BODY); 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
NoteEdit.java | 44 Bundle extras = getIntent().getExtras(); local 45 if (extras != null) { 46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); 47 String body = extras.getString(NotesDbAdapter.KEY_BODY); 48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProvider.java | 29 * with the received extras. 57 Bundle extras = intent.getExtras(); local 58 if (extras != null) { 59 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); 66 Bundle extras = intent.getExtras(); local 67 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { 68 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
|
/frameworks/base/core/java/android/content/ |
PeriodicSync.java | 33 /** 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) { 42 this.extras = new Bundle(extras); 53 dest.writeBundle(extras); 82 && SyncStorageEngine.equals(extras, other.extras);
|
SyncOperation.java | 31 public Bundle extras; field in class:SyncOperation 37 public SyncOperation(Account account, int source, String authority, Bundle extras, 42 this.extras = new Bundle(extras); 63 if (!extras.getBoolean(extraName, false)) { 64 extras.remove(extraName); 72 this.extras = new Bundle(other.extras); 82 sb.append(" extras: "); 83 extrasToStringBuilder(extras, sb, false /* asKey */) [all...] |
AbstractThreadedSyncAdapter.java | 78 Bundle extras) { 87 && extras != null 88 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) { 97 syncContextClient, authority, account, extras); 126 Bundle extras = new Bundle(); local 127 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true); 128 startSync(null, authority, account, extras); 144 Account account, Bundle extras) { 149 mExtras = extras; 198 * be specified in extras, which is guaranteed to not be null. Invocation [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
NfcA.java | 65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A); local 66 mSak = extras.getShort(EXTRA_SAK); 67 mAtqa = extras.getByteArray(EXTRA_ATQA);
|
NfcB.java | 65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_B); local 66 mAppData = extras.getByteArray(EXTRA_APPDATA); 67 mProtInfo = extras.getByteArray(EXTRA_PROTINFO);
|
NfcF.java | 65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_F); local 66 if (extras != null) { 67 mSystemCode = extras.getByteArray(EXTRA_SC); 68 mManufacturer = extras.getByteArray(EXTRA_PMM);
|
NfcV.java | 66 Bundle extras = tag.getTechExtras(TagTechnology.NFC_V); local 67 mRespFlags = extras.getByte(EXTRA_RESP_FLAGS); 68 mDsfId = extras.getByte(EXTRA_DSFID);
|
IsoDep.java | 72 Bundle extras = tag.getTechExtras(TagTechnology.ISO_DEP); local 73 if (extras != null) { 74 mHiLayerResponse = extras.getByteArray(EXTRA_HI_LAYER_RESP); 75 mHistBytes = extras.getByteArray(EXTRA_HIST_BYTES);
|
/packages/apps/Nfc/src/com/android/nfc/ |
NativeNfcTag.java | 441 Bundle extras = new Bundle(); local 442 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg); 443 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength); 444 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState); 445 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType)); 451 builtTechExtras[builtTechExtras.length - 1] = extras; 454 // Tech extras were built before, patch the NDEF one in 458 newTechExtras[oldTechExtras.length] = extras; 505 Bundle extras = new Bundle(); local 510 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF)) [all...] |
/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglConfigTest.java | 60 Bundle extras = new Bundle(); local 61 extras.putInt(EglConfigStubActivity.CONFIG_ID_EXTRA, configId); 62 extras.putInt(EglConfigStubActivity.CONTEXT_CLIENT_VERSION_EXTRA, contextClientVersion); 64 EglConfigStubActivity.class, extras);
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Audio.java | 47 Bundle extras = getIntent().getExtras(); local 48 playAudio(extras.getInt(MEDIA));
|
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminReceiver.java | 274 Bundle extras = getResultExtras(true); local 275 extras.putCharSequence(EXTRA_DISABLE_WARNING, res);
|
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
SyncActivityTooManyDeletes.java | 51 Bundle extras = getIntent().getExtras(); local 52 if (extras == null) { 57 mNumDeletes = extras.getLong("numDeletes"); 58 mAccount = (Account) extras.getParcelable("account"); 59 mAuthority = extras.getString("authority"); 60 mProvider = extras.getString("provider"); 118 Bundle extras = new Bundle(); local 119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); 120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 121 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true) 127 Bundle extras = new Bundle(); local [all...] |
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
TestAppWidgetProvider.java | 46 Bundle extras = intent.getExtras(); local 47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
|
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
PicasaService.java | 55 Bundle extras = new Bundle(); local 56 extras.putInt(KEY_TYPE, type); 57 extras.putLong(KEY_ID, id); 61 ContentResolver.requestSync(account, PicasaContentProvider.AUTHORITY, extras); 65 // PicasaService.class).putExtras(extras)); 106 public static boolean performSync(Context context, Account account, Bundle extras, SyncResult syncResult) { 113 performSyncImpl(context, account, extras, syncResult); 137 private static void performSyncImpl(Context context, Account account, Bundle extras, SyncResult syncResult) { 140 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) { 160 int type = extras.getInt(PicasaService.KEY_TYPE, PicasaService.TYPE_USERS_ALBUMS) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/appwidget/ |
ExampleAppWidgetConfigure.java | 70 Bundle extras = intent.getExtras(); local 71 if (extras != null) { 72 mAppWidgetId = extras.getInt(
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessageReceiver.java | 34 Bundle extras = intent.getExtras(); local 35 if (extras == null) 38 Object[] pdus = (Object[]) extras.get("pdus");
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
TestAppWidgetProvider.java | 49 Bundle extras = intent.getExtras(); local 50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetBind.java | 48 final Bundle extras = intent.getExtras(); local 51 extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); 53 extras.getParcelableArrayList(EXTRA_APPWIDGET_BITMAPS);
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 119 Bundle extras = new Bundle(); local 120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 135 Bundle extras = new Bundle(); local 136 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); 138 ContentResolver.requestSync(account, authority, extras); 290 fail("did not throw IllegalArgumentException when extras is null."); 300 Bundle extras = new Bundle(); 301 extras.putInt("Integer", 20); 302 extras.putLong("Long", 10l); 303 extras.putBoolean("Boolean", true) [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
EditorInfoTest.java | 72 info.extras = b; 94 assertEquals(info.extras.getString(key), targetInfo.extras.getString(key));
|