/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 | 358 MetaDataBase &md = buffer->meta_data(); in run() local 359 CHECK(md.findInt64(kKeyTime, ×tampUs)); in run() 386 md.findInt32(kKeyIsSyncFrame, &isSync); in run()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserUtil.java | 37 MessageDigest md = MessageDigest.getInstance("MD5"); in md5() local 38 md.update(input.getBytes(UTF_8)); in md5() 39 return convertBytesToHexString(md.digest()); in md5()
|
/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 | 277 MessageDigest md = mds[i]; in computeContentDigestsPer1MbChunk() local 279 md.digest( in computeContentDigestsPer1MbChunk() 285 "Unexpected output size of " + md.getAlgorithm() + " digest: " in computeContentDigestsPer1MbChunk() 301 MessageDigest md; in computeContentDigestsPer1MbChunk() local 303 md = MessageDigest.getInstance(jcaAlgorithmName); in computeContentDigestsPer1MbChunk() 307 byte[] output = md.digest(input); in computeContentDigestsPer1MbChunk() 812 for (MessageDigest md : mMds) { in consume() 814 md.update(buffer); in consume()
|
D | DataSource.java | 36 void feedIntoDataDigester(DataDigester md, long offset, int size) in feedIntoDataDigester() argument
|
D | VerityBuilder.java | 132 MessageDigest md = MessageDigest.getInstance(JCA_DIGEST_ALGORITHM); in generateApkVerityRootHash() local 133 md.update(footer); in generateApkVerityRootHash() 134 md.update(apkDigest); in generateApkVerityRootHash() 135 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() 172 VideoNativeHandleMetadata* md = (VideoNativeHandleMetadata*) in handleCallbackTimestamp() local 174 md->pHandle = const_cast<native_handle_t*>(frameData.getNativeHandle()); in handleCallbackTimestamp() 203 VideoNativeHandleMetadata* md = (VideoNativeHandleMetadata*) in handleCallbackTimestampBatch() local 205 md->pHandle = const_cast<native_handle_t*>(hidl_msg.frameData.getNativeHandle()); in handleCallbackTimestampBatch() 593 VideoNativeHandleMetadata* md = (VideoNativeHandleMetadata*) mem->unsecurePointer(); in releaseRecordingFrame() local 595 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/services/core/java/com/android/server/hdmi/ |
D | README.md | 7 * [CEC Key Handling](cec_key_handling.md)
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 425 @NonNull MediaDrm md, @NonNull byte[] sessionId, long expirationTime); 485 @NonNull MediaDrm md, @NonNull byte[] sessionId, 546 @NonNull MediaDrm md, @NonNull byte[] sessionId); 691 @NonNull MediaDrm md, @Nullable byte[] sessionId, 901 MediaDrm md = (MediaDrm)((WeakReference<MediaDrm>)mediadrm_ref).get(); 902 if (md == null) { 910 ListenerWithExecutor listener = md.mListenerMap.get(what); 913 if (md.mNativeContext == 0) {
|
/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/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/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/base/core/java/android/app/ |
D | Activity.java | 1736 final ManagedDialog md = new ManagedDialog(); in restoreManagedDialogs() local 1737 md.mArgs = b.getBundle(savedDialogArgsKeyFor(dialogId)); in restoreManagedDialogs() 1738 md.mDialog = createDialog(dialogId, dialogState, md.mArgs); in restoreManagedDialogs() 1739 if (md.mDialog != null) { in restoreManagedDialogs() 1740 mManagedDialogs.put(dialogId, md); in restoreManagedDialogs() 1741 onPrepareDialog(dialogId, md.mDialog, md.mArgs); in restoreManagedDialogs() 1742 md.mDialog.onRestoreInstanceState(dialogState); in restoreManagedDialogs() 2297 final ManagedDialog md = mManagedDialogs.valueAt(i); in saveManagedDialogs() local 2298 dialogState.putBundle(savedDialogKeyFor(key), md.mDialog.onSaveInstanceState()); in saveManagedDialogs() 2299 if (md.mArgs != null) { in saveManagedDialogs() [all …]
|
/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
|