/frameworks/av/media/libstagefright/foundation/tests/ |
D | AData_test.cpp | 176 EXPECT_TRUE(data.find(&i)); in TEST_F() 177 EXPECT_FALSE(data.find(&f)); in TEST_F() 181 EXPECT_FALSE(data.find(&i)); in TEST_F() 182 EXPECT_TRUE(data.find(&f)); in TEST_F() 190 EXPECT_TRUE(objdata.find(&buf2)); in TEST_F() 192 EXPECT_FALSE(objdata.find(&i)); in TEST_F() 193 EXPECT_TRUE(objdata.find(&obj)); in TEST_F() 198 EXPECT_FALSE(objdata.find(&buf2)); // not stored as ABuffer(!) in TEST_F() 199 EXPECT_TRUE(objdata.find(&obj)); in TEST_F() 238 EXPECT_FALSE(u.find<int>(&_int)); in TEST_F() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | StringPieceTest.cpp | 96 TEST(StringPieceTest, find) { in TEST() argument 98 EXPECT_EQ(1u, s.find(0, 'i')); in TEST() 99 EXPECT_EQ(1u, s.find(1, 'i')); in TEST() 100 EXPECT_EQ(4u, s.find(2, 'i')); in TEST() 101 EXPECT_EQ(4u, s.find(3, 'i')); in TEST() 102 EXPECT_EQ(4u, s.find(4, 'i')); in TEST() 103 EXPECT_EQ(7u, s.find(5, 'i')); in TEST() 104 EXPECT_EQ(7u, s.find(6, 'i')); in TEST() 105 EXPECT_EQ(7u, s.find(7, 'i')); in TEST() 106 EXPECT_EQ(10u, s.find(8, 'i')); in TEST() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | RawPrintVisitorTests.cpp | 50 ASSERT_NE(stream.str().find("00000000: 504d4449 magic\n"), std::string::npos); in TEST() 51 ASSERT_NE(stream.str().find("00000004: 00000001 version\n"), std::string::npos); in TEST() 52 ASSERT_NE(stream.str().find("00000008: 76a20829 target crc\n"), std::string::npos); in TEST() 53 ASSERT_NE(stream.str().find("0000000c: 8635c2ed overlay crc\n"), std::string::npos); in TEST() 54 ASSERT_NE(stream.str().find("0000021c: 00000000 0x7f010000 -> 0x7f010000 integer/int1\n"), in TEST() 71 ASSERT_NE(stream.str().find("00000000: 504d4449 magic\n"), std::string::npos); in TEST() 72 ASSERT_NE(stream.str().find("00000004: 00000001 version\n"), std::string::npos); in TEST() 73 ASSERT_NE(stream.str().find("00000008: 00001234 target crc\n"), std::string::npos); in TEST() 74 ASSERT_NE(stream.str().find("0000000c: 00005678 overlay crc\n"), std::string::npos); in TEST() 75 ASSERT_NE(stream.str().find("0000021c: 00000000 0x7f020000 -> 0x7f020000\n"), std::string::npos); in TEST()
|
D | PrettyPrintVisitorTests.cpp | 55 ASSERT_NE(stream.str().find("target apk path : "), std::string::npos); in TEST() 56 ASSERT_NE(stream.str().find("overlay apk path : "), std::string::npos); in TEST() 57 ASSERT_NE(stream.str().find("0x7f010000 -> 0x7f010000 integer/int1\n"), std::string::npos); in TEST() 73 ASSERT_NE(stream.str().find("target apk path : "), std::string::npos); in TEST() 74 ASSERT_NE(stream.str().find("overlay apk path : "), std::string::npos); in TEST() 75 ASSERT_NE(stream.str().find("0x7f020000 -> 0x7f020000\n"), std::string::npos); in TEST()
|
D | Idmap2BinaryTests.cpp | 130 ASSERT_NE(result->stdout.find("0x7f010000 -> 0x7f010000 integer/int1"), std::string::npos); in TEST_F() 131 ASSERT_NE(result->stdout.find("0x7f02000c -> 0x7f020000 string/str1"), std::string::npos); in TEST_F() 132 ASSERT_NE(result->stdout.find("0x7f02000e -> 0x7f020001 string/str3"), std::string::npos); in TEST_F() 133 ASSERT_NE(result->stdout.find("0x7f02000f -> 0x7f020002 string/str4"), std::string::npos); in TEST_F() 143 ASSERT_NE(result->stdout.find("00000000: 504d4449 magic"), std::string::npos); in TEST_F() 144 ASSERT_NE(result->stdout.find("00000210: 007f target package id"), std::string::npos); in TEST_F() 305 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F() 306 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F() 317 ASSERT_NE(result->stdout.find("overlay-1"), std::string::npos); in TEST_F() 318 ASSERT_EQ(result->stdout.find("overlay-1-sv"), std::string::npos); in TEST_F() [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceQuery.java | 49 SliceItem icon = SliceQuery.find(item, SliceItem.FORMAT_IMAGE); in getPrimaryIcon() 107 public static SliceItem find(Slice s, String type, String hints, String nonHints) { in find() method in SliceQuery 108 return find(s, type, new String[]{ hints }, new String[]{ nonHints }); in find() 114 public static SliceItem find(Slice s, String type) { in find() method in SliceQuery 115 return find(s, type, (String[]) null, null); in find() 121 public static SliceItem find(SliceItem s, String type) { in find() method in SliceQuery 122 return find(s, type, (String[]) null, null); in find() 128 public static SliceItem find(SliceItem s, String type, String hints, String nonHints) { in find() method in SliceQuery 129 return find(s, type, new String[]{ hints }, new String[]{ nonHints }); in find() 135 public static SliceItem find(Slice s, String type, String[] hints, String[] nonHints) { in find() method in SliceQuery [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 53 if (it.second.find(&c2Value)) { in debugString() 89 } else if (it.second.find(&int32Value)) { in debugString() 91 } else if (it.second.find(&int64Value)) { in debugString() 93 } else if (it.second.find(&strValue)) { in debugString() 95 } else if (it.second.find(&bufValue)) { in debugString() 223 auto it = mWholeParams.find(paramName); in addParamDesc() 238 auto it = mParamNames.find(index); in getParamName() 305 auto paramIt = paramsMap.find(desc.paramDesc->index()); in updateParamsFromMessage() 367 auto param = params.find(name); in parseMessageAndDoWork() 375 if (param->second.find(&tmp) && tmp != nullptr) { in parseMessageAndDoWork() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | UniqueGCFactory.h | 40 DataType* find(const KeyType& pKey) { in find() function 41 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in find() 47 const DataType* find(const KeyType& pKey) const { in find() function 48 typename KeyMap::const_iterator dataIter = f_KeyMap.find(pKey); in find() 55 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in produce() 68 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey); in produce()
|
/frameworks/av/media/bufferpool/1.0/ |
D | AccessorImpl.cpp | 93 auto iter = mapOfSet->find(key); in insert() 98 } else if (iter->second.find(value) == iter->second.end()) { in insert() 108 auto iter = mapOfSet->find(key); in erase() 122 auto iter = mapOfSet->find(key); in contains() 124 auto setIter = iter->second.find(value); in contains() 206 auto found = mBufferPool.mTransactions.find(transactionId); in fetch() 214 auto bufferIt = mBufferPool.mBuffers.find(bufferId); in fetch() 264 auto iter = mBuffers.find(bufferId); in handleOwnBuffer() 275 auto iter = mBuffers.find(bufferId); in handleReleaseBuffer() 289 auto completed = mCompletedTransactions.find( in handleTransferTo() [all …]
|
D | Accessor.cpp | 33 if (mAccessors.find(connectionId) == mAccessors.end()) { in add() 41 auto it = mConnectionToCookie.find(connectionId); in remove() 45 auto cit = mCookieToConnections.find(cookie); in remove() 59 if (mAccessors.find(connectionId) == mAccessors.end()) { in addCookieToConnection() 63 auto it = mCookieToConnections.find(cookie); in addCookieToConnection() 80 auto it = mCookieToConnections.find(cookie); in serviceDied() 83 auto accessorIt = mAccessors.find(*conIt); in serviceDied()
|
/frameworks/base/cmds/statsd/src/external/ |
D | puller_util.cpp | 58 if (StatsPullerManager::kAllPullAtomInfo.find(tagId) == in mapAndMergeIsolatedUidsToHostUid() 63 if ((android::util::AtomsInfo::kAtomsWithAttributionChain.find(tagId) == in mapAndMergeIsolatedUidsToHostUid() 65 (android::util::AtomsInfo::kAtomsWithUidField.find(tagId) == in mapAndMergeIsolatedUidsToHostUid() 77 if (android::util::AtomsInfo::kAtomsWithAttributionChain.find(tagId) != in mapAndMergeIsolatedUidsToHostUid() 89 auto it = android::util::AtomsInfo::kAtomsWithUidField.find(tagId); in mapAndMergeIsolatedUidsToHostUid() 124 StatsPullerManager::kAllPullAtomInfo.find(tagId)->second.additiveFields; in mapAndMergeIsolatedUidsToHostUid() 146 if (additiveFields.find(pos) == additiveFields.end()) { in mapAndMergeIsolatedUidsToHostUid() 159 if (additiveFields.find(pos) != additiveFields.end()) { in mapAndMergeIsolatedUidsToHostUid()
|
/frameworks/av/media/libaaudio/scripts/ |
D | convert_oboe_aaudio.sh | 17 … find $path -type f -name $pattern -exec sed -i -f ${LIBOBOE_DIR}/scripts/oboe_to_aaudio.sed {} \; 49 find -name "*OboeAudioService*.cpp" | rename -v "s/OboeAudioService/AAudioService/g" 50 find -name "*OboeAudioService*.h" | rename -v "s/OboeAudioService/AAudioService/g" 51 find -name "*Oboe*.cpp" | rename -v "s/Oboe/AAudio/g" 52 find -name "*Oboe*.h" | rename -v "s/Oboe/AAudio/g"
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 77 auto uidIt = mConfigs.find(key.GetUid()); in UpdateConfig() 80 auto it = uidIt->second.find(key); in UpdateConfig() 89 if (uidIt != mConfigs.end() && uidIt->second.find(key) != uidIt->second.end() && in UpdateConfig() 144 auto uidIt = mConfigs.find(uid); in RemoveConfig() 145 if (uidIt != mConfigs.end() && uidIt->second.find(key) != uidIt->second.end()) { in RemoveConfig() 151 auto itActiveConfigsChangedReceiver = mActiveConfigsChangedReceivers.find(uid); in RemoveConfig() 162 auto itReceiver = mConfigReceivers.find(key); in RemoveConfig() 189 auto uidIt = mConfigs.find(uid); in RemoveConfigs() 201 auto itActiveConfigsChangedReceiver = mActiveConfigsChangedReceivers.find(uid); in RemoveConfigs() 268 auto it = mConfigReceivers.find(key); in GetConfigReceiver() [all …]
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceUtils.cpp | 82 auto iter = tag->find("targetPackage"); in ExtractOverlayManifestInfo() 91 iter = tag->find("targetName"); in ExtractOverlayManifestInfo() 96 iter = tag->find("isStatic"); in ExtractOverlayManifestInfo() 101 iter = tag->find("priority"); in ExtractOverlayManifestInfo() 106 iter = tag->find("requiredSystemPropertyName"); in ExtractOverlayManifestInfo() 111 iter = tag->find("requiredSystemPropertyValue"); in ExtractOverlayManifestInfo()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | MemoryFileSystem.cpp | 27 auto result = mMemoryFileSystem.find(fileName); in FileExists() 32 auto result = mMemoryFileSystem.find(fileName); in GetFileSize() 51 auto result = mMemoryFileSystem.find(key); in Read() 64 auto result = mMemoryFileSystem.find(key); in Write() 73 auto result = mMemoryFileSystem.find(fileName); in RemoveFile()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaMemoryTracer.cpp | 47 auto sizeResult = mCurrentValues.find("size"); in processElement() 58 auto purgeableResult = mCurrentValues.find("purgeable_size"); in processElement() 66 auto typeResult = mCurrentValues.find("type"); in processElement() 81 auto categoryResult = mCurrentValues.find(mCategoryKey); in processElement() 97 auto result = mResults.find(resourceName); in processElement() 100 typeResult = resourceValues.find(key); in processElement() 143 auto result = namedItem.second.find("size"); in logOutput()
|
/frameworks/av/media/bufferpool/2.0/ |
D | AccessorImpl.cpp | 100 auto iter = mapOfSet->find(key); in insert() 105 } else if (iter->second.find(value) == iter->second.end()) { in insert() 115 auto iter = mapOfSet->find(key); in erase() 129 auto iter = mapOfSet->find(key); in contains() 131 auto setIter = iter->second.find(value); in contains() 223 auto found = mBufferPool.mTransactions.find(transactionId); in fetch() 231 auto bufferIt = mBufferPool.mBuffers.find(bufferId); in fetch() 329 auto it = mAcks.find(conId); in onAck() 426 auto iter = mBuffers.find(bufferId); in handleOwnBuffer() 437 auto iter = mBuffers.find(bufferId); in handleReleaseBuffer() [all …]
|
D | Accessor.cpp | 33 if (mAccessors.find(connectionId) == mAccessors.end()) { in add() 41 auto it = mConnectionToCookie.find(connectionId); in remove() 45 auto cit = mCookieToConnections.find(cookie); in remove() 59 if (mAccessors.find(connectionId) == mAccessors.end()) { in addCookieToConnection() 63 auto it = mCookieToConnections.find(cookie); in addCookieToConnection() 80 auto it = mCookieToConnections.find(cookie); in serviceDied() 83 auto accessorIt = mAccessors.find(*conIt); in serviceDied()
|
/frameworks/base/cmds/statsd/tests/ |
D | UidMap_test.cpp | 96 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 97 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST() 125 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 126 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST() 134 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 135 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST() 142 EXPECT_TRUE(name_set.find(kApp1) == name_set.end()); in TEST() 143 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST() 159 EXPECT_TRUE(name_set.find(kApp1) != name_set.end()); in TEST() 160 EXPECT_TRUE(name_set.find(kApp2) != name_set.end()); in TEST() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFSegmentFactory.h | 45 iterator find(uint32_t pType, uint32_t pFlagSet, uint32_t pFlagClear); 47 const_iterator find(uint32_t pType, 51 iterator find(uint32_t pType, const LDSection* pSection); 53 const_iterator find(uint32_t pType, const LDSection* pSection) const;
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 171 RingBufferItem& find = *it; in pinBufferLocked() local 172 if (item.mGraphicBuffer == find.mGraphicBuffer) { in pinBufferLocked() 173 find.mPinCount++; in pinBufferLocked() 208 RingBufferItem& find = *it; in releaseOldestBufferLocked() local 210 if (find.mPinCount > 0) { in releaseOldestBufferLocked() 218 if (find.mTimestamp < accIt->mTimestamp || accIt == end) { in releaseOldestBufferLocked() 334 RingBufferItem& find = *it; in unpinBuffer() local 335 if (item.mGraphicBuffer == find.mGraphicBuffer) { in unpinBuffer() 346 find.mPinCount--; in unpinBuffer()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | LayerHistory.cpp | 61 auto it = mActiveLayerInfos.find(id); in destroyLayer() 66 it = mInactiveLayerInfos.find(id); in destroyLayer() 77 auto layerInfoIterator = mInactiveLayerInfos.find(layerHandle->mId); in insert() 83 layerInfoIterator = mActiveLayerInfos.find(layerHandle->mId); in insert() 101 auto layerInfoIterator = mInactiveLayerInfos.find(layerHandle->mId); in setVisibility() 109 layerInfoIterator = mActiveLayerInfos.find(layerHandle->mId); in setVisibility()
|
/frameworks/base/cmds/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 38 auto pair = trackerNameIndexMap.find(simplePredicate.start()); in SimpleConditionTracker() 50 auto pair = trackerNameIndexMap.find(simplePredicate.stop()); in SimpleConditionTracker() 62 auto pair = trackerNameIndexMap.find(simplePredicate.stop_all()); in SimpleConditionTracker() 150 if (!mSliced || mSlicedConditionState.find(newKey) != mSlicedConditionState.end()) { in hitGuardRail() 172 auto outputIt = mSlicedConditionState.find(outputKey); in handleConditionEvent() 298 const auto& itr = mSlicedConditionState.find(DEFAULT_DIMENSION_KEY); in evaluateCondition() 355 const auto pair = conditionParameters.find(mConditionId); in isConditionMet() 365 const auto& itr = mSlicedConditionState.find(DEFAULT_DIMENSION_KEY); in isConditionMet() 400 auto startedCountIt = mSlicedConditionState.find(key); in isConditionMet() 430 const auto& itr = mSlicedConditionState.find(DEFAULT_DIMENSION_KEY); in getMetConditionDimension()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.cpp | 897 camera_metadata_ro_entry entry = metadata.find(ANDROID_LENS_FOCAL_LENGTH); in setFromMetadata() 907 staticInfo.find(ANDROID_SENSOR_INFO_PHYSICAL_SIZE); in setFromMetadata() 921 entry = metadata.find(ANDROID_SCALER_CROP_REGION); in setFromMetadata() 923 staticInfo.find(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE); in setFromMetadata() 933 entry = metadata.find(ANDROID_JPEG_GPS_COORDINATES); in setFromMetadata() 953 entry = metadata.find(ANDROID_JPEG_GPS_PROCESSING_METHOD); in setFromMetadata() 962 entry = metadata.find(ANDROID_JPEG_GPS_TIMESTAMP); in setFromMetadata() 977 entry = metadata.find(ANDROID_CONTROL_AE_EXPOSURE_COMPENSATION); in setFromMetadata() 979 staticInfo.find(ANDROID_CONTROL_AE_COMPENSATION_STEP); in setFromMetadata() 988 entry = metadata.find(ANDROID_JPEG_ORIENTATION); in setFromMetadata() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFSegmentFactory.cpp | 18 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, in find() function in mcld::ELFSegmentFactory 32 ELFSegmentFactory::const_iterator ELFSegmentFactory::find( in find() function in mcld::ELFSegmentFactory 47 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, in find() function in mcld::ELFSegmentFactory 62 ELFSegmentFactory::const_iterator ELFSegmentFactory::find( in find() function in mcld::ELFSegmentFactory
|