/cts/tests/tests/content/src/android/content/res/cts/ |
D | FontScaleConverterTest.kt | 39 val table = FontScaleConverter.forScale(2F)!! in scale200IsTwiceAtSmallSizes() constant 40 assertThat(table.convertSpToDp(1F)).isWithin(CONVERSION_TOLERANCE).of(2f) in scale200IsTwiceAtSmallSizes() 41 assertThat(table.convertSpToDp(8F)).isWithin(CONVERSION_TOLERANCE).of(16f) in scale200IsTwiceAtSmallSizes() 42 assertThat(table.convertSpToDp(10F)).isWithin(CONVERSION_TOLERANCE).of(20f) in scale200IsTwiceAtSmallSizes() 43 assertThat(table.convertSpToDp(5F)).isWithin(CONVERSION_TOLERANCE).of(10f) in scale200IsTwiceAtSmallSizes() 44 assertThat(table.convertSpToDp(0F)).isWithin(CONVERSION_TOLERANCE).of(0f) in scale200IsTwiceAtSmallSizes() 50 val table = FontScaleConverter.forScale(2F)!! in scale200IsNonlinearAtLargeSizes() constant 51 assertThat(table.convertSpToDp(24F)).isAtMost(36F) in scale200IsNonlinearAtLargeSizes() 52 assertThat(table.convertSpToDp(30F)).isAtMost(38F) in scale200IsNonlinearAtLargeSizes() 53 assertThat(table.convertSpToDp(45F)).isAtMost(50F) in scale200IsNonlinearAtLargeSizes() [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Database.java | 49 for (Table table : getTables()) { in Database() 50 db.execSQL(table.createTableSql()); in Database() 88 public Cursor query(String table, String[] projection, String selection, String[] selectionArgs, in query() argument 91 .query(table, projection, selection, selectionArgs, null /* groupBy */, in query() 103 public long insert(String table, ContentValues values) { in insert() argument 104 return mHelper.getWritableDatabase().insert(table, null /* nullColumnHack */, values); in insert() 118 public int delete(String table, String selection, String[] selectionArgs) { in delete() argument 119 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs); in delete() 134 public int update(String table, ContentValues values, String selection, in update() argument 136 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs); in update()
|
/cts/apps/CtsVerifier/assets/report/ |
D | compatibility_result.css | 25 table.title { 33 table.summary { 41 table.summary th { 47 table.summary td { 54 table.testsummary { 61 table.testsummary th { 67 table.testsummary td { 73 table.testdetails { 85 table.testdetails th { 92 table.testdetails td { [all …]
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteFtsTest.java | 104 private void prepareFtsTable(String table, String ftsType, String options) in prepareFtsTable() argument 107 "CREATE VIRTUAL TABLE " + table + " USING " + ftsType in prepareFtsTable() 115 mDatabase.insert(table, null, values); in prepareFtsTable() 119 private Cursor queryFtsTable(String table, String match) { in queryFtsTable() argument 120 return mDatabase.query(table, new String[] { "snippet(" + table + ")" }, in queryFtsTable()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | GridLayoutTest.java | 213 View[][] table = new View[N + 1][M + 1]; in populate() local 231 table[row][0] = v; in populate() 242 table[0][col] = v; in populate() 256 table[row][col] = v; in populate() 259 return table; in populate() 271 private void verifyGridAlignment(GridLayout p, View[][] table) { in verifyGridAlignment() argument 281 View v0 = table[0][col]; in verifyGridAlignment() 285 verifyCellAlignment(row, col, alignment, v0, table[row][col], "column"); in verifyGridAlignment() 292 View v0 = table[row][0]; in verifyGridAlignment() 296 verifyCellAlignment(row, col, alignment, v0, table[row][col], "row"); in verifyGridAlignment() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 95 Map<String, IntentFlag> table, String name) throws JSONException { in fromJson() argument 96 return new TestCase(Setup.fromJson(object.getJSONObject(SETUP_KEY), table), in fromJson() 154 Map<String, IntentFlag> table) throws JSONException { in fromJson() argument 156 object.getJSONArray(INITIAL_INTENT_KEY), table); in fromJson() 157 List<GenerationIntent> act = intentsFromJson(object.getJSONArray(ACT_KEY), table); in fromJson() 174 Map<String, IntentFlag> table) throws JSONException { in intentsFromJson() argument 179 GenerationIntent intent = GenerationIntent.fromJson(object, table); in intentsFromJson() 210 static GenerationIntent fromJson(JSONObject object, Map<String, IntentFlag> table) in fromJson() argument 213 return LaunchFromIntent.fromJson(object, table); in fromJson() 215 return LaunchIntent.fromJson(object, table); in fromJson() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2021_0341.java | 59 private Hashtable table; field in CVE_2021_0341_SSLSession 139 Object obj1 = table.put(s, obj); in putValue() 152 Object obj = table.remove(s); in removeValue() 161 return table.get(s); in getValue() 166 Enumeration enumeration = table.keys(); in getValueNames()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 222 String table; in insert() local 235 table = "TestTable1"; in insert() 239 table = "TestTable2"; in insert() 247 rowID = db.insert(table, "key", values); in insert()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | luts_for_speedup_f32.rsh | 10 // A lookup table that heuristically computes the probability that a layer with 62 // A lookup table that pre-computes x coordinate of the intersection between a
|
D | layered_filter_f32_helper.rsh | 76 // Gets the visibility probability lookup table for the target layer depth.
|
D | layered_filter_fast_f32.rscript | 4 // This is a speedup version of layered_filter_f32.rs using summation table. 259 // Gets the visibility probability lookup table for the target layer depth.
|
D | layered_filter_d1new_helper.rsh | 136 // Gets the visibility probability lookup table for the target layer depth.
|
D | layered_filter_fast_d1new.rscript | 4 // This is a speedup version of layered_filter_f32.rs using summation table. 347 // Gets the visibility probability lookup table for the target layer depth.
|
/cts/tests/tests/provider/src/android/provider/cts/settings/ |
D | SettingsTest.java | 172 private void tryBadTableAccess(String table, String goodtable, String name) { in tryBadTableAccess() argument 175 Uri uri = Uri.parse("content://settings/" + table); in tryBadTableAccess()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 1257 TableLayout table = new TableLayout(ctx); in onCreate() local 1264 table.setLayoutParams(fill); in onCreate() 1265 table.setStretchAllColumns(true); in onCreate() 1273 table.addView(row, fillTable); in onCreate() 1275 setContentView(table); in onCreate()
|
/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
D | TestUtils.java | 559 private static <T> List<T> frequencyTableToValues(Map<T, Integer> table) { in frequencyTableToValues() argument 560 if (table.isEmpty()) { in frequencyTableToValues() 566 for (Map.Entry<T, Integer> entry : table.entrySet()) { in frequencyTableToValues()
|
/cts/tools/release-parser/proto/ |
D | release.proto | 237 // The lookup table offset in the oat file. Set in WriteTypeLookupTables.
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 3012 for (int[][] table : tables) { in validityCheckConfigurationTables() 3014 for (int[] row : table) { in validityCheckConfigurationTables()
|