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

123456789

/frameworks/support/compat/jellybean-mr2/android/support/v4/app/
H A DBundleCompatJellybeanMR2.java23 public static IBinder getBinder(Bundle bundle, String key) { argument
24 return bundle.getBinder(key);
27 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
28 bundle.putBinder(key, binder);
/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.cpp234 int handleCommand(Bundle* bundle) argument
237 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
238 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
239 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
241 switch (bundle->getCommand()) {
242 case kCommandVersion: return doVersion(bundle);
243 case kCommandList: return doList(bundle);
244 case kCommandDump: return doDump(bundle);
263 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/compat/java/android/support/v4/app/
H A DBundleCompat.java34 * @param bundle The bundle to get the {@link IBinder}.
38 public static IBinder getBinder(Bundle bundle, String key) { argument
40 return BundleCompatJellybeanMR2.getBinder(bundle, key);
42 return BundleCompatGingerbread.getBinder(bundle, key);
49 * @param bundle The bundle to insert the {@link IBinder}.
53 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
55 BundleCompatJellybeanMR2.putBinder(bundle, key, binder);
57 BundleCompatGingerbread.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/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/customtabs/src/android/support/customtabs/
H A DCustomTabsSession.java84 Bundle bundle = new Bundle();
85 bundle.putParcelable(CustomTabsIntent.KEY_ICON, icon);
86 bundle.putString(CustomTabsIntent.KEY_DESCRIPTION, description);
89 metaBundle.putBundle(CustomTabsIntent.EXTRA_ACTION_BUTTON_BUNDLE, bundle);
108 Bundle bundle = new Bundle();
109 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS, remoteViews);
110 bundle.putIntArray(CustomTabsIntent.EXTRA_REMOTEVIEWS_VIEW_IDS, clickableIDs);
111 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS_PENDINGINTENT, pendingIntent);
113 return mService.updateVisuals(mCallback, bundle);
131 Bundle bundle
[all...]
H A DCustomTabsIntent.java40 * Class holding the {@link Intent} and start bundle for a Custom Tabs Activity.
299 Bundle bundle = new Bundle();
301 bundle, EXTRA_SESSION, session == null ? null : session.getBinder());
302 mIntent.putExtras(bundle);
352 Bundle bundle = new Bundle();
353 bundle.putString(KEY_MENU_ITEM_TITLE, label);
354 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent);
355 mMenuItems.add(bundle);
383 Bundle bundle = new Bundle();
384 bundle
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java57 Bundle bundle = createBundle();
58 UserManagerService.writeApplicationRestrictionsLP(bundle, atomicFile);
62 bundle = UserManagerService.readApplicationRestrictionsLP(atomicFile);
63 System.out.println("readApplicationRestrictionsLocked bundle: " + bundle);
64 assertBundle(bundle);
87 Bundle bundle = new Bundle();
88 bundle.putString("bundle_string", "bundle_string");
89 bundle.putInt("bundle_int", 1);
90 result.putBundle("bundle", bundl
102 assertBundle(Bundle bundle) argument
[all...]
/frameworks/support/compat/jellybean/android/support/v4/app/
H A DBundleUtil.java10 * Get an array of Bundle objects from a parcelable array field in a bundle.
11 * Update the bundle to have a typed array so fetches in the future don't need
14 public static Bundle[] getBundleArrayFromBundle(Bundle bundle, String key) { argument
15 Parcelable[] array = bundle.getParcelableArray(key);
21 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/libs/androidfw/tests/data/appaslib/
H A Dbuild20 aapt package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES -F bundle.apk -f && \
21 unzip bundle.apk resources.arsc && \
24 aapt package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES -F bundle.apk -f --shared-lib && \
25 unzip bundle.apk resources.arsc && \
/frameworks/base/services/core/java/com/android/server/pm/
H A DProcessLoggingHandler.java51 Bundle bundle = msg.getData();
52 String processName = bundle.getString("processName");
53 int uid = bundle.getInt("uid");
54 String seinfo = bundle.getString("seinfo");
55 String apkFile = bundle.getString("apkFile");
56 int pid = bundle.getInt("pid");
57 long startTimestamp = bundle.getLong("startTimestamp");
64 Bundle bundle = msg.getData();
65 mProcessLoggingBaseApkHashes.remove(bundle.getString("apkFile"));
/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/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DSwipeRefreshLayoutActivityList.java31 public void onCreate(Bundle bundle) { argument
32 super.onCreate(bundle);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DSwipeRefreshLayoutActivityList.java31 public void onCreate(Bundle bundle) { argument
32 super.onCreate(bundle);

Completed in 712 milliseconds

123456789