Home
last modified time | relevance | path

Searched refs:mTable (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/
DSampleIterator.cpp34 : mTable(table), in SampleIterator()
57 if (sampleIndex >= mTable->mNumSampleSizes) { in seekTo()
61 if (mTable->mSampleToChunkOffset < 0 in seekTo()
62 || mTable->mChunkOffsetOffset < 0 in seekTo()
63 || mTable->mSampleSizeOffset < 0 in seekTo()
64 || mTable->mTimeToSampleCount == 0) { in seekTo()
158 if (mSampleToChunkIndex == mTable->mNumSampleToChunkOffsets) { in findChunkRange()
165 &mTable->mSampleToChunkEntries[mSampleToChunkIndex]; in findChunkRange()
171 if (mSampleToChunkIndex + 1 < mTable->mNumSampleToChunkOffsets) { in findChunkRange()
198 if (chunk >= mTable->mNumChunkOffsets) { in getChunkOffset()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DTypeConverter.cpp24 const DeviceConverter::Table DeviceConverter::mTable[] = { member in android::DeviceConverter
82 const size_t DeviceConverter::mSize = sizeof(DeviceConverter::mTable) /
83 sizeof(DeviceConverter::mTable[0]);
87 const OutputFlagConverter::Table OutputFlagConverter::mTable[] = { member in android::OutputFlagConverter
100 const size_t OutputFlagConverter::mSize = sizeof(OutputFlagConverter::mTable) /
101 sizeof(OutputFlagConverter::mTable[0]);
105 const InputFlagConverter::Table InputFlagConverter::mTable[] = { member in android::InputFlagConverter
112 const size_t InputFlagConverter::mSize = sizeof(InputFlagConverter::mTable) /
113 sizeof(InputFlagConverter::mTable[0]);
117 const FormatConverter::Table FormatConverter::mTable[] = { member in android::FormatConverter
[all …]
/frameworks/base/tools/aapt2/
DResourceParser_test.cpp43 ResourceTable mTable; member
58 ResourceParser parser(mContext->getDiagnostics(), &mTable, Source{ "test" }, config, in testParse()
72 String* str = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
81 String* str = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
100 String* str = test::getValue<String>(&mTable, u"@string/foo"); in TEST_F()
113 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F()
123 BinaryPrimitive* integer = test::getValue<BinaryPrimitive>(&mTable, u"@integer/foo"); in TEST_F()
134 Attribute* attr = test::getValue<Attribute>(&mTable, u"@attr/foo"); in TEST_F()
138 attr = test::getValue<Attribute>(&mTable, u"@attr/bar"); in TEST_F()
154 EXPECT_EQ(nullptr, test::getValueForConfig<Attribute>(&mTable, u"@attr/foo", watchConfig)); in TEST_F()
[all …]
DResourceParser.cpp127 mDiag(diag), mTable(table), mSource(source), mConfig(config), mOptions(options) { in ResourceParser()
286 if (!addResourcesToTable(mTable, mDiag, &parsedResource)) { in parseResources()
293 if (!mTable->findResource(strippedResource)) { in parseResources()
492 mTable->stringPool.makeRef(styleString, StringPool::Context{ 1, mConfig })); in parseXml()
499 mTable->addResource(name, {}, {}, std::move(id), mDiag); in parseXml()
517 mTable->stringPool.makeRef(styleString.str, StringPool::Context{ 1, mConfig })); in parseXml()
523 mTable->stringPool.makeRef(rawValue, StringPool::Context{ 1, mConfig })); in parseXml()
DResourceParser.h103 ResourceTable* mTable; variable
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java73 private int[] mTable; field in SparseMappingTable.Table
88 mTable = null; in copyFrom()
124 return mTable[idx]; in getOrAddKey()
149 mTable = GrowingArrayUtils.insert(mTable != null ? mTable : EmptyArray.INT, in getOrAddKey()
167 return mTable[idx]; in getKey()
229 final int key = mTable[idx]; in getValueForId()
299 mTable = null; in resetTable()
316 out.writeInt(mTable[i]); in writeToParcel()
329 mTable = new int[mSize]; in readFromParcel()
331 mTable[i] = in.readInt(); in readFromParcel()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DAddColumnTest.java35 private TableLayout mTable; field in AddColumnTest
47 mTable = (TableLayout) activity.findViewById(R.id.table); in setUp()
53 assertNotNull(mTable); in testSetUpConditions()
62 TableRow row1 = (TableRow) mTable.getChildAt(0); in testWidths()
63 TableRow row2 = (TableRow) mTable.getChildAt(1); in testWidths()
/frameworks/base/tools/aapt2/test/
DBuilders.h34 std::unique_ptr<ResourceTable> mTable = util::make_unique<ResourceTable>(); variable
40 return &mTable->stringPool; in getStringPool()
44 ResourceTablePackage* package = mTable->createPackage(packageName, id); in setPackageId()
68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str))); in addString()
74 util::make_unique<String>(mTable->stringPool.makeRef(str))); in addString()
84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); in addFileReference()
90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); in addFileReference()
107 bool result = mTable->addResourceAllowMangled(resName, id, config, std::string(), in addValue()
118 bool result = mTable->setSymbolStateAllowMangled(resName, id, symbol, &mDiagnostics); in setSymbolState()
124 return std::move(mTable); in build()
/frameworks/av/include/media/stagefright/foundation/
DALookup.h40 std::vector<std::pair<T, U>> mTable;
45 : mTable(list) { in ALookup()
50 for (auto elem : mTable) { in lookup()
61 for (auto elem : mTable) { in rlookup()
/frameworks/base/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java51 String mTable = null; field in SettingsCmd
99 } else if (mTable == null) { in run()
106 mTable = arg.toLowerCase(); in run()
157 System.out.println(getForUser(provider, mUser, mTable, mKey)); in run()
160 putForUser(provider, mUser, mTable, mKey, mValue); in run()
164 + deleteForUser(provider, mUser, mTable, mKey) + " rows"); in run()
167 for (String line : listForUser(provider, mUser, mTable)) { in run()
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp73 mContext(context), mTable(table), mSource(source), mData(data), mDataLen(len) { in BinaryResourceParser()
128 mTable->stringPool.hintWillAdd(mValuePool.size(), mValuePool.styleCount()); in parseTable()
182 ResourceTablePackage* package = mTable->createPackage(packageName, (uint8_t) packageId); in parsePackage()
256 visitAllValuesInTable(mTable, &visitor); in parsePackage()
355 if (!mTable->addResourceAllowMangled(name, config, {}, std::move(resourceValue), in parseType()
364 if (!mTable->setSymbolStateAllowMangled(name, resId, symbol, in parseType()
406 return util::make_unique<StyledString>(mTable->stringPool.makeRef( in parseValue()
412 return util::make_unique<FileReference>(mTable->stringPool.makeRef( in parseValue()
418 return util::make_unique<String>(mTable->stringPool.makeRef( in parseValue()
DBinaryResourceParser.h92 ResourceTable* mTable; variable
/frameworks/av/media/libeffects/testlibs/
DAudioCoefInterpolator.cpp33 mTable = table; in AudioCoefInterpolator()
63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); in getCoefRecurse()
DAudioCoefInterpolator.h72 const audio_coef_t * mTable; variable
/frameworks/base/tools/aapt2/process/
DSymbolTable.h139 explicit ResourceTableSymbolSource(ResourceTable* table) : mTable(table) { in ResourceTableSymbolSource()
149 ResourceTable* mTable;
DSymbolTable.cpp105 Maybe<ResourceTable::SearchResult> result = mTable->findResource(name); in findByName()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.h91 ResourceTable* mTable; variable
DJavaClassGenerator.cpp39 mContext(context), mTable(table), mOptions(options) { in JavaClassGenerator()
502 for (const auto& package : mTable->packages) { in generate()
/frameworks/av/media/libstagefright/include/
DSampleIterator.h43 SampleTable *mTable;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DTypeConverter.h119 static const Table mTable[]; variable
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3193 private ArrayList<Object[]> mTable = Lists.newArrayList(); field in SyncManager.PrintTable
3205 for (int i = mTable.size(); i <= row; i++) { in set()
3207 mTable.add(list); in set()
3212 System.arraycopy(values, 0, mTable.get(row), col, values.length); in set()
3220 for (Object[] row : mTable) { in writeTo()
3230 printRow(out, formats, mTable.get(0)); in writeTo()
3236 for (int i = 1, mTableSize = mTable.size(); i < mTableSize; i++) { in writeTo()
3237 Object[] row = mTable.get(i); in writeTo()
3251 return mTable.size(); in getNumRows()
/frameworks/base/include/androidfw/
DResourceTypes.h1676 inline const ResTable& getResTable() const { return mTable; } in getResTable()
1742 const ResTable& mTable; variable
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3305 : mTable(table) in Theme()
3355 mTable.lock(); in applyStyle()
3356 const ssize_t N = mTable.getBagLocked(resID, &bag, &bagTypeSpecFlags); in applyStyle()
3361 mTable.unlock(); in applyStyle()
3382 const ssize_t pidx = mTable.getResourcePackageIndex(attrRes); in applyStyle()
3407 PackageGroup* const grp = mTable.mPackageGroups[curPackageIndex]; in applyStyle()
3440 mTable.unlock(); in applyStyle()
3458 if (&mTable == &other.mTable) { in setTo()
3527 const ssize_t p = mTable.getResourcePackageIndex(resID); in getAttribute()
3601 return mTable.resolveReference(inOutValue, blockIndex, outLastRef, in resolveAttributeReference()