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

/frameworks/base/core/java/android/content/
H A DSyncQueue.java58 public boolean add(SyncOperation operation) { argument
59 return add(operation, null /* this is not coming from the database */);
62 private boolean add(SyncOperation operation, argument
64 // - if an operation with the same key exists and this one should run earlier,
66 // - if an operation with the same key exists and if this one should run
68 // - if no operation exists then add the new one
69 final String operationKey = operation.key;
74 if (existingOperation.expedited == operation.expedited) {
76 Math.min(existingOperation.earliestRunTime, operation.earliestRunTime);
82 if (operation
111 remove(SyncOperation operation) argument
[all...]
H A DContentResolver.java858 * Start an asynchronous sync operation. If you want to monitor the progress
889 * Start an asynchronous sync operation. If you want to monitor the progress
1027 * actually be started if other syncs are ahead of it in the sync operation queue. This means
1168 * Returns true if there is currently a sync operation for the given
1323 long durationMillis, Uri uri, String operation, String selection) {
1336 operation,
1322 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
H A DSyncManager.java758 // If this operation is expedited and there is a sync in progress then
759 // reschedule the current operation and send a cancel for it.
786 Log.v(TAG, "scheduleSyncOperation: dropping duplicate sync operation "
805 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) { argument
808 Log.d(TAG, "encountered error(s) during the sync: " + syncResult + ", " + operation);
811 operation = new SyncOperation(operation);
816 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)) {
817 operation.extras.remove(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
822 // If the operation succeede
[all...]
/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/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/libs/ui/
H A DFramebufferNativeWindow.cpp249 int operation, ...)
251 switch (operation) {
248 perform(android_native_window_t* window, int operation, ...) argument
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Duexception.cpp117 /// Initializes the empty object. \p operation is the function that returned the error code.
118 libc_exception::libc_exception (const char* operation) throw() argument
121 m_Operation (operation)
177 /// Initializes the empty object. \p operation is the function that returned the error code.
178 file_exception::file_exception (const char* operation, const char* filename) throw() argument
179 : libc_exception (operation)
255 /// Initializes the empty object. \p operation is the function that returned the error code.
256 stream_bounds_exception::stream_bounds_exception (const char* operation, const char* type, uoff_t offset, size_t expected, size_t remaining) throw() argument
257 : libc_exception (operation),
/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.java933 private void checkRange(final String operation, int start, int end) { argument
935 throw new IndexOutOfBoundsException(operation + " " +
943 throw new IndexOutOfBoundsException(operation + " " +
949 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/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/services/java/com/android/server/
H A DAlarmManagerService.java156 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
157 setRepeating(type, triggerAtTime, 0, operation);
161 PendingIntent operation) {
162 if (operation == null) {
171 alarm.operation = operation;
174 removeLocked(operation);
186 PendingIntent operation) {
187 if (operation == null) {
203 setRepeating(type, triggerAtTime, interval, operation);
160 setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
185 setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
291 remove(PendingIntent operation) argument
300 removeLocked(PendingIntent operation) argument
307 removeLocked(ArrayList<Alarm> alarmList, PendingIntent operation) argument
600 public PendingIntent operation; field in class:AlarmManagerService.Alarm
[all...]
H A DWindowManagerService.java10823 void reclaimSomeSurfaceMemoryLocked(WindowState win, String operation) { argument
10827 win.mSession.mPid, operation);
/frameworks/base/core/java/android/view/
H A DViewDebug.java1000 private static <T> long profileViewOperation(View view, final ViewOperation<T> operation) { argument
1007 T[] data = operation.pre();
1009 operation.run(data);
1011 operation.post(data);
/frameworks/base/libs/surfaceflinger_client/
H A DSurface.cpp362 // this is a client-side operation, the surface is destroyed, unmap
459 int operation, ...) {
461 va_start(args, operation);
463 int res = self->perform(operation, args);
579 int Surface::perform(int operation, va_list args) argument
582 switch (operation) {
458 perform(android_native_window_t* window, int operation, ...) argument

Completed in 213 milliseconds