/frameworks/base/core/java/android/content/ |
ContentProviderResult.java | 27 public class ContentProviderResult implements Parcelable { 31 public ContentProviderResult(Uri uri) { 37 public ContentProviderResult(int count) { 42 public ContentProviderResult(Parcel source) { 67 public static final Creator<ContentProviderResult> CREATOR = 68 new Creator<ContentProviderResult>() { 69 public ContentProviderResult createFromParcel(Parcel source) { 70 return new ContentProviderResult(source); 73 public ContentProviderResult[] newArray(int size) { 74 return new ContentProviderResult[size] [all...] |
ContentProviderOperation.java | 199 * @param backRefs a {@link ContentProviderResult} array that will be consulted 202 * @return a {@link ContentProviderResult} that contains either the {@link Uri} of the inserted 207 public ContentProviderResult apply(ContentProvider provider, ContentProviderResult[] backRefs, 218 return new ContentProviderResult(newUri); 268 return new ContentProviderResult(numRows); 285 ContentProviderResult[] backRefs, int numBackRefs) { 322 ContentProviderResult[] backRefs, int numBackRefs) { 358 private long backRefToValue(ContentProviderResult[] backRefs, int numBackRefs, 365 ContentProviderResult backRef = backRefs[backRefIndex] [all...] |
IContentProvider.java | 53 public ContentProviderResult[] applyBatch(String callingPkg,
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentProviderResultTest.java | 10 import android.content.ContentProviderResult; 19 ContentProviderResult result = new ContentProviderResult(5); 26 ContentProviderResult result = new ContentProviderResult(uri);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContentProviderResult.java | 5 import android.content.ContentProviderResult; 11 @Implements(ContentProviderResult.class) 13 @RealObject ContentProviderResult realResult;
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 56 ContentProviderResult result = op1.apply(new TestContentProvider() { 69 ContentProviderResult result = op1.apply(new TestContentProvider() { 98 ContentProviderResult[] previousResults = new ContentProviderResult[4]; 99 previousResults[0] = new ContentProviderResult(100); 100 previousResults[1] = new ContentProviderResult(101); 101 previousResults[2] = new ContentProviderResult(102); 102 previousResults[3] = new ContentProviderResult(103); 108 ContentProviderResult result = op1.apply(new TestContentProvider() { 125 ContentProviderResult[] backRefs = new ContentProviderResult[2] [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ImportTestResolver.java | 19 import android.content.ContentProviderResult; 35 public ContentProviderResult[] applyBatch(String authority,
|
ImportTestProvider.java | 19 import android.content.ContentProviderResult; 59 public ContentProviderResult[] applyBatch( 66 ContentProviderResult[] fakeResultArray = new ContentProviderResult[size]; 69 fakeResultArray[i] = new ContentProviderResult(uri);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
AbstractSyncAdapter.java | 28 import android.content.ContentProviderResult; 216 private ContentProviderResult[] execute(String authority, 222 ContentProviderResult[] result = mContentResolver.applyBatch(authority, ops); 228 return new ContentProviderResult[0]; 252 private ContentProviderResult[] applyBatch(String authority, ArrayList<Operation> ops, 256 return new ContentProviderResult[0]; 269 ContentProviderResult[] result, int offset) throws RemoteException { 273 ContentProviderResult[] miniResult = applyBatch(authority, mini, offset); 293 protected ContentProviderResult[] safeExecute(String authority, ArrayList<Operation> ops) 296 ContentProviderResult[] result = null [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
BatchOperation.java | 19 import android.content.ContentProviderResult; 64 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY,
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardEntryCommitter.java | 19 import android.content.ContentProviderResult; 83 final ContentProviderResult[] results = mContentResolver.applyBatch(
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
SQLiteContentProvider.java | 21 import android.content.ContentProviderResult; 207 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) 211 return new ContentProviderResult[0]; 218 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockIContentProvider.java | 20 import android.content.ContentProviderResult; 72 public ContentProviderResult[] applyBatch(String callingPackage,
|
MockContentProvider.java | 21 import android.content.ContentProviderResult; 56 public ContentProviderResult[] applyBatch(String callingPackage, 221 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContentProvider.java | 20 import android.content.ContentProviderResult; 43 public ContentProviderResult[] applyBatch(String callingPackage,
|
/frameworks/ex/common/java/com/android/common/content/ |
SQLiteContentProvider.java | 21 import android.content.ContentProviderResult; 203 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) 212 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
|
/packages/apps/Browser/src/com/android/browser/provider/ |
SQLiteContentProvider.java | 21 import android.content.ContentProviderResult; 195 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) 205 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
SQLiteContentProvider.java | 21 import android.content.ContentProviderResult; 205 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) 215 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AbstractContactsProvider.java | 21 import android.content.ContentProviderResult; 203 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) 213 final ContentProviderResult[] results = new ContentProviderResult[numOperations];
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StatusUpdatesTest.java | 20 import android.content.ContentProviderResult; 61 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); 113 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops);
|
ContactsContract_StreamItemsTest.java | 20 import android.content.ContentProviderResult; 129 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops);
|
/packages/apps/Calendar/src/com/android/calendar/ |
AsyncQueryService.java | 22 import android.content.ContentProviderResult; 391 protected void onBatchComplete(int token, Object cookie, ContentProviderResult[] results) { 428 onBatchComplete(token, info.cookie, (ContentProviderResult[]) info.result);
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
MockProviderTests.java | 20 import android.content.ContentProviderResult; 83 private ContentProviderResult[] setupPonies() throws RemoteException, 107 ContentProviderResult[] results = setupPonies();
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
MockProviderTests.java | 20 import android.content.ContentProviderResult; 83 private ContentProviderResult[] setupPonies() throws RemoteException, 107 ContentProviderResult[] results = setupPonies();
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
AsyncQueryServiceTest.java | 25 import android.content.ContentProviderResult; 234 ContentProviderResult[] resultArray = new ContentProviderResult[1]; 235 resultArray[0] = new ContentProviderResult(++mId); 553 protected void onBatchComplete(int token, Object cookie, ContentProviderResult[] results) { 560 ContentProviderResult[] expected = (ContentProviderResult[]) mWork[mIndex].result; 644 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) { 648 return (ContentProviderResult[]) mWork[index++].result;
|