Searched refs:operation (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/app/
H A DIAlarmManager.aidl27 void set(int type, long triggerAtTime, in PendingIntent operation);
28 void setRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation);
29 void setInexactRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation);
32 void remove(in PendingIntent operation);
H A DAlarmManager.java122 * @param operation Action to perform when the alarm goes off;
137 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
139 mService.set(type, triggerAtTime, operation);
175 * @param operation Action to perform when the alarm goes off;
191 PendingIntent operation) {
193 mService.setRepeating(type, triggerAtTime, interval, operation);
236 * @param operation Action to perform when the alarm goes off;
257 PendingIntent operation) {
259 mService.setInexactRepeating(type, triggerAtTime, interval, operation);
269 * @param operation IntentSende
190 setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
256 setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
274 cancel(PendingIntent operation) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncQueue.java70 public boolean add(SyncOperation operation) { argument
71 return add(operation, null /* this is not coming from the database */);
74 private boolean add(SyncOperation operation, argument
76 // - if an operation with the same key exists and this one should run earlier,
78 // - if an operation with the same key exists and if this one should run
80 // - if no operation exists then add the new one
81 final String operationKey = operation.key;
86 if (existingOperation.expedited == operation.expedited) {
88 Math.min(existingOperation.earliestRunTime, operation.earliestRunTime);
94 if (operation
123 remove(SyncOperation operation) argument
[all...]
H A DContentProvider.java199 for (ContentProviderOperation operation : operations) {
200 if (operation.isReadOperation()) {
201 enforceReadPermission(operation.getUri());
204 if (operation.isWriteOperation()) {
205 enforceWritePermission(operation.getUri());
599 * deletion, allowing the operation to affect multiple rows in a directory.
962 * @throws OperationApplicationException thrown if any operation fails.
H A DSyncManager.java815 Log.v(TAG, "scheduleSyncOperation: dropping duplicate sync operation "
834 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) { argument
837 Log.d(TAG, "encountered error(s) during the sync: " + syncResult + ", " + operation);
840 operation = new SyncOperation(operation);
845 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)) {
846 operation.extras.remove(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
851 // If the operation succeeded to some extent then retry immediately.
855 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false)) {
856 Log.d(TAG, "not retrying sync operation becaus
[all...]
/frameworks/base/obex/javax/obex/
H A DServerRequestHandler.java54 * an OBEX operation and a Connection ID was specified, no Connection ID will be
215 * @param operation contains the headers sent by the client and allows new
223 public int onPut(Operation operation) { argument
236 * @param operation contains the headers sent by the client and allows new
244 public int onGet(Operation operation) { argument
/frameworks/base/tools/preload/
H A DWritePreloadedClassFile.java100 for (Operation operation : proc.operations) {
101 LoadedClass loadedClass = operation.loadedClass;
137 for (Operation operation : proc.operations) {
139 = Policy.isPreloadable(operation.loadedClass);
141 toPreload.add(operation.loadedClass);
H A DLoadedClass.java115 for (Operation operation : ops) {
116 if (operation.process.fromZygote()) {
117 names.add(operation.process.name);
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java158 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
159 setRepeating(type, triggerAtTime, 0, operation);
163 PendingIntent operation) {
164 if (operation == null) {
173 alarm.operation = operation;
176 removeLocked(operation);
188 PendingIntent operation) {
189 if (operation == null) {
203 setRepeating(type, triggerAtTime, interval, operation);
162 setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
187 setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
272 remove(PendingIntent operation) argument
281 removeLocked(PendingIntent operation) argument
288 removeLocked(ArrayList<Alarm> alarmList, PendingIntent operation) argument
585 public PendingIntent operation; field in class:AlarmManagerService.Alarm
[all...]
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_rel.c232 T_DRM_Rights * ro, uint8_t * operation,
244 if (operation == NULL) {
266 if (strcmp((char *)operation, "play") == 0) {
269 } else if (strcmp((char *)operation, "display") == 0) {
272 } else if (strcmp((char *)operation, "execute") == 0) {
275 } else if (strcmp((char *)operation, "print") == 0) {
282 if (operation == NULL) {
289 operation);
298 if (operation == NULL) { /* If father element node is not exit then return */
306 operation);
231 drm_getRightValue(uint8_t * buffer, int32_t bufferLen, T_DRM_Rights * ro, uint8_t * operation, uint8_t oper_char) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java137 // Build an operation to assert values match provider
156 // Build an operation to assert values match provider
439 private int operationGetType(ContentProviderOperation operation) argument
443 return field.getInt(operation);
446 private Uri operationGetUri(ContentProviderOperation operation) argument
450 return (Uri) field.get(operation);
453 private String operationGetSelection(ContentProviderOperation operation) argument
457 return (String) field.get(operation);
460 private String[] operationGetSelectionArgs(ContentProviderOperation operation) argument
464 return (String[]) field.get(operation);
467 operationGetValues(ContentProviderOperation operation) argument
474 operationGetExpectedCount(ContentProviderOperation operation) argument
481 operationGetValuesBackReferences(ContentProviderOperation operation) argument
488 operationGetSelectionArgsBackReferences( ContentProviderOperation operation) argument
[all...]
/frameworks/base/media/mtp/
H A DMtpDevice.h106 bool sendRequest(MtpOperationCode operation);
109 bool writeDataHeader(MtpOperationCode operation, int dataLength);
H A DMtpServer.cpp168 MtpOperationCode operation = mRequest.getOperationCode(); local
171 LOGV("operation: %s", MtpDebug::getOperationCodeName(operation));
175 bool dataIn = (operation == MTP_OPERATION_SEND_OBJECT_INFO
176 || operation == MTP_OPERATION_SET_OBJECT_REFERENCES
177 || operation == MTP_OPERATION_SET_OBJECT_PROP_VALUE
178 || operation == MTP_OPERATION_SET_DEVICE_PROP_VALUE);
197 mData.setOperationCode(operation);
310 MtpOperationCode operation = mRequest.getOperationCode(); local
315 if (mSendObjectHandle != kInvalidObjectHandle && operation !
766 doGetPartialObject(MtpOperationCode operation) argument
[all...]
H A DMtpServer.h140 MtpResponseCode doGetPartialObject(MtpOperationCode operation);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_header.c580 u32 operation; local
628 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &operation);
631 if (operation > 6)
637 pDecRefPicMarking->operation[i].
638 memoryManagementControlOperation = operation;
639 if ((operation == 1) || (operation == 3))
644 pDecRefPicMarking->operation[i].differenceOfPicNums =
647 if (operation == 2)
652 pDecRefPicMarking->operation[
[all...]
H A Dh264bsd_pic_order_cnt.c140 while (pSliceHeader->decRefPicMarking.operation[i].
143 if (pSliceHeader->decRefPicMarking.operation[i].
H A Dh264bsd_slice_header.h65 /* structure to store data of one reference picture list reordering operation */
80 /* structure to store data of one DPB memory management control operation */
104 memoryManagementOperation_t operation[MAX_NUM_MMC_OPERATIONS]; member in struct:__anon917
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DImportTestProvider.java62 TestCase.fail("There is no operation.");
73 ContentProviderOperation operation = operations.get(i);
74 ContentValues contentValues = operation.resolveValueBackReferences(
78 ContentProviderOperation operation = operations.get(i);
79 ContentValues actualContentValues = operation.resolveValueBackReferences(
81 final Uri uri = operation.getUri();
/frameworks/base/include/ui/
H A DFramebufferNativeWindow.h74 static int perform(ANativeWindow* window, int operation, ...);
H A DRegion.h134 const Region operation(const Rect& rhs, int op) const;
135 const Region operation(const Region& rhs, int op) const;
136 const Region operation(const Region& rhs, int dx, int dy, int op) const;
/frameworks/base/libs/ui/
H A DRegion.cpp166 return operation(rhs, op_or);
169 return operation(rhs, op_and);
172 return operation(rhs, op_nand);
174 const Region Region::operation(const Rect& rhs, int op) const {
183 return operation(rhs, op_or);
186 return operation(rhs, op_and);
189 return operation(rhs, op_nand);
191 const Region Region::operation(const Region& rhs, int op) const {
223 return operation(rhs, dx, dy, op_or);
226 return operation(rh
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DVisualDiffUtils.java54 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[i] + "\n"));
57 newDiffs.add(new diff_match_patch.Diff(diff.operation, parts[lengthMinusOne]));
77 switch (diff.operation) {
118 switch (diff.operation) {
/frameworks/base/include/gui/
H A DSurfaceTextureClient.h56 static int hook_perform(ANativeWindow* window, int operation, ...);
79 virtual int perform(int operation, va_list args);
119 // operation. It is initialized to 1.
123 // operation. It is initialized to 1.
127 // deuque operation. It is initialized to PIXEL_FORMAT_RGBA_8888.
131 // at the next deuque operation. It is initialized to 0.
135 // operation. It defaults to NATIVE_WINDOW_TIMESTAMP_AUTO, which means that
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java213 final ContentProviderOperation operation = operations.get(i);
214 if (i > 0 && operation.isYieldAllowed()) {
224 results[i] = operation.apply(this, results, i);
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java339 private void checkRange(final String operation, int start, int end) { argument
341 throw new IndexOutOfBoundsException(operation + " " +
349 throw new IndexOutOfBoundsException(operation + " " +
355 throw new IndexOutOfBoundsException(operation + " " +

Completed in 490 milliseconds

12