Searched refs:operations (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
H A DImportTestResolver.java36 ArrayList<ContentProviderOperation> operations) {
38 return mProvider.applyBatch(operations);
35 applyBatch(String authority, ArrayList<ContentProviderOperation> operations) argument
H A DImportTestProvider.java94 ArrayList<ContentProviderOperation> operations) {
95 if (operations == null) {
99 final int size = operations.size();
107 ContentProviderOperation operation = operations.get(i);
112 ContentProviderOperation operation = operations.get(i);
93 applyBatch( ArrayList<ContentProviderOperation> operations) argument
/frameworks/base/tools/preload/
H A DLoadedClass.java30 /** Load operations. */
33 /** Static initialization operations. */
83 /** Calculates the median duration for a list of operations. */
84 private static int calculateMedian(List<Operation> operations) { argument
85 int size = operations.size();
92 times[i] = operations.get(i).exclusiveTimeMicros();
H A DProc.java50 /** Number of operations. */
53 /** Sequential list of operations that happened in this process. */
54 final List<Operation> operations = new ArrayList<Operation>(); field in class:Proc
94 operations.add(o);
H A DWritePreloadedClassFile.java100 for (Operation operation : proc.operations) {
137 for (Operation operation : proc.operations) {
H A DPrintHtmlDiff.java45 for (Operation op : proc.operations) {
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java93 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) argument
95 return mContentProvider.applyBatch(operations);
H A DContentProvider.java71 * main thread, and must avoid performing lengthy operations. See the method
106 * operations, or application startup will be delayed.
206 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) argument
208 for (ContentProviderOperation operation : operations) {
217 return ContentProvider.this.applyBatch(operations);
433 * lengthy operations, or application startup will be delayed.
459 * not perform lengthy operations.
472 * not perform lengthy operations.
803 * Override this to handle requests to perform a batch of operations, or the
804 * default implementation will iterate over the operations an
819 applyBatch(ArrayList<ContentProviderOperation> operations) argument
[all...]
H A DContentProviderNative.java168 final ArrayList<ContentProviderOperation> operations =
171 operations.add(i, ContentProviderOperation.CREATOR.createFromParcel(data));
173 final ContentProviderResult[] results = applyBatch(operations);
437 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) argument
443 data.writeInt(operations.size());
444 for (ContentProviderOperation operation : operations) {
H A DIContentProvider.java60 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) argument
H A DContentResolver.java620 * same number of elements as the operations will be returned. It is implementation-specific
621 * how many, if any, operations will have been successfully applied if a call to
624 * @param operations the operations to apply
632 ArrayList<ContentProviderOperation> operations)
639 return provider.applyBatch(operations);
631 applyBatch(String authority, ArrayList<ContentProviderOperation> operations) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java59 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) argument
61 return MockContentProvider.this.applyBatch(operations);
213 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) { argument
H A DMockIContentProvider.java78 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) { argument

Completed in 147 milliseconds