Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mp4/
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()
166 if (mSampleToChunkIndex == mTable->mNumSampleToChunkOffsets) { in findChunkRange()
173 &mTable->mSampleToChunkEntries[mSampleToChunkIndex]; in findChunkRange()
179 if (mSampleToChunkIndex + 1 < mTable->mNumSampleToChunkOffsets) { in findChunkRange()
206 if (chunk >= mTable->mNumChunkOffsets) { in getChunkOffset()
[all …]
DSampleIterator.h48 SampleTable *mTable;
/frameworks/av/include/media/
DTypeConverter.h122 static const Table mTable[]; variable
128 for (size_t i = 0; mTable[i].literal; i++) { in toString()
129 if (mTable[i].value == value) { in toString()
130 str = mTable[i].literal; in toString()
143 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
144 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
145 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
146 result = mTable[i].value; in fromString()
189 for (size_t i = 0; mTable[i].literal; i++) { in maskToString()
190 uint32_t value = static_cast<uint32_t>(mTable[i].value); in maskToString()
[all …]
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h122 static const Table mTable[]; variable
128 for (size_t i = 0; mTable[i].literal; i++) { in toString()
129 if (mTable[i].value == value) { in toString()
130 str = mTable[i].literal; in toString()
143 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
144 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
145 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
146 result = mTable[i].value; in fromString()
189 for (size_t i = 0; mTable[i].literal; i++) { in maskToString()
190 uint32_t value = static_cast<uint32_t>(mTable[i].value); in maskToString()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java74 private int[] mTable; field in SparseMappingTable.Table
89 mTable = null; in copyFrom()
125 return mTable[idx]; in getOrAddKey()
150 mTable = GrowingArrayUtils.insert(mTable != null ? mTable : EmptyArray.INT, in getOrAddKey()
168 return mTable[idx]; in getKey()
228 final int key = mTable[idx]; in getValueForId()
298 mTable = null; in resetTable()
315 out.writeInt(mTable[i]); in writeToParcel()
328 mTable = new int[mSize]; in readFromParcel()
330 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/av/services/audiopolicy/common/managerdefinitions/include/
DTypeConverter.h37 const DeviceCategoryConverter::Table DeviceCategoryConverter::mTable[];
39 const MixTypeConverter::Table MixTypeConverter::mTable[];
41 const RouteFlagTypeConverter::Table RouteFlagTypeConverter::mTable[];
43 const RuleTypeConverter::Table RuleTypeConverter::mTable[];
/frameworks/native/cmds/lshal/
DTextTable.h61 void add() { mTable.emplace_back(); } in add()
64 mTable.emplace_back(std::move(v)); in add()
66 void add(const std::string& s) { mTable.emplace_back(s); } in add()
67 void add(std::string&& s) { mTable.emplace_back(std::move(s)); } in add()
78 std::vector<TextTableRow> mTable; variable
DTextTable.cpp36 for (const auto& row : mTable) { in dump()
57 for (auto&& row : other.mTable) { in addAll()
62 mTable.emplace_back(std::move(row)); in addAll()
/frameworks/av/media/libmedia/
DTypeConverter.cpp25 const OutputDeviceConverter::Table OutputDeviceConverter::mTable[] = { member in android::OutputDeviceConverter
67 const InputDeviceConverter::Table InputDeviceConverter::mTable[] = { member in android::InputDeviceConverter
107 const OutputFlagConverter::Table OutputFlagConverter::mTable[] = { member in android::OutputFlagConverter
129 const InputFlagConverter::Table InputFlagConverter::mTable[] = { member in android::InputFlagConverter
144 const FormatConverter::Table FormatConverter::mTable[] = { member in android::FormatConverter
226 const OutputChannelConverter::Table OutputChannelConverter::mTable[] = { member in android::OutputChannelConverter
262 const InputChannelConverter::Table InputChannelConverter::mTable[] = { member in android::InputChannelConverter
279 const ChannelIndexConverter::Table ChannelIndexConverter::mTable[] = { member in android::ChannelIndexConverter
293 const GainModeConverter::Table GainModeConverter::mTable[] = { member in android::GainModeConverter
302 const StreamTypeConverter::Table StreamTypeConverter::mTable[] = { member in android::StreamTypeConverter
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DTypeConverter.cpp27 const DeviceCategoryConverter::Table DeviceCategoryConverter::mTable[] = { member in android::DeviceCategoryConverter
37 const MixTypeConverter::Table MixTypeConverter::mTable[] = { member in android::MixTypeConverter
45 const RouteFlagTypeConverter::Table RouteFlagTypeConverter::mTable[] = { member in android::RouteFlagTypeConverter
54 const RuleTypeConverter::Table RuleTypeConverter::mTable[] = { member in android::RuleTypeConverter
/frameworks/av/media/libstagefright/foundation/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/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java110 String mTable = null; field in SettingsService.MyShellCommand
161 } else if (mTable == null) { in onCommand()
168 mTable = arg.toLowerCase(); in onCommand()
274 pout.println(getForUser(iprovider, mUser, mTable, mKey)); in onCommand()
277 putForUser(iprovider, mUser, mTable, mKey, mValue, mTag, mMakeDefault); in onCommand()
281 + deleteForUser(iprovider, mUser, mTable, mKey) + " rows"); in onCommand()
284 for (String line : listForUser(iprovider, mUser, mTable)) { in onCommand()
289 resetForUser(iprovider, mUser, mTable, mTag); in onCommand()
/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp383 :mTable(table), in Message()
397 for (auto iter = mTable->mFields.begin(); iter != mTable->mFields.end(); iter++) { in addSubMessage()
409 if (mTable->mFields.find(name) != mTable->mFields.end()) { in insertField()
417 return mTable->insertField(proto, name, value); in insertField()
442 uint64_t fieldId = mTable->mFields[name]; in startSession()
Dih_util.h195 Table* mTable;
/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/services/core/java/com/android/server/content/
DSyncManager.java3979 private ArrayList<String[]> mTable = Lists.newArrayList(); field in SyncManager.PrintTable
3991 for (int i = mTable.size(); i <= row; i++) { in set()
3993 mTable.add(list); in set()
3998 final String[] rowArray = mTable.get(row); in set()
4010 for (Object[] row : mTable) { in writeTo()
4020 printRow(out, formats, mTable.get(0)); in writeTo()
4026 for (int i = 1, mTableSize = mTable.size(); i < mTableSize; i++) { in writeTo()
4027 Object[] row = mTable.get(i); in writeTo()
4041 return mTable.size(); in getNumRows()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1868 inline const ResTable& getResTable() const { return mTable; } in getResTable()
1934 const ResTable& mTable; variable
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3638 : mTable(table) in Theme()
3688 mTable.lock(); in applyStyle()
3689 const ssize_t N = mTable.getBagLocked(resID, &bag, &bagTypeSpecFlags); in applyStyle()
3694 mTable.unlock(); in applyStyle()
3715 const ssize_t pidx = mTable.getResourcePackageIndex(attrRes); in applyStyle()
3740 PackageGroup* const grp = mTable.mPackageGroups[curPackageIndex]; in applyStyle()
3774 mTable.unlock(); in applyStyle()
3792 if (&mTable == &other.mTable) { in setTo()
3861 const ssize_t p = mTable.getResourcePackageIndex(resID); in getAttribute()
3936 return mTable.resolveReference(inOutValue, blockIndex, outLastRef, in resolveAttributeReference()