/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 89 ContentValues values, String where, String[] selectionArgs) { 91 return resolver.update(uri, values, where, selectionArgs); 100 String where, String[] selectionArgs) { 102 return resolver.delete(uri, where, selectionArgs); 88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 99 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 190 String where, String orderBy) { 191 return cr.query(CONTENT_URI, projection, where, 586 * be 'unassigned/0x...', where '...' is the hex value of the unassigned parameter. If 1360 String where, String orderBy) { 1362 where, null, orderBy == null ? DEFAULT_SORT_ORDER : orderBy); 189 query(ContentResolver cr, String[] projection, String where, String orderBy) argument 1358 query( ContentResolver cr, String[] projection, String where, String orderBy) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 177 public int delete(Uri url, String where, String[] whereArgs) { argument 197 // parse where clause 203 String[] tokens = where.split("AND"); 249 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
|
/frameworks/native/include/utils/ |
H A D | TypeHelpers.h | 163 void splat_type(TYPE* where, const TYPE* what, size_t n) { argument 166 new(where) TYPE(*what); 167 where++; 171 *where++ = *what;
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 115 size_t where = mStorage.size() - 1; local 116 mStorage.insertAt(rect, where, 1);
|
/frameworks/native/libs/utils/ |
H A D | VectorImpl.cpp | 123 void* where = _grow(index, length); local 124 if (where) { 125 _do_copy(where, array, length); 127 return where ? index : (ssize_t)NO_MEMORY; 144 void* where = _grow(index, numItems); local 145 if (where) { 147 _do_splat(where, item, numItems); 149 _do_construct(where, numItems); 152 return where ? index : (ssize_t)NO_MEMORY; 357 void* VectorImpl::_grow(size_t where, size_ [all...] |
/frameworks/compile/libbcc/runtime/BlocksRuntime/ |
H A D | runtime.c | 104 static unsigned long int latching_incr_long(unsigned long int *where) { 106 unsigned long int old_value = *(volatile unsigned long int *)where; 110 if (OSAtomicCompareAndSwapLong(old_value, old_value+1, (volatile long int *)where)) { 117 static int latching_incr_int(int *where) { argument 119 int old_value = *(volatile int *)where; 123 if (OSAtomicCompareAndSwapInt(old_value, old_value+1, (volatile int *)where)) { 130 static int latching_decr_long(unsigned long int *where) { 132 unsigned long int old_value = *(volatile int *)where; 139 if (OSAtomicCompareAndSwapLong(old_value, old_value-1, (volatile long int *)where)) { 146 static int latching_decr_int(int *where) { argument [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 132 public final String where; field in class:SettingsProvider.SqlArguments 136 SqlArguments(Uri url, String where, String[] args) { argument 138 // of the form content://settings/secure, arbitrary where clause 143 this.where = where; 147 } else if (!TextUtils.isEmpty(where)) { 150 // of the form content://settings/secure/element_name, no where clause 157 this.where = Settings.NameValueTable.NAME + "=?"; 168 this.where = "_id=" + ContentUris.parseId(url); 174 /** Insert new rows (no where claus 656 query(Uri url, String[] select, String where, String[] whereArgs, String sort) argument 660 queryForUser(Uri url, String[] select, String where, String[] whereArgs, String sort, int forUser) argument 897 delete(Uri url, String where, String[] whereArgs) argument 926 update(Uri url, ContentValues initialValues, String where, String[] whereArgs) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 1481 // where we have decided to go to 'next' so keep track of that. 1792 // If starting in an existing task, find where that is... 2170 // we currently punt on the case where we are resetting a 2439 private final ActivityRecord moveActivityToFrontLocked(int where) { argument 2440 ActivityRecord newTop = mHistory.remove(where); 2978 int where = findActivityInHistoryLocked(r, sourceRecord.task.taskId); 2979 if (where >= 0) { 2980 ActivityRecord top = moveActivityToFrontLocked(where); 3507 // in the client where it can be constructed with a 4036 * a configuration switch where w [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 692 // move the surface and tell the involved window(s) where we are 1000 TAG, "Figuring out where to add app window " 1002 // Figure out where the window should go, based on the 1085 // Figure out where window should go, based on layer. 1213 // it is not -really- where input will go. So if the caller 2541 static void logSurface(WindowState w, String msg, RuntimeException where) { argument 2543 if (where != null) { 2544 Slog.i(TAG, str, where); 2550 static void logSurface(Surface s, String title, String msg, RuntimeException where) { argument 2552 if (where ! [all...] |
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 1808 "%s <p>This symbol is the offset where the {@link %s.R.attr#%s}\n" 2251 void add(const String8& rule, const String8& where); 2254 void ProguardKeepSet::add(const String8& rule, const String8& where) argument 2260 rules.editValueAt(index).add(where);
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 45 * the where clause).</br> 47 * --where "name=\'new_setting\'" 51 * adb shell content delete --uri content://settings/secure --where "name=\'new_setting\'" 54 * # Query \"name\" and \"value\" columns from secure settings where \"name\" is equal to" 57 * --where "name=\'new_setting\'" --sort \"name ASC\" 71 + " <COLUMN_NAME>:<TYPE>:<COLUMN_VALUE> where:\n" 80 + "usage: adb shell content update --uri <URI> [--user <USER_ID>] [--where <WHERE>]\n" 81 + " <WHERE> is a SQL style where clause in quotes (You have to escape single quotes" 86 + " value:s:newer_value --where \"name=\\'new_setting\\'\"\n" 89 + " [--bind <BINDING>...] [--where <WHER 368 DeleteCommand(Uri uri, int userId, String where) argument 383 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument 447 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 868 maybeLogUpdateToEventLog(durationMillis, url, "insert", null /* where */); 929 maybeLogUpdateToEventLog(durationMillis, url, "bulkinsert", null /* where */); 946 * @param where A filter to apply to rows before deleting, formatted as an SQL WHERE clause 950 public final int delete(Uri url, String where, String[] selectionArgs) argument 958 int rowsDeleted = provider.delete(url, where, selectionArgs); 960 maybeLogUpdateToEventLog(durationMillis, url, "delete", where); 979 * @param where A filter to apply to rows before updating, formatted as an SQL WHERE clause 984 public final int update(Uri uri, ContentValues values, String where, argument 992 int rowsUpdated = provider.update(uri, values, where, selectionArgs); 994 maybeLogUpdateToEventLog(durationMillis, uri, "update", where); [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteQueryBuilder.java | 183 * @param where A filter declaring which rows to return, formatted as an SQL 202 boolean distinct, String tables, String[] columns, String where, 225 appendClause(query, " WHERE ", where); 449 StringBuilder where = new StringBuilder(); 453 where.append(mWhereClause.toString()); 454 where.append(')'); 460 where.append(" AND "); 463 where.append('('); 464 where.append(selection); 465 where 201 buildQueryString( boolean distinct, String tables, String[] columns, String where, String groupBy, String having, String orderBy, String limit) argument [all...] |
H A D | SqliteWrapper.java | 77 ContentValues values, String where, String[] selectionArgs) { 79 return resolver.update(uri, values, where, selectionArgs); 88 String where, String[] selectionArgs) { 90 return resolver.delete(uri, where, selectionArgs); 76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument 87 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 564 * @param where Clause to be used to limit the query from the database. 569 public static final void requestAllIcons(ContentResolver cr, String where, argument 571 WebIconDatabase.getInstance().bulkRequestIconForPageUrl(cr, where, listener);
|
H A D | MediaStore.java | 231 * The caller may pass an extra EXTRA_OUTPUT to control where this image will be written. 250 * The caller may pass an extra EXTRA_OUTPUT to control where this image will be written. 269 * where the video is written. If EXTRA_OUTPUT is not present the video will be 719 * The latitude where the image was captured. 725 * The longitude where the image was captured. 771 String where, String orderBy) { 772 return cr.query(uri, projection, where, 1903 * The latitude where the video was captured. 1909 * The longitude where the video was captured. 770 query(ContentResolver cr, Uri uri, String[] projection, String where, String orderBy) argument
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 188 private void reflow(CharSequence s, int where, int before, int after) { argument 197 int find = TextUtils.lastIndexOf(text, '\n', where - 1); 204 int diff = where - find; 207 where -= diff; 212 int look = TextUtils.indexOf(text, '\n', where + after); 218 int change = look - (where + after); 231 Object[] force = sp.getSpans(where, where + after, 238 if (st < where) { 241 int diff = where 617 reflow(CharSequence s, int where, int before, int after) argument 626 beforeTextChanged(CharSequence s, int where, int before, int after) argument 630 onTextChanged(CharSequence s, int where, int before, int after) argument [all...] |
H A D | Editable.java | 44 * position is preserved even when the entire range where it is 57 * Convenience for replace(where, where, text, start, end) 60 public Editable insert(int where, CharSequence text, int start, int end); argument 63 * Convenience for replace(where, where, text, 0, text.length()); 66 public Editable insert(int where, CharSequence text); argument
|
H A D | PackedIntVector.java | 290 private final void moveValueGapTo(int column, int where) { argument 295 if (where == valuegap[column]) { 297 } else if (where > valuegap[column]) { 298 for (int i = valuegap[column]; i < where; i++) { 301 } else /* where < valuegap[column] */ { 302 for (int i = where; i < valuegap[column]; i++) { 307 valuegap[column] = where; 313 private final void moveRowGapTo(int where) { argument 314 if (where == mRowGapStart) { 316 } else if (where > mRowGapStar [all...] |
H A D | PackedObjectVector.java | 127 moveRowGapTo(int where) argument 129 if (where == mRowGapStart) 132 if (where > mRowGapStart) 134 int moving = where + mRowGapLength - (mRowGapStart + mRowGapLength); 148 else /* where < mRowGapStart */ 150 int moving = mRowGapStart - where; 152 for (int i = where + moving - 1; i >= where; i--) 154 int destrow = i - where + mRowGapStart + mRowGapLength - moving; 165 mRowGapStart = where; [all...] |
H A D | SpannableStringBuilder.java | 109 public char charAt(int where) { argument 111 if (where < 0) { 112 throw new IndexOutOfBoundsException("charAt: " + where + " < 0"); 113 } else if (where >= len) { 114 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); 117 if (where >= mGapStart) 118 return mText[where + mGapLength]; 120 return mText[where]; 152 private void moveGapTo(int where) { argument 153 if (where 201 insert(int where, CharSequence tb, int start, int end) argument 206 insert(int where, CharSequence tb) argument [all...] |
H A D | StaticLayout.java | 252 // ok is a character offset located after a word separator (space, tab, number...) where 714 float avail, TextUtils.TruncateAt where, 725 (where == TextUtils.TruncateAt.END_SMALL) ? 732 if (where == TextUtils.TruncateAt.START) { 754 } else if (where == TextUtils.TruncateAt.END || where == TextUtils.TruncateAt.MARQUEE || 755 where == TextUtils.TruncateAt.END_SMALL) { 776 // where = TextUtils.TruncateAt.MIDDLE We only support middle ellipsis on a single line 712 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument
|
H A D | TextUtils.java | 612 // "if" instead of "else if" where there are interfaces 815 int where = indexOf(tb, sources[i]); 817 if (where >= 0) 818 tb.setSpan(sources[i], where, where + sources[i].length(), 1034 float avail, TruncateAt where) { 1035 return ellipsize(text, p, avail, where, false, null); 1052 float avail, TruncateAt where, 1056 final String ellipsis = (where == TruncateAt.END_SMALL) ? 1060 return ellipsize(text, paint, avail, where, preserveLengt 1032 ellipsize(CharSequence text, TextPaint p, float avail, TruncateAt where) argument 1050 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback) argument 1078 ellipsize(CharSequence text, TextPaint paint, float avail, TruncateAt where, boolean preserveLength, EllipsizeCallback callback, TextDirectionHeuristic textDir, String ellipsis) argument [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | TabStopSpan.java | 41 * @param where the offset of the tab stop from the leading margin of 44 public Standard(int where) { argument 45 mTab = where;
|