Searched refs:bundle (Results 1 - 25 of 119) sorted by relevance

12345

/frameworks/base/tools/aapt/
H A DMain.h31 extern int doVersion(Bundle* bundle);
32 extern int doList(Bundle* bundle);
33 extern int doDump(Bundle* bundle);
34 extern int doAdd(Bundle* bundle);
35 extern int doRemove(Bundle* bundle);
36 extern int doPackage(Bundle* bundle);
37 extern int doCrunch(Bundle* bundle);
38 extern int doSingleCrunch(Bundle* bundle);
39 extern int runInDaemonMode(Bundle* bundle);
43 extern android::status_t writeAPK(Bundle* bundle,
[all...]
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 DImages.h18 status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
21 status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest);
23 status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
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/tests/coretests/src/android/app/
H A DInstrumentationTest.java30 Bundle bundle = new Bundle();
31 bundle.putInt("iterations", i);
32 getInstrumentation().sendStatus(-1, bundle);
/frameworks/base/libs/androidfw/tests/data/app/
H A Dbuild18 aapt package -v -I ../system/bundle.apk -M AndroidManifest.xml -S res -F bundle.apk -f && \
19 unzip bundle.apk resources.arsc && \
/frameworks/base/libs/androidfw/tests/data/feature/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res --feature-of ../basic/bundle.apk -F bundle.apk -f && \
19 unzip bundle.apk resources.arsc && \
/frameworks/base/libs/androidfw/tests/data/overlay/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f && \
19 unzip bundle.apk resources.arsc && \
/frameworks/base/libs/androidfw/tests/data/system/
H A Dbuild18 aapt package -x -M AndroidManifest.xml -S res -F bundle.apk -f && \
19 unzip bundle.apk resources.arsc && \
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java31 Bundle bundle = new Bundle();
32 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
39 Bundle bundle = new Bundle();
40 bundle.putString(Notification.EXTRA_PEOPLE, expected[0]);
41 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
48 Bundle bundle = new Bundle();
49 bundle.putCharArray(Notification.EXTRA_PEOPLE, expected[0].toCharArray());
50 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
57 Bundle bundle = new Bundle();
58 bundle
[all...]
/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/libs/androidfw/tests/data/lib/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f --shared-lib && \
19 unzip bundle.apk resources.arsc && \
/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/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
/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 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 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...]
/frameworks/base/core/java/com/android/internal/textservice/
H A DISpellCheckerService.aidl30 String locale, ISpellCheckerSessionListener listener, in Bundle bundle);
/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/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/av/media/libeffects/data/
H A Daudio_effects.conf26 bundle {
89 library bundle
93 library bundle
97 library bundle
101 library bundle
/frameworks/base/core/java/android/app/
H A DSharedElementCallback.java158 Bundle bundle = new Bundle();
159 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap);
160 bundle.putString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE,
166 bundle.putFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX, values);
168 return bundle;
200 Bundle bundle = (Bundle) snapshot;
201 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP);
209 ScaleType.valueOf(bundle.getString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE)));
211 float[] values = bundle.getFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX);
/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/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...]

Completed in 640 milliseconds

12345