Searched defs:operation (Results 1 - 14 of 14) 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/obex/javax/obex/
H A DServerRequestHandler.java54 * an OBEX operation and a Connection ID was specified, no Connection ID will be
208 * @param operation contains the headers sent by the client and allows new
216 public int onPut(Operation operation) { argument
229 * @param operation contains the headers sent by the client and allows new
237 public int onGet(Operation operation) { argument
/frameworks/base/libs/ui/
H A DFramebufferNativeWindow.cpp250 int operation, ...)
252 switch (operation) {
249 perform(android_native_window_t* window, int operation, ...) argument
H A DRegion.cpp168 return operation(rhs, op_or);
171 return operation(rhs, op_and);
174 return operation(rhs, op_nand);
176 const Region Region::operation(const Rect& rhs, int op) const {
185 return operation(rhs, op_or);
188 return operation(rhs, op_and);
191 return operation(rhs, op_nand);
193 const Region Region::operation(const Region& rhs, int op) const {
225 return operation(rhs, dx, dy, op_or);
228 return operation(rh
69 LOGE_IF(err<0, Ó, strerror(err)); } Region::Region(const void* buffer) { status_t err = read(buffer); LOGE_IF(err<0, Ó, strerror(err)); } Region::~Region() { } Region& Region::operator = (const Region& rhs) { validate(rhs, Ó); mBounds = rhs.mBounds; mStorage = rhs.mStorage; return *this; } Region& Region::makeBoundsSelf() { mStorage.clear(); return *this; } void Region::clear() { mBounds.clear(); mStorage.clear(); } void Region::set(const Rect& r) { mBounds = r; mStorage.clear(); } void Region::set(uint32_t w, uint32_t h) { mBounds = Rect(int(w), int(h)); mStorage.clear(); } void Region::addRectUnchecked(int l, int t, int r, int b) { mStorage.add(Rect(l,t,r,b)); validate(*this, Ó); } Region& Region::orSelf(const Rect& r) { return operationSelf(r, op_or); } Region& Region::andSelf(const Rect& r) { return operationSelf(r, op_and); } Region& Region::subtractSelf(const Rect& r) { return operationSelf(r, op_nand); } Region& Region::operationSelf(const Rect& r, int op) { Region lhs(*this); boolean_operation(op, *this, lhs, r); return *this; } Region& Region::orSelf(const Region& rhs) { return operationSelf(rhs, op_or); } Region& Region::andSelf(const Region& rhs) { return operationSelf(rhs, op_and); } Region& Region::subtractSelf(const Region& rhs) { return operationSelf(rhs, op_nand); } Region& Region::operationSelf(const Region& rhs, int op) { Region lhs(*this); boolean_operation(op, *this, lhs, rhs); return *this; } Region& Region::translateSelf(int x, int y) { if (x|y) translate(*this, x, y); return *this; } const Region Region::merge(const Rect& rhs) const { return operation(rhs, op_or); } const Region Region::intersect(const Rect& rhs) const { return operation(rhs, op_and); } const Region Region::subtract(const Rect& rhs) const { return operation(rhs, op_nand); } const Region Region::operation(const Rect& rhs, int op) const { Region result; boolean_operation(op, result, *this, rhs); return result; } const Region Region::merge(const Region& rhs) const { return operation(rhs, op_or); } const Region Region::intersect(const Region& rhs) const { return operation(rhs, op_and); } const Region Region::subtract(const Region& rhs) const { return operation(rhs, op_nand); } const Region Region::operation(const Region& rhs, int op) const { Region result; boolean_operation(op, result, *this, rhs); return result; } const Region Region::translate(int x, int y) const { Region result; translate(result, *this, x, y); return result; } Region& Region::orSelf(const Region& rhs, int dx, int dy) { return operationSelf(rhs, dx, dy, op_or); } Region& Region::andSelf(const Region& rhs, int dx, int dy) { return operationSelf(rhs, dx, dy, op_and); } Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { return operationSelf(rhs, dx, dy, op_nand); } Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { Region lhs(*this); boolean_operation(op, *this, lhs, rhs, dx, dy); return *this; } const Region Region::merge(const Region& rhs, int dx, int dy) const { return operation(rhs, dx, dy, op_or); } const Region Region::intersect(const Region& rhs, int dx, int dy) const { return operation(rhs, dx, dy, op_and); } const Region Region::subtract(const Region& rhs, int dx, int dy) const { return operation(rhs, dx, dy, op_nand); } const Region Region::operation(const Region& rhs, int dx, int dy, int op) const { Region result; boolean_operation(op, result, *this, rhs, dx, dy); return result; } class Region::rasterizer : public region_operator<Rect>::region_rasterizer { Rect& bounds; Vector<Rect>& storage; Rect* head; Rect* tail; Vector<Rect> span; Rect* cur; public: rasterizer(Region& reg) : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() { bounds.top = bounds.bottom = 0; bounds.left = INT_MAX; bounds.right = INT_MIN; storage.clear(); } ~rasterizer() { if (span.size()) { flushSpan(); } if (storage.size()) { bounds.top = storage.itemAt(0).top; bounds.bottom = storage.top().bottom; if (storage.size() == 1) { storage.clear(); } } else { bounds.left = 0; bounds.right = 0; } } virtual void operator()(const Rect& rect) { if (span.size()) { if (cur->top != rect.top) { flushSpan(); } else if (cur->right == rect.left) argument
[all...]
H A DSurface.cpp358 // this is a client-side operation, the surface is destroyed, unmap
455 int operation, ...) {
457 va_start(args, operation);
459 int res = self->perform(operation, args);
575 int Surface::perform(int operation, va_list args) argument
578 switch (operation) {
454 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/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/tests/FrameworkTest/tests/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/services/java/com/android/server/
H A DAlarmManagerService.java154 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
155 setRepeating(type, triggerAtTime, 0, operation);
159 PendingIntent operation) {
160 if (operation == null) {
169 alarm.operation = operation;
172 removeLocked(operation);
184 PendingIntent operation) {
185 if (operation == null) {
201 setRepeating(type, triggerAtTime, interval, operation);
158 setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
183 setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
280 remove(PendingIntent operation) argument
289 removeLocked(PendingIntent operation) argument
296 removeLocked(ArrayList<Alarm> alarmList, PendingIntent operation) argument
562 public PendingIntent operation; field in class:AlarmManagerService.Alarm
[all...]
H A DWindowManagerService.java10461 void reclaimSomeSurfaceMemoryLocked(WindowState win, String operation) { argument
10465 win.mSession.mPid, operation);
/frameworks/base/core/java/android/view/
H A DViewDebug.java828 private static <T> long profileViewOperation(View view, final ViewOperation<T> operation) { argument
835 T[] data = operation.pre();
837 operation.run(data);
839 operation.post(data);
/frameworks/base/core/java/android/content/
H A DSyncManager.java877 // If this operation is expedited and there is a sync in progress then
878 // reschedule the current operation and send a cancel for it.
907 Log.v(TAG, "scheduleSyncOperation: dropping duplicate sync operation "
933 // If the operation succeeded to some extent then retry immediately.
938 Log.d(TAG, "not retrying sync operation because it retried too many times: "
942 Log.d(TAG, "retrying sync operation immediately because "
952 Log.d(TAG, "retrying sync operation as a two-way sync because an upload-only sync "
960 Log.d(TAG, "retrying sync operation in " + delay + " ms because "
966 Log.d(TAG, "not retrying sync operation because the error is a hard error: "
973 * Value type that represents a sync operation
2230 add(SyncOperation operation) argument
2235 add(SyncOperation operation, SyncStorageEngine.PendingOperation pop) argument
[all...]

Completed in 389 milliseconds