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

1234

/frameworks/base/tools/aapt/
H A DMain.h25 extern int doVersion(Bundle* bundle);
26 extern int doList(Bundle* bundle);
27 extern int doDump(Bundle* bundle);
28 extern int doAdd(Bundle* bundle);
29 extern int doRemove(Bundle* bundle);
30 extern int doPackage(Bundle* bundle);
31 extern int doCrunch(Bundle* bundle);
32 extern int doSingleCrunch(Bundle* bundle);
36 extern android::status_t writeAPK(Bundle* bundle,
40 extern android::status_t updatePreProcessedCache(Bundle* bundle);
[all...]
H A DMain.cpp203 int handleCommand(Bundle* bundle) argument
206 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
207 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
208 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
210 switch (bundle->getCommand()) {
211 case kCommandVersion: return doVersion(bundle);
212 case kCommandList: return doList(bundle);
213 case kCommandDump: return doDump(bundle);
231 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);
H A DPackage.cpp39 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir,
42 bool processFile(Bundle* bundle, ZipFile* zip,
44 bool okayToCompress(Bundle* bundle, const String8& pathName);
45 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
51 * On success, "bundle->numPackages" will be the number of Zip packages
54 status_t writeAPK(Bundle* bundle, const sp<AaptAssets>& assets, argument
66 //bundle->setPackageCount(0);
79 if (bundle->getUpdate()) {
81 } else if (bundle
221 processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets) argument
247 processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir, const AaptGroupEntry& ge, const ResourceFilter* filter) argument
296 processFile(Bundle* bundle, ZipFile* zip, const sp<AaptGroup>& group, const sp<AaptFile>& file) argument
419 okayToCompress(Bundle* bundle, const String8& pathName) argument
481 processJarFiles(Bundle* bundle, ZipFile* zip) argument
[all...]
H A DCacheUpdater.h48 // Constructor to set bundle to pass to preProcessImage
50 : bundle(b) { };
101 preProcessImageToCache(bundle, source, dest);
104 Bundle* bundle; member in class:SystemCacheUpdater
/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/testing/androidtestlib/src/com/android/test/
H A DBundleTest.java37 public void injectBundle(Bundle bundle); argument
/frameworks/testing/androidtestlib/tests/src/com/android/test/
H A DMyBundleTestCase.java34 public void injectBundle(Bundle bundle) { argument
35 mBundle = bundle;
/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.java55 private MediaRouteSelector(Bundle bundle, List<String> controlCategories) { argument
56 mBundle = bundle;
189 * Converts this object to a bundle for serialization.
191 * @return The contents of the object represented as a bundle.
198 * Creates an instance from a bundle.
200 * @param bundle The bundle, or null if none.
201 * @return The new instance, or null if the bundle was null.
203 public static MediaRouteSelector fromBundle(Bundle bundle) { argument
204 return bundle !
[all...]
/frameworks/base/core/java/com/android/internal/textservice/
H A DISpellCheckerService.aidl30 String locale, ISpellCheckerSessionListener listener, in Bundle bundle);
/frameworks/base/services/java/com/android/server/content/
H A DSyncOperation.java100 // Checks the extras bundle. Must occur after we set the internal bundle.
115 * Make sure the bundle attached to this SyncOperation doesn't have unnecessary
117 * @param bundle to clean.
119 private void cleanBundle(Bundle bundle) { argument
120 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_UPLOAD);
121 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_MANUAL);
122 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS);
123 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
124 removeFalseExtra(bundle, ContentResolve
135 removeFalseExtra(Bundle bundle, String extraName) argument
251 extrasToStringBuilder(Bundle bundle, StringBuilder sb) argument
[all...]
/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/testing/androidtestlib/src/com/android/test/runner/listener/
H A DInstrumentationRunListener.java44 public void sendStatus(int code, Bundle bundle) { argument
45 getInstrumentation().sendStatus(code, bundle);
53 * @param resultBundle the instrumentation result bundle. Can be used to inject key-value pairs
/frameworks/base/telephony/java/android/telephony/
H A DCellLocation.java58 * @param bundle Bundle from intent notifier
63 public static CellLocation newFromBundle(Bundle bundle) { argument
68 return new CdmaCellLocation(bundle);
70 return new GsmCellLocation(bundle);
79 public abstract void fillInNotifierBundle(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", mLac);
44 mCid = bundle.getInt("cid", mCid);
45 mPsc = bundle.getInt("psc", mPsc);
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/
H A DAndroidTestSuite.java42 AndroidTestSuite(Class<?> clazz, Bundle bundle, Instrumentation instrumentation) { argument
44 mBundle = bundle;
48 AndroidTestSuite(String name, Bundle bundle, Instrumentation instrumentation) { argument
50 mBundle = bundle;
H A DAndroidJUnit3ClassRunner.java31 public AndroidJUnit3ClassRunner(Class<?> klass, Bundle bundle, Instrumentation instr) { argument
32 super(new AndroidTestSuite(klass.asSubclass(TestCase.class), bundle, instr));
/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/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/base/location/java/android/location/
H A DSettingInjectorService.java112 * Name of the bundle key for the string specifying the summary for the setting (e.g., "ON" or
120 * Name of the bundle key for the string specifying whether the setting is currently enabled.
192 Bundle bundle = new Bundle();
193 bundle.putString(SUMMARY_KEY, summary);
194 bundle.putBoolean(ENABLED_KEY, enabled);
195 message.setData(bundle);
/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DAndroidRunnerBuilder.java36 public AndroidRunnerBuilder(boolean canUseSuiteMethod, Instrumentation instr, Bundle bundle, argument
39 mAndroidJUnit3Builder = new AndroidJUnit3Builder(instr, bundle, skipExecution);
40 mAndroidJUnit4Builder = new AndroidJUnit4Builder(instr, bundle, skipExecution);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfInternalSelectionViews.java96 * Initialize a bundle suitable for sending as the params of the intent that
101 * @return the intialized bundle.
104 Bundle bundle = new Bundle();
105 bundle.putInt(BUNDLE_PARAM_NUM_ITEMS, numItems);
106 bundle.putInt(BUNDLE_PARAM_NUM_ROWS_PER_ITEM, numRowsPerItem);
107 bundle.putDouble(BUNDLE_PARAM_ITEM_SCREEN_HEIGHT_FACTOR, itemScreenHeightFactor);
108 return bundle;

Completed in 676 milliseconds

1234