/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | MetaDataTest.java | 49 Bundle md = ci.metaData; in checkMetaData() local 50 assertNotNull("No meta data found", md); in checkMetaData() 52 assertEquals("foo", md.getString("com.android.frameworks.coretests.string")); in checkMetaData() 53 assertTrue(md.getBoolean("com.android.frameworks.coretests.boolean")); in checkMetaData() 54 assertEquals(100, md.getInt("com.android.frameworks.coretests.integer")); in checkMetaData() 55 assertEquals(0xff000000, md.getInt("com.android.frameworks.coretests.color")); in checkMetaData() 58 Math.floor(md.getFloat("com.android.frameworks.coretests.float") * 10 + .5)); in checkMetaData() 60 assertEquals(R.xml.metadata, md.getInt("com.android.frameworks.coretests.reference")); in checkMetaData()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 86 sp<WebmElement> WebmWriter::videoTrack(const sp<MetaData>& md) { in videoTrack() argument 89 if (!md->findInt32(kKeyWidth, &width) in videoTrack() 90 || !md->findInt32(kKeyHeight, &height) in videoTrack() 91 || !md->findCString(kKeyMIMEType, &mimeType)) { in videoTrack() 93 md->dumpToLog(); in videoTrack() 111 return WebmElement::VideoTrackEntry(codec, width, height, md); in videoTrack() 115 sp<WebmElement> WebmWriter::audioTrack(const sp<MetaData>& md) { in audioTrack() argument 119 if (!md->findInt32(kKeyChannelCount, &nChannels) in audioTrack() 120 || !md->findInt32(kKeySampleRate, &samplerate) in audioTrack() 121 || !md->findCString(kKeyMIMEType, &mimeType)) { 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 | 357 MetaDataBase &md = buffer->meta_data(); in run() local 358 CHECK(md.findInt64(kKeyTime, ×tampUs)); in run() 385 md.findInt32(kKeyIsSyncFrame, &isSync); in run()
|
/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/core/java/android/util/apk/ |
D | ByteBufferDataSource.java | 45 public void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester() argument 64 md.consume(region); in feedIntoDataDigester()
|
D | MemoryMappedFileDataSource.java | 58 public void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester() argument 94 md.consume(buf); in feedIntoDataDigester()
|
D | ApkSigningBlockUtils.java | 259 MessageDigest md = mds[i]; in computeContentDigestsPer1MbChunk() local 261 md.digest( in computeContentDigestsPer1MbChunk() 267 "Unexpected output size of " + md.getAlgorithm() + " digest: " in computeContentDigestsPer1MbChunk() 283 MessageDigest md; in computeContentDigestsPer1MbChunk() local 285 md = MessageDigest.getInstance(jcaAlgorithmName); in computeContentDigestsPer1MbChunk() 289 byte[] output = md.digest(input); in computeContentDigestsPer1MbChunk() 774 for (MessageDigest md : mMds) { in consume() 776 md.update(buffer); in consume()
|
D | DataSource.java | 36 void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester() argument
|
D | VerityBuilder.java | 155 MessageDigest md = MessageDigest.getInstance(JCA_DIGEST_ALGORITHM); in generateApkVerityRootHash() local 156 md.update(footer); in generateApkVerityRootHash() 157 md.update(apkDigest); in generateApkVerityRootHash() 158 return md.digest(); in generateApkVerityRootHash()
|
/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/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 132 camera_frame_metadata_t md; in dataCallback() local 133 md.number_of_faces = metadata.faces.size(); in dataCallback() 134 md.faces = (camera_face_t*) metadata.faces.data(); in dataCallback() 135 sDataCb((int32_t) msgType, mem, bufferIndex, &md, this); in dataCallback() 168 VideoNativeHandleMetadata* md = (VideoNativeHandleMetadata*) in handleCallbackTimestamp() local 170 md->pHandle = const_cast<native_handle_t*>(frameData.getNativeHandle()); in handleCallbackTimestamp() 195 VideoNativeHandleMetadata* md = (VideoNativeHandleMetadata*) in handleCallbackTimestampBatch() local 197 md->pHandle = const_cast<native_handle_t*>(hidl_msg.frameData.getNativeHandle()); in handleCallbackTimestampBatch() 581 VideoNativeHandleMetadata* md = (VideoNativeHandleMetadata*) mem->pointer(); in releaseRecordingFrame() local 583 native_handle_t* nh = md->pHandle; in releaseRecordingFrame() [all …]
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 152 Bundle md = ai.metaData; in getSearchableInfo() local 153 if (md != null) { in getSearchableInfo() 154 refActivityName = md.getString(MD_LABEL_DEFAULT_SEARCHABLE); in getSearchableInfo() 158 md = ai.applicationInfo.metaData; in getSearchableInfo() 159 if (md != null) { in getSearchableInfo() 160 refActivityName = md.getString(MD_LABEL_DEFAULT_SEARCHABLE); in getSearchableInfo()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 500 MessageDigest md; in verify() local 502 md = MessageDigest.getInstance(algorithm); in verify() 507 md.update(data, start, end - 1 - start); in verify() 509 md.update(data, start, end - start); in verify() 511 byte[] b = md.digest(); in verify()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 390 @NonNull MediaDrm md, @NonNull byte[] sessionId, long expirationTime); 450 @NonNull MediaDrm md, @NonNull byte[] sessionId, 511 @NonNull MediaDrm md, @NonNull byte[] sessionId); 656 @NonNull MediaDrm md, @Nullable byte[] sessionId, 848 MediaDrm md = (MediaDrm)((WeakReference<MediaDrm>)mediadrm_ref).get(); 849 if (md == null) { 857 ListenerWithExecutor listener = md.mListenerMap.get(what); 860 if (md.mNativeContext == 0) {
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 1626 final ManagedDialog md = new ManagedDialog(); in restoreManagedDialogs() local 1627 md.mArgs = b.getBundle(savedDialogArgsKeyFor(dialogId)); in restoreManagedDialogs() 1628 md.mDialog = createDialog(dialogId, dialogState, md.mArgs); in restoreManagedDialogs() 1629 if (md.mDialog != null) { in restoreManagedDialogs() 1630 mManagedDialogs.put(dialogId, md); in restoreManagedDialogs() 1631 onPrepareDialog(dialogId, md.mDialog, md.mArgs); in restoreManagedDialogs() 1632 md.mDialog.onRestoreInstanceState(dialogState); in restoreManagedDialogs() 2177 final ManagedDialog md = mManagedDialogs.valueAt(i); in saveManagedDialogs() local 2178 dialogState.putBundle(savedDialogKeyFor(key), md.mDialog.onSaveInstanceState()); in saveManagedDialogs() 2179 if (md.mArgs != null) { in saveManagedDialogs() [all …]
|
/frameworks/base/core/xsd/schema/ |
D | README.md | 1 …oid.googlesource.com/platform/system/tools/xsdc/+/refs/heads/master/README.md) for details regardi…
|
/frameworks/base/services/core/xsd/schema/ |
D | README.md | 1 …oid.googlesource.com/platform/system/tools/xsdc/+/refs/heads/master/README.md) for details regardi…
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 323 MessageDigest md; in computeDigestLocked() local 325 md = MessageDigest.getInstance("SHA-256"); in computeDigestLocked() 342 md.update(data, 0, DIGEST_SIZE_BYTES); // include 0 checksum in digest in computeDigestLocked() 344 md.update(data, 0, read); in computeDigestLocked() 353 return md.digest(); in computeDigestLocked()
|
/frameworks/compile/libbcc/lib/ |
D | RSEmbedInfo.cpp | 168 if (auto md = nmd->getOperand(0)) { in getRSInfoString() local 170 llvm::dyn_cast<llvm::MDString>(md->getOperand(0))) { in getRSInfoString()
|
/frameworks/av/media/libstagefright/foundation/tests/ |
D | AData_test.cpp | 93 AUnion<std::shared_ptr<EventCounter>, std::unique_ptr<EventCounter>> md; in TEST_F() local 94 md.emplace<std::shared_ptr<EventCounter>>(new EventCounter(&destructions)); in TEST_F() 95 std::shared_ptr<EventCounter> copy(md.get<std::shared_ptr<EventCounter>>()); in TEST_F() 101 md.del<std::shared_ptr<EventCounter>>(); in TEST_F() 105 md.emplace<std::unique_ptr<EventCounter>>(new EventCounter(&destructions)); in TEST_F() 108 std::unique_ptr<EventCounter> unique = std::move(md.get<std::unique_ptr<EventCounter>>()); in TEST_F() 110 EXPECT_FALSE((bool)md.get<std::unique_ptr<EventCounter>>()); in TEST_F() 112 md.del<std::unique_ptr<EventCounter>>(); in TEST_F() 114 md.emplace<std::unique_ptr<EventCounter>>(std::move(unique)); in TEST_F() 115 EXPECT_TRUE((bool)md.get<std::unique_ptr<EventCounter>>()); in TEST_F() [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_GLES_layers.txt | 42 See frameworks/native/opengl/libs/EGL/GLES_layers.md in Android for
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 283 MessageDigest md = MessageDigest.getInstance(algo); in getCertHash() local 284 return md.digest(signature.toByteArray()); in getCertHash()
|
/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()
|