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

1234567891011

/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.cpp236 int handleCommand(Bundle* bundle) argument
239 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
240 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
241 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
243 switch (bundle->getCommand()) {
244 case kCommandVersion: return doVersion(bundle);
245 case kCommandList: return doList(bundle);
246 case kCommandDump: return doDump(bundle);
265 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/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/notification/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java39 Bundle bundle = new Bundle();
40 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
47 Bundle bundle = new Bundle();
48 bundle.putString(Notification.EXTRA_PEOPLE, expected[0]);
49 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
56 Bundle bundle = new Bundle();
57 bundle.putCharArray(Notification.EXTRA_PEOPLE, expected[0].toCharArray());
58 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
65 Bundle bundle = new Bundle();
66 bundle
[all...]
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/
H A DAnimationActivity.java25 public void onCreate(Bundle bundle) { argument
26 super.onCreate(bundle);
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsSession.java86 Bundle bundle = new Bundle();
87 bundle.putParcelable(CustomTabsIntent.KEY_ICON, icon);
88 bundle.putString(CustomTabsIntent.KEY_DESCRIPTION, description);
91 metaBundle.putBundle(CustomTabsIntent.EXTRA_ACTION_BUTTON_BUNDLE, bundle);
110 Bundle bundle = new Bundle();
111 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS, remoteViews);
112 bundle.putIntArray(CustomTabsIntent.EXTRA_REMOTEVIEWS_VIEW_IDS, clickableIDs);
113 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS_PENDINGINTENT, pendingIntent);
115 return mService.updateVisuals(mCallback, bundle);
133 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/tools/bit/
H A Dadb.h41 string get_bundle_string(const ResultsBundle& bundle, bool* found, ...);
42 int32_t get_bundle_int(const ResultsBundle& bundle, bool* found, ...);
43 float get_bundle_float(const ResultsBundle& bundle, bool* found, ...);
44 double get_bundle_double(const ResultsBundle& bundle, bool* found, ...);
45 int64_t get_bundle_long(const ResultsBundle& bundle, bool* found, ...);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DCapabilities.java44 * characteristics bundle. Only some of the information is exposed.
47 Bundle bundle = new Bundle();
48 bundle.putInt(Characteristics.KEY_MAX_SERVICE_NAME_LENGTH, maxServiceNameLen);
49 bundle.putInt(Characteristics.KEY_MAX_SERVICE_SPECIFIC_INFO_LENGTH,
51 bundle.putInt(Characteristics.KEY_MAX_MATCH_FILTER_LENGTH, maxMatchFilterLen);
52 return new Characteristics(bundle);
/frameworks/support/compat/java/android/support/v4/app/
H A DBundleCompat.java41 public static IBinder getBinder(Bundle bundle, String key) { argument
54 return (IBinder) sGetIBinderMethod.invoke(bundle, key);
64 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
78 sPutIBinderMethod.invoke(bundle, key, binder);
93 * @param bundle The bundle to get the {@link IBinder}.
97 public static IBinder getBinder(Bundle bundle, String key) { argument
99 return bundle.getBinder(key);
101 return BundleCompatBaseImpl.getBinder(bundle, key);
108 * @param bundle Th
112 putBinder(Bundle bundle, String key, IBinder binder) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java57 Bundle bundle = createBundle();
58 UserManagerService.writeApplicationRestrictionsLAr(bundle, atomicFile);
62 bundle = UserManagerService.readApplicationRestrictionsLAr(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/base/core/java/android/view/autofill/
H A DHelper.java34 static StringBuilder append(StringBuilder builder, Bundle bundle) { argument
35 if (bundle == null || !sDebug) {
40 final Set<String> keySet = bundle.keySet();
43 final Object value = bundle.get(key);
/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/services/backup/java/com/android/server/backup/utils/
H A DBackupManagerMonitorUtils.java38 * Calls {@link IBackupManagerMonitor#onEvent(Bundle)} with a bundle representing current event.
51 Bundle bundle = new Bundle();
52 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_ID, id);
53 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_CATEGORY, category);
55 bundle.putString(EXTRA_LOG_EVENT_PACKAGE_NAME,
57 bundle.putInt(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_VERSION,
61 bundle.putAll(extras);
63 monitor.onEvent(bundle);
75 * Adds given key-value pair in the bundle and returns the bundle
[all...]
/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/support/media-compat-test-client/tests/src/android/support/mediacompat/client/util/
H A DIntentUtil.java64 Bundle bundle = new Bundle();
65 bundle.putParcelableArrayList(KEY_ARGUMENT, (ArrayList<? extends Parcelable>) arg);
66 intent.putExtras(bundle);
68 Bundle bundle = new Bundle();
69 bundle.putBundle(KEY_ARGUMENT, (Bundle) arg);
70 intent.putExtras(bundle);
/frameworks/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java59 public int compareTo(MessageBundle bundle) { argument
60 if (mUptimeMillis < bundle.mUptimeMillis) {
118 MessageBundle bundle = mQueue.poll();
119 if (bundle == null) {
123 // sleep enough for this bundle to be on time
125 if (currentTime < bundle.mUptimeMillis) {
127 sleep(bundle.mUptimeMillis - currentTime);
146 // process the bundle. If the animation is not finished, this will enqueue
154 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);
/frameworks/base/core/java/android/app/
H A DSharedElementCallback.java182 Bundle bundle = new Bundle();
184 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap);
187 bundle.putParcelable(BUNDLE_SNAPSHOT_GRAPHIC_BUFFER, graphicBuffer);
189 bundle.putString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE,
195 bundle.putFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX, values);
197 return bundle;
230 Bundle bundle = (Bundle) snapshot;
231 GraphicBuffer buffer = bundle.getParcelable(BUNDLE_SNAPSHOT_GRAPHIC_BUFFER);
232 Bitmap bitmap = bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP);
243 ScaleType.valueOf(bundle
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java65 public void addLayoutBundle(LayoutFileBundle bundle) { argument
66 if (bundle.mFileName == null) {
67 L.e("File bundle must have a name. %s does not have one.", bundle);
70 if (!mLayoutBundles.containsKey(bundle.mFileName)) {
71 mLayoutBundles.put(bundle.mFileName, new ArrayList<LayoutFileBundle>());
73 final List<LayoutFileBundle> bundles = mLayoutBundles.get(bundle.mFileName);
75 if (existing.equals(bundle)) {
76 L.d("skipping layout bundle %s because it already exists.", bundle);
931 get(LayoutFileBundle bundle) argument
[all...]
/frameworks/base/core/java/android/os/
H A DSynchronousResultReceiver.java37 @Nullable public Bundle bundle; field in class:SynchronousResultReceiver.Result
39 public Result(int resultCode, @Nullable Bundle bundle) { argument
41 this.bundle = bundle;

Completed in 727 milliseconds

1234567891011