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

12

/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java55 * @param bundle Bundle from intent notifier
60 public static CellLocation newFromBundle(Bundle bundle) { argument
65 return new CdmaCellLocation(bundle);
67 return new GsmCellLocation(bundle);
76 public abstract void fillInNotifierBundle(Bundle bundle); argument
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DBundleUtil.java13 * Get an array of Bundle objects from a parcelable array field in a bundle.
14 * Update the bundle to have a typed array so fetches in the future don't need
17 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { argument
18 Parcelable[] array = bundle.getParcelableArray(key);
24 bundle.putParcelableArray(key, typedArray);
/frameworks/base/tools/aapt/
H A DMain.cpp221 int handleCommand(Bundle* bundle) argument
224 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
225 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
226 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
228 switch (bundle->getCommand()) {
229 case kCommandVersion: return doVersion(bundle);
230 case kCommandList: return doList(bundle);
231 case kCommandDump: return doDump(bundle);
250 Bundle bundle; local
[all...]
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
H A DPackage.cpp40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet);
41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
42 bool okayToCompress(Bundle* bundle, const String8& pathName);
43 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
49 * On success, "bundle->numPackages" will be the number of Zip packages
52 status_t writeAPK(Bundle* bundle, const String8& outputFile, const sp<OutputSet>& outputSet) argument
63 //bundle->setPackageCount(0);
76 if (bundle->getUpdate()) {
78 } else if (bundle->getForce()) {
94 if (bundle
218 processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet) argument
245 processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file) argument
366 okayToCompress(Bundle* bundle, const String8& pathName) argument
428 processJarFiles(Bundle* bundle, ZipFile* zip) argument
[all...]
/frameworks/base/core/java/android/os/
H A DRemoteCallback.java41 public void sendResult(Bundle bundle) { argument
42 mHandler.post(new DeliverResult(bundle));
51 protected void onResult(Bundle bundle) { argument
65 public void sendResult(Bundle bundle) throws RemoteException { argument
66 mTarget.sendResult(bundle);
69 protected abstract void onResult(Bundle bundle); argument
H A DBundle.java178 * @param bundle a Bundle
180 public void putAll(Bundle bundle) { argument
182 bundle.unparcel();
183 mMap.putAll(bundle.mMap);
186 mHasFds |= bundle.mHasFds;
187 mFdsKnown = mFdsKnown && bundle.mFdsKnown;
191 * Reports whether the bundle contains any parcelled file descriptors.
1028 * @param parcel The parcel to copy this bundle to.
1043 * @param parcel The parcel to overwrite this bundle from.
/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java118 public SpellCheckerSession newSpellCheckerSession(Bundle bundle, Locale locale, argument
177 session.getSpellCheckerSessionListener(), 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", mLac);
44 mCid = bundle.getInt("cid", mCid);
45 mPsc = bundle.getInt("psc", mPsc);
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java60 public int compareTo(MessageBundle bundle) { argument
61 if (mUptimeMillis < bundle.mUptimeMillis) {
119 MessageBundle bundle = mQueue.poll();
120 if (bundle == null) {
124 // sleep enough for this bundle to be on time
126 if (currentTime < bundle.mUptimeMillis) {
128 sleep(bundle.mUptimeMillis - currentTime);
147 // process the bundle. If the animation is not finished, this will enqueue
155 bundle.mTarget.handleMessage(bundle
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteDiscoveryRequest.java51 private MediaRouteDiscoveryRequest(Bundle bundle) { argument
52 mBundle = bundle;
115 * Converts this object to a bundle for serialization.
117 * @return The contents of the object represented as a bundle.
124 * Creates an instance from a bundle.
126 * @param bundle The bundle, or null if none.
127 * @return The new instance, or null if the bundle was null.
129 public static MediaRouteDiscoveryRequest fromBundle(Bundle bundle) { argument
130 return bundle !
[all...]
H A DMediaRouteProviderDescriptor.java39 private MediaRouteProviderDescriptor(Bundle bundle, argument
41 mBundle = bundle;
100 * Converts this object to a bundle for serialization.
102 * @return The contents of the object represented as a bundle.
109 * Creates an instance from a bundle.
111 * @param bundle The bundle, or null if none.
112 * @return The new instance, or null if the bundle was null.
114 public static MediaRouteProviderDescriptor fromBundle(Bundle bundle) { argument
115 return bundle !
[all...]
H A DMediaRouteSelector.java57 private 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 DMediaSessionStatus.java85 private 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 DMediaItemStatus.java198 private 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 DActivityTransitionState.java131 public void readState(Bundle bundle) { argument
132 if (bundle != null) {
134 mEnteringNames = bundle.getStringArrayList(ENTERING_SHARED_ELEMENTS);
137 mExitingFrom = bundle.getStringArrayList(EXITING_MAPPED_FROM);
138 mExitingTo = bundle.getStringArrayList(EXITING_MAPPED_TO);
143 public void saveState(Bundle bundle) { argument
145 bundle.putStringArrayList(ENTERING_SHARED_ELEMENTS, mEnteringNames);
148 bundle.putStringArrayList(EXITING_MAPPED_FROM, mExitingFrom);
149 bundle.putStringArrayList(EXITING_MAPPED_TO, mExitingTo);
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java48 super("/data/security/bundle", "sepolicy_bundle", "metadata/", "version");
92 private int[] readChunkLengths(BufferedInputStream bundle) throws IOException { argument
94 chunks[0] = readInt(bundle);
95 chunks[1] = readInt(bundle);
96 chunks[2] = readInt(bundle);
97 chunks[3] = readInt(bundle);
98 chunks[4] = readInt(bundle);
99 chunks[5] = readInt(bundle);
100 chunks[6] = readInt(bundle);
/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/base/core/java/android/net/http/
H A DSslCertificate.java91 * Saves the certificate state to a bundle
93 * @return A bundle with the certificate stored in it or null if fails
99 Bundle bundle = new Bundle();
100 bundle.putString(ISSUED_TO, certificate.getIssuedTo().getDName());
101 bundle.putString(ISSUED_BY, certificate.getIssuedBy().getDName());
102 bundle.putString(VALID_NOT_BEFORE, certificate.getValidNotBefore());
103 bundle.putString(VALID_NOT_AFTER, certificate.getValidNotAfter());
107 bundle.putByteArray(X509_CERTIFICATE, x509Certificate.getEncoded());
111 return bundle;
115 * Restores the certificate stored in the bundle
119 restoreState(Bundle bundle) argument
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java243 Bundle bundle, Session session) {
247 mBundle = bundle;
316 String locale, ISpellCheckerSessionListener listener, Bundle bundle) {
321 new InternalISpellCheckerSession(locale, listener, bundle, session);
242 InternalISpellCheckerSession(String locale, ISpellCheckerSessionListener listener, Bundle bundle, Session session) argument
315 getISpellCheckerSession( String locale, ISpellCheckerSessionListener listener, Bundle bundle) argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java195 void startExpectResult(Intent service, Bundle bundle) { argument
196 bundle.putIBinder(REPORT_OBJ_NAME, mStartReceiver);
201 getContext().startService(new Intent(service).putExtras(bundle));
205 getContext().startService(new Intent(service).putExtras(bundle));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DServiceMonitor.java271 private static String bundleToString(Bundle bundle) { argument
272 if (bundle == null) return null;
274 for (String key : bundle.keySet()) {
276 Object v = bundle.get(key);
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp44 , bundle(0) {
79 int32_t bundle; member in struct:android::BufferedTextOutput::BufferState
182 } else if (*(txt-1) == '\n' && !b->bundle) {
210 if (b->atFront && !b->bundle) {
235 b->bundle++;
242 b->bundle--;
243 LOG_FATAL_IF(b->bundle < 0,
245 if (b->bundle < 0) b->bundle = 0;
247 if (b->bundle
[all...]
/frameworks/base/core/java/android/content/
H A DSyncRequest.java97 * Retrieve bundle for this SyncRequest. Will not be null.
171 // For now we merge the sync config extras & the custom extras into one bundle.
207 * TODO: Use this instead of dumping into one bundle. Need to decide if these flags should
273 * contents of the extras bundle.
277 * <p>The bundle for a periodic sync can be queried by applications with the correct
366 * Developer-provided extras handed back when sync actually occurs. This bundle is copied
384 * Only values of the following types may be used in the extras bundle:
395 * If any data is present in the bundle not of this type, build() will
398 * @param bundle extras bundle t
400 setExtras(Bundle bundle) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMetadata.java327 private MediaMetadata(Bundle bundle) { argument
328 mBundle = new Bundle(bundle);

Completed in 513 milliseconds

12