/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
ValidateNotificationPeopleTest.java | 19 import android.os.Bundle; 39 Bundle bundle = new Bundle(); local 40 String[] result = ValidateNotificationPeople.getExtraPeople(bundle); 47 Bundle bundle = new Bundle(); local 48 bundle.putString(Notification.EXTRA_PEOPLE, expected[0]); 49 String[] result = ValidateNotificationPeople.getExtraPeople(bundle); 56 Bundle bundle = new Bundle(); local 65 Bundle bundle = new Bundle(); local 73 Bundle bundle = new Bundle(); local 82 Bundle bundle = new Bundle(); local 91 Bundle bundle = new Bundle(); local 100 Bundle bundle = new Bundle(); local 113 Bundle bundle = new Bundle(); local 130 Bundle bundle = new Bundle(); local 143 Bundle bundle = new Bundle(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
InstrumentationTest.java | 19 import android.os.Bundle; 25 * Simple stress test for {@link Instrumentation#sendStatus(int, android.os.Bundle)}, to 30 Bundle bundle = new Bundle(); local 31 bundle.putInt("iterations", i); 32 getInstrumentation().sendStatus(-1, bundle);
|
/frameworks/support/media-compat-test-client/tests/src/android/support/mediacompat/client/util/ |
IntentUtil.java | 28 import android.os.Bundle; 64 Bundle bundle = new Bundle(); local 65 bundle.putParcelableArrayList(KEY_ARGUMENT, (ArrayList<? extends Parcelable>) arg); 66 intent.putExtras(bundle); 67 } else if (arg instanceof Bundle) { 68 Bundle bundle = new Bundle(); local [all...] |
/cts/tests/app/src/android/app/cts/ |
ActivityOptionsTest.java | 20 import android.os.Bundle; 27 Bundle bundle = options.toBundle(); local 29 assertNotNull(bundle);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
ResourcesMgr.java | 33 private static java.util.ResourceBundle bundle; field in class:ResourcesMgr 40 if (bundle == null) { 43 bundle = java.security.AccessController.doPrivileged( 52 return bundle.getString(s);
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/cameraui/ |
CameraMediaChooserView.java | 22 import android.os.Bundle; 47 final Bundle bundle = new Bundle(); local 48 bundle.putParcelable(STATE_SUPER, super.onSaveInstanceState()); 51 bundle.putInt(STATE_CAMERA_INDEX, cameraIndex); 52 return bundle; 57 if (!(state instanceof Bundle)) { 61 final Bundle bundle = (Bundle) state local [all...] |
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/ |
VoiceRecognitionService.java | 24 import android.os.Bundle; 67 Bundle bundle = new Bundle(); local 68 bundle.putStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION, results); 71 listener.results(bundle);
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
ListSettingsFragment.java | 19 import android.os.Bundle; 37 protected static Bundle getBundle() { 38 Bundle bundle = BaseFragment.getBundle(); local 39 bundle.putInt(EXTRA_LAYOUT, R.layout.list); 40 return bundle; 44 public void onActivityCreated(Bundle savedInstanceState) {
|
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/ |
DatePickerFragment.java | 21 import android.os.Bundle; 40 Bundle bundle = BaseFragment.getBundle(); local 41 bundle.putInt(EXTRA_TITLE_ID, R.string.date_picker_title); 42 bundle.putInt(EXTRA_LAYOUT, R.layout.date_picker); 43 bundle.putInt(EXTRA_ACTION_BAR_LAYOUT, R.layout.action_bar_with_button); 44 datePickerFragment.setArguments(bundle); 49 public void onActivityCreated(Bundle savedInstanceState) {
|
TimePickerFragment.java | 22 import android.os.Bundle; 41 Bundle bundle = BaseFragment.getBundle(); local 42 bundle.putInt(EXTRA_TITLE_ID, R.string.time_picker_title); 43 bundle.putInt(EXTRA_LAYOUT, R.layout.time_picker); 44 bundle.putInt(EXTRA_ACTION_BAR_LAYOUT, R.layout.action_bar_with_button); 45 timePickerFragment.setArguments(bundle); 50 public void onActivityCreated(Bundle savedInstanceState) {
|
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
DisplaySettingsFragment.java | 18 import android.os.Bundle; 33 Bundle bundle = ListSettingsFragment.getBundle(); local 34 bundle.putInt(EXTRA_TITLE_ID, R.string.display_settings); 35 displaySettingsFragment.setArguments(bundle);
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
AboutSettingsFragment.java | 20 import android.os.Bundle; 38 Bundle bundle = ListSettingsFragment.getBundle(); local 39 bundle.putInt(EXTRA_TITLE_ID, R.string.about_settings); 40 aboutSettingsFragment.setArguments(bundle);
|
SystemSettingsFragment.java | 19 import android.os.Bundle; 34 Bundle bundle = ListSettingsFragment.getBundle(); local 35 bundle.putInt(EXTRA_TITLE_ID, R.string.system_setting_title); 36 systemSettingsFragment.setArguments(bundle);
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorVoiceCall.java | 20 import android.os.Bundle; 33 Bundle bundle = new Bundle(); local 35 bundle.putString(TelephonyManager.EXTRA_INCOMING_NUMBER, "+44 (0) 20 7031 3000"); 40 SimulatorConnectionService.getConnectionServiceHandle(context), bundle); local
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
CustomTabsSession.java | 23 import android.os.Bundle; 63 * likelihood order. Inside each Bundle, the client should provide a 65 * {@link Bundle#putParcelable(String, android.os.Parcelable)}. 68 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { 86 Bundle bundle = new Bundle(); local 87 bundle.putParcelable(CustomTabsIntent.KEY_ICON, icon); 88 bundle.putString(CustomTabsIntent.KEY_DESCRIPTION, description) 110 Bundle bundle = new Bundle(); local 133 Bundle bundle = new Bundle(); local [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
PackageDownloadInfo.java | 118 /* package */ static PackageDownloadInfo fromPersistableBundle(PersistableBundle bundle) { 119 return createBuilderFromPersistableBundle(bundle).build(); 122 private static Builder createBuilderFromPersistableBundle(PersistableBundle bundle) { 124 builder.setMinVersion(bundle.getInt(EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE)); 125 builder.setLocation(bundle.getString( 127 builder.setCookieHeader(bundle.getString( 129 builder.setPackageChecksum(StoreUtils.stringToByteArray(bundle.getString( 131 builder.setSignatureChecksum(StoreUtils.stringToByteArray(bundle.getString( 133 builder.setPackageChecksumSupportsSha1(bundle.getBoolean( 140 final PersistableBundle bundle = new PersistableBundle() local [all...] |
WifiInfo.java | 89 final PersistableBundle bundle = new PersistableBundle(); local 90 bundle.putString(EXTRA_PROVISIONING_WIFI_SSID, ssid); 91 bundle.putBoolean(EXTRA_PROVISIONING_WIFI_HIDDEN, hidden); 92 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, securityType); 93 bundle.putString(EXTRA_PROVISIONING_WIFI_PASSWORD, password); 94 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_HOST, proxyHost); 95 bundle.putInt(EXTRA_PROVISIONING_WIFI_PROXY_PORT, proxyPort); 96 bundle.putString(EXTRA_PROVISIONING_WIFI_PROXY_BYPASS, proxyBypassHosts); 97 bundle.putString(EXTRA_PROVISIONING_WIFI_PAC_URL, pacUrl); 98 return bundle; [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
SyncUtils.java | 24 import android.os.Bundle; 44 Bundle bundle = new Bundle(); local 45 bundle.putString(SyncAdapter.BUNDLE_KEY_INPUT_ID, inputId); 46 ContentResolver.addPeriodicSync(account, CONTENT_AUTHORITY, bundle, 51 Bundle bundle = new Bundle(); local 52 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true) 56 bundle); local [all...] |
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/slidingtabscolors/ |
ContentFragment.java | 19 import android.os.Bundle; 37 * @return a new instance of {@link ContentFragment}, adding the parameters into a bundle and 42 Bundle bundle = new Bundle(); local 43 bundle.putCharSequence(KEY_TITLE, title); 44 bundle.putInt(KEY_INDICATOR_COLOR, indicatorColor); 45 bundle.putInt(KEY_DIVIDER_COLOR, dividerColor); 48 fragment.setArguments(bundle); 55 Bundle savedInstanceState) [all...] |
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsColors/Application/src/main/java/com/example/android/slidingtabscolors/ |
ContentFragment.java | 19 import android.os.Bundle; 37 * @return a new instance of {@link ContentFragment}, adding the parameters into a bundle and 42 Bundle bundle = new Bundle(); local 43 bundle.putCharSequence(KEY_TITLE, title); 44 bundle.putInt(KEY_INDICATOR_COLOR, indicatorColor); 45 bundle.putInt(KEY_DIVIDER_COLOR, dividerColor); 48 fragment.setArguments(bundle); 55 Bundle savedInstanceState) [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/ |
DialogHelperImpl.java | 22 import android.os.Bundle; 33 * Override your Activity's onCreateDialog(int, Bundle) method, as follows: 37 * protected Dialog onCreateDialog(int id, Bundle bundle) { 38 * return mDialogHelper.handleOnCreateDialog(id, bundle); 54 * protected Dialog onCreateDialog(int id, Bundle bundle) { 61 * return mDialogHelper.handleOnCreateDialog(id, bundle); 88 Bundle bundle = new Bundle() local [all...] |
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/ |
ContentFragment.java | 19 import android.os.Bundle; 37 * @return a new instance of {@link ContentFragment}, adding the parameters into a bundle and 42 Bundle bundle = new Bundle(); local 43 bundle.putCharSequence(KEY_TITLE, title); 44 bundle.putInt(KEY_INDICATOR_COLOR, indicatorColor); 45 bundle.putInt(KEY_DIVIDER_COLOR, dividerColor); 48 fragment.setArguments(bundle); 55 Bundle savedInstanceState) [all...] |
/external/volley/src/test/java/com/android/volley/toolbox/ |
AndroidAuthenticatorTest.java | 25 import android.os.Bundle; 42 private AccountManagerFuture<Bundle> mFuture; 63 Bundle bundle = new Bundle(); local 64 bundle.putParcelable(AccountManager.KEY_INTENT, intent); 66 when(mFuture.getResult()).thenReturn(bundle); 74 Bundle bundle = new Bundle(); local 90 Bundle bundle = new Bundle(); local [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
BackupManagerMonitorUtils.java | 27 import android.os.Bundle; 38 * Calls {@link IBackupManagerMonitor#onEvent(Bundle)} with a bundle representing current event. 48 PackageInfo pkg, int category, Bundle extras) { 51 Bundle bundle = new Bundle(); local 52 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, id); 53 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY, category); 55 bundle.putString(EXTRA_LOG_EVENT_PACKAGE_NAME [all...] |
/frameworks/support/room/migration/src/main/java/android/arch/persistence/room/migration/bundle/ |
DatabaseBundle.java | 17 package android.arch.persistence.room.migration.bundle; 89 for (EntityBundle bundle : mEntities) { 90 mEntitiesByTableName.put(bundle.getTableName(), bundle); local
|