Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/base/core/java/android/content/
DSyncQueue.java71 public boolean add(SyncOperation operation) { in add() argument
72 return add(operation, null /* this is not coming from the database */); in add()
75 private boolean add(SyncOperation operation, in add() argument
82 final String operationKey = operation.key; in add()
87 if (existingOperation.expedited == operation.expedited) { in add()
89 Math.min(existingOperation.earliestRunTime, operation.earliestRunTime); in add()
95 if (operation.expedited) { in add()
103 operation.pendingOperation = pop; in add()
104 if (operation.pendingOperation == null) { in add()
106 operation.account, operation.userId, operation.syncSource, in add()
[all …]
DSyncManager.java831 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) { in maybeRescheduleSync() argument
834 Log.d(TAG, "encountered error(s) during the sync: " + syncResult + ", " + operation); in maybeRescheduleSync()
837 operation = new SyncOperation(operation); in maybeRescheduleSync()
842 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)) { in maybeRescheduleSync()
843 operation.extras.remove(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF); in maybeRescheduleSync()
852 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false)) { in maybeRescheduleSync()
854 + operation); in maybeRescheduleSync()
855 } else if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, false) in maybeRescheduleSync()
857 operation.extras.remove(ContentResolver.SYNC_EXTRAS_UPLOAD); in maybeRescheduleSync()
859 + "encountered an error: " + operation); in maybeRescheduleSync()
[all …]
DContentProvider.java213 for (ContentProviderOperation operation : operations) { in applyBatch()
214 if (operation.isReadOperation()) { in applyBatch()
215 enforceReadPermission(operation.getUri()); in applyBatch()
218 if (operation.isWriteOperation()) { in applyBatch()
219 enforceWritePermission(operation.getUri()); in applyBatch()
/frameworks/base/core/java/android/app/
DAlarmManager.java135 public void set(int type, long triggerAtMillis, PendingIntent operation) { in set() argument
137 mService.set(type, triggerAtMillis, operation); in set()
190 long intervalMillis, PendingIntent operation) { in setRepeating() argument
192 mService.setRepeating(type, triggerAtMillis, intervalMillis, operation); in setRepeating()
256 long intervalMillis, PendingIntent operation) { in setInexactRepeating() argument
258 mService.setInexactRepeating(type, triggerAtMillis, intervalMillis, operation); in setInexactRepeating()
273 public void cancel(PendingIntent operation) { in cancel() argument
275 mService.remove(operation); in cancel()
DIAlarmManager.aidl27 void set(int type, long triggerAtTime, in PendingIntent operation); in set() argument
28 void setRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation); in setRepeating() argument
29 … void setInexactRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation); in setInexactRepeating() argument
32 void remove(in PendingIntent operation); in remove() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1293 Operation operation = mOperations[index]; in beginOperation() local
1294 if (operation == null) { in beginOperation()
1295 operation = new Operation(); in beginOperation()
1296 mOperations[index] = operation; in beginOperation()
1298 operation.mFinished = false; in beginOperation()
1299 operation.mException = null; in beginOperation()
1300 if (operation.mBindArgs != null) { in beginOperation()
1301 operation.mBindArgs.clear(); in beginOperation()
1304 operation.mStartTime = System.currentTimeMillis(); in beginOperation()
1305 operation.mKind = kind; in beginOperation()
[all …]
/frameworks/base/services/java/com/android/server/
DAlarmManagerService.java160 public void set(int type, long triggerAtTime, PendingIntent operation) { in set() argument
161 setRepeating(type, triggerAtTime, 0, operation); in set()
165 PendingIntent operation) { in setRepeating() argument
166 if (operation == null) { in setRepeating()
175 alarm.operation = operation; in setRepeating()
178 removeLocked(operation); in setRepeating()
190 PendingIntent operation) { in setInexactRepeating() argument
191 if (operation == null) { in setInexactRepeating()
205 setRepeating(type, triggerAtTime, interval, operation); in setInexactRepeating()
229 setRepeating(type, adjustedTriggerTime, interval, operation); in setInexactRepeating()
[all …]
/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_rel.c232 T_DRM_Rights * ro, uint8_t * operation, in drm_getRightValue() argument
244 if (operation == NULL) { in drm_getRightValue()
266 if (strcmp((char *)operation, "play") == 0) { in drm_getRightValue()
269 } else if (strcmp((char *)operation, "display") == 0) { in drm_getRightValue()
272 } else if (strcmp((char *)operation, "execute") == 0) { in drm_getRightValue()
275 } else if (strcmp((char *)operation, "print") == 0) { in drm_getRightValue()
282 if (operation == NULL) { in drm_getRightValue()
289 operation); in drm_getRightValue()
298 if (operation == NULL) { /* If father element node is not exit then return */ in drm_getRightValue()
306 operation); in drm_getRightValue()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_header.c580 u32 operation; in DecRefPicMarking() local
628 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &operation); in DecRefPicMarking()
631 if (operation > 6) in DecRefPicMarking()
637 pDecRefPicMarking->operation[i]. in DecRefPicMarking()
638 memoryManagementControlOperation = operation; in DecRefPicMarking()
639 if ((operation == 1) || (operation == 3)) in DecRefPicMarking()
644 pDecRefPicMarking->operation[i].differenceOfPicNums = in DecRefPicMarking()
647 if (operation == 2) in DecRefPicMarking()
652 pDecRefPicMarking->operation[i].longTermPicNum = value; in DecRefPicMarking()
654 if ((operation == 3) || (operation == 6)) in DecRefPicMarking()
[all …]
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java100 for (Operation operation : proc.operations) { in main()
101 LoadedClass loadedClass = operation.loadedClass; in main()
137 for (Operation operation : proc.operations) { in addAllClassesFrom()
139 = Policy.isPreloadable(operation.loadedClass); in addAllClassesFrom()
141 toPreload.add(operation.loadedClass); in addAllClassesFrom()
DLoadedClass.java115 for (Operation operation : ops) { in addProcessNames()
116 if (operation.process.fromZygote()) { in addProcessNames()
117 names.add(operation.process.name); in addProcessNames()
/frameworks/native/libs/ui/
DRegion.cpp172 return operation(rhs, op_or); in merge()
175 return operation(rhs, op_xor); in mergeExclusive()
178 return operation(rhs, op_and); in intersect()
181 return operation(rhs, op_nand); in subtract()
183 const Region Region::operation(const Rect& rhs, int op) const { in operation() function in android::Region
192 return operation(rhs, op_or); in merge()
195 return operation(rhs, op_xor); in mergeExclusive()
198 return operation(rhs, op_and); in intersect()
201 return operation(rhs, op_nand); in subtract()
203 const Region Region::operation(const Region& rhs, int op) const { in operation() function in android::Region
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java439 private int operationGetType(ContentProviderOperation operation) in operationGetType() argument
443 return field.getInt(operation); in operationGetType()
446 private Uri operationGetUri(ContentProviderOperation operation) in operationGetUri() argument
450 return (Uri) field.get(operation); in operationGetUri()
453 private String operationGetSelection(ContentProviderOperation operation) in operationGetSelection() argument
457 return (String) field.get(operation); in operationGetSelection()
460 private String[] operationGetSelectionArgs(ContentProviderOperation operation) in operationGetSelectionArgs() argument
464 return (String[]) field.get(operation); in operationGetSelectionArgs()
467 private ContentValues operationGetValues(ContentProviderOperation operation) in operationGetValues() argument
471 return (ContentValues) field.get(operation); in operationGetValues()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java73 ContentProviderOperation operation = operations.get(i); in applyBatch() local
74 ContentValues contentValues = operation.resolveValueBackReferences( in applyBatch()
78 ContentProviderOperation operation = operations.get(i); in applyBatch() local
79 ContentValues actualContentValues = operation.resolveValueBackReferences( in applyBatch()
81 final Uri uri = operation.getUri(); in applyBatch()
/frameworks/base/obex/javax/obex/
DServerRequestHandler.java223 public int onPut(Operation operation) { in onPut() argument
244 public int onGet(Operation operation) { in onGet() argument
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DVisualDiffUtils.java54 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[i] + "\n")); in splitDiffsOnNewline()
57 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[lengthMinusOne])); in splitDiffsOnNewline()
77 switch (diff.operation) { in generateExpectedResultLines()
118 switch (diff.operation) { in generateActualResultLines()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java132 String operation = mTokenizer.nextArg(); in parseCommand() local
133 if (ARGUMENT_INSERT.equals(operation)) { in parseCommand()
135 } else if (ARGUMENT_DELETE.equals(operation)) { in parseCommand()
137 } else if (ARGUMENT_UPDATE.equals(operation)) { in parseCommand()
139 } else if (ARGUMENT_QUERY.equals(operation)) { in parseCommand()
142 throw new IllegalArgumentException("Unsupported operation: " + operation); in parseCommand()
/frameworks/base/docs/html/design/building-blocks/
Dprogress.jd4 <p>When an operation of interest to the user is taking place over a relatively long period of time,
8 <p>If you know the percentage of the operation that has been completed, use a determinate progress …
16 operation will take, use an indeterminate progress indicator.</p>
27 <p>If you don't know how much longer an operation will continue, use an indeterminate progress
/frameworks/av/media/mtp/
DMtpServer.cpp168 MtpOperationCode operation = mRequest.getOperationCode(); in run() local
171 ALOGV("operation: %s", MtpDebug::getOperationCodeName(operation)); in run()
175 bool dataIn = (operation == MTP_OPERATION_SEND_OBJECT_INFO in run()
176 || operation == MTP_OPERATION_SET_OBJECT_REFERENCES in run()
177 || operation == MTP_OPERATION_SET_OBJECT_PROP_VALUE in run()
178 || operation == MTP_OPERATION_SET_DEVICE_PROP_VALUE); in run()
197 mData.setOperationCode(operation); in run()
310 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest() local
315 if (mSendObjectHandle != kInvalidObjectHandle && operation != MTP_OPERATION_SEND_OBJECT) { in handleRequest()
321 switch (operation) { in handleRequest()
[all …]
DMtpDevice.h106 bool sendRequest(MtpOperationCode operation);
109 bool writeDataHeader(MtpOperationCode operation, int dataLength);
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java220 final ContentProviderOperation operation = operations.get(i); in applyBatch() local
221 if (i > 0 && operation.isYieldAllowed()) { in applyBatch()
231 results[i] = operation.apply(this, results, i); in applyBatch()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaSmsCbProgramData.java97 public CdmaSmsCbProgramData(int operation, int category, String language, int maxMessages, in CdmaSmsCbProgramData() argument
99 mOperation = operation; in CdmaSmsCbProgramData()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.h196 static bool CheckGLError(const std::string& operation);
201 static bool CheckEGLError(const std::string& operation);
/frameworks/native/include/ui/
DRegion.h142 const Region operation(const Rect& rhs, int op) const;
143 const Region operation(const Region& rhs, int op) const;
144 const Region operation(const Region& rhs, int dx, int dy, int op) const;
/frameworks/base/docs/html/tools/help/
Dbmgr.jd56 perform a backup operation at some time in the future (via your {@link
65 last backup operation, plus any applications which had been manually scheduled for
76 saved state from the user's previous device) and is an operation that only the system can
77 perform. The second kind of restore operation restores
80 invoke this second restore operation with the {@link
86 <p>While testing your application, you can immediately invoke the restore operation (bypassing the
114 erase. The next backup operation that the application's agent processes will look as
181 most often manipulated during a restore operation. When a device is provisioned for the first

1234