/frameworks/base/tools/aapt/ |
D | Main.cpp | 234 int handleCommand(Bundle* bundle) in handleCommand() argument 241 switch (bundle->getCommand()) { in handleCommand() 242 case kCommandVersion: return doVersion(bundle); in handleCommand() 243 case kCommandList: return doList(bundle); in handleCommand() 244 case kCommandDump: return doDump(bundle); in handleCommand() 245 case kCommandAdd: return doAdd(bundle); in handleCommand() 246 case kCommandRemove: return doRemove(bundle); in handleCommand() 247 case kCommandPackage: return doPackage(bundle); in handleCommand() 248 case kCommandCrunch: return doCrunch(bundle); in handleCommand() 249 case kCommandSingleCrunch: return doSingleCrunch(bundle); in handleCommand() [all …]
|
D | Main.h | 31 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 …]
|
D | Package.cpp | 40 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); 52 status_t writeAPK(Bundle* bundle, const String8& outputFile, const sp<OutputSet>& outputSet) in writeAPK() argument 76 if (bundle->getUpdate()) { in writeAPK() 78 } else if (bundle->getForce()) { in writeAPK() 94 if (bundle->getVerbose()) { in writeAPK() 108 if (bundle->getVerbose()) { in writeAPK() 112 count = processAssets(bundle, zip, outputSet); in writeAPK() [all …]
|
D | Command.cpp | 39 int doVersion(Bundle* bundle) in doVersion() argument 41 if (bundle->getFileSpecCount() != 0) { in doVersion() 141 int doList(Bundle* bundle) in doList() argument 149 if (bundle->getFileSpecCount() != 1) { in doList() 153 zipFileName = bundle->getFileSpecEntry(0); in doList() 162 if (bundle->getVerbose()) { in doList() 175 if (bundle->getVerbose()) { in doList() 201 if (bundle->getVerbose()) { in doList() 211 if (bundle->getAndroidList()) { in doList() 727 int doDump(Bundle* bundle) in doDump() argument [all …]
|
D | Resource.cpp | 224 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, in parsePackage() argument 271 … bundle->setRevisionCode(String8(block.getAttributeStringValue(revisionCodeIndex, &len)).string()); in parsePackage() 284 bundle->setManifestMinSdkVersion(minSdk8); in parsePackage() 297 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, in makeFileResources() argument 310 if (bundle->getVerbose()) { in makeFileResources() 348 PreProcessImageWorkUnit(const Bundle* bundle, const sp<AaptAssets>& assets, in PreProcessImageWorkUnit() argument 350 mBundle(bundle), mAssets(assets), mFile(file), mHasErrors(hasErrors) { in PreProcessImageWorkUnit() 368 static status_t preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, in preProcessImages() argument 373 if (bundle->getUseCrunchCache() == false) { in preProcessImages() 378 bundle, assets, it.getFile(), &hasErrors); in preProcessImages() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 31 Bundle bundle = new Bundle(); in testNoExtra() local 32 String[] result = ValidateNotificationPeople.getExtraPeople(bundle); in testNoExtra() 39 Bundle bundle = new Bundle(); in testSingleString() local 40 bundle.putString(Notification.EXTRA_PEOPLE, expected[0]); in testSingleString() 41 String[] result = ValidateNotificationPeople.getExtraPeople(bundle); in testSingleString() 48 Bundle bundle = new Bundle(); in testSingleCharArray() local 49 bundle.putCharArray(Notification.EXTRA_PEOPLE, expected[0].toCharArray()); in testSingleCharArray() 50 String[] result = ValidateNotificationPeople.getExtraPeople(bundle); in testSingleCharArray() 57 Bundle bundle = new Bundle(); in testSingleCharSequence() local 58 bundle.putCharSequence(Notification.EXTRA_PEOPLE, new SpannableString(expected[0])); in testSingleCharSequence() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 57 Bundle bundle = createBundle(); in testWriteReadApplicationRestrictions() local 58 UserManagerService.writeApplicationRestrictionsLP(bundle, atomicFile); in testWriteReadApplicationRestrictions() 62 bundle = UserManagerService.readApplicationRestrictionsLP(atomicFile); in testWriteReadApplicationRestrictions() 63 System.out.println("readApplicationRestrictionsLocked bundle: " + bundle); in testWriteReadApplicationRestrictions() 64 assertBundle(bundle); in testWriteReadApplicationRestrictions() 87 Bundle bundle = new Bundle(); in createBundle() local 88 bundle.putString("bundle_string", "bundle_string"); in createBundle() 89 bundle.putInt("bundle_int", 1); in createBundle() 90 result.putBundle("bundle", bundle); in createBundle() 95 bundleArray[0].putBundle("bundle_array_bundle", bundle); in createBundle() [all …]
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
D | ResourceBundle.java | 65 public void addLayoutBundle(LayoutFileBundle bundle) { in addLayoutBundle() argument 66 if (bundle.mFileName == null) { in addLayoutBundle() 67 L.e("File bundle must have a name. %s does not have one.", bundle); in addLayoutBundle() 70 if (!mLayoutBundles.containsKey(bundle.mFileName)) { in addLayoutBundle() 71 mLayoutBundles.put(bundle.mFileName, new ArrayList<LayoutFileBundle>()); in addLayoutBundle() 73 final List<LayoutFileBundle> bundles = mLayoutBundles.get(bundle.mFileName); in addLayoutBundle() 75 if (existing.equals(bundle)) { in addLayoutBundle() 76 L.d("skipping layout bundle %s because it already exists.", bundle); in addLayoutBundle() 80 L.d("adding bundle %s", bundle); in addLayoutBundle() 81 bundles.add(bundle); in addLayoutBundle() [all …]
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
D | CustomTabsSession.java | 84 Bundle bundle = new Bundle(); in setActionButton() local 85 bundle.putParcelable(CustomTabsIntent.KEY_ICON, icon); in setActionButton() 86 bundle.putString(CustomTabsIntent.KEY_DESCRIPTION, description); in setActionButton() 89 metaBundle.putBundle(CustomTabsIntent.EXTRA_ACTION_BUTTON_BUNDLE, bundle); in setActionButton() 108 Bundle bundle = new Bundle(); in setSecondaryToolbarViews() local 109 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS, remoteViews); in setSecondaryToolbarViews() 110 bundle.putIntArray(CustomTabsIntent.EXTRA_REMOTEVIEWS_VIEW_IDS, clickableIDs); in setSecondaryToolbarViews() 111 bundle.putParcelable(CustomTabsIntent.EXTRA_REMOTEVIEWS_PENDINGINTENT, pendingIntent); in setSecondaryToolbarViews() 113 return mService.updateVisuals(mCallback, bundle); in setSecondaryToolbarViews() 131 Bundle bundle = new Bundle(); in setToolbarItem() local [all …]
|
D | CustomTabsIntent.java | 299 Bundle bundle = new Bundle(); in Builder() local 301 bundle, EXTRA_SESSION, session == null ? null : session.getBinder()); in Builder() 302 mIntent.putExtras(bundle); in Builder() 352 Bundle bundle = new Bundle(); in addMenuItem() local 353 bundle.putString(KEY_MENU_ITEM_TITLE, label); in addMenuItem() 354 bundle.putParcelable(KEY_PENDING_INTENT, pendingIntent); in addMenuItem() 355 mMenuItems.add(bundle); in addMenuItem() 383 Bundle bundle = new Bundle(); in setActionButton() local 384 bundle.putInt(KEY_ID, TOOLBAR_ACTION_BUTTON_ID); in setActionButton() 385 bundle.putParcelable(KEY_ICON, icon); in setActionButton() [all …]
|
/frameworks/base/packages/Osu/src/com/android/ |
D | MainActivity.java | 80 Bundle bundle = intent.getExtras(); in onCreate() local 82 if (bundle == null) { // User interaction in onCreate() 114 if (bundle.containsKey(AppBridge.OSU_COUNT)) { in onCreate() 115 showOsuCount(bundle.getInt("osu-count", 0), Collections.<OSUInfo>emptyList()); in onCreate() 116 } else if (bundle.containsKey(AppBridge.PROV_SUCCESS)) { in onCreate() 117 showStatus(bundle.getBoolean(AppBridge.PROV_SUCCESS), in onCreate() 118 bundle.getString(AppBridge.SP_NAME), in onCreate() 119 bundle.getString(AppBridge.PROV_MESSAGE), in onCreate() 121 } else if (bundle.containsKey(AppBridge.DEAUTH)) { in onCreate() 122 showDeauth(bundle.getString(AppBridge.SP_NAME), in onCreate() [all …]
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | BundleCompat.java | 38 public static IBinder getBinder(Bundle bundle, String key) { in getBinder() argument 40 return BundleCompatJellybeanMR2.getBinder(bundle, key); in getBinder() 42 return BundleCompatGingerbread.getBinder(bundle, key); in getBinder() 53 public static void putBinder(Bundle bundle, String key, IBinder binder) { in putBinder() argument 55 BundleCompatJellybeanMR2.putBinder(bundle, key, binder); in putBinder() 57 BundleCompatGingerbread.putBinder(bundle, key, binder); in putBinder()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ProcessLoggingHandler.java | 51 Bundle bundle = msg.getData(); in handleMessage() local 52 String processName = bundle.getString("processName"); in handleMessage() 53 int uid = bundle.getInt("uid"); in handleMessage() 54 String seinfo = bundle.getString("seinfo"); in handleMessage() 55 String apkFile = bundle.getString("apkFile"); in handleMessage() 56 int pid = bundle.getInt("pid"); in handleMessage() 57 long startTimestamp = bundle.getLong("startTimestamp"); in handleMessage() 64 Bundle bundle = msg.getData(); in handleMessage() local 65 mProcessLoggingBaseApkHashes.remove(bundle.getString("apkFile")); in handleMessage()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeech.java | 1884 Bundle bundle = new Bundle(); 1885 copyIntParam(bundle, params, Engine.KEY_PARAM_STREAM); 1886 copyIntParam(bundle, params, Engine.KEY_PARAM_SESSION_ID); 1887 copyStringParam(bundle, params, Engine.KEY_PARAM_UTTERANCE_ID); 1888 copyFloatParam(bundle, params, Engine.KEY_PARAM_VOLUME); 1889 copyFloatParam(bundle, params, Engine.KEY_PARAM_PAN); 1892 copyStringParam(bundle, params, Engine.KEY_FEATURE_NETWORK_SYNTHESIS); 1893 copyStringParam(bundle, params, Engine.KEY_FEATURE_EMBEDDED_SYNTHESIS); 1894 copyIntParam(bundle, params, Engine.KEY_FEATURE_NETWORK_TIMEOUT_MS); 1895 copyIntParam(bundle, params, Engine.KEY_FEATURE_NETWORK_RETRIES_COUNT); [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HalMockUtils.java | 87 Bundle bundle = new Bundle(); in convertJsonToBundle() local 98 bundle.putInt(key, field.optInt(VALUE_KEY)); in convertJsonToBundle() 105 bundle.putByteArray(key, bArray); in convertJsonToBundle() 111 if (DBG) Log.d(TAG, "convertJsonToBundle: returning bundle=" + bundle); in convertJsonToBundle() 112 return bundle; in convertJsonToBundle() 115 public static JSONObject convertBundleToJson(Bundle bundle) throws JSONException { in convertBundleToJson() argument 116 if (VDBG) Log.v(TAG, "convertBundleToJson: bundle=" + bundle.toString()); in convertBundleToJson() 119 for (String key : bundle.keySet()) { in convertBundleToJson() 120 Object value = bundle.get(key); in convertBundleToJson()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 178 Bundle bundle = new Bundle(); in onCaptureSharedElementSnapshot() local 179 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap); in onCaptureSharedElementSnapshot() 180 bundle.putString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE, in onCaptureSharedElementSnapshot() 186 bundle.putFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX, values); in onCaptureSharedElementSnapshot() 188 return bundle; in onCaptureSharedElementSnapshot() 220 Bundle bundle = (Bundle) snapshot; in onCreateSnapshotView() local 221 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); in onCreateSnapshotView() 229 ScaleType.valueOf(bundle.getString(BUNDLE_SNAPSHOT_IMAGE_SCALETYPE))); in onCreateSnapshotView() 231 float[] values = bundle.getFloatArray(BUNDLE_SNAPSHOT_IMAGE_MATRIX); in onCreateSnapshotView()
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
D | AnimationThread.java | 60 public int compareTo(MessageBundle bundle) { in compareTo() argument 61 if (mUptimeMillis < bundle.mUptimeMillis) { in compareTo() 119 MessageBundle bundle = mQueue.poll(); in run() local 120 if (bundle == null) { in run() 126 if (currentTime < bundle.mUptimeMillis) { in run() 128 sleep(bundle.mUptimeMillis - currentTime); in run() 155 bundle.mTarget.handleMessage(bundle.mMessage); in run()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | InCallAdapter.java | 304 Bundle bundle = new Bundle(); in putExtra() local 305 bundle.putBoolean(key, value); in putExtra() 306 mAdapter.putExtras(callId, bundle); in putExtra() 320 Bundle bundle = new Bundle(); in putExtra() local 321 bundle.putInt(key, value); in putExtra() 322 mAdapter.putExtras(callId, bundle); in putExtra() 336 Bundle bundle = new Bundle(); in putExtra() local 337 bundle.putString(key, value); in putExtra() 338 mAdapter.putExtras(callId, bundle); in putExtra()
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
D | AndroidAuthenticatorTest.java | 63 Bundle bundle = new Bundle(); in resultContainsIntent() local 64 bundle.putParcelable(AccountManager.KEY_INTENT, intent); in resultContainsIntent() 66 when(mFuture.getResult()).thenReturn(bundle); in resultContainsIntent() 74 Bundle bundle = new Bundle(); in missingAuthToken() local 76 when(mFuture.getResult()).thenReturn(bundle); in missingAuthToken() 90 Bundle bundle = new Bundle(); in goodToken() local 91 bundle.putString(AccountManager.KEY_AUTHTOKEN, "monkey"); in goodToken() 93 when(mFuture.getResult()).thenReturn(bundle); in goodToken()
|
/frameworks/native/libs/binder/ |
D | BufferedTextOutput.cpp | 44 , bundle(0) { in BufferState() 82 int32_t bundle; member 185 } else if (*(txt-1) == '\n' && !b->bundle) { in print() 213 if (b->atFront && !b->bundle) { in print() 238 b->bundle++; in pushBundle() 245 b->bundle--; in popBundle() 246 LOG_FATAL_IF(b->bundle < 0, in popBundle() 248 if (b->bundle < 0) b->bundle = 0; in popBundle() 250 if (b->bundle == 0) { in popBundle()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | SELinuxPolicyInstallReceiver.java | 58 private int[] readChunkLengths(BufferedInputStream bundle) throws IOException { in readChunkLengths() argument 60 chunks[0] = readInt(bundle); in readChunkLengths() 61 chunks[1] = readInt(bundle); in readChunkLengths() 62 chunks[2] = readInt(bundle); in readChunkLengths() 63 chunks[3] = readInt(bundle); in readChunkLengths() 64 chunks[4] = readInt(bundle); in readChunkLengths() 65 chunks[5] = readInt(bundle); in readChunkLengths() 66 chunks[6] = readInt(bundle); in readChunkLengths()
|
/frameworks/support/compat/jellybean-mr2/android/support/v4/app/ |
D | BundleCompatJellybeanMR2.java | 23 public static IBinder getBinder(Bundle bundle, String key) { in getBinder() argument 24 return bundle.getBinder(key); in getBinder() 27 public static void putBinder(Bundle bundle, String key, IBinder binder) { in putBinder() argument 28 bundle.putBinder(key, binder); in putBinder()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ViewsStateBundle.java | 78 Bundle bundle = new Bundle(); in saveAsBundle() local 82 bundle.putSparseParcelableArray(e.getKey(), e.getValue()); in saveAsBundle() 84 return bundle; in saveAsBundle() 187 public final Bundle saveOnScreenView(Bundle bundle, View view, int id) { in saveOnScreenView() argument 192 if (bundle == null) { in saveOnScreenView() 193 bundle = new Bundle(); in saveOnScreenView() 195 bundle.putSparseParcelableArray(key, container); in saveOnScreenView() 197 return bundle; in saveOnScreenView()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouteSelector.java | 57 MediaRouteSelector(Bundle bundle, List<String> controlCategories) { in MediaRouteSelector() argument 58 mBundle = bundle; in MediaRouteSelector() 205 public static MediaRouteSelector fromBundle(@Nullable Bundle bundle) { in fromBundle() argument 206 return bundle != null ? new MediaRouteSelector(bundle, null) : null; in fromBundle() 303 Bundle bundle = new Bundle(); in build() local 304 bundle.putStringArrayList(KEY_CONTROL_CATEGORIES, mControlCategories); in build() 305 return new MediaRouteSelector(bundle, mControlCategories); in build()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | CryptoHelper.java | 56 /* default */ Bundle encryptBundle(@NonNull Bundle bundle) throws GeneralSecurityException { in encryptBundle() argument 57 Preconditions.checkNotNull(bundle, "Cannot encrypt null bundle."); in encryptBundle() 59 bundle.writeToParcel(parcel, 0); in encryptBundle() 78 /* default */ Bundle decryptBundle(@NonNull Bundle bundle) throws GeneralSecurityException { in decryptBundle() argument 79 Preconditions.checkNotNull(bundle, "Cannot decrypt null bundle."); in decryptBundle() 80 byte[] iv = bundle.getByteArray(KEY_IV); in decryptBundle() 81 byte[] encryptedBytes = bundle.getByteArray(KEY_CIPHER); in decryptBundle() 82 byte[] mac = bundle.getByteArray(KEY_MAC); in decryptBundle()
|