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

123456789

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java65 public void addLayoutBundle(LayoutFileBundle bundle) { argument
66 if (bundle.mFileName == null) {
67 L.e("File bundle must have a name. %s does not have one.", bundle);
70 if (!mLayoutBundles.containsKey(bundle.mFileName)) {
71 mLayoutBundles.put(bundle.mFileName, new ArrayList<LayoutFileBundle>());
73 final List<LayoutFileBundle> bundles = mLayoutBundles.get(bundle.mFileName);
75 if (existing.equals(bundle)) {
76 L.d("skipping layout bundle %s because it already exists.", bundle);
931 get(LayoutFileBundle bundle) argument
[all...]
/frameworks/base/core/java/android/os/
H A DSynchronousResultReceiver.java37 @Nullable public Bundle bundle; field in class:SynchronousResultReceiver.Result
39 public Result(int resultCode, @Nullable Bundle bundle) { argument
41 this.bundle = bundle;
/frameworks/base/telecomm/java/android/telecom/
H A DAuthenticatorService.java63 String s, String s2, String[] strings, Bundle bundle)
70 Account account, Bundle bundle)
77 Account account, String s, Bundle bundle)
89 Account account, String s, Bundle bundle)
62 addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, String s, String s2, String[] strings, Bundle bundle) argument
69 confirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle) argument
76 getAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) argument
88 updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) argument
H A DInCallAdapter.java304 Bundle bundle = new Bundle();
305 bundle.putBoolean(key, value);
306 mAdapter.putExtras(callId, bundle);
320 Bundle bundle = new Bundle();
321 bundle.putInt(key, value);
322 mAdapter.putExtras(callId, bundle);
336 Bundle bundle = new Bundle();
337 bundle.putString(key, value);
338 mAdapter.putExtras(callId, bundle);
/frameworks/base/telephony/java/android/telephony/gsm/
H A DGsmCellLocation.java40 * Initialize the object from a bundle.
42 public GsmCellLocation(Bundle bundle) { argument
43 mLac = bundle.getInt("lac", -1);
44 mCid = bundle.getInt("cid", -1);
45 mPsc = bundle.getInt("psc", -1);
/frameworks/support/compat/gingerbread/android/support/v4/app/
H A DBundleCompatGingerbread.java35 public static IBinder getBinder(Bundle bundle, String key) { argument
48 return (IBinder) sGetIBinderMethod.invoke(bundle, key);
58 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
72 sPutIBinderMethod.invoke(bundle, key, binder);
/frameworks/av/media/libeffects/data/
H A Daudio_effects.conf26 bundle {
89 library bundle
93 library bundle
97 library bundle
101 library bundle
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaSessionStatus.java85 MediaSessionStatus(Bundle bundle) { argument
86 mBundle = bundle;
119 * Gets a bundle of extras for this status object.
154 * Converts this object to a bundle for serialization.
156 * @return The contents of the object represented as a bundle.
163 * Creates an instance from a bundle.
165 * @param bundle The bundle, or null if none.
166 * @return The new instance, or null if the bundle was null.
168 public static MediaSessionStatus fromBundle(Bundle bundle) { argument
[all...]
H A DMediaRouteSelector.java57 MediaRouteSelector(Bundle bundle, List<String> controlCategories) { argument
58 mBundle = bundle;
191 * Converts this object to a bundle for serialization.
193 * @return The contents of the object represented as a bundle.
200 * Creates an instance from a bundle.
202 * @param bundle The bundle, or null if none.
203 * @return The new instance, or null if the bundle was null.
205 public static MediaRouteSelector fromBundle(@Nullable Bundle bundle) { argument
206 return bundle !
[all...]
H A DMediaItemStatus.java198 MediaItemStatus(Bundle bundle) { argument
199 mBundle = bundle;
246 * Gets a bundle of extras for this status object.
292 * Converts this object to a bundle for serialization.
294 * @return The contents of the object represented as a bundle.
301 * Creates an instance from a bundle.
303 * @param bundle The bundle, or null if none.
304 * @return The new instance, or null if the bundle was null.
306 public static MediaItemStatus fromBundle(Bundle bundle) { argument
[all...]
/frameworks/base/core/java/android/app/
H A DSharedElementCallback.java178 Bundle bundle = new Bundle();
179 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap);
180 bundle.putString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE,
186 bundle.putFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX, values);
188 return bundle;
220 Bundle bundle = (Bundle) snapshot;
221 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP);
229 ScaleType.valueOf(bundle.getString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE)));
231 float[] values = bundle.getFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DHalMockUtils.java87 Bundle bundle = new Bundle();
98 bundle.putInt(key, field.optInt(VALUE_KEY));
105 bundle.putByteArray(key, bArray);
111 if (DBG) Log.d(TAG, "convertJsonToBundle: returning bundle=" + bundle);
112 return bundle;
115 public static JSONObject convertBundleToJson(Bundle bundle) throws JSONException { argument
116 if (VDBG) Log.v(TAG, "convertBundleToJson: bundle=" + bundle.toString());
119 for (String key : bundle
[all...]
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaCellLocation.java66 * Initialize the object from a bundle.
68 public CdmaCellLocation(Bundle bundle) { argument
69 this.mBaseStationId = bundle.getInt("baseStationId", mBaseStationId);
70 this.mBaseStationLatitude = bundle.getInt("baseStationLatitude", mBaseStationLatitude);
71 this.mBaseStationLongitude = bundle.getInt("baseStationLongitude", mBaseStationLongitude);
72 this.mSystemId = bundle.getInt("systemId", mSystemId);
73 this.mNetworkId = bundle.getInt("networkId", mNetworkId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DTestConferenceEventPackageParser.java128 Bundle bundle = new Bundle();
157 bundle.putString(ImsConferenceState.USER, user);
158 bundle.putString(ImsConferenceState.DISPLAY_TEXT, displayText);
159 bundle.putString(ImsConferenceState.ENDPOINT, endpoint);
160 bundle.putString(ImsConferenceState.STATUS, status);
162 return bundle;
/frameworks/base/services/core/java/com/android/server/accounts/
H A DCryptoHelper.java21 * A crypto helper for encrypting and decrypting bundle with in-memory symmetric
56 /* default */ Bundle encryptBundle(@NonNull Bundle bundle) throws GeneralSecurityException { argument
57 Preconditions.checkNotNull(bundle, "Cannot encrypt null bundle.");
59 bundle.writeToParcel(parcel, 0);
78 /* default */ Bundle decryptBundle(@NonNull Bundle bundle) throws GeneralSecurityException { argument
79 Preconditions.checkNotNull(bundle, "Cannot decrypt null bundle.");
80 byte[] iv = bundle.getByteArray(KEY_IV);
81 byte[] encryptedBytes = bundle
[all...]
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java47 super("/data/security/bundle", "sepolicy_bundle", "metadata/", "version");
58 private int[] readChunkLengths(BufferedInputStream bundle) throws IOException { argument
60 chunks[0] = readInt(bundle);
61 chunks[1] = readInt(bundle);
62 chunks[2] = readInt(bundle);
63 chunks[3] = readInt(bundle);
64 chunks[4] = readInt(bundle);
65 chunks[5] = readInt(bundle);
66 chunks[6] = readInt(bundle);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DViewsStateBundle.java32 * Maintains a bundle of states for a group of views. Each view must have a unique id to identify
37 * Vertical list maintains id->bundle mapping of all it's children (even the children is offscreen
78 Bundle bundle = new Bundle();
82 bundle.putSparseParcelableArray(e.getKey(), e.getValue());
84 return bundle;
182 * @param bundle Bundle where we save the on screen view state. If null,
187 public final Bundle saveOnScreenView(Bundle bundle, View view, int id) { argument
192 if (bundle == null) {
193 bundle = new Bundle();
195 bundle
[all...]
H A DGuidedDatePickerAction.java181 public void onSaveInstanceState(Bundle bundle, String key) { argument
182 bundle.putLong(key, getDate());
186 public void onRestoreInstanceState(Bundle bundle, String key) { argument
187 setDate(bundle.getLong(key, getDate()));
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DAndroidAuthenticatorTest.java63 Bundle bundle = new Bundle();
64 bundle.putParcelable(AccountManager.KEY_INTENT, intent);
66 when(mFuture.getResult()).thenReturn(bundle);
74 Bundle bundle = new Bundle();
76 when(mFuture.getResult()).thenReturn(bundle);
90 Bundle bundle = new Bundle();
91 bundle.putString(AccountManager.KEY_AUTHTOKEN, "monkey");
93 when(mFuture.getResult()).thenReturn(bundle);
/frameworks/base/core/tests/coretests/src/android/content/
H A DRestrictionsManagerTest.java68 Bundle bundle = RestrictionsManager.convertRestrictionsToBundle(manifestRestrictions);
69 assertEquals(6, bundle.size());
70 Bundle childBundle = bundle.getBundle("bundle_key");
73 Parcelable[] childBundleArray = bundle.getParcelableArray("bundle_array_key");
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DActionSendMultipleConsumerActivity.java114 Bundle bundle = null;
118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS);
122 if (bundle == null) {
125 return bundle;
/frameworks/base/tools/aapt/
H A DCacheUpdater.h53 // Constructor to set bundle to pass to preProcessImage
55 : bundle(b) { };
106 preProcessImageToCache(bundle, source, dest);
109 Bundle* bundle; member in class:SystemCacheUpdater
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfInternalSelectionViews.java96 * Initialize a bundle suitable for sending as the params of the intent that
101 * @return the intialized bundle.
104 Bundle bundle = new Bundle();
105 bundle.putInt(BUNDLE_PARAM_NUM_ITEMS, numItems);
106 bundle.putInt(BUNDLE_PARAM_NUM_ROWS_PER_ITEM, numRowsPerItem);
107 bundle.putDouble(BUNDLE_PARAM_ITEM_SCREEN_HEIGHT_FACTOR, itemScreenHeightFactor);
108 return bundle;
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java148 Bundle bundle = new Bundle();
149 bundle.putLong(REPORT_KEY_BYTES_RECEIVED, entry.rxBytes);
150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes);
151 bundle.putLong(REPORT_KEY_PACKETS_RECEIVED, entry.rxPackets);
152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets);
153 bundle.putLong(REPORT_KEY_OPERATIONS, entry.operations);
154 return bundle;
/frameworks/base/packages/Osu/src/com/android/
H A DMainActivity.java80 Bundle bundle = intent.getExtras();
82 if (bundle == null) { // User interaction
114 if (bundle.containsKey(AppBridge.OSU_COUNT)) {
115 showOsuCount(bundle.getInt("osu-count", 0), Collections.<OSUInfo>emptyList());
116 } else if (bundle.containsKey(AppBridge.PROV_SUCCESS)) {
117 showStatus(bundle.getBoolean(AppBridge.PROV_SUCCESS),
118 bundle.getString(AppBridge.SP_NAME),
119 bundle.getString(AppBridge.PROV_MESSAGE),
121 } else if (bundle.containsKey(AppBridge.DEAUTH)) {
122 showDeauth(bundle
[all...]

Completed in 942 milliseconds

123456789