Searched refs:operation (Results 1 - 25 of 42) 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.java120 * @param operation Action to perform when the alarm goes off;
135 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument
137 mService.set(type, triggerAtMillis, operation);
174 * @param operation Action to perform when the alarm goes off;
190 long intervalMillis, PendingIntent operation) {
192 mService.setRepeating(type, triggerAtMillis, intervalMillis, operation);
235 * @param operation Action to perform when the alarm goes off;
256 long intervalMillis, PendingIntent operation) {
258 mService.setInexactRepeating(type, triggerAtMillis, intervalMillis, operation);
268 * @param operation IntentSende
189 setRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
255 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
273 cancel(PendingIntent operation) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncQueue.java80 public boolean add(SyncOperation operation) { argument
81 return add(operation, null /* this is not coming from the database */);
84 private boolean add(SyncOperation operation, argument
86 // - if an operation with the same key exists and this one should run earlier,
88 // - if an operation with the same key exists and if this one should run
90 // - if no operation exists then add the new one
91 final String operationKey = operation.key;
96 if (existingOperation.expedited == operation.expedited) {
98 Math.min(existingOperation.earliestRunTime, operation.earliestRunTime);
104 if (operation
146 remove(SyncOperation operation) argument
[all...]
H A DContentProvider.java213 for (ContentProviderOperation operation : operations) {
214 if (operation.isReadOperation()) {
215 enforceReadPermission(operation.getUri());
218 if (operation.isWriteOperation()) {
219 enforceWritePermission(operation.getUri());
628 * signal to ensure correct operation on older versions of the Android Framework in
644 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
645 * If the operation is canceled, then {@link OperationCanceledException} will be thrown
713 * deletion, allowing the operation to affect multiple rows in a directory.
1076 * @throws OperationApplicationException thrown if any operation fail
[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/core/java/android/database/sqlite/
H A DSQLiteConnection.java55 * perform a database operation and are then returned to the pool. At any
527 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
531 * @throws OperationCanceledException if the operation was canceled.
568 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
574 * @throws OperationCanceledException if the operation was canceled.
611 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
617 * @throws OperationCanceledException if the operation was canceled.
655 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
662 * @throws OperationCanceledException if the operation was canceled.
703 * @param cancellationSignal A signal to cancel the operation i
[all...]
/frameworks/base/services/java/com/android/server/
H A DAlarmManagerService.java163 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
164 setRepeating(type, triggerAtTime, 0, operation);
168 PendingIntent operation) {
169 if (operation == null) {
178 alarm.operation = operation;
181 removeLocked(operation);
193 PendingIntent operation) {
194 if (operation == null) {
208 setRepeating(type, triggerAtTime, interval, operation);
167 setRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
192 setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
284 remove(PendingIntent operation) argument
293 removeLocked(PendingIntent operation) argument
300 removeLocked(ArrayList<Alarm> alarmList, PendingIntent operation) argument
621 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/av/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 ALOGV("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/telephony/java/android/telephony/cdma/
H A DCdmaSmsCbProgramData.java78 /** Service category operation (add/delete/clear). */
97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, argument
99 mOperation = operation;
134 * Returns the service category operation, e.g. {@link #OPERATION_ADD_CATEGORY}.
183 return "CdmaSmsCbProgramData{operation=" + mOperation + ", category=" + mCategory
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h194 // output an error message referencing the given operation string. Returns
196 static bool CheckGLError(const std::string& operation);
199 // will output an error message referencing the given operation string.
201 static bool CheckEGLError(const std::string& operation);
223 // Outputs error messages specific to the operation eglMakeCurrent().
/frameworks/av/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].
/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/native/libs/ui/
H A DRegion.cpp167 return operation(rhs, op_or);
170 return operation(rhs, op_xor);
173 return operation(rhs, op_and);
176 return operation(rhs, op_nand);
178 const Region Region::operation(const Rect& rhs, int op) const { function in class:android::Region
187 return operation(rhs, op_or);
190 return operation(rhs, op_xor);
193 return operation(rhs, op_and);
196 return operation(rhs, op_nand);
198 const Region Region::operation(cons function in class:android::Region
244 const Region Region::operation(const Region& rhs, int dx, int dy, int op) const { function in class:android::Region
[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/native/include/ui/
H A DFramebufferNativeWindow.h72 static int perform(ANativeWindow* window, int operation, ...);
H A DRegion.h147 const Region operation(const Rect& rhs, int op) const;
148 const Region operation(const Region& rhs, int op) const;
149 const Region operation(const Region& rhs, int dx, int dy, int op) const;
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java135 String operation = mTokenizer.nextArg();
136 if (ARGUMENT_INSERT.equals(operation)) {
138 } else if (ARGUMENT_DELETE.equals(operation)) {
140 } else if (ARGUMENT_UPDATE.equals(operation)) {
142 } else if (ARGUMENT_QUERY.equals(operation)) {
145 throw new IllegalArgumentException("Unsupported operation: " + operation);
/frameworks/native/include/gui/
H A DSurfaceTextureClient.h68 static int hook_perform(ANativeWindow* window, int operation, ...);
103 virtual int perform(int operation, va_list args);
149 // operation. It is initialized to 1.
153 // dequeue operation. It is initialized to 1.
157 // deuque operation. It is initialized to PIXEL_FORMAT_RGBA_8888.
161 // at the next deuque operation. It is initialized to 0.
165 // operation. It defaults to NATIVE_WINDOW_TIMESTAMP_AUTO, which means that
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java220 final ContentProviderOperation operation = operations.get(i);
221 if (i > 0 && operation.isYieldAllowed()) {
231 results[i] = operation.apply(this, results, i);

Completed in 3626 milliseconds

12