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

123456

/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.cpp226 int handleCommand(Bundle* bundle) argument
229 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
230 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
231 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
233 switch (bundle->getCommand()) {
234 case kCommandVersion: return doVersion(bundle);
235 case kCommandList: return doList(bundle);
236 case kCommandDump: return doDump(bundle);
255 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
427 processJarFiles(Bundle* bundle, ZipFile* zip) argument
[all...]
/frameworks/support/v4/jellybean-mr2/android/support/v4/app/
H A DBundleCompatJellybeanMR2.java26 public static IBinder getBinder(Bundle bundle, String key) { argument
27 return bundle.getBinder(key);
30 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
31 bundle.putBinder(key, binder);
/frameworks/support/v4/java/android/support/v4/app/
H A DBundleCompat.java31 * @param bundle The bundle to get the {@link IBinder}.
35 public static IBinder getBinder(Bundle bundle, String key) { argument
37 return BundleCompatJellybeanMR2.getBinder(bundle, key);
39 return BundleCompatDonut.getBinder(bundle, key);
46 * @param bundle The bundle to insert the {@link IBinder}.
50 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
52 BundleCompatJellybeanMR2.putBinder(bundle, key, binder);
54 BundleCompatDonut.putBinder(bundle, ke
[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/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java48 Bundle bundle = createBundle();
49 UserManagerService.writeApplicationRestrictionsLocked(bundle, atomicFile);
53 bundle = UserManagerService.readApplicationRestrictionsLocked(atomicFile);
54 System.out.println("readApplicationRestrictionsLocked bundle: " + bundle);
55 assertBundle(bundle);
68 Bundle bundle = new Bundle();
69 bundle.putString("bundle_string", "bundle_string");
70 bundle.putInt("bundle_int", 1);
71 result.putBundle("bundle", bundl
83 assertBundle(Bundle bundle) argument
[all...]
/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/customtabs/src/android/support/customtabs/
H A DCustomTabsIntent.java37 * Class holding the {@link Intent} and start bundle for a Custom Tabs Activity.
188 Bundle bundle = new Bundle();
190 bundle, EXTRA_SESSION, session == null ? null : session.getBinder());
191 mIntent.putExtras(bundle);
233 Bundle bundle = new Bundle();
234 bundle.putString(KEY_MENU_ITEM_TITLE, label);
235 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent);
236 mMenuItems.add(bundle);
249 Bundle bundle = new Bundle();
250 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...]
/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/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java59 public void addLayoutBundle(LayoutFileBundle bundle) { argument
60 if (bundle.mFileName == null) {
61 L.e("File bundle must have a name. %s does not have one.", bundle);
64 if (!mLayoutBundles.containsKey(bundle.mFileName)) {
65 mLayoutBundles.put(bundle.mFileName, new ArrayList<LayoutFileBundle>());
67 final List<LayoutFileBundle> bundles = mLayoutBundles.get(bundle.mFileName);
69 if (existing.equals(bundle)) {
70 L.d("skipping layout bundle %s because it already exists.", bundle);
839 get(LayoutFileBundle bundle) argument
[all...]
/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
/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/v4/donut/android/support/v4/app/
H A DBundleCompatDonut.java38 public static IBinder getBinder(Bundle bundle, String key) { argument
51 return (IBinder) sGetIBinderMethod.invoke(bundle, key);
61 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
75 sPutIBinderMethod.invoke(bundle, key, binder);

Completed in 806 milliseconds

123456