Searched refs:bundle (Results 26 - 50 of 230) sorted by relevance

12345678910

/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
H A DDatePickerFragment.java40 Bundle bundle = BaseFragment.getBundle();
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);
H A DTimePickerFragment.java41 Bundle bundle = BaseFragment.getBundle();
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);
H A DTimeZonePickerFragment.java42 Bundle bundle = ListSettingsFragment.getBundle();
43 bundle.putInt(EXTRA_TITLE_ID, R.string.date_time_set_timezone_title);
44 timeZonePickerFragment.setArguments(bundle);
H A DDatetimeSettingsFragment.java48 Bundle bundle = ListSettingsFragment.getBundle();
49 bundle.putInt(EXTRA_TITLE_ID, R.string.date_and_time_settings_title);
50 datetimeSettingsFragment.setArguments(bundle);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DCameraMediaChooserView.java44 final Bundle bundle = new Bundle();
45 bundle.putInt(KEY_CAMERA_INDEX, CameraManager.get().getCameraIndex());
46 return bundle;
55 final Bundle bundle = (Bundle) state;
56 CameraManager.get().selectCameraByIndex(bundle.getInt(KEY_CAMERA_INDEX));
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothAccessoryActivity.java37 Bundle bundle = getIntent().getExtras();
38 if (bundle != null) {
39 deviceAddress = bundle.getString(EXTRA_ACCESSORY_ADDRESS);
40 deviceName = bundle.getString(EXTRA_ACCESSORY_NAME);
41 deviceImgId = bundle.getInt(EXTRA_ACCESSORY_ICON_ID);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
H A DTestAuthenticator.java67 final Bundle bundle = new Bundle();
75 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
76 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
77 return bundle;
89 final Bundle bundle = new Bundle();
90 bundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
91 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
92 bundle.putString(AccountManager.KEY_AUTHTOKEN, account.name);
94 return bundle;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DDirectoryAddonsAdapterTest.java94 Bundle bundle = new Bundle();
95 bundle.putString(DocumentsContract.EXTRA_INFO, "some info");
96 mEnv.model.setCursorExtras(bundle);
109 Bundle bundle = new Bundle();
110 bundle.putString(DocumentsContract.EXTRA_INFO, "some info");
111 mEnv.model.setCursorExtras(bundle);
119 Bundle bundle = new Bundle();
120 bundle.putString(DocumentsContract.EXTRA_ERROR, "some error");
121 mEnv.model.setCursorExtras(bundle);
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
H A DRuntimeDocumentClipper.java137 PersistableBundle bundle = new PersistableBundle();
138 bundle.putInt(OP_TYPE_KEY, opType);
148 description.setExtras(bundle);
176 PersistableBundle bundle = new PersistableBundle();
177 bundle.putInt(OP_TYPE_KEY, opType);
178 bundle.putInt(OP_JUMBO_SELECTION_SIZE, uris.size());
182 bundle.putInt(OP_JUMBO_SELECTION_TAG, tag);
187 description.setExtras(bundle);
211 PersistableBundle bundle = data.getDescription().getExtras();
212 bundle
319 getOpType(PersistableBundle bundle) argument
[all...]
/packages/apps/Dialer/java/com/android/incallui/
H A DAudioRouteSelectorActivity.java32 protected void onCreate(@Nullable Bundle bundle) { argument
33 super.onCreate(bundle);
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
H A DIInstrumentClusterNavigation.aidl35 void onEvent(int eventType, in Bundle bundle);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DAuthenticator.java44 Bundle bundle) throws NetworkErrorException {
53 Bundle bundle) throws NetworkErrorException {
61 Bundle bundle) throws NetworkErrorException {
76 Bundle bundle) throws NetworkErrorException {
43 addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, Bundle bundle) argument
52 confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) argument
60 getAuthToken(AccountAuthenticatorResponse r, Account account, String s, Bundle bundle) argument
75 updateCredentials(AccountAuthenticatorResponse r, Account account, String s, Bundle bundle) argument
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DConversationListContext.java65 * De-serializes a context from a bundle.
67 public static ConversationListContext forBundle(Bundle bundle) { argument
70 Account account = bundle.getParcelable(Utils.EXTRA_ACCOUNT);
71 Folder folder = bundle.getParcelable(Utils.EXTRA_FOLDER);
72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder);
117 * Serializes the context to a bundle.
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
H A DApplicationSettingsFragment.java37 Bundle bundle = ListSettingsFragment.getBundle();
38 bundle.putInt(EXTRA_TITLE_ID, R.string.applications_settings);
39 applicationSettingsFragment.setArguments(bundle);
/packages/apps/Email/provider_src/com/android/email/service/
H A DAccountService.java49 Bundle bundle = new Bundle();
50 bundle.putBoolean(Configuration.EXCHANGE_CONFIGURATION_USE_ALTERNATE_STRINGS,
52 return bundle;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
H A DE2eUiTestUtils.java32 PersistableBundle bundle = new PersistableBundle();
33 bundle.putBoolean(EXTRAS_BUNDLE_TEST_KEY, true);
34 intent.putExtra(DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE, bundle);
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DTestActivity.java42 protected void onCreate(final Bundle bundle) { argument
43 super.onCreate(bundle);
45 if (bundle != null) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DEmailServiceProxy.java159 Bundle bundle = new Bundle();
160 bundle.putInt(VALIDATE_BUNDLE_RESULT_CODE, MessagingException.UNSPECIFIED_EXCEPTION);
161 return bundle;
163 Bundle bundle = (Bundle) mReturn;
164 bundle.setClassLoader(Policy.class.getClassLoader());
165 LogUtils.v(TAG, "validate returns " + bundle.getInt(VALIDATE_BUNDLE_RESULT_CODE));
166 return bundle;
193 Bundle bundle = (Bundle) mReturn;
194 bundle.setClassLoader(HostAuth.class.getClassLoader());
196 + bundle
[all...]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
H A DTwoButtonMethod.java61 public void onCreate(@Nullable Bundle bundle) { argument
62 super.onCreate(bundle);
63 if (bundle != null) {
64 incomingWillDisconnect = bundle.getBoolean(STATE_INCOMING_WILL_DISCONNECT);
65 hintText = bundle.getCharSequence(STATE_HINT_TEXT);
70 public void onSaveInstanceState(Bundle bundle) { argument
71 super.onSaveInstanceState(bundle);
72 bundle.putBoolean(STATE_INCOMING_WILL_DISCONNECT, incomingWillDisconnect);
73 bundle.putCharSequence(STATE_HINT_TEXT, hintText);
79 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
78 onCreateView( LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAuthenticationView.java220 Bundle bundle = new Bundle();
221 bundle.putParcelable(SUPER_STATE, super.onSaveInstanceState());
222 bundle.putBoolean(SAVE_OFFER_OAUTH, mOfferOAuth);
223 bundle.putBoolean(SAVE_USE_OAUTH, mUseOAuth);
224 bundle.putString(SAVE_PASSWORD, getPassword());
225 bundle.putString(SAVE_OAUTH_PROVIDER, mOAuthProvider);
226 return bundle;
232 Bundle bundle = (Bundle)parcelable;
233 super.onRestoreInstanceState(bundle.getParcelable(SUPER_STATE));
234 mOfferOAuth = bundle
[all...]
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
H A DDndCondition.java72 boolean saveState(PersistableBundle bundle) { argument
73 bundle.putInt(KEY_STATE, mZen);
74 return super.saveState(bundle);
78 void restoreState(PersistableBundle bundle) { argument
79 super.restoreState(bundle);
80 mZen = bundle.getInt(KEY_STATE, Global.ZEN_MODE_OFF);
/packages/apps/Car/Settings/src/com/android/car/settings/system/
H A DAboutSettingsFragment.java38 Bundle bundle = ListSettingsFragment.getBundle();
39 bundle.putInt(EXTRA_TITLE_ID, R.string.about_settings);
40 aboutSettingsFragment.setArguments(bundle);
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothFilesPreferenceControllerTest.java66 final Bundle bundle = intent.getExtras();
67 assertThat(bundle.getInt(BluetoothFilesPreferenceController.EXTRA_DIRECTION)).isEqualTo(1);
68 assertThat(bundle.getBoolean(
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
H A DSecurityFeatureProviderImplTest.java138 Bundle bundle = new Bundle();
139 bundle.putString(TileUtils.META_DATA_PREFERENCE_ICON_URI, URI_GET_ICON);
140 bundle.putString(TileUtils.META_DATA_PREFERENCE_SUMMARY_URI, URI_GET_SUMMARY);
145 dashboardCategory.getTile(0).metaData = bundle;
158 Bundle bundle = new Bundle();
159 bundle.putString(TileUtils.META_DATA_PREFERENCE_ICON_URI, URI_GET_ICON);
160 bundle.putString(TileUtils.META_DATA_PREFERENCE_SUMMARY_URI, URI_GET_SUMMARY);
168 dashboardCategory.getTile(0).metaData = bundle;
192 Bundle bundle = new Bundle();
193 bundle
[all...]
/packages/apps/Car/Settings/src/com/android/car/settings/users/
H A DUserSettingsFragment.java46 Bundle bundle = ListSettingsFragment.getBundle();
47 bundle.putInt(EXTRA_TITLE_ID, R.string.user_settings_title);
48 bundle.putInt(EXTRA_ACTION_BAR_LAYOUT, R.layout.action_bar_with_button);
49 userSettingsFragment.setArguments(bundle);

Completed in 2448 milliseconds

12345678910