Home
last modified time | relevance | path

Searched refs:ContentProviderOperation (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java41 private final static Class<ContentProviderOperation.Builder> CLASS_BUILDER =
42 ContentProviderOperation.Builder.class;
43 private final static Class<ContentProviderOperation> CLASS_OPERATION =
44 ContentProviderOperation.class;
53 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsert()
67 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertNoValues()
80 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertFailed()
103 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertWithBackRefs()
122 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testUpdate()
138 ContentProviderOperation op1 = ContentProviderOperation.newAssertQuery(sTestUri1) in testAssert()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderOperation.java36 public class ContentProviderOperation implements Parcelable { class
62 private ContentProviderOperation(Builder builder) { in ContentProviderOperation() method in ContentProviderOperation
74 private ContentProviderOperation(Parcel source) { in ContentProviderOperation() method in ContentProviderOperation
97 public ContentProviderOperation(ContentProviderOperation cpo, boolean removeUserIdFromUri) { in ContentProviderOperation() method in ContentProviderOperation
114 public ContentProviderOperation getWithoutUserIdInUri() { in getWithoutUserIdInUri()
116 return new ContentProviderOperation(this, true); in getWithoutUserIdInUri()
467 public static final Creator<ContentProviderOperation> CREATOR =
468 new Creator<ContentProviderOperation>() {
469 public ContentProviderOperation createFromParcel(Parcel source) {
470 return new ContentProviderOperation(source);
[all …]
DContentProviderNative.java187 final ArrayList<ContentProviderOperation> operations = in onTransact()
188 new ArrayList<ContentProviderOperation>(numOperations); in onTransact()
190 operations.add(i, ContentProviderOperation.CREATOR.createFromParcel(data)); in onTransact()
507 ArrayList<ContentProviderOperation> operations) in applyBatch()
515 for (ContentProviderOperation operation : operations) { in applyBatch()
DIContentProvider.java58 ArrayList<ContentProviderOperation> operations) in applyBatch()
DContentProvider.java287 ArrayList<ContentProviderOperation> operations) in applyBatch()
292 ContentProviderOperation operation = operations.get(i); in applyBatch()
298 operation = new ContentProviderOperation(operation, true); in applyBatch()
1773 @NonNull ArrayList<ContentProviderOperation> operations) in applyBatch()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java22 import android.content.ContentProviderOperation;
108 public void constructInsertOperation(List<ContentProviderOperation> operationList, in constructInsertOperation()
161 public void constructInsertOperation(List<ContentProviderOperation> operationList, in constructInsertOperation()
163 final ContentProviderOperation.Builder builder = ContentProviderOperation in constructInsertOperation()
321 public void constructInsertOperation(List<ContentProviderOperation> operationList, in constructInsertOperation()
323 final ContentProviderOperation.Builder builder = ContentProviderOperation in constructInsertOperation()
411 public void constructInsertOperation(List<ContentProviderOperation> operationList, in constructInsertOperation()
413 final ContentProviderOperation.Builder builder = ContentProviderOperation in constructInsertOperation()
554 public void constructInsertOperation(List<ContentProviderOperation> operationList, in constructInsertOperation()
556 final ContentProviderOperation.Builder builder = ContentProviderOperation in constructInsertOperation()
[all …]
DVCardEntryCommitter.java18 import android.content.ContentProviderOperation;
46 private ArrayList<ContentProviderOperation> mOperationList;
81 private Uri pushIntoContentResolver(ArrayList<ContentProviderOperation> operationList) { in pushIntoContentResolver()
/frameworks/base/core/java/android/provider/
DSyncStateContract.java22 import android.content.ContentProviderOperation;
158 public static ContentProviderOperation newSetOperation(Uri uri, in newSetOperation()
162 return ContentProviderOperation in newSetOperation()
178 public static ContentProviderOperation newUpdateOperation(Uri uri, byte[] data) { in newUpdateOperation()
181 return ContentProviderOperation in newUpdateOperation()
DBrowserContract.java21 import android.content.ContentProviderOperation;
548 public static ContentProviderOperation newSetOperation(Account account, byte[] data) { in newSetOperation()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java41 import android.content.ContentProviderOperation;
354 ArrayList<ContentProviderOperation> operationList = in testConstructInsertOperationsInsertName()
355 new ArrayList<ContentProviderOperation>(); in testConstructInsertOperationsInsertName()
361 assertEquals(ContentProviderOperation.TYPE_INSERT, operationList.get(0).getType()); in testConstructInsertOperationsInsertName()
362 assertEquals(ContentProviderOperation.TYPE_INSERT, operationList.get(1).getType()); in testConstructInsertOperationsInsertName()
371 ArrayList<ContentProviderOperation> operationList = in testConstructInsertOperationsEmptyData()
372 new ArrayList<ContentProviderOperation>(); in testConstructInsertOperationsEmptyData()
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcontacts-provider.jd934 {@link android.content.ContentProviderOperation} и вызова метода
954 …Предел представляет собой объект {@link android.content.ContentProviderOperation}, в качестве знач…
955 {@link android.content.ContentProviderOperation#isYieldAllowed()} которого задано
979 {@link android.content.ContentProviderOperation} вам приходится связывать строки данных
983 недоступно, когда вы создаете{@link android.content.ContentProviderOperation}
985 {@link android.content.ContentProviderOperation} для строки необработанного контакта. Чтобы обойти …
986 в классе {@link android.content.ContentProviderOperation.Builder} предусмотрен метод
987 {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVal…
992 …В методе {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, in…
1020 {@link android.content.ContentProviderOperation}. Однако для всех
[all …]
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcontacts-provider.jd934 {@link android.content.ContentProviderOperation} 객체의 {@link java.util.ArrayList}를 생성하고
954 …k android.content.ContentProviderOperation#isYieldAllowed()} 값이 <code>true</code>로 설정된 {@link andr…
979 일련의 {@link android.content.ContentProviderOperation} 개체로 삽입할 때는,
983 데이터 행에 대하여 {@link android.content.ContentProviderOperation}을
984 생성하는 경우에는 사용할 수 없습니다. 원시 연락처 행에 대해 {@link android.content.ContentProviderOperation}
986 {@link android.content.ContentProviderOperation.Builder} 클래스에
987 {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVal…
992 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
1019 개발자가 제공하는 {@link android.content.ContentProviderOperation} 객체의 {@link java.util.ArrayList} 크기와 같은 크…
1023 {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVal…
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcontacts-provider.jd933 {@link android.content.ContentProviderOperation} 物件的{@link java.util.ArrayList},然後呼叫
954 降伏點是一個 {@link android.content.ContentProviderOperation} 物件,而且其
955 {@link android.content.ContentProviderOperation#isYieldAllowed()} 值是設為
979 {@link android.content.ContentProviderOperation} 物件插入新的原始聯絡人及其關聯的資料列時,您必須透過插入原始聯絡人的
983 值在您為資料列建立 {@link android.content.ContentProviderOperation}
985 套用 {@link android.content.ContentProviderOperation}。為解決此狀況,{@link android.content.ContentProviderOp…
986 {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVal…
992 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
1019 {@link android.content.ContentProviderOperation} 物件的{@link java.util.ArrayList} 大小。
1021 {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVal…
[all …]
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcontacts-provider.jd932 …ダのデータを「バッチモード」で挿入、アップデート、削除してください。そのためには、{@link android.content.ContentProviderOperation} オブジェクトの …
954 … android.content.ContentProviderOperation#isYieldAllowed()} の値が <code>true</code> に設定された {@link an…
978 …新しい未加工連絡先の行とその関連データの行を 1 組の {@link android.content.ContentProviderOperation} オブジェクトとして挿入している場合は、デー…
982 …のために{@link android.content.ContentProviderOperation} を作成している間は使用できません。未加工連絡先に {@link android.conte…
985 …を回避するため、{@link android.content.ContentProviderOperation.Builder} クラスにはメソッド {@link android.content.
992 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
1017 … ArrayList) applyBatch()} を初めて呼び出すと、指定した {@link android.content.ContentProviderOperation} オブジェクトの …
1020 …> に設定され、そのためまだ適用されていない操作から結果を後方参照しようとすると {@link android.content.ContentProviderOperation.Builder#w…
1068 // Creates a new array of ContentProviderOperation objects.
1069 ArrayList&lt;ContentProviderOperation&gt; ops =
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestResolver.java18 import android.content.ContentProviderOperation;
36 ArrayList<ContentProviderOperation> operations) { in applyBatch()
DImportTestProvider.java18 import android.content.ContentProviderOperation;
60 ArrayList<ContentProviderOperation> operations) { in applyBatch()
73 ContentProviderOperation operation = operations.get(i); in applyBatch()
78 ContentProviderOperation operation = operations.get(i); in applyBatch()
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcontacts-provider.jd932 您应尽可能地通过创建一个 {@link android.content.ContentProviderOperation} 对象 {@link java.util.ArrayList}
954 屈服点是一个 {@link android.content.ContentProviderOperation} 对象,其
955 {@link android.content.ContentProviderOperation#isYieldAllowed()} 值设置为
979 {@link android.content.ContentProviderOperation} 对象插入时,需要通过将原始联系人的
983 {@link android.content.ContentProviderOperation} 时,该值不可用,因为您尚未对原始联系人行应用
984 {@link android.content.ContentProviderOperation}。
986 {@link android.content.ContentProviderOperation.Builder} 类使用了
987 {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVal…
992 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
1018 …ayList) applyBatch()} 时创建整个结果数组,其大小与您提供的 {@link android.content.ContentProviderOperation} 对象的 {@li…
[all …]
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java20 import android.content.ContentProviderOperation;
203 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch()
220 final ContentProviderOperation operation = operations.get(i); in applyBatch()
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java20 import android.content.ContentProviderOperation;
57 ArrayList<ContentProviderOperation> operations) in applyBatch()
233 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) { in applyBatch()
DMockIContentProvider.java19 import android.content.ContentProviderOperation;
76 ArrayList<ContentProviderOperation> operations) { in applyBatch()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java19 import android.content.ContentProviderOperation;
44 ArrayList<ContentProviderOperation> arg0) in applyBatch()
/frameworks/base/docs/html-intl/intl/id/guide/topics/providers/
Dcontacts-provider.jd934 objek-objek {@link android.content.ContentProviderOperation} dan memanggil
954 …Yield point (titik hasil) adalah objek {@link android.content.ContentProviderOperation} yang menga…
955 nilai {@link android.content.ContentProviderOperation#isYieldAllowed()}-nya ke
979 objek {@link android.content.ContentProviderOperation}, Anda harus menautkan baris data ke
983 ini tidak tersedia saat Anda membuat {@link android.content.ContentProviderOperation}
985 {@link android.content.ContentProviderOperation} untuk baris kontak mentah. Solusinya,
986 kelas {@link android.content.ContentProviderOperation.Builder} memiliki metode
987 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
992 …Metode {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int)…
1020 … objek {@link android.content.ContentProviderOperation} yang Anda sediakan. Akan tetapi, semua
[all …]
/frameworks/base/docs/html-intl/intl/in/guide/topics/providers/
Dcontacts-provider.jd934 objek-objek {@link android.content.ContentProviderOperation} dan memanggil
954 …Yield point (titik hasil) adalah objek {@link android.content.ContentProviderOperation} yang menga…
955 nilai {@link android.content.ContentProviderOperation#isYieldAllowed()}-nya ke
979 objek {@link android.content.ContentProviderOperation}, Anda harus menautkan baris data ke
983 ini tidak tersedia saat Anda membuat {@link android.content.ContentProviderOperation}
985 {@link android.content.ContentProviderOperation} untuk baris kontak mentah. Solusinya,
986 kelas {@link android.content.ContentProviderOperation.Builder} memiliki metode
987 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
992 …Metode {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int)…
1020 … objek {@link android.content.ContentProviderOperation} yang Anda sediakan. Akan tetapi, semua
[all …]
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd939 {@link android.content.ContentProviderOperation} objects and calling
959 A yield point is a {@link android.content.ContentProviderOperation} object that has its
960 {@link android.content.ContentProviderOperation#isYieldAllowed()} value set to
984 {@link android.content.ContentProviderOperation} objects, you have to link the data rows to
988 value isn't available when you're creating the {@link android.content.ContentProviderOperation}
990 {@link android.content.ContentProviderOperation} for the raw contact row. To work around this,
991 the {@link android.content.ContentProviderOperation.Builder} class has the method
992 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
997 …The {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) wi…
1025 {@link android.content.ContentProviderOperation} objects you provide. However, all
[all …]
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/providers/
Dcontacts-provider.jd934 objetos {@link android.content.ContentProviderOperation} e chamando
954 Pontos de rendimento são objetos {@link android.content.ContentProviderOperation} que têm seu
955 valor {@link android.content.ContentProviderOperation#isYieldAllowed()} definido como
979 … de objetos {@link android.content.ContentProviderOperation}, é preciso vincular as linhas de dados
983 valor não está disponível ao criar a {@link android.content.ContentProviderOperation}
985 …{@link android.content.ContentProviderOperation} ainda não foi aplicada à linha de contato bruto. …
986 a classe {@link android.content.ContentProviderOperation.Builder} tem o método
987 …{@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, int) withVa…
992 …O método {@link android.content.ContentProviderOperation.Builder#withValueBackReference(String, in…
1020 … de objetos {@link android.content.ContentProviderOperation} fornecidos. No entanto, todos
[all …]

12