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

12

/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java71 /** Internal boolean to avoid reading a bundle everytime we want to compare operations. */
121 // expedited (Not done solely based on bundle).
155 * Make sure the bundle attached to this SyncOperation doesn't have unnecessary
157 * @param bundle to clean.
159 private void cleanBundle(Bundle bundle) { argument
160 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_UPLOAD);
161 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_MANUAL);
162 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS);
163 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
164 removeFalseExtra(bundle, ContentResolve
171 removeFalseExtra(Bundle bundle, String extraName) argument
312 extrasToStringBuilder(Bundle bundle, StringBuilder sb) argument
[all...]
H A DSyncStorageEngine.java354 // Old version is one sync a day. Empty bundle gets replaced by any addPeriodicSync()
2068 * Parse a periodic sync from accounts.xml. Sets the bundle to be empty.
2135 Log.e(TAG, "error parsing bundle value", e);
2137 Log.e(TAG, "error parsing bundle value", e);
2527 static private byte[] flattenBundle(Bundle bundle) { argument
2531 bundle.writeToParcel(parcel, 0);
2540 Bundle bundle;
2545 bundle = parcel.readBundle();
2549 bundle = new Bundle();
2553 return bundle;
[all...]
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaMetadataCompat.java259 private MediaMetadataCompat(Bundle bundle) { argument
260 mBundle = new Bundle(bundle);
448 * Gets the bundle backing the metadata object. This is available to support
449 * backwards compatibility. Apps should not modify the bundle directly.
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteDescriptor.java58 private MediaRouteDescriptor(Bundle bundle, List<IntentFilter> controlFilters) { argument
59 mBundle = bundle;
193 * Gets a bundle of extras for this route descriptor.
237 * Converts this object to a bundle for serialization.
239 * @return The contents of the object represented as a bundle.
246 * Creates an instance from a bundle.
248 * @param bundle The bundle, or null if none.
249 * @return The new instance, or null if the bundle was null.
251 public static MediaRouteDescriptor fromBundle(Bundle bundle) { argument
[all...]
H A DRemotePlaybackClient.java234 * @param metadata The media item metadata bundle, or null if none.
235 * @param extras A bundle of extra arguments to be added to the
268 * @param metadata The media item metadata bundle, or null if none.
269 * @param extras A bundle of extra arguments to be added to the
325 * @param extras A bundle of extra arguments to be added to the
357 * @param extras A bundle of extra arguments to be added to the
387 * @param extras A bundle of extra arguments to be added to the
420 * @param extras A bundle of extra arguments to be added to the
447 * @param extras A bundle of extra arguments to be added to the
474 * @param extras A bundle o
775 bundleToString(Bundle bundle) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBaseBundle.java297 * @param bundle a PersistableBundle
299 public void putAll(PersistableBundle bundle) { argument
301 bundle.unparcel();
302 mMap.putAll(bundle.mMap);
1290 * @param parcel The parcel to copy this bundle to.
1327 * @param parcel The parcel to overwrite this bundle from.
1358 + ": " + length + " bundle bytes starting at " + offset);
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java461 Bundle bundle) {
483 tsListener, locale, scListener, uid, bundle);
501 recipient.mScLocale, recipient.mScListener, bundle);
521 sci, locale, tsListener, scListener, uid, bundle);
541 int uid, Bundle bundle) {
547 sciId, locale, bundle);
558 connection, tsListener, locale, scListener, uid, bundle);
789 ISpellCheckerSessionListener scListener, int uid, Bundle bundle) {
793 addListener(listener, locale, scListener, uid, bundle);
824 String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) {
459 getSpellCheckerService(String sciId, String locale, ITextServicesSessionListener tsListener, ISpellCheckerSessionListener scListener, Bundle bundle) argument
539 startSpellCheckerServiceInnerLocked(SpellCheckerInfo info, String locale, ITextServicesSessionListener tsListener, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
787 SpellCheckerBindGroup(InternalServiceConnection connection, ITextServicesSessionListener listener, String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
823 addListener(ITextServicesSessionListener tsListener, String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
919 InternalServiceConnection( String id, String locale, Bundle bundle) argument
963 InternalDeathRecipient(SpellCheckerBindGroup group, ITextServicesSessionListener tsListener, String scLocale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.cpp183 status_t parseStyledString(Bundle* bundle, argument
H A DAaptAssets.cpp680 ssize_t AaptDir::slurpFullTree(Bundle* bundle, const String8& srcDir, argument
740 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind,
759 if (bundle->getVerbose())
992 ssize_t AaptAssets::slurpFromArgs(Bundle* bundle) argument
997 const Vector<const char *>& resDirs = bundle->getResourceSourceDirs();
1001 const int N = bundle->getFileSpecCount();
1006 if (bundle->getAndroidManifestFile() != NULL) {
1008 String8 srcFile(bundle->getAndroidManifestFile());
1017 const Vector<const char*>& assetDirs = bundle->getAssetSourceDirs();
1033 count = assetAaptDir->slurpFullTree(bundle, assetRoo
1141 slurpFullTree(Bundle* bundle, const String8& srcDir, const AaptGroupEntry& kind, const String8& resType, sp<FilePathStore>& fullResPaths, const bool overwrite) argument
1155 slurpResourceTree(Bundle* bundle, const String8& srcDir) argument
1244 slurpResourceZip(Bundle* bundle, const char* filename) argument
1334 filter(Bundle* bundle) argument
1546 buildIncludedResources(Bundle* bundle) argument
[all...]
H A DImages.cpp1239 status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, argument
1255 if (bundle->getVerbose()) {
1328 bundle->getGrayscaleTolerance());
1332 if (bundle->getVerbose()) {
1359 status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest) argument
1373 if (bundle->getVerbose()) {
1464 bundle->getGrayscaleTolerance());
1466 if (bundle->getVerbose()) {
1486 status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, argument
1495 return compileXmlFile(bundle, asset
[all...]
H A DCommand.cpp39 int doVersion(Bundle* bundle) argument
41 if (bundle->getFileSpecCount() != 0) {
141 int doList(Bundle* bundle) argument
149 if (bundle->getFileSpecCount() != 1) {
153 zipFileName = bundle->getFileSpecEntry(0);
162 if (bundle->getVerbose()) {
175 if (bundle->getVerbose()) {
201 if (bundle->getVerbose()) {
211 if (bundle->getAndroidList()) {
578 int doDump(Bundle* bundle) argument
2085 doAdd(Bundle* bundle) argument
2156 doRemove(Bundle* bundle) argument
2263 doPackage(Bundle* bundle) argument
2502 doCrunch(Bundle* bundle) argument
2518 doSingleCrunch(Bundle* bundle) argument
2534 runInDaemonMode(Bundle* bundle) argument
[all...]
H A DResource.cpp215 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, argument
262 bundle->setRevisionCode(String8(block.getAttributeStringValue(revisionCodeIndex, &len)).string());
275 bundle->setManifestMinSdkVersion(minSdk8);
288 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, argument
301 if (bundle->getVerbose()) {
334 PreProcessImageWorkUnit(const Bundle* bundle, const sp<AaptAssets>& assets, argument
336 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) {
354 static status_t preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, argument
359 if (bundle->getUseCrunchCache() == false) {
364 bundle, asset
571 applyFileOverlay(Bundle *bundle, const sp<AaptAssets>& assets, sp<ResourceTypeSet> *baseSet, const char *resType) argument
768 massageManifest(Bundle* bundle, sp<XMLNode> root) argument
950 extractPlatformBuildVersion(ResXMLTree& tree, Bundle* bundle) argument
996 extractPlatformBuildVersion(AssetManager& assets, Bundle* bundle) argument
1030 updatePreProcessedCache(Bundle* bundle) argument
1059 generateAndroidManifestForSplit(Bundle* bundle, const sp<AaptAssets>& assets, const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) argument
1116 buildResources(Bundle* bundle, const sp<AaptAssets>& assets, sp<ApkBuilder>& builder) argument
2629 writeResourceSymbols(Bundle* bundle, const sp<AaptAssets>& assets, const String8& package, bool includePrivate, bool emitCallback) argument
3070 writeProguardFile(Bundle* bundle, const sp<AaptAssets>& assets) argument
3126 writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, FILE* fp, bool includeRaw) argument
[all...]
H A DResourceTable.cpp25 status_t compileXmlFile(const Bundle* bundle, argument
37 return compileXmlFile(bundle, assets, resourceName, root, target, table, options);
40 status_t compileXmlFile(const Bundle* bundle, argument
53 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options);
56 status_t compileXmlFile(const Bundle* bundle, argument
92 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) {
575 status_t parseAndAddBag(Bundle* bundle, argument
596 err = parseStyledString(bundle, in->getPrintableSource().string(),
670 status_t parseAndAddEntry(Bundle* bundle, argument
691 err = parseStyledString(bundle, i
760 compileResourceFile(Bundle* bundle, const sp<AaptAssets>& assets, const sp<AaptFile>& in, const ResTable_config& defParams, const bool overwrite, ResourceTable* outTable) argument
1723 ResourceTable(Bundle* bundle, const String16& assetsPackage, ResourceTable::PackageType type) argument
1768 addIncludedResources(Bundle* bundle, const sp<AaptAssets>& assets) argument
2093 flatten(Bundle* bundle, const sp<const ResourceFilter>& filter, const bool isBase) argument
2754 flatten(Bundle* bundle, const sp<const ResourceFilter>& filter, const sp<AaptFile>& dest, const bool isBase) argument
3618 flatten(Bundle* bundle, const sp<AaptFile>& data, bool isPublic) argument
4399 getMinSdkVersion(const Bundle* bundle) argument
4450 modifyForCompat(const Bundle* bundle) argument
4583 modifyForCompat(const Bundle* bundle, const String16& resourceName, const sp<AaptFile>& target, const sp<XMLNode>& root) argument
[all...]
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java45 // Bundle keys for storing action fields in a bundle
355 private static NotificationCompatBase.Action getActionFromBundle(Bundle bundle, argument
359 bundle.getInt(KEY_ICON),
360 bundle.getCharSequence(KEY_TITLE),
361 bundle.<PendingIntent>getParcelable(KEY_ACTION_INTENT),
362 bundle.getBundle(KEY_EXTRAS),
364 BundleUtil.getBundleArrayFromBundle(bundle, KEY_REMOTE_INPUTS),
381 Bundle bundle = new Bundle();
382 bundle.putInt(KEY_ICON, action.getIcon());
383 bundle
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java284 * @param bundle The bundle in which to put the fragment reference.
285 * @param key The name of the entry in the bundle.
288 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument
294 * @param bundle The bundle from which to retrieve the fragment reference.
295 * @param key The name of the entry in the bundle.
299 public abstract Fragment getFragment(Bundle bundle, String key); argument
566 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument
571 bundle
575 getFragment(Bundle bundle, String key) argument
[all...]
H A DNotification.java1549 * Make sure this CharSequence is safe to put into a bundle, which basically
3200 * Capture, in the provided bundle, semantic information used in the construction of
5067 * Get an array of Notification objects from a parcelable array bundle field.
5068 * Update the bundle to have a typed array so fetches in the future don't need
5071 private static Notification[] getNotificationArrayFromBundle(Bundle bundle, String key) { argument
5072 Parcelable[] array = bundle.getParcelableArray(key);
5078 bundle.putParcelableArray(key, typedArray);
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java213 * The Android package of the caller will be set in the options bundle by the
540 public String bundleToResult(Bundle bundle) throws AuthenticatorException {
541 if (!bundle.containsKey(KEY_AUTH_TOKEN_LABEL)) {
544 return bundle.getString(KEY_AUTH_TOKEN_LABEL);
581 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
582 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
585 return bundle.getBoolean(KEY_BOOLEAN_RESULT);
625 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
626 if (!bundle.containsKey(KEY_ACCOUNTS)) {
629 final Parcelable[] parcelables = bundle
1772 set(Bundle bundle) argument
1840 onResult(Bundle bundle) argument
1889 bundleToResult(Bundle bundle) argument
1905 onResult(Bundle bundle) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1846 Bundle bundle = new Bundle();
1847 copyIntParam(bundle, params, Engine.KEY_PARAM_STREAM);
1848 copyIntParam(bundle, params, Engine.KEY_PARAM_SESSION_ID);
1849 copyStringParam(bundle, params, Engine.KEY_PARAM_UTTERANCE_ID);
1850 copyFloatParam(bundle, params, Engine.KEY_PARAM_VOLUME);
1851 copyFloatParam(bundle, params, Engine.KEY_PARAM_PAN);
1854 copyStringParam(bundle, params, Engine.KEY_FEATURE_NETWORK_SYNTHESIS);
1855 copyStringParam(bundle, params, Engine.KEY_FEATURE_EMBEDDED_SYNTHESIS);
1856 copyIntParam(bundle, params, Engine.KEY_FEATURE_NETWORK_TIMEOUT_MS);
1857 copyIntParam(bundle, param
1899 verifyIntegerBundleParam(Bundle bundle, String key) argument
1912 verifyStringBundleParam(Bundle bundle, String key) argument
1924 verifyBooleanBundleParam(Bundle bundle, String key) argument
1938 verifyFloatBundleParam(Bundle bundle, String key) argument
1951 copyStringParam(Bundle bundle, HashMap<String, String> params, String key) argument
1958 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument
1970 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSession.java1165 public void post(int what, Object obj, Bundle bundle) { argument
1167 msg.setData(bundle);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java289 * @param bundle The bundle in which to put the fragment reference.
290 * @param key The name of the entry in the bundle.
293 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument
299 * @param bundle The bundle from which to retrieve the fragment reference.
300 * @param key The name of the entry in the bundle.
304 public abstract Fragment getFragment(Bundle bundle, String key); argument
571 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument
576 bundle
580 getFragment(Bundle bundle, String key) argument
[all...]
H A DNotificationCompat.java3230 * Get an array of Notification objects from a parcelable array bundle field.
3231 * Update the bundle to have a typed array so fetches in the future don't need
3234 private static Notification[] getNotificationArrayFromBundle(Bundle bundle, String key) { argument
3235 Parcelable[] array = bundle.getParcelableArray(key);
3243 bundle.putParcelableArray(key, typedArray);
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java1708 public void post(int what, Object obj, Bundle bundle) { argument
1710 msg.setData(bundle);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java1742 private static Bundle cloneIfLocalBinder(Bundle bundle) { argument
1746 if (isLocalBinder() && bundle != null) {
1747 return (Bundle) bundle.clone();
1749 return bundle;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java418 TrustAgentInfo(PersistableBundle bundle) { argument
419 options = bundle;
804 PersistableBundle bundle = new PersistableBundle();
805 bundle.restoreFromXml(parser);
806 result.options = bundle;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java600 * obj = bundle with the new settings and the optional worksource
1196 Bundle bundle = new Bundle();
1197 bundle.putParcelable(CUSTOMIZED_SCAN_SETTING, settings);
1198 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource);
1199 bundle.putLong(SCAN_REQUEST_TIME, System.currentTimeMillis());
1201 mDelayedScanCounter.get(), bundle, milli);
1296 Bundle bundle = new Bundle();
1297 bundle.putParcelable(CUSTOMIZED_SCAN_SETTING, settings);
1298 bundle.putParcelable(CUSTOMIZED_SCAN_WORKSOURCE, workSource);
1299 bundle
1392 recordBatchedScanSettings(int responsibleUid, int csph, Bundle bundle) argument
[all...]

Completed in 1460 milliseconds

12