/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
DragStartListenerTest.java | 29 import com.android.documentsui.selection.SelectionManager; 30 import com.android.documentsui.selection.Selection; 62 (Selection selection) -> { 66 (Selection selection, int operationType) -> { 70 (Selection selection) -> { 128 Selection selection = mListener.getSelectionToBeCopied("1234" local 135 Selection selection = new Selection(); local 148 Selection selection = new Selection(); local 161 Selection selection = new Selection(); local [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/v1/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/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
SelectionTest.java | 17 package com.android.documentsui.selection; 26 import com.android.documentsui.selection.Selection; 41 private Selection selection; field in class:SelectionTest 51 selection = new Selection(); 52 selection.add(ids[0]); 53 selection.add(ids[1]); 54 selection.add(ids[2]) [all...] |
/external/libtextclassifier/tests/ |
text-classification-model_test.cc | 93 std::tuple<int, int> selection; local 94 selection = model->SuggestSelection("abc\nBarack Obama", {4, 10}); 95 EXPECT_EQ(4, std::get<0>(selection)); 96 EXPECT_EQ(16, std::get<1>(selection)); 98 selection = model->SuggestSelection("Barack Obama\nabc", {0, 6}); 99 EXPECT_EQ(0, std::get<0>(selection)); 100 EXPECT_EQ(12, std::get<1>(selection)); 110 std::tuple<int, int> selection; local 113 selection = model->SuggestSelection( 115 EXPECT_EQ(15, std::get<0>(selection)); 181 std::tuple<int, int> selection; local [all...] |
/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...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/ |
TestSelectionListener.java | 17 package com.android.documentsui.selection; 22 import com.android.documentsui.selection.SelectionManager;
|
SelectionProbe.java | 17 package com.android.documentsui.selection; 23 import com.android.documentsui.selection.SelectionManager; 24 import com.android.documentsui.selection.Selection; 66 Selection selection = mMgr.getSelection(); local 67 assertEquals(selection.toString(), expected, selection.size()); 86 Selection sel = mMgr.getSelection(); 89 assertTrue(sid + " is not in selection " + sel, sel.contains(sid)) [all...] |
/system/extras/simpleperf/ |
event_selection_set.cpp | 57 const std::string& event_name, EventSelection* selection) { 73 selection->event_type_modifier = *event_type; 74 selection->event_attr = CreateDefaultPerfEventAttr(event_type->event_type); 75 selection->event_attr.exclude_user = event_type->exclude_user; 76 selection->event_attr.exclude_kernel = event_type->exclude_kernel; 77 selection->event_attr.exclude_hv = event_type->exclude_hv; 78 selection->event_attr.exclude_host = event_type->exclude_host; 79 selection->event_attr.exclude_guest = event_type->exclude_guest; 80 selection->event_attr.precise_ip = event_type->precise_ip; 81 if (!IsEventAttrSupported(selection->event_attr)) 108 EventSelection selection; local [all...] |
/external/v8/tools/turbolizer/ |
selection.js | 5 var Selection = function(handler) { 9 this.selection = new Set(); 13 Selection.prototype.isEmpty = function() { 14 return this.selection.size == 0; 18 Selection.prototype.clear = function() { 22 handler.select(this.selection, false); 24 this.selection = new Set(); 30 Selection.prototype.select = function(s, isSelected) { 41 this.selection.add(i); 43 handler.select(this.selection, true) [all...] |
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
AwareProvider.java | 38 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 54 public int delete(Uri uri, String selection, String[] selectionArgs) { 59 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
UnawareProvider.java | 38 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 54 public int delete(Uri uri, String selection, String[] selectionArgs) { 59 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
BatteryStatsProvider.java | 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, 51 public int delete(Uri uri, String selection, String[] selectionArgs) { 56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
/external/autotest/server/cros/ap_configurators/ |
belkinF5D8236_ap_configurator.py | 26 selection = 'WPA2-PSK' 28 selection = 'WPA-PSK' 29 self.select_item_from_popup_by_xpath(selection, psk,
|
/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) {
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
Database.java | 61 public Cursor query(final String table, final String[] projection, final String selection, 64 .query(table, projection, selection, selectionArgs, null /* groupBy */, 72 public int delete(final String table, final String selection, final String[] selectionArgs) { 73 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs); 76 public int update(final String table, final ContentValues values, final String selection, 78 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs);
|
/external/robolectric/v1/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));
|