Searched refs:bundle (Results 1 - 25 of 348) 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.cpp30 int doVersion(Bundle* bundle) argument
32 if (bundle->getFileSpecCount() != 0) {
253 int handleCommand(Bundle* bundle) argument
256 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
257 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
258 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
260 switch (bundle->getCommand()) {
261 case kCommandVersion: return doVersion(bundle);
282 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,
/frameworks/base/services/core/java/com/android/server/
H A DPendingIntentUtils.java30 * @param bundle when provided, will merge the extra options to restrict background
31 * PendingIntent into the existing bundle.
34 public static Bundle createDontSendToRestrictedAppsBundle(@Nullable Bundle bundle) { argument
37 if (bundle == null) {
40 bundle.putAll(options.toBundle());
41 return bundle;
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/os/
H A DBundleTest.kt43 val bundle = bundleOf(
55 "bundle" to bundleValue,
76 assertEquals(25, bundle.size())
78 assertNull(bundle["null"])
80 assertEquals(true, bundle["boolean"])
81 assertEquals(1.toByte(), bundle["byte"])
82 assertEquals('a', bundle["char"])
83 assertEquals(1.0, bundle["double"])
84 assertEquals(1f, bundle["float"])
85 assertEquals(1, bundle["in
[all...]
H A DPersistableBundleTest.kt32 val bundle = persistableBundleOf(
48 assertEquals(9, bundle.size())
50 assertNull(bundle["null"])
52 assertEquals(1.0, bundle["double"])
53 assertEquals(1, bundle["int"])
54 assertEquals(1L, bundle["long"])
56 assertEquals("hey", bundle["string"])
58 assertArrayEquals(doubleArrayOf(), bundle["doubleArray"] as DoubleArray, 0.0)
59 assertArrayEquals(intArrayOf(), bundle["intArray"] as IntArray)
60 assertArrayEquals(longArrayOf(), bundle["longArra
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DInstrumentationTest.java32 Bundle bundle = new Bundle();
33 bundle.putInt("iterations", i);
34 getInstrumentation().sendStatus(-1, bundle);
/frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/
H A DFieldBundleTest.java17 package androidx.room.migration.bundle;
30 FieldBundle bundle = new FieldBundle("foo", "foo", "text", false);
32 assertThat(bundle.isSchemaEqual(copy), is(true));
37 FieldBundle bundle = new FieldBundle("foo", "foo", "text", false);
39 assertThat(bundle.isSchemaEqual(copy), is(false));
44 FieldBundle bundle = new FieldBundle("foo", "foo", "text", false);
46 assertThat(bundle.isSchemaEqual(copy), is(false));
51 FieldBundle bundle = new FieldBundle("foo", "foo", "text", false);
53 assertThat(bundle.isSchemaEqual(copy), is(false));
58 FieldBundle bundle
[all...]
H A DForeignKeyBundleTest.java17 package androidx.room.migration.bundle;
32 ForeignKeyBundle bundle = new ForeignKeyBundle("table", "onDelete",
38 assertThat(bundle.isSchemaEqual(other), is(true));
43 ForeignKeyBundle bundle = new ForeignKeyBundle("table", "onDelete",
49 assertThat(bundle.isSchemaEqual(other), is(false));
54 ForeignKeyBundle bundle = new ForeignKeyBundle("table", "onDelete2",
60 assertThat(bundle.isSchemaEqual(other), is(false));
65 ForeignKeyBundle bundle = new ForeignKeyBundle("table", "onDelete",
71 assertThat(bundle.isSchemaEqual(other), is(false));
76 ForeignKeyBundle bundle
[all...]
H A DIndexBundleTest.java17 package androidx.room.migration.bundle;
32 IndexBundle bundle = new IndexBundle("index1", false,
36 assertThat(bundle.isSchemaEqual(other), is(true));
41 IndexBundle bundle = new IndexBundle("index1", false,
45 assertThat(bundle.isSchemaEqual(other), is(false));
50 IndexBundle bundle = new IndexBundle(IndexBundle.DEFAULT_PREFIX + "x", false,
54 assertThat(bundle.isSchemaEqual(other), is(true));
59 IndexBundle bundle = new IndexBundle("index1", false,
63 assertThat(bundle.isSchemaEqual(other), is(false));
68 IndexBundle bundle
[all...]
H A DPrimaryKeyBundleTest.java17 package androidx.room.migration.bundle;
32 PrimaryKeyBundle bundle = new PrimaryKeyBundle(true,
36 assertThat(bundle.isSchemaEqual(other), is(true));
41 PrimaryKeyBundle bundle = new PrimaryKeyBundle(true,
45 assertThat(bundle.isSchemaEqual(other), is(false));
50 PrimaryKeyBundle bundle = new PrimaryKeyBundle(true,
54 assertThat(bundle.isSchemaEqual(other), is(false));
59 PrimaryKeyBundle bundle = new PrimaryKeyBundle(true,
63 assertThat(bundle.isSchemaEqual(other), is(false));
H A DEntityBundleTest.java17 package androidx.room.migration.bundle;
35 EntityBundle bundle = new EntityBundle("foo", "sq",
47 assertThat(bundle.isSchemaEqual(other), is(true));
52 EntityBundle bundle = new EntityBundle("foo", "sq",
64 assertThat(bundle.isSchemaEqual(other), is(true));
69 EntityBundle bundle = new EntityBundle("foo", "sq",
81 assertThat(bundle.isSchemaEqual(other), is(false));
86 EntityBundle bundle = new EntityBundle("foo", "sq",
101 assertThat(bundle.isSchemaEqual(other), is(true));
106 EntityBundle bundle
[all...]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java42 Bundle bundle = new Bundle();
43 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
50 Bundle bundle = new Bundle();
51 bundle.putString(Notification.EXTRA_PEOPLE_LIST, expected[0]);
52 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
59 Bundle bundle = new Bundle();
60 bundle.putCharArray(Notification.EXTRA_PEOPLE_LIST, expected[0].toCharArray());
61 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
68 Bundle bundle = new Bundle();
69 bundle
[all...]
/frameworks/support/dynamic-animation/src/androidTest/java/androidx/dynamicanimation/tests/
H A DAnimationActivity.java26 public void onCreate(Bundle bundle) { argument
27 super.onCreate(bundle);
/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/src/main/java/androidx/core/app/
H A DBundleCompat.java47 public static IBinder getBinder(Bundle bundle, String key) { argument
60 return (IBinder) sGetIBinderMethod.invoke(bundle, key);
70 public static void putBinder(Bundle bundle, String key, IBinder binder) { argument
84 sPutIBinderMethod.invoke(bundle, key, binder);
99 * @param bundle The bundle to get the {@link IBinder}.
104 public static IBinder getBinder(@NonNull Bundle bundle, @Nullable String key) { argument
106 return bundle.getBinder(key);
108 return BundleCompatBaseImpl.getBinder(bundle, key);
115 * @param bundle Th
119 putBinder(@onNull Bundle bundle, @Nullable String key, @Nullable 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/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/media/src/main/java/androidx/media/
H A DMediaSessionLegacyStub.java429 Bundle bundle = new Bundle();
430 bundle.putParcelableArray(ARGUMENT_COMMAND_BUTTONS,
432 mIControllerCallback.onEvent(SESSION_EVENT_SET_CUSTOM_LAYOUT, bundle);
437 Bundle bundle = new Bundle();
438 bundle.putBundle(ARGUMENT_PLAYBACK_INFO, info.toBundle());
439 mIControllerCallback.onEvent(SESSION_EVENT_ON_PLAYBACK_INFO_CHANGED, bundle);
445 Bundle bundle = new Bundle();
446 bundle.putBundle(ARGUMENT_ALLOWED_COMMANDS, commands.toBundle());
447 mIControllerCallback.onEvent(SESSION_EVENT_ON_ALLOWED_COMMANDS_CHANGED, bundle);
453 Bundle bundle
[all...]
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DSchemaEquality.java17 package androidx.room.migration.bundle;
/frameworks/support/navigation/safe-args-generator/src/tests/test-data/expected/
H A DMainFragmentArgs.java21 public static MainFragmentArgs fromBundle(Bundle bundle) { argument
23 if (bundle.containsKey("main")) {
24 result.main = bundle.getString("main");
28 if (bundle.containsKey("optional")) {
29 result.optional = bundle.getInt("optional");
31 if (bundle.containsKey("reference")) {
32 result.reference = bundle.getInt("reference");
34 if (bundle.containsKey("floatArg")) {
35 result.floatArg = bundle.getFloat("floatArg");
37 if (bundle
[all...]
/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,
59 bundle.putLong(BackupManagerMonitor.EXTRA_LOG_EVENT_PACKAGE_LONG_VERSION,
63 bundle.putAll(extras);
65 monitor.onEvent(bundle);
77 * Adds given key-value pair in the bundle an
[all...]
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/
H A DCustomTabsSession.java104 Bundle bundle = new Bundle();
105 bundle.putParcelable(CustomTabsIntent.KEY_ICON, icon);
106 bundle.putString(CustomTabsIntent.KEY_DESCRIPTION, description);
109 metaBundle.putBundle(CustomTabsIntent.EXTRA_ACTION_BUTTON_BUNDLE, bundle);
128 Bundle bundle = new Bundle();
129 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS, remoteViews);
130 bundle.putIntArray(CustomTabsIntent.EXTRA_REMOTEVIEWS_VIEW_IDS, clickableIDs);
131 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS_PENDINGINTENT, pendingIntent);
133 return mService.updateVisuals(mCallback, bundle);
151 Bundle bundle
[all...]
H A DCustomTabsIntent.java41 * Class holding the {@link Intent} and start bundle for a Custom Tabs Activity.
300 Bundle bundle = new Bundle();
302 bundle, EXTRA_SESSION, session == null ? null : session.getBinder());
303 mIntent.putExtras(bundle);
353 Bundle bundle = new Bundle();
354 bundle.putString(KEY_MENU_ITEM_TITLE, label);
355 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent);
356 mMenuItems.add(bundle);
384 Bundle bundle = new Bundle();
385 bundle
[all...]

Completed in 661 milliseconds

1234567891011>>