Searched refs:find (Results 1 - 25 of 265) sorted by relevance

1234567891011

/frameworks/base/libs/androidfw/tests/
H A DAttributeFinder_test.cpp61 EXPECT_EQ(0, finder.find(0x01010000));
62 EXPECT_EQ(1, finder.find(0x01010001));
63 EXPECT_EQ(2, finder.find(0x01010002));
64 EXPECT_EQ(3, finder.find(0x01010004));
65 EXPECT_EQ(4, finder.find(0x02010001));
66 EXPECT_EQ(5, finder.find(0x02010010));
67 EXPECT_EQ(6, finder.find(0x7f010001));
68 EXPECT_EQ(end, finder.find(0x7f010002));
75 EXPECT_EQ(6, finder.find(0x7f010001));
76 EXPECT_EQ(end, finder.find(
[all...]
/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor_test.cpp34 EXPECT_NE(std::string::npos, annotations.find("@Deprecated"));
45 EXPECT_NE(std::string::npos, annotations.find("@android.annotation.SystemApi"));
46 EXPECT_EQ(std::string::npos, annotations.find("@SystemApi"));
47 EXPECT_NE(std::string::npos, annotations.find("This is a system API"));
H A DJavaClassGenerator_test.cpp66 output.find("public static final int hey_man=0x01020000;"));
69 output.find("public static final int[] hey_dude={"));
72 output.find("public static final int hey_dude_cool_attr=0;"));
91 EXPECT_NE(std::string::npos, output.find("package com.android.internal;"));
92 EXPECT_NE(std::string::npos, output.find("public static final int one=0x01020000;"));
93 EXPECT_EQ(std::string::npos, output.find("two"));
94 EXPECT_EQ(std::string::npos, output.find("com_foo$two"));
113 EXPECT_NE(std::string::npos, output.find("public static final class attr"));
114 EXPECT_EQ(std::string::npos, output.find("public static final class ^attr-private"));
140 EXPECT_NE(std::string::npos, output.find("publi
[all...]
H A DManifestClassGenerator_test.cpp55 const size_t permissionClassPos = actual.find("public static final class permission {");
57 actual.find("public static final class permission_group {");
65 size_t pos = actual.find("public static final String ACCESS_INTERNET="
70 pos = actual.find("public static final String DO_DANGEROUS_THINGS="
75 pos = actual.find("public static final String HUH=\"com.test.sample.permission.HUH\";");
83 pos = actual.find("public static final String PERMISSION="
114 EXPECT_NE(std::string::npos, actual.find(expectedAccessInternet));
123 EXPECT_NE(std::string::npos, actual.find(expectedPlayOutside));
133 EXPECT_NE(std::string::npos, actual.find(expectedSecret));
/frameworks/compile/mclinker/include/mcld/Support/
H A DUniqueGCFactory.h40 DataType* find(const KeyType& pKey) { function in class:mcld::UniqueGCFactoryBase
41 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey);
47 const DataType* find(const KeyType& pKey) const { function in class:mcld::UniqueGCFactoryBase
48 typename KeyMap::const_iterator dataIter = f_KeyMap.find(pKey);
55 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey);
68 typename KeyMap::iterator dataIter = f_KeyMap.find(pKey);
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFSegmentFactory.h45 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/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp28 if (m_AreaMap.find(name) == m_AreaMap.end()) {
42 if (m_AreaMap.find(name) == m_AreaMap.end()) {
55 if (m_AreaMap.find(name) == m_AreaMap.end()) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dtypedefs.h91 #error cannot find 8-bit type
113 #error cannot find 16-bit type
135 #error cannot find 32-bit type
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h77 typename Collection::const_iterator it = collection.find(key);
116 typename std::set<T>::iterator iter = items_.find(item);
131 typename Collection::const_iterator it = collection.find(key);
142 return collection.find(key) != collection.end();
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h77 typename Collection::const_iterator it = collection.find(key);
116 typename std::set<T>::iterator iter = items_.find(item);
131 typename Collection::const_iterator it = collection.find(key);
142 return collection.find(key) != collection.end();
/frameworks/compile/mclinker/lib/LD/
H A DELFSegmentFactory.cpp18 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, function in class:mcld::ELFSegmentFactory
32 ELFSegmentFactory::const_iterator ELFSegmentFactory::find( function in class:mcld::ELFSegmentFactory
47 ELFSegmentFactory::iterator ELFSegmentFactory::find(uint32_t pType, function in class:mcld::ELFSegmentFactory
62 ELFSegmentFactory::const_iterator ELFSegmentFactory::find( function in class:mcld::ELFSegmentFactory
H A DMergedStringTable.cpp38 assert(m_StringMap.find(pStr) != m_StringMap.end());
/frameworks/av/camera/
H A DCameraUtils.cpp41 camera_metadata_ro_entry_t entry = staticInfo.find(ANDROID_SENSOR_ORIENTATION);
43 ALOGE("%s: Can't find android.sensor.orientation in static metadata!", __FUNCTION__);
47 camera_metadata_ro_entry_t entryFacing = staticInfo.find(ANDROID_LENS_FACING);
49 ALOGE("%s: Can't find android.lens.facing in static metadata!", __FUNCTION__);
/frameworks/base/tools/aapt/tests/plurals/
H A Drun.sh16 find $TEST_OUT_DIR -type f
/frameworks/compile/mclinker/include/mcld/MC/
H A DSearchDirs.h48 // find - give a namespec, return a real path of the shared object.
49 sys::fs::Path* find(const std::string& pNamespec,
52 const sys::fs::Path* find(const std::string& pNamespec,
/frameworks/native/cmds/installd/
H A Dsystem_properties.h34 size_t equals_pos = line.find('=');
36 // Did not find equals sign, or it's the first character - isn't a valid line.
52 auto it = properties_.find(key);
/frameworks/rs/
H A Drun_rs_cts.sh20 find $TMP_PATH -name 'testResult.xml' -exec cp {} $RESULTS/ \;
/frameworks/rs/api/
H A DUtilities.cpp80 size_t p = s.find(match);
90 size_t p = s->find(c);
102 size_t lt = in.find('<', start);
110 start = in.find('>', lt + 1);
136 if (set->find(flag) == set->end()) {
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp171 RingBufferItem& find = *it; local
172 if (item.mGraphicBuffer == find.mGraphicBuffer) {
173 find.mPinCount++;
208 RingBufferItem& find = *it; local
210 if (find.mPinCount > 0) {
218 if (find.mTimestamp < accIt->mTimestamp || accIt == end) {
261 BI_LOGW("All buffers pinned, could not find any to release");
334 RingBufferItem& find = *it; local
335 if (item.mGraphicBuffer == find.mGraphicBuffer) {
346 find
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp42 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES);
51 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES);
60 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES);
69 entry = chars.find(ANDROID_CONTROL_AWB_AVAILABLE_MODES);
84 entry = chars.find(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS);
115 entry = chars.find(ANDROID_CONTROL_AVAILABLE_HIGH_SPEED_VIDEO_CONFIGURATIONS);
133 camera_metadata_entry entry = chars.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS);
167 entry = chars.find(ANDROID_SENSOR_OPAQUE_RAW_SIZE);
178 entry = chars.find(ANDROID_CONTROL_POST_RAW_SENSITIVITY_BOOST_RANGE);
193 camera_metadata_entry entry = chars.find(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZ
[all...]
/frameworks/base/libs/hwui/utils/
H A DStringUtils.h30 return find(std::string(str)) != end();
/frameworks/base/tools/layoutlib/rename_font/
H A Dtest.py35 name_tag = root.find('name')
/frameworks/compile/mclinker/lib/MC/
H A DContextFactory.cpp25 LDContext* result = find(pPath);
/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp109 script.directories().find(token->name(), Input::Script);
124 // find out the real path of the namespec.
126 // In the system with shared object support, we can find both archive
130 path = script.directories().find(token->name(), Input::Archive);
132 // otherwise, with --Bdynamic, we can find either an archive or a
134 path = script.directories().find(token->name(), Input::DynObj);
139 path = script.directories().find(token->name(), Input::Archive);
/frameworks/compile/slang/
H A Dslang_diagnostic_buffer.cpp75 if (mIncludedMessages.find(Message) == mIncludedMessages.end()) {

Completed in 603 milliseconds

1234567891011