Searched defs:bundle (Results 1 - 25 of 30) sorted by relevance

12

/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/tools/aapt/
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
H A DMain.cpp198 int handleCommand(Bundle* bundle) argument
201 // bundle->getCommand(), bundle->getVerbose(), bundle->getForce());
202 //for (int i = 0; i < bundle->getFileSpecCount(); i++)
203 // printf(" %d: '%s'\n", i, bundle->getFileSpecEntry(i));
205 switch (bundle->getCommand()) {
206 case kCommandVersion: return doVersion(bundle);
207 case kCommandList: return doList(bundle);
208 case kCommandDump: return doDump(bundle);
225 Bundle bundle; local
[all...]
H A DPackage.cpp36 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
37 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir,
39 bool processFile(Bundle* bundle, ZipFile* zip,
41 bool okayToCompress(Bundle* bundle, const String8& pathName);
42 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
48 * On success, "bundle->numPackages" will be the number of Zip packages
51 status_t writeAPK(Bundle* bundle, const sp<AaptAssets>& assets, argument
63 //bundle->setPackageCount(0);
76 if (bundle->getUpdate()) {
78 } else if (bundle
218 processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets) argument
244 processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir, const AaptGroupEntry& ge, const ResourceFilter* filter) argument
293 processFile(Bundle* bundle, ZipFile* zip, const sp<AaptGroup>& group, const sp<AaptFile>& file) argument
416 okayToCompress(Bundle* bundle, const String8& pathName) argument
478 processJarFiles(Bundle* bundle, ZipFile* zip) argument
[all...]
H A DXMLNode.cpp183 status_t parseStyledString(Bundle* bundle, argument
H A DAaptAssets.cpp1747 ssize_t AaptDir::slurpFullTree(Bundle* bundle, const String8& srcDir, argument
1807 ssize_t res = subdir->slurpFullTree(bundle, pathName, kind,
1826 if (bundle->getVerbose())
2059 ssize_t AaptAssets::slurpFromArgs(Bundle* bundle) argument
2064 const Vector<const char *>& resDirs = bundle->getResourceSourceDirs();
2068 const int N = bundle->getFileSpecCount();
2073 if (bundle->getAndroidManifestFile() != NULL) {
2075 String8 srcFile(bundle->getAndroidManifestFile());
2084 if (bundle->getAssetSourceDir()) {
2085 const char* assetDir = bundle
2204 slurpFullTree(Bundle* bundle, const String8& srcDir, const AaptGroupEntry& kind, const String8& resType, sp<FilePathStore>& fullResPaths) argument
2217 slurpResourceTree(Bundle* bundle, const String8& srcDir) argument
2306 slurpResourceZip(Bundle* bundle, const char* filename) argument
2396 filter(Bundle* bundle) argument
2584 buildIncludedResources(Bundle* bundle) argument
[all...]
/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/base/core/java/android/view/textservice/
H A DTextServicesManager.java106 public SpellCheckerSession newSpellCheckerSession(Bundle bundle, Locale locale, argument
165 session.getSpellCheckerSessionListener(), bundle);
/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/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/base/core/java/android/content/
H A DSyncOperation.java142 public static void extrasToStringBuilder(Bundle bundle, StringBuilder sb) { argument
144 for (String key : bundle.keySet()) {
145 sb.append(key).append("=").append(bundle.get(key)).append(" ");
H A DSyncStorageEngine.java1736 Log.e(TAG, "error parsing bundle value", e);
1738 Log.e(TAG, "error parsing bundle value", e);
2170 static private byte[] flattenBundle(Bundle bundle) { argument
2174 bundle.writeToParcel(parcel, 0);
2183 Bundle bundle;
2188 bundle = parcel.readBundle();
2192 bundle = new Bundle();
2196 return 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/core/java/android/net/http/
H A DSslCertificate.java91 * Saves the certificate state to a bundle
93 * @return A bundle with the certificate stored in it or null if fails
99 Bundle bundle = new Bundle();
100 bundle.putString(ISSUED_TO, certificate.getIssuedTo().getDName());
101 bundle.putString(ISSUED_BY, certificate.getIssuedBy().getDName());
102 bundle.putString(VALID_NOT_BEFORE, certificate.getValidNotBefore());
103 bundle.putString(VALID_NOT_AFTER, certificate.getValidNotAfter());
107 bundle.putByteArray(X509_CERTIFICATE, x509Certificate.getEncoded());
111 return bundle;
115 * Restores the certificate stored in the bundle
119 restoreState(Bundle bundle) argument
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java244 Bundle bundle, Session session) {
248 mBundle = bundle;
317 String locale, ISpellCheckerSessionListener listener, Bundle bundle) {
322 new InternalISpellCheckerSession(locale, listener, bundle, session);
243 InternalISpellCheckerSession(String locale, ISpellCheckerSessionListener listener, Bundle bundle, Session session) argument
316 getISpellCheckerSession( String locale, ISpellCheckerSessionListener listener, Bundle bundle) argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java195 void startExpectResult(Intent service, Bundle bundle) { argument
196 bundle.putIBinder(REPORT_OBJ_NAME, mStartReceiver);
201 getContext().startService(new Intent(service).putExtras(bundle));
205 getContext().startService(new Intent(service).putExtras(bundle));
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DAbstractResult.java42 public AbstractResult createResult(Bundle bundle) {
43 return new TextResult(bundle);
48 public AbstractResult createResult(Bundle bundle) {
54 public abstract AbstractResult createResult(Bundle bundle); argument
H A DManagerService.java84 Bundle bundle = msg.getData();
85 ensureNextTestSetup(bundle.getString("firstTest"), bundle.getInt("index"));
167 private void onActualResultsObtained(Bundle bundle) { argument
169 ensureNextTestSetup(bundle.getString("nextTest"), bundle.getInt("testIndex") + 1);
172 AbstractResult.TestType.valueOf(bundle.getString("type")).createResult(bundle);
H A DTextResult.java70 * @param bundle
71 * bundle with data used to recreate the result
73 public TextResult(Bundle bundle) { argument
74 mExpectedResult = bundle.getString("expectedTextualResult");
75 mExpectedResultPath = bundle.getString("expectedTextualResultPath");
76 mActualResult = bundle.getString("actualTextualResult");
77 setAdditionalTextOutputString(bundle.getString("additionalTextOutputString"));
78 mRelativePath = bundle.getString("relativePath");
79 mDidTimeOut = bundle.getBoolean("didTimeOut");
242 Bundle bundle
[all...]
/frameworks/native/libs/utils/
H A DBufferedTextOutput.cpp44 , bundle(0) {
79 int32_t bundle; member in struct:android::BufferedTextOutput::BufferState
182 } else if (*(txt-1) == '\n' && !b->bundle) {
210 if (b->atFront && !b->bundle) {
235 b->bundle++;
242 b->bundle--;
243 LOG_FATAL_IF(b->bundle < 0,
245 if (b->bundle < 0) b->bundle = 0;
247 if (b->bundle
[all...]
/frameworks/base/services/java/com/android/server/
H A DTextServicesManagerService.java389 Bundle bundle) {
411 tsListener, locale, scListener, uid, bundle);
429 recipient.mScLocale, recipient.mScListener, bundle);
449 sci, locale, tsListener, scListener, uid, bundle);
469 int uid, Bundle bundle) {
475 sciId, locale, bundle);
486 connection, tsListener, locale, scListener, uid, bundle);
717 ISpellCheckerSessionListener scListener, int uid, Bundle bundle) {
721 addListener(listener, locale, scListener, uid, bundle);
752 String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) {
387 getSpellCheckerService(String sciId, String locale, ITextServicesSessionListener tsListener, ISpellCheckerSessionListener scListener, Bundle bundle) argument
467 startSpellCheckerServiceInnerLocked(SpellCheckerInfo info, String locale, ITextServicesSessionListener tsListener, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
715 SpellCheckerBindGroup(InternalServiceConnection connection, ITextServicesSessionListener listener, String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
751 addListener(ITextServicesSessionListener tsListener, String locale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
847 InternalServiceConnection( String id, String locale, Bundle bundle) argument
891 InternalDeathRecipient(SpellCheckerBindGroup group, ITextServicesSessionListener tsListener, String scLocale, ISpellCheckerSessionListener scListener, int uid, Bundle bundle) argument
[all...]
H A DAppWidgetServiceImpl.java1101 private Bundle cloneIfLocalBinder(Bundle bundle) { argument
1105 if (isLocalBinder() && bundle != null) {
1106 return (Bundle) bundle.clone();
1108 return bundle;
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java204 * The Android package of the caller will be set in the options bundle by the
453 public String bundleToResult(Bundle bundle) throws AuthenticatorException {
454 if (!bundle.containsKey(KEY_AUTH_TOKEN_LABEL)) {
457 return bundle.getString(KEY_AUTH_TOKEN_LABEL);
494 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
495 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
498 return bundle.getBoolean(KEY_BOOLEAN_RESULT);
538 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
539 if (!bundle.containsKey(KEY_ACCOUNTS)) {
542 final Parcelable[] parcelables = bundle
1387 set(Bundle bundle) argument
1455 onResult(Bundle bundle) argument
1502 bundleToResult(Bundle bundle) argument
1518 onResult(Bundle bundle) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java279 * @param bundle The bundle in which to put the fragment reference.
280 * @param key The name of the entry in the bundle.
283 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument
289 * @param bundle The bundle from which to retrieve the fragment reference.
290 * @param key The name of the entry in the bundle.
294 public abstract Fragment getFragment(Bundle bundle, String key); argument
557 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument
562 bundle
566 getFragment(Bundle bundle, String key) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java1119 Bundle bundle = new Bundle(mParams);
1120 copyIntParam(bundle, params, Engine.KEY_PARAM_STREAM);
1121 copyStringParam(bundle, params, Engine.KEY_PARAM_UTTERANCE_ID);
1122 copyFloatParam(bundle, params, Engine.KEY_PARAM_VOLUME);
1123 copyFloatParam(bundle, params, Engine.KEY_PARAM_PAN);
1126 copyStringParam(bundle, params, Engine.KEY_FEATURE_NETWORK_SYNTHESIS);
1127 copyStringParam(bundle, params, Engine.KEY_FEATURE_EMBEDDED_SYNTHESIS);
1136 bundle.putString(key, entry.getValue());
1141 return bundle;
1147 private void copyStringParam(Bundle bundle, HashMa argument
1154 copyIntParam(Bundle bundle, HashMap<String, String> params, String key) argument
1166 copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) argument
[all...]

Completed in 8064 milliseconds

12