Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp63 ResTable table; in TEST() local
64 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
71 ResTable table; in TEST() local
72 table.setParameters(&frenchConfig); in TEST()
74 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
81 … ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config); in TEST()
96 ResTable table; in TEST() local
97 table.setParameters(&expectedConfig); in TEST()
99 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
100 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST()
[all …]
DResTable_test.cpp43 ResTable table; in TEST() local
44 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
48 ResTable table; in TEST() local
49 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
52 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG); in TEST()
57 const ResStringPool* pool = table.getTableStringBlock(block); in TEST()
63 ResTable table; in TEST() local
64 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST()
68 uint32_t resID = table.identifierForName(testName.string(), testName.size(), in TEST()
76 ResTable table; in TEST() local
[all …]
DTheme_test.cpp40 ResTable table; in TEST() local
41 ASSERT_EQ(NO_ERROR, table.add(system_arsc, system_arsc_len)); in TEST()
42 ASSERT_EQ(NO_ERROR, table.add(app_arsc, app_arsc_len)); in TEST()
44 ResTable::Theme theme1(table); in TEST()
/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSectionSymTab.hxx26 for (size_t i = 0; i < table.size(); ++i) { in ~ELFSectionSymTab()
27 delete table[i]; in ~ELFSectionSymTab()
34 for (size_t i = 0; i < table.size(); ++i) { in getFuncCount()
35 if (table[i] && table[i]->isConcreteFunc()) { in getFuncCount()
45 for (size_t i = 0; i < table.size(); ++i) { in getExternFuncCount()
46 if (table[i] && table[i]->isExternFunc()) { in getExternFuncCount()
55 for (size_t i = 0; i < table.size(); ++i) { in buildNameMap()
56 ELFSymbolTy *symbol = table[i]; in buildNameMap()
78 for (size_t i = 0, j = 0; i < table.size() && j < size; ++i) { in getFuncNameList()
79 if (table[i] && table[i]->isConcreteFunc()) { in getFuncNameList()
[all …]
DELFSectionHeaderTable.hxx28 for (size_t i = 0; i < table.size(); ++i) { in ~ELFSectionHeaderTable()
29 delete table[i]; in ~ELFSectionHeaderTable()
64 tab->table.push_back(sh.release()); in read()
79 for (size_t i = 0; i < table.size(); ++i) { in print()
88 for (size_t i = 0; i < table.size(); ++i) { in buildNameMap()
89 ELFSectionHeaderTy *sh = table[i]; in buildNameMap()
103 return table[0]; in getByName()
DELFSectionRelTable.hxx31 for (size_t i = 0; i < table.size(); ++i) { in ~ELFSectionRelTable()
32 delete table[i]; in ~ELFSectionRelTable()
72 rt->table.push_back(ELFRelocTy::readRel(AR, i)); in read()
78 rt->table.push_back(ELFRelocTy::readRela(AR, i)); in read()
99 ELFRelocTy *rel = table[i]; in getMaxNumStubs()
119 ELFRelocTy *rel = table[i]; in getMaxNumStubs()
137 ELFRelocTy *rel = table[i]; in getMaxNumStubs()
/frameworks/base/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java177 final String table, final String key) { in getForUser() argument
179 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM; in getForUser()
180 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE; in getForUser()
181 else if ("global".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_GLOBAL; in getForUser()
184 throw new IllegalArgumentException("Invalid table " + table); in getForUser()
196 … System.err.println("Can't read key " + key + " in " + table + " for user " + userHandle); in getForUser()
202 final String table, final String key, final String value) { in putForUser() argument
204 if ("system".equals(table)) callPutCommand = Settings.CALL_METHOD_PUT_SYSTEM; in putForUser()
205 else if ("secure".equals(table)) callPutCommand = Settings.CALL_METHOD_PUT_SECURE; in putForUser()
206 else if ("global".equals(table)) callPutCommand = Settings.CALL_METHOD_PUT_GLOBAL; in putForUser()
[all …]
/frameworks/base/docs/html/design/style/
Dwriting.jd24 <table class="ui-table good"><tbody><tr><td>
26 </td></tr></tbody></table>
33 <table class="ui-table good"><tbody><tr><td>
35 </td></tr></tbody></table>
47 <table class="ui-table bad">
64 </table>
71 <table class="ui-table good">
87 </table>
108 <table class="ui-table good"><tbody><tr><td>
110 </td></tr></tbody></table>
[all …]
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.cpp40 SkImageDecoder::PrefConfigTable table; in peek() local
41 table.fPrefFor_8Index_NoAlpha_src = SkBitmap::kIndex8_Config; in peek()
42 table.fPrefFor_8Index_YesAlpha_src = SkBitmap::kIndex8_Config; in peek()
43 table.fPrefFor_8Gray_src = SkBitmap::kARGB_8888_Config; in peek()
44 table.fPrefFor_8bpc_NoAlpha_src = SkBitmap::kARGB_8888_Config; in peek()
45 table.fPrefFor_8bpc_YesAlpha_src = SkBitmap::kARGB_8888_Config; in peek()
47 mHost->setPrefConfigTable(table); in peek()
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp64 const char *id_to_string(XAuint32 id, const id_to_string_t *table, size_t numEntries) in id_to_string() argument
68 if (id == table[i].id) { in id_to_string()
69 return table[i].string; in id_to_string()
83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, in id_pair_to_string() argument
88 if (id1 == table[i].id1) { in id_pair_to_string()
89 return id_to_string(id2, table[i].id2_table, table[i].id2_numEntries); in id_pair_to_string()
148 static const id_pair_to_string_t table[] = { in videoProfileToString() local
155 return id_pair_to_string(codec, profile, table, sizeof(table) / sizeof(table[0])); in videoProfileToString()
212 static const id_pair_to_string_t table[] = { in videoLevelToString() local
219 return id_pair_to_string(codec, level, table, sizeof(table) / sizeof(table[0])); in videoLevelToString()
/frameworks/base/core/java/com/android/internal/content/
DSelectionBuilder.java99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { in query() argument
100 return query(db, table, columns, null, null, orderBy, null); in query()
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, in query() argument
108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having, in query()
115 public int update(SQLiteDatabase db, String table, ContentValues values) { in update() argument
116 return db.update(table, values, getSelection(), getSelectionArgs()); in update()
122 public int delete(SQLiteDatabase db, String table) { in delete() argument
123 return db.delete(table, getSelection(), getSelectionArgs()); in delete()
/frameworks/base/tools/preload/
Dsorttable.js34 forEach(document.getElementsByTagName('table'), function(table) { argument
35 if (table.className.search(/\bsortable\b/) != -1) {
36 sorttable.makeSortable(table);
42 makeSortable: function(table) { argument
43 if (table.getElementsByTagName('thead').length == 0) {
47 the.appendChild(table.rows[0]);
48 table.insertBefore(the,table.firstChild);
51 if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
53 if (table.tHead.rows.length != 1) return; // can't cope with two header rows
60 for (var i=0; i<table.rows.length; i++) {
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java173 public String table; field in SettingsProvider.SqlArguments
181 this.table = url.getPathSegments().get(0); in SqlArguments()
182 if (!DatabaseHelper.isValidTable(this.table)) { in SqlArguments()
183 throw new IllegalArgumentException("Bad root path: " + this.table); in SqlArguments()
193 this.table = url.getPathSegments().get(0); in SqlArguments()
194 if (!DatabaseHelper.isValidTable(this.table)) { in SqlArguments()
195 throw new IllegalArgumentException("Bad root path: " + this.table); in SqlArguments()
197 if (TABLE_SYSTEM.equals(this.table) || TABLE_SECURE.equals(this.table) || in SqlArguments()
198 TABLE_GLOBAL.equals(this.table)) { in SqlArguments()
203 if (TABLE_SYSTEM.equals(this.table) || TABLE_SECURE.equals(this.table)) { in SqlArguments()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp_lsf.cpp111 extern const Word16 table[];
231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >> 8; in Lsf_lsp()
232 lsp[i] = add(table[ind], (Word16) L_tmp, pOverflow); in Lsf_lsp()
367 while (table[ind] < temp) in Lsp_lsf()
375 L_tmp = (Word32)(temp - table[ind]) * slope[ind]; in Lsp_lsf()
/frameworks/base/graphics/java/android/graphics/
DTableMaskFilter.java24 public TableMaskFilter(byte[] table) { in TableMaskFilter() argument
25 if (table.length < 256) { in TableMaskFilter()
28 native_instance = nativeNewTable(table); in TableMaskFilter()
43 private static native long nativeNewTable(byte[] table); in nativeNewTable() argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Disp_isf.c49 while (table[ind] < isp[i]) in Isp_isf()
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]); in Isp_isf()
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset); in Isf_isp()
83 isp[i] = add1(table[ind], (Word16)((L_tmp >> 8))); in Isf_isp()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disp_isf.cpp111 static const int16 table[129] = variable
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset); in Isf_isp()
171 isp[i] = add_int16(table[ind], (int16)(L_tmp >> 8)); in Isf_isp()
/frameworks/rs/cpu_ref/linkloader/include/
DELFSectionRelTable.h32 std::vector<ELFRelocTy *> table;
46 return table.size(); in size()
50 return table[index];
54 return table[index];
DELFSectionSymTab.h33 std::vector<ELFSymbolTy *> table;
49 return table.size(); in size()
53 return table[index];
57 return table[index];
DELFSectionHeaderTable.h33 std::vector<ELFSectionHeaderTy *> table;
47 return table[i];
51 return table[i];
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java935 public void markTableSyncable(String table, String deletedTable) { in markTableSyncable() argument
951 public void markTableSyncable(String table, String foreignKey, String updateTable) { in markTableSyncable() argument
1031 public Cursor query(boolean distinct, String table, String[] columns, in query() argument
1034 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query()
1072 public Cursor query(boolean distinct, String table, String[] columns, in query() argument
1075 return queryWithFactory(null, distinct, table, columns, selection, selectionArgs, in query()
1112 boolean distinct, String table, String[] columns, in queryWithFactory() argument
1115 return queryWithFactory(cursorFactory, distinct, table, columns, selection, in queryWithFactory()
1155 boolean distinct, String table, String[] columns, in queryWithFactory() argument
1161 distinct, table, columns, selection, groupBy, having, orderBy, limit); in queryWithFactory()
[all …]
/frameworks/base/docs/html/google/play/billing/
Dbilling_reference.jd34 <p>The following table lists all of the server response codes that are sent from Google Play to you…
36 <p class="table-caption" id="response-codes-table">
38 <table>
89 </table>
95 … JSON format. The fields in the JSON string with the product details are summarized in table 2.</p>
97 <p class="table-caption" id="product-details-table">
99 <table>
139 </table>
143 …hase order. The data that is returned in the response {@code Intent} is summarized in table 3.</p>
145 <p class="table-caption" id="purchase-pendingintent-response-table">
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DAddColumn.java17 package android.widget.layout.table;
41 final TableLayout table = (TableLayout) findViewById(R.id.table); in onCreate()
49 table.addView(newRow, new TableLayout.LayoutParams()); in onCreate()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java879 for (int table = 0; table <= maxSingleShiftCode; table++) {
880 if (lpc.septetCounts[table] != -1) {
881 int shiftTableIndex = sCharsToShiftTables[table].get(c, -1);
885 lpc.septetCounts[table]++;
886 lpc.unencodableCounts[table]++;
889 lpc.septetCounts[table] = -1;
893 lpc.septetCounts[table] += 2;
899 for (int table = 0; table <= maxSingleShiftCode; table++) {
900 if (lpc.septetCounts[table] != -1) {
901 lpc.septetCounts[table]++;
[all …]
/frameworks/base/docs/html/training/search/
Dsearch.jd28 application. This lesson shows you how to create a SQLite virtual table that can provide robust
29 full-text searching. The table is populated with data from a text file that contains a word and
34 <p>A virtual table behaves similarly to a SQLite table, but reads and writes to an object in
35 memory via callbacks, instead of to a database file. To create a virtual table, create a class
36 for the table:</p>
49 defines abstract methods that you must override so that your database table can be created and
50 upgraded when necessary. For example, here is some code that declares a database table that will
57 //The columns we'll include in the dictionary table
106 <p>The table now needs data to store. The following code shows you how to read a text file
108 to parse that file, and how to insert each line of that file as a row in the virtual table. This
[all …]

12345678910>>...14