OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SelectionBuilder
(Results
1 - 11
of
11
) sorted by null
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
SelectionBuilderTest.java
23
* Unit tests for {@link
SelectionBuilder
}.
28
assertEquals(null, new
SelectionBuilder
(null).build());
29
assertEquals(null, new
SelectionBuilder
("").build());
30
assertEquals(null, new
SelectionBuilder
("").addClause(null).build());
31
assertEquals(null, new
SelectionBuilder
(null).addClause("").build());
32
assertEquals(null, new
SelectionBuilder
(null).addClause("").addClause(null).build());
36
assertEquals("(A)", new
SelectionBuilder
("A").build());
37
assertEquals("(A) AND (B=bar) AND (C='1')", new
SelectionBuilder
("A")
43
assertEquals("(A) AND (B) AND (C)", new
SelectionBuilder
("A")
52
assertEquals("(A)", new
SelectionBuilder
(null).addClause("A").build())
[
all
...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
SelectionBuilder.java
27
public class
SelectionBuilder
{
36
public
SelectionBuilder
(String baseSelection) {
45
public
SelectionBuilder
addClause(String clause) {
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/common/db/
SelectionBuilder.java
49
*
SelectionBuilder
builder = new
SelectionBuilder
();
57
* specified via method call.
SelectionBuilder
takes care of issuing a "query" command to the
93
public class
SelectionBuilder
{
104
* <p>Calling this method is more efficient than creating a new
SelectionBuilder
object.
108
public
SelectionBuilder
reset() {
145
public
SelectionBuilder
where(String selection, String... selectionArgs) {
181
public
SelectionBuilder
table(String table) {
208
public
SelectionBuilder
mapToTable(String column, String table) {
225
public
SelectionBuilder
map(String fromColumn, String toClause)
[
all
...]
/developers/samples/android/common/src/java/com/example/android/common/db/
SelectionBuilder.java
49
*
SelectionBuilder
builder = new
SelectionBuilder
();
57
* specified via method call.
SelectionBuilder
takes care of issuing a "query" command to the
93
public class
SelectionBuilder
{
104
* <p>Calling this method is more efficient than creating a new
SelectionBuilder
object.
108
public
SelectionBuilder
reset() {
145
public
SelectionBuilder
where(String selection, String... selectionArgs) {
181
public
SelectionBuilder
table(String table) {
208
public
SelectionBuilder
mapToTable(String column, String table) {
225
public
SelectionBuilder
map(String fromColumn, String toClause)
[
all
...]
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
SelectionBuilder.java
49
*
SelectionBuilder
builder = new
SelectionBuilder
();
57
* specified via method call.
SelectionBuilder
takes care of issuing a "query" command to the
93
public class
SelectionBuilder
{
104
* <p>Calling this method is more efficient than creating a new
SelectionBuilder
object.
108
public
SelectionBuilder
reset() {
145
public
SelectionBuilder
where(String selection, String... selectionArgs) {
181
public
SelectionBuilder
table(String table) {
208
public
SelectionBuilder
mapToTable(String column, String table) {
225
public
SelectionBuilder
map(String fromColumn, String toClause)
[
all
...]
/frameworks/base/core/java/com/android/internal/content/
SelectionBuilder.java
33
public class
SelectionBuilder
{
40
public
SelectionBuilder
reset() {
50
public
SelectionBuilder
append(String selection, Object... selectionArgs) {
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/
FeedProvider.java
28
import com.example.android.common.db.
SelectionBuilder
;
95
SelectionBuilder
builder = new
SelectionBuilder
();
149
SelectionBuilder
builder = new
SelectionBuilder
();
181
SelectionBuilder
builder = new
SelectionBuilder
();
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/
FeedProvider.java
28
import com.example.android.common.db.
SelectionBuilder
;
95
SelectionBuilder
builder = new
SelectionBuilder
();
149
SelectionBuilder
builder = new
SelectionBuilder
();
181
SelectionBuilder
builder = new
SelectionBuilder
();
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
FeedProvider.java
28
import com.example.android.common.db.
SelectionBuilder
;
95
SelectionBuilder
builder = new
SelectionBuilder
();
149
SelectionBuilder
builder = new
SelectionBuilder
();
181
SelectionBuilder
builder = new
SelectionBuilder
();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailContentProvider.java
37
import com.android.providers.contacts.util.
SelectionBuilder
;
110
SelectionBuilder
selectionBuilder
= new
SelectionBuilder
(selection);
111
selectionBuilder
.addClause(getPackageRestrictionClause());
112
return getTableDelegate(uriData).query(uriData, projection,
selectionBuilder
.build(),
119
SelectionBuilder
selectionBuilder
= new
SelectionBuilder
(selection);
120
selectionBuilder
.addClause(getPackageRestrictionClause())
[
all
...]
CallLogProvider.java
40
import com.android.providers.contacts.util.
SelectionBuilder
;
136
final
SelectionBuilder
selectionBuilder
= new
SelectionBuilder
(selection);
137
checkVoicemailPermissionAndAddRestriction(uri,
selectionBuilder
);
145
selectionBuilder
.addClause(getEqualityClause(Calls._ID,
176
final Cursor c = qb.query(db, projection,
selectionBuilder
.build(), selectionArgs, null,
259
SelectionBuilder
selectionBuilder
= new
SelectionBuilder
(selection)
[
all
...]
Completed in 3370 milliseconds