Searched defs:operation (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/app/
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 DContentResolver.java1063 * Start an asynchronous sync operation. If you want to monitor the progress
1094 * Start an asynchronous sync operation. If you want to monitor the progress
1232 * actually be started if other syncs are ahead of it in the sync operation queue. This means
1373 * Returns true if there is currently a sync operation for the given
1552 long durationMillis, Uri uri, String operation, String selection) {
1565 operation,
1551 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
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/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 + " " +
H A DSpannableStringBuilder.java935 private void checkRange(final String operation, int start, int end) { argument
937 throw new IndexOutOfBoundsException(operation + " " +
945 throw new IndexOutOfBoundsException(operation + " " +
951 throw new IndexOutOfBoundsException(operation + " " +
/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/libs/ui/
H A DFramebufferNativeWindow.cpp310 int operation, ...)
312 switch (operation) {
309 perform(ANativeWindow* window, int operation, ...) argument
/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/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_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/base/libs/gui/
H A DSurfaceTextureClient.cpp114 int SurfaceTextureClient::hook_perform(ANativeWindow* window, int operation, ...) { argument
116 va_start(args, operation);
118 return c->perform(operation, args);
275 int SurfaceTextureClient::perform(int operation, va_list args) argument
278 switch (operation) {
/frameworks/base/media/mtp/
H A DMtpDevice.cpp767 bool MtpDevice::sendRequest(MtpOperationCode operation) { argument
768 LOGV("sendRequest: %s\n", MtpDebug::getOperationCodeName(operation));
770 mRequest.setOperationCode(operation);
809 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) { argument
810 mData.setOperationCode(operation);
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...]
/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/core/java/android/view/
H A DViewDebug.java1126 private static <T> long profileViewOperation(View view, final ViewOperation<T> operation) { argument
1133 T[] data = operation.pre();
1136 operation.run(data);
1139 operation.post(data);
/frameworks/base/services/java/com/android/server/wm/
H A DWindowManagerService.java442 // lock when needing these values in its normal operation.
5954 // operation. To this, start with the base screen size and compute the
8949 boolean reclaimSomeSurfaceMemoryLocked(WindowState win, String operation, boolean secure) { argument
8955 win.mSession.mPid, operation);

Completed in 480 milliseconds