/system/extras/simpleperf/ |
event_selection_set.cpp | 26 EventSelection selection; local 27 selection.event_type = &event_type; 28 selection.event_attr = CreateDefaultPerfEventAttr(event_type); 29 selections_.push_back(std::move(selection)); 33 for (auto& selection : selections_) { 34 selection.event_attr.enable_on_exec = 1; 39 for (auto& selection : selections_) { 40 selection.event_attr.sample_id_all = 1; 45 for (auto& selection : selections_) { 46 perf_event_attr& attr = selection.event_attr [all...] |
/packages/providers/TvProvider/src/com/android/providers/tv/util/ |
SqlParams.java | 26 public SqlParams(String tables, String selection, String... selectionArgs) { 28 setWhere(selection, selectionArgs); 47 public void setWhere(String selection, String... selectionArgs) { 48 mSelection = selection; 52 public void appendWhere(String selection, String... selectionArgs) { 53 mSelection = DatabaseUtils.concatenateWhere(mSelection, selection);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCursorLoader.java | 15 private String selection; field in class:ShadowCursorLoader 23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 27 this.selection = selection; 54 return selection; 58 public void setSelection(String selection) { 59 this.selection = selection;
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
DismissAlarmsService.java | 74 String selection; local 79 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED + " AND " + 83 selection = buildMultipleEventsQuery(eventIds); 89 selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; 97 resolver.update(uri, values, selection, null); 117 StringBuilder selection = new StringBuilder(); local 118 selection.append(CalendarAlerts.STATE); 119 selection.append("="); 120 selection.append(CalendarAlerts.STATE_FIRED); 122 selection.append(" AND (") [all...] |
/frameworks/support/v4/java/android/support/v4/content/ |
ContentResolverCompat.java | 33 Uri uri, String[] projection, String selection, String[] selectionArgs, 40 String selection, String[] selectionArgs, String sortOrder, 47 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 54 String selection, String[] selectionArgs, String sortOrder, 58 uri, projection, selection, selectionArgs, sortOrder, 97 * explicit values in the {@code selection} parameter, so that queries 107 * @param selection A filter declaring which rows to return, formatted as an 110 * @param selectionArgs You may include ?s in selection, which will be 112 * appear in the selection. The values will be bound as Strings. 123 Uri uri, String[] projection, String selection, String[] selectionArgs [all...] |
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
DisabledProvider.java | 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 47 public int delete(Uri uri, String selection, String[] selectionArgs) { 51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
EnabledProvider.java | 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 47 public int delete(Uri uri, String selection, String[] selectionArgs) { 51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/ |
TestProvider.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 49 public int delete(Uri uri, String selection, String[] selectionArgs) { 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
TestReceiver.java | 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 49 public int delete(Uri uri, String selection, String[] selectionArgs) { 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/ |
NullProvider.java | 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 26 public int delete(Uri uri, String selection, String[] selectionArgs) { 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/ |
NullProvider.java | 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 26 public int delete(Uri uri, String selection, String[] selectionArgs) { 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
Provider.java | 32 String selection, String[] selectionArgs, 43 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 47 public int delete(Uri uri, String selection, String[] selectionArgs) {
|
/packages/providers/BookmarkProvider/src/com/android/bookmarkstore/ |
BookmarkProvider.java | 49 public int delete(Uri uri, String selection, String[] selectionArgs) { 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 59 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
NullContentProvider.java | 31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 47 public int delete(Uri uri, String selection, String[] selectionArgs) { 52 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CursorLoaderTest.java | 19 String selection = "_id = ?"; local 25 selection, 31 assertThat(cursorLoader.getSelection(), equalTo(selection)); 40 String selection = "_id = ?"; local 46 cursorLoader.setSelection(selection); 52 assertThat(cursorLoader.getSelection(), equalTo(selection));
|
/frameworks/support/v4/jellybean/android/support/v4/content/ |
ContentResolverCompatJellybean.java | 27 String selection, String[] selectionArgs, String sortOrder, 29 return resolver.query(uri, projection, selection, selectionArgs, sortOrder,
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BoundCursorLoader.java | 33 final String[] projection, final String selection, final String[] selectionArgs, 35 super(context, uri, projection, selection, selectionArgs, sortOrder);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 120 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 147 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); 160 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 168 if (selection != null && selection.length() > 0) { 169 selection = idSelection + " AND " + selection; 171 selection = idSelection; 178 if (selection != null && selection.length() > 0) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursor.java | 11 public String selection; field in class:SimpleTestCursor 20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 23 this.selection = selection;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/ |
CrashingIconProvider.java | 48 public int delete(Uri uri, String selection, String[] selectionArgs) { 49 if (DBG) Log.d(TAG, "delete(" + uri + ", " + selection + ", " + selectionArgs + ")"); 66 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 178 int selection = mScrollbar.getSelection(); local 182 if (selection + thumb > maximum) { 183 selection = maximum - thumb; 184 if (selection < 0) { 185 selection = 0; 189 mScrollbar.setValues(selection, mScrollbar.getMinimum(), maximum, thumb, mScrollbar 192 mTranslate = selection;
|
ClipboardSupport.java | 87 * This sanitizes the selection, so it must be a copy. It then inserts the 88 * selection both as text and as {@link SimpleElement}s in the clipboard. 92 * @param selection A list of selection items to add to the clipboard; 96 public void copySelectionToClipboard(List<SelectionItem> selection) { 97 SelectionManager.sanitize(selection); 109 if (selection.isEmpty()) { 120 SelectionItem.getAsElements(selection), 121 message != null ? message : SelectionItem.getAsText(mCanvas, selection) 136 * This sanitizes the selection, so it must be a copy. It uses th 147 deleteSelection(mCanvas.getCutLabel(), selection); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
ExportAction.java | 50 IStructuredSelection selection = (IStructuredSelection)mSelection; local 52 if (selection.size() == 1) { 53 Object element = selection.getFirstElement(); 82 public void selectionChanged(IAction action, ISelection selection) { 83 mSelection = selection;
|
ExportWizardAction.java | 51 IStructuredSelection selection = (IStructuredSelection)mSelection; local 54 if (selection.size() == 1) { 55 Object element = selection.getFirstElement(); 78 // call the export wizard on the current selection. 80 wizard.init(mWorkbench, selection); 91 public void selectionChanged(IAction action, ISelection selection) { 92 mSelection = selection;
|
/frameworks/base/core/java/android/content/ |
AsyncQueryHandler.java | 52 public String selection; field in class:AsyncQueryHandler.WorkerArgs 80 args.selection, args.selectionArgs, 100 args.result = resolver.update(args.uri, args.values, args.selection, 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); 154 * @param selection A filter declaring which rows to return, formatted as an 157 * @param selectionArgs You may include ?s in selection, which will be 159 * appear in the selection. The values will be bound as Strings. 165 String[] projection, String selection, String[] selectionArgs, 175 args.selection = selection; [all...] |