Searched refs:colIndex (Results 1 – 9 of 9) sorted by relevance
/aosp12/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
H A D | BugStorageUtils.java | 303 int colIndex = c.getColumnIndex(colName); in getInt() local 304 if (colIndex == -1) { in getInt() 308 return c.getInt(colIndex); in getInt() 315 int colIndex = c.getColumnIndex(colName); in getString() local 316 if (colIndex == -1) { in getString() 320 return Strings.nullToEmpty(c.getString(colIndex)); in getString()
|
/aosp12/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | WatchedSparseBooleanMatrix.java | 314 public boolean valueAt(int rowIndex, int colIndex) { in valueAt() argument 315 validateIndex(rowIndex, colIndex); in valueAt() 317 int c = mMap[colIndex]; in valueAt() 339 public void setValueAt(int rowIndex, int colIndex, boolean value) { in setValueAt() argument 340 validateIndex(rowIndex, colIndex); in setValueAt() 342 int c = mMap[colIndex]; in setValueAt()
|
/aosp12/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerEntry.java | 247 int colIndex = cursor.getColumnIndexOrThrow(colName); in getNullableFloat() local 248 if (!cursor.isNull(colIndex)) { in getNullableFloat() 249 retValue = cursor.getFloat(colIndex); in getNullableFloat()
|
/aosp12/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 829 int colIndex = cursor.getColumnIndex(field); in cursorIntToContentValues() local 830 if (!cursor.isNull(colIndex)) { in cursorIntToContentValues() 831 values.put(key, cursor.getInt(colIndex)); in cursorIntToContentValues() 859 int colIndex = cursor.getColumnIndex(field); in cursorLongToContentValues() local 860 if (!cursor.isNull(colIndex)) { in cursorLongToContentValues() 861 Long value = Long.valueOf(cursor.getLong(colIndex)); in cursorLongToContentValues() 890 int colIndex = cursor.getColumnIndex(field); in cursorDoubleToContentValues() local 891 if (!cursor.isNull(colIndex)) { in cursorDoubleToContentValues() 892 values.put(key, cursor.getDouble(colIndex)); in cursorDoubleToContentValues()
|
/aosp12/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | ProxyServer.java | 307 int colIndex = line.indexOf(":"); in shouldRemoveHeaderLine() local 308 if (colIndex != -1) { in shouldRemoveHeaderLine() 309 String headerName = line.substring(0, colIndex).trim(); in shouldRemoveHeaderLine()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | Magnifier.java | 1135 final int colIndex = i % (2 * (mMeshWidth + 1)) / 2; in fillMeshMatrix() local 1136 mMeshLeft[i] = (float) colIndex * mRamp / mMeshWidth; in fillMeshMatrix() 1137 mMeshRight[i] = w - mRamp + colIndex * mRamp / mMeshWidth; in fillMeshMatrix() 1141 final float hl = h0 + dh * colIndex / mMeshWidth; in fillMeshMatrix() 1144 final float hr = h - dh * colIndex / mMeshWidth; in fillMeshMatrix()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
H A D | WatcherTest.java | 1043 int colIndex = b.keyAt(4); in testWatchedSparseBooleanMatrix() local 1044 b.put(rowIndex, colIndex, !b.get(rowIndex, colIndex)); in testWatchedSparseBooleanMatrix() 1050 a.put(rowIndex, colIndex, !a.get(rowIndex, colIndex)); in testWatchedSparseBooleanMatrix()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapContent.java | 1410 int colIndex = c.getColumnIndex(Contacts.DISPLAY_NAME); in getContactNameFromPhone() local 1413 name = c.getString(colIndex); in getContactNameFromPhone() 1515 int colIndex = c.getColumnIndex(Mms.Addr.ADDRESS); in getAddressMms() local 1518 addr = c.getString(colIndex); in getAddressMms()
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 2868 final int colIndex = c.getColumnIndex(columnName); in getRedactedUriCursor() local 2869 if (c.getType(colIndex) == FIELD_TYPE_BLOB) { in getRedactedUriCursor() 2870 row.add(c.getBlob(colIndex)); in getRedactedUriCursor() 2872 row.add(c.getString(colIndex)); in getRedactedUriCursor()
|