/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 175 private String[] where = new String[SIZE]; field in NewDatabasePerformanceTests.Select100 194 where[i] = "b >= " + lower + " AND b < " + upper; in setUp() 201 .query("t1", COLUMNS, where[i], null, null, null, null); in testRun() 214 private String[] where = new String[SIZE]; field in NewDatabasePerformanceTests.SelectStringComparison100 231 where[i] = "c LIKE '" + numberName(i) + "'"; in setUp() 238 .query("t1", COLUMNS, where[i], null, null, null, null); in testRun() 251 private String[] where = new String[SIZE]; field in NewDatabasePerformanceTests.SelectIndex100 271 where[i] = "b >= " + lower + " AND b < " + upper; in setUp() 278 .query("t1", COLUMNS, where[i], null, null, null, null); in testRun() 406 private String[] where = new String[SIZE]; field in NewDatabasePerformanceTests.SelectSubQIndex100 [all …]
|
D | DatabasePerformanceTests.java | 268 private String[] where = new String[SIZE]; field in DatabasePerformanceTests.Perf3Test 287 where[i] = "b >= " + lower + " AND b < " + upper; in setUp() 295 .query("t1", COLUMNS, where[i], null, null, null, null); in run() 308 private String[] where = new String[SIZE]; field in DatabasePerformanceTests.Perf4Test 325 where[i] = "c LIKE '" + numberName(i) + "'"; in setUp() 333 .query("t1", COLUMNS, where[i], null, null, null, null); in run() 346 private String[] where = new String[SIZE]; field in DatabasePerformanceTests.Perf5Test 366 where[i] = "b >= " + lower + " AND b < " + upper; in setUp() 374 .query("t1", COLUMNS, where[i], null, null, null, null); in run() 505 private String[] where = new String[SIZE]; field in DatabasePerformanceTests.Perf9Test [all …]
|
/frameworks/base/core/java/android/text/ |
D | PackedIntVector.java | 291 private final void moveValueGapTo(int column, int where) { in moveValueGapTo() argument 296 if (where == valuegap[column]) { in moveValueGapTo() 298 } else if (where > valuegap[column]) { in moveValueGapTo() 299 for (int i = valuegap[column]; i < where; i++) { in moveValueGapTo() 303 for (int i = where; i < valuegap[column]; i++) { in moveValueGapTo() 308 valuegap[column] = where; in moveValueGapTo() 314 private final void moveRowGapTo(int where) { in moveRowGapTo() argument 315 if (where == mRowGapStart) { in moveRowGapTo() 317 } else if (where > mRowGapStart) { in moveRowGapTo() 318 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); in moveRowGapTo() [all …]
|
D | DynamicLayout.java | 193 private void reflow(CharSequence s, int where, int before, int after) { in reflow() argument 202 int find = TextUtils.lastIndexOf(text, '\n', where - 1); in reflow() 209 int diff = where - find; in reflow() 212 where -= diff; in reflow() 217 int look = TextUtils.indexOf(text, '\n', where + after); in reflow() 223 int change = look - (where + after); in reflow() 236 Object[] force = sp.getSpans(where, where + after, in reflow() 243 if (st < where) { in reflow() 246 int diff = where - st; in reflow() 249 where -= diff; in reflow() [all …]
|
D | PackedObjectVector.java | 128 moveRowGapTo(int where) in moveRowGapTo() argument 130 if (where == mRowGapStart) in moveRowGapTo() 133 if (where > mRowGapStart) in moveRowGapTo() 135 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); in moveRowGapTo() 151 int moving = mRowGapStart - where; in moveRowGapTo() 153 for (int i = where + moving - 1; i >= where; i--) in moveRowGapTo() 155 int destrow = i - where + mRowGapStart + mRowGapLength - moving; in moveRowGapTo() 166 mRowGapStart = where; in moveRowGapTo()
|
D | Selection.java | 348 int where = findEdge(text, layout, -1); in extendToLeftEdge() local 349 extendSelection(text, where); in extendToLeftEdge() 354 int where = findEdge(text, layout, 1); in extendToRightEdge() local 355 extendSelection(text, where); in extendToRightEdge() 360 int where = findEdge(text, layout, -1); in moveToLeftEdge() local 361 setSelection(text, where); in moveToLeftEdge() 366 int where = findEdge(text, layout, 1); in moveToRightEdge() local 367 setSelection(text, where); in moveToRightEdge()
|
D | SpannableStringBuilder.java | 119 public char charAt(int where) { in charAt() argument 121 if (where < 0) { in charAt() 122 throw new IndexOutOfBoundsException("charAt: " + where + " < 0"); in charAt() 123 } else if (where >= len) { in charAt() 124 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); in charAt() 127 if (where >= mGapStart) in charAt() 128 return mText[where + mGapLength]; in charAt() 130 return mText[where]; in charAt() 167 private void moveGapTo(int where) { in moveGapTo() argument 168 if (where == mGapStart) in moveGapTo() [all …]
|
D | Editable.java | 64 public Editable insert(int where, CharSequence text, int start, int end); in insert() argument 70 public Editable insert(int where, CharSequence text); in insert() argument
|
D | TextUtils.java | 849 int where = indexOf(tb, sources[i]); in replace() local 851 if (where >= 0) in replace() 852 tb.setSpan(sources[i], where, where + sources[i].length(), in replace() 1068 float avail, TruncateAt where) { in ellipsize() argument 1069 return ellipsize(text, p, avail, where, false, null); in ellipsize() 1086 float avail, TruncateAt where, in ellipsize() argument 1089 return ellipsize(text, paint, avail, where, preserveLength, callback, in ellipsize() 1091 (where == TruncateAt.END_SMALL) ? ELLIPSIS_TWO_DOTS_STRING : ELLIPSIS_STRING); in ellipsize() 1109 float avail, TruncateAt where, in ellipsize() argument 1137 } else if (where == TruncateAt.START) { in ellipsize() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { in activityFinished() argument 88 finishWithResult(resultCode, data, where); in activityFinished() 113 RuntimeException where = new RuntimeException("Original error was here"); in finishWithResult() local 114 where.fillInStackTrace(); in finishWithResult() 115 finishWithResult(resultCode, data, where); in finishWithResult() 118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() argument 123 mResultStack = where; in finishWithResult()
|
D | LaunchpadActivity.java | 70 RuntimeException where); in activityFinished() argument 377 private void checkLifecycle(String where) { in checkLifecycle() argument 381 finishBad("Activity lifecycle incorrect: received " + where in checkLifecycle() 386 if (!mExpectedLifecycle[mNextLifecycle].equals(where)) { in checkLifecycle() 387 finishBad("Activity lifecycle incorrect: received " + where in checkLifecycle() 402 if (where.equals(ON_DESTROY)) { in checkLifecycle() 403 finishBad("Activity lifecycle incorrect: received " + where in checkLifecycle()
|
D | LocalProvider.java | 130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument 159 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 202 boolean distinct, String tables, String[] columns, String where, in buildQueryString() argument 225 appendClause(query, " WHERE ", where); in buildQueryString() 438 StringBuilder where = new StringBuilder(); in buildQuery() local 442 where.append(mWhereClause.toString()); in buildQuery() 443 where.append(')'); in buildQuery() 449 where.append(" AND "); in buildQuery() 452 where.append('('); in buildQuery() 453 where.append(selection); in buildQuery() 454 where.append(')'); in buildQuery() 458 mDistinct, mTables, projection, where.toString(), in buildQuery()
|
D | SqliteWrapper.java | 77 ContentValues values, String where, String[] selectionArgs) { in update() argument 79 return resolver.update(uri, values, where, selectionArgs); in update() 88 String where, String[] selectionArgs) { in delete() argument 90 return resolver.delete(uri, where, selectionArgs); in delete()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 214 String where = null; in parseDeleteCommand() local 221 where = argumentValueRequired(argument); in parseDeleteCommand() 230 return new DeleteCommand(uri, userId, where); in parseDeleteCommand() 236 String where = null; in parseUpdateCommand() local 244 where = argumentValueRequired(argument); in parseUpdateCommand() 259 return new UpdateCommand(uri, userId, values, where); in parseUpdateCommand() 318 String where = null; in parseQueryCommand() local 325 where = argumentValueRequired(argument); in parseQueryCommand() 338 return new QueryCommand(uri, userId, projection, where, sort); in parseQueryCommand() 466 public DeleteCommand(Uri uri, int userId, String where) { in DeleteCommand() argument [all …]
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | SqliteWrapper.java | 89 ContentValues values, String where, String[] selectionArgs) { in update() argument 91 return resolver.update(uri, values, where, selectionArgs); in update() 100 String where, String[] selectionArgs) { in delete() argument 102 return resolver.delete(uri, where, selectionArgs); in delete()
|
/frameworks/base/core/java/android/text/style/ |
D | TabStopSpan.java | 44 public Standard(int where) { in Standard() argument 45 mTab = where; in Standard()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpPropertyGroup.java | 302 String where; in getPropertyList() local 307 where = null; in getPropertyList() 312 where = PARENT_WHERE; in getPropertyList() 314 where = ID_WHERE; in getPropertyList() 320 where = FORMAT_WHERE; in getPropertyList() 325 where = PARENT_FORMAT_WHERE; in getPropertyList() 327 where = ID_FORMAT_WHERE; in getPropertyList() 336 c = mProvider.query(mUri, mColumns, where, whereArgs, null, null); in getPropertyList()
|
D | MtpDatabase.java | 418 String where; in createObjectQuery() local 427 where = null; in createObjectQuery() 434 where = PARENT_WHERE; in createObjectQuery() 441 where = FORMAT_WHERE; in createObjectQuery() 448 where = FORMAT_PARENT_WHERE; in createObjectQuery() 459 where = STORAGE_WHERE; in createObjectQuery() 466 where = STORAGE_PARENT_WHERE; in createObjectQuery() 474 where = STORAGE_FORMAT_WHERE; in createObjectQuery() 482 where = STORAGE_FORMAT_PARENT_WHERE; in createObjectQuery() 493 if (where == null) { in createObjectQuery() [all …]
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderThrottleSupport.java | 306 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument 315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); in delete() 325 MainTable._ID + " = " + ContentUris.parseId(uri), where); in delete() 342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs); in update() 357 MainTable._ID + " = " + ContentUris.parseId(uri), where); in update()
|
/frameworks/rs/cpp/util/ |
D | TypeHelpers.h | 163 void splat_type(TYPE* where, const TYPE* what, size_t n) { 166 new(where) TYPE(*what); 167 where++; 171 *where++ = *what;
|
/frameworks/rs/server/ |
D | TypeHelpers.h | 163 void splat_type(TYPE* where, const TYPE* what, size_t n) { 166 new(where) TYPE(*what); 167 where++; 171 *where++ = *what;
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | SuggestionProvider.java | 97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { in update() argument 107 public int delete(Uri url, String where, String[] whereArgs) { in delete() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 317 public Cursor query(Uri uri, String[] projection, String where, String[] whereArgs, in query() argument 323 Arguments args = new Arguments(uri, where, whereArgs, true); in query() 433 public int delete(Uri uri, String where, String[] whereArgs) { in delete() argument 438 Arguments args = new Arguments(uri, where, whereArgs, false); in delete() 472 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { in update() argument 477 Arguments args = new Arguments(uri, where, whereArgs, false); in update() 1570 public Arguments(Uri uri, String where, String[] whereArgs, boolean supportAll) { in Arguments() argument 1574 if (where != null in Arguments() 1575 && (WHERE_PATTERN_WITH_PARAM_NO_BRACKETS.matcher(where).matches() in Arguments() 1576 || WHERE_PATTERN_WITH_PARAM_IN_BRACKETS.matcher(where).matches()) in Arguments() [all …]
|
/frameworks/base/docs/html/topic/performance/power/network/ |
D | analyze-data.jd | 29 Efficient use of network resources by an app is characterized by significant periods where 35 tightly grouped together, well spaced with periods where the app is making no connection requests. 41 rest where the radio could switch to a standby, low-power mode. The network access behavior of 54 separated by long periods of no traffic where the radio can switch to standby. This chart shows 122 of, periods where the network is not accessed. 169 Network activity initiated by your app code is typically an area where you can have a significant 199 Network activity initiated by servers communicating with your app is also typically an area where
|