/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 46 Bundle md = ci.metaData; in checkMetaData() local 47 assertNotNull("No meta data found", md); in checkMetaData() 49 assertEquals("foo", md.getString("com.android.frameworks.coretests.string")); in checkMetaData() 50 assertTrue(md.getBoolean("com.android.frameworks.coretests.boolean")); in checkMetaData() 51 assertEquals(100, md.getInt("com.android.frameworks.coretests.integer")); in checkMetaData() 52 assertEquals(0xff000000, md.getInt("com.android.frameworks.coretests.color")); in checkMetaData() 55 Math.floor(md.getFloat("com.android.frameworks.coretests.float") * 10 + .5)); in checkMetaData() 57 assertEquals(R.xml.metadata, md.getInt("com.android.frameworks.coretests.reference")); in checkMetaData()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 84 sp<WebmElement> WebmWriter::videoTrack(const sp<MetaData>& md) { in videoTrack() argument 87 if (!md->findInt32(kKeyWidth, &width) in videoTrack() 88 || !md->findInt32(kKeyHeight, &height) in videoTrack() 89 || !md->findCString(kKeyMIMEType, &mimeType)) { in videoTrack() 91 md->dumpToLog(); in videoTrack() 109 return WebmElement::VideoTrackEntry(codec, width, height, md); in videoTrack() 113 sp<WebmElement> WebmWriter::audioTrack(const sp<MetaData>& md) { in audioTrack() argument 122 if (!md->findInt32(kKeyChannelCount, &nChannels) in audioTrack() 123 || !md->findInt32(kKeySampleRate, &samplerate) in audioTrack() 124 || !md->findData(kKeyVorbisInfo, &type, &headerData1, &headerSize1) in audioTrack() [all …]
|
D | WebmWriter.h | 123 static sp<WebmElement> videoTrack(const sp<MetaData>& md); 124 static sp<WebmElement> audioTrack(const sp<MetaData>& md);
|
D | WebmFrameThread.cpp | 342 sp<MetaData> md = buffer->meta_data(); in run() local 343 CHECK(md->findInt64(kKeyTime, ×tampUs)); in run() 371 md->findInt32(kKeyIsSyncFrame, &isSync); in run()
|
D | WebmElement.h | 65 const sp<MetaData> &md,
|
/frameworks/base/core/java/android/security/net/config/ |
D | NetworkSecurityTrustManager.java | 132 MessageDigest md = digestMap.get(algorithm); in checkPins() local 133 if (md == null) { in checkPins() 135 md = MessageDigest.getInstance(algorithm); in checkPins() 139 digestMap.put(algorithm, md); in checkPins() 141 if (pinSet.pins.contains(new Pin(algorithm, md.digest(encodedSPKI)))) { in checkPins()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 302 @NonNull MediaDrm md, @NonNull byte[] sessionId, long expirationTime); 346 @NonNull MediaDrm md, @NonNull byte[] sessionId, 452 @NonNull MediaDrm md, @Nullable byte[] sessionId, 510 public EventHandler(@NonNull MediaDrm md, @NonNull Looper looper) { 512 mMediaDrm = md; 607 MediaDrm md = (MediaDrm)((WeakReference<MediaDrm>)mediadrm_ref).get(); in postEventFromNative() local 608 if (md == null) { in postEventFromNative() 611 if (md.mEventHandler != null) { in postEventFromNative() 612 Message m = md.mEventHandler.obtainMessage(what, eventType, extra, obj); in postEventFromNative() 613 md.mEventHandler.sendMessage(m); in postEventFromNative()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 140 Bundle md = ai.metaData; in getSearchableInfo() local 141 if (md != null) { in getSearchableInfo() 142 refActivityName = md.getString(MD_LABEL_DEFAULT_SEARCHABLE); in getSearchableInfo() 146 md = ai.applicationInfo.metaData; in getSearchableInfo() 147 if (md != null) { in getSearchableInfo() 148 refActivityName = md.getString(MD_LABEL_DEFAULT_SEARCHABLE); in getSearchableInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ProcessLoggingHandler.java | 102 MessageDigest md = MessageDigest.getInstance("SHA-256"); in computeHashOfApkFile() local 107 md.update(buffer, 0, size); in computeHashOfApkFile() 110 return md.digest(); in computeHashOfApkFile()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | CustomPrinterIconCache.java | 71 MessageDigest md = MessageDigest.getInstance("SHA-1"); in getIconFileName() local 72 md.update( in getIconFileName() 75 sb.append(String.format("%#040x", new java.math.BigInteger(1, md.digest()))); in getIconFileName()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 1100 final ManagedDialog md = new ManagedDialog(); in restoreManagedDialogs() local 1101 md.mArgs = b.getBundle(savedDialogArgsKeyFor(dialogId)); in restoreManagedDialogs() 1102 md.mDialog = createDialog(dialogId, dialogState, md.mArgs); in restoreManagedDialogs() 1103 if (md.mDialog != null) { in restoreManagedDialogs() 1104 mManagedDialogs.put(dialogId, md); in restoreManagedDialogs() 1105 onPrepareDialog(dialogId, md.mDialog, md.mArgs); in restoreManagedDialogs() 1106 md.mDialog.onRestoreInstanceState(dialogState); in restoreManagedDialogs() 1534 final ManagedDialog md = mManagedDialogs.valueAt(i); in saveManagedDialogs() local 1535 dialogState.putBundle(savedDialogKeyFor(key), md.mDialog.onSaveInstanceState()); in saveManagedDialogs() 1536 if (md.mArgs != null) { in saveManagedDialogs() [all …]
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 481 MessageDigest md; in verify() local 483 md = MessageDigest.getInstance(algorithm); in verify() 488 md.update(data, start, end - 1 - start); in verify() 490 md.update(data, start, end - start); in verify() 492 byte[] b = md.digest(); in verify()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 242 MessageDigest md; in computeDigestLocked() local 244 md = MessageDigest.getInstance("SHA-256"); in computeDigestLocked() 261 md.update(data, 0, DIGEST_SIZE_BYTES); // include 0 checksum in digest in computeDigestLocked() 263 md.update(data, 0, read); in computeDigestLocked() 272 return md.digest(); in computeDigestLocked()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 525 MessageDigest md = mds[i]; in computeContentDigests() local 527 md.digest( in computeContentDigests() 533 "Unexpected output size of " + md.getAlgorithm() + " digest: " in computeContentDigests() 549 MessageDigest md; in computeContentDigests() local 551 md = MessageDigest.getInstance(jcaAlgorithmName); in computeContentDigests() 555 byte[] output = md.digest(input); in computeContentDigests() 1060 for (MessageDigest md : mds) { in feedIntoMessageDigests() 1062 md.update(buf); in feedIntoMessageDigests() 1115 for (MessageDigest md : mds) { in feedIntoMessageDigests() 1119 md.update(region); in feedIntoMessageDigests()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Log.java | 55 MessageDigest md; in initMd5Sum() local 57 md = MessageDigest.getInstance("SHA-1"); in initMd5Sum() 59 md = null; in initMd5Sum() 62 sMessageDigest = md; in initMd5Sum()
|
/frameworks/base/packages/SystemUI/ |
D | README.md | 5 * [Demo Mode](/packages/SystemUI/docs/demo_mode.md)
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 348 for (int md = 1; md <= maxDay; md++) { in filterMonthlySetPos() 353 daySet[daySetLength++] = md; in filterMonthlySetPos()
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver.tmpl | 46 // WARNING: This file is generated. See ../README.md for instructions. 98 // WARNING: This file is generated. See ../README.md for instructions.
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | IPControls.java | 109 int md = (size.x > size.y) ? size.x : size.y; in onCreateOptionsMenu() local 111 if (Resolutions.values()[ct].width <= (int)(md * 1.2)) { in onCreateOptionsMenu()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | IPControlsJB.java | 110 int md = (size.x > size.y) ? size.x : size.y; in onCreateOptionsMenu() local 112 if (Resolutions.values()[ct].width <= (int)(md * 1.2)) { in onCreateOptionsMenu()
|
/frameworks/base/core/java/android/net/http/ |
D | SslCertificate.java | 273 MessageDigest md = MessageDigest.getInstance(algorithm); in getDigest() local 274 byte[] digest = md.digest(bytes); in getDigest()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 618 MessageDigest md = MessageDigest.getInstance(algo); in getCertHash() local 619 return md.digest(signature.toByteArray()); in getCertHash()
|
/frameworks/native/vulkan/libvulkan/ |
D | code-generator.tmpl | 35 // WARNING: This file is generated. See ../README.md for instructions. 91 // WARNING: This file is generated. See ../README.md for instructions. 213 // WARNING: This file is generated. See ../README.md for instructions. 270 // WARNING: This file is generated. See ../README.md for instructions.
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 438 final Bundle md = ai.metaData; in queryTargetServices() local 439 final String serviceName = md != null ? convertServiceName(ai.packageName, in queryTargetServices() 440 md.getString(ChooserTargetService.META_DATA_NAME)) : null; in queryTargetServices()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1112 MessageDigest md = MessageDigest.getInstance("SHA-1"); in patternToHash() local 1113 byte[] hash = md.digest(res); in patternToHash()
|