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

123

/frameworks/base/services/core/java/com/android/server/location/
H A DGpsStatusListenerHelper.java52 Operation operation;
54 operation = new Operation() {
61 operation = new Operation() {
68 foreach(operation);
72 Operation operation = new Operation() {
78 foreach(operation);
90 Operation operation = new Operation() {
104 foreach(operation);
108 Operation operation = new Operation() {
114 foreach(operation);
[all...]
H A DRemoteListenerHelper.java129 ListenerOperation<TListener> operation = getHandlerOperation(RESULT_INTERNAL_ERROR);
130 foreachUnsafe(operation);
145 protected void foreach(ListenerOperation<TListener> operation) { argument
147 foreachUnsafe(operation);
159 private void foreachUnsafe(ListenerOperation<TListener> operation) { argument
161 post(linkedListener.getUnderlyingListener(), operation);
165 private void post(TListener listener, ListenerOperation<TListener> operation) { argument
166 if (operation != null) {
167 mHandler.post(new HandlerRunnable(listener, operation));
209 public HandlerRunnable(TListener listener, ListenerOperation<TListener> operation) { argument
[all...]
H A DGpsMeasurementsProvider.java41 ListenerOperation<IGpsMeasurementsListener> operation =
48 foreach(operation);
H A DGpsNavigationMessageProvider.java41 ListenerOperation<IGpsNavigationMessageListener> operation =
49 foreach(operation);
/frameworks/base/core/java/android/app/
H A DAlarmManager.java190 * @param operation Action to perform when the alarm goes off;
207 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument
208 setImpl(type, triggerAtMillis, legacyExactLength(), 0, operation, null, null);
250 * @param operation Action to perform when the alarm goes off;
268 long intervalMillis, PendingIntent operation) {
269 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, operation, null, null);
301 * @param operation Action to perform when the alarm goes off;
318 PendingIntent operation) {
319 setImpl(type, windowStartMillis, windowLengthMillis, 0, operation, null, null);
340 * @param operation Actio
267 setRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
317 setWindow(int type, long windowStartMillis, long windowLengthMillis, PendingIntent operation) argument
356 setExact(int type, long triggerAtMillis, PendingIntent operation) argument
384 setAlarmClock(AlarmClockInfo info, PendingIntent operation) argument
390 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument
395 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) argument
508 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
523 cancel(PendingIntent operation) argument
[all...]
H A DIAlarmManager.aidl31 long interval, in PendingIntent operation, in WorkSource workSource,
35 void remove(in PendingIntent operation);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncQueue.java108 public boolean add(SyncOperation operation) { argument
109 return add(operation, null /* this is not coming from the database */);
114 * If an operation is added that already exists, the existing operation is updated if the newly
115 * added operation occurs before (or the interval overlaps).
117 private boolean add(SyncOperation operation, argument
119 // If an operation with the same key exists and this one should run sooner/overlaps,
120 // replace the run interval of the existing operation with this new one.
121 // Complications: what if the existing operation is expedited but the new operation ha
173 remove(SyncOperation operation) argument
[all...]
/frameworks/base/location/java/android/location/
H A DGpsMeasurementListenerTransport.java53 ListenerOperation<GpsMeasurementsEvent.Listener> operation =
60 foreach(operation);
65 ListenerOperation<GpsMeasurementsEvent.Listener> operation =
72 foreach(operation);
H A DGpsNavigationMessageListenerTransport.java55 ListenerOperation<GpsNavigationMessageEvent.Listener> operation =
63 foreach(operation);
68 ListenerOperation<GpsNavigationMessageEvent.Listener> operation =
76 foreach(operation);
H A DLocalListenerHelper.java98 protected void foreach(ListenerOperation<TListener> operation) { argument
105 operation.execute(listener);
/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
534 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
538 * @throws OperationCanceledException if the operation was canceled.
575 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
581 * @throws OperationCanceledException if the operation was canceled.
618 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
624 * @throws OperationCanceledException if the operation was canceled.
662 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
669 * @throws OperationCanceledException if the operation was canceled.
710 * @param cancellationSignal A signal to cancel the operation i
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java148 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE);
149 mHandler.enqueueOperation(operation);
156 Message operation = mHandler.obtainMessage(MyHandler.MSG_OPEN);
157 mHandler.enqueueOperation(operation);
168 Message operation = mHandler.obtainMessage(MyHandler.MSG_UPDATE, args);
169 mHandler.enqueueOperation(operation);
173 operation = mHandler.obtainMessage(MyHandler.MSG_START_PRELOAD);
174 mHandler.enqueueOperation(operation);
188 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE);
189 mHandler.enqueueOperation(operation);
[all...]
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
H A DAppWidget.java70 String operation = mTokenizer.nextArg();
71 if (ARGUMENT_GRANT_BIND.equals(operation)) {
73 } else if (ARGUMENT_REVOKE_BIND.equals(operation)) {
76 throw new IllegalArgumentException("Unsupported operation: " + 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java173 public static void checkGlError(String operation) { argument
176 throw new RuntimeException("GL Operation '" + operation + "' caused error "
188 private static void assertNonUiThread(String operation) { argument
190 throw new RuntimeException("Attempting to perform GL operation '" + operation
/frameworks/av/media/mtp/
H A DMtpDevice.h106 bool sendRequest(MtpOperationCode operation);
109 bool writeDataHeader(MtpOperationCode operation, int dataLength);
/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/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_header.c582 u32 operation; local
630 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &operation);
633 if (operation > 6)
639 pDecRefPicMarking->operation[i].
640 memoryManagementControlOperation = operation;
641 if ((operation == 1) || (operation == 3))
646 pDecRefPicMarking->operation[i].differenceOfPicNums =
649 if (operation == 2)
654 pDecRefPicMarking->operation[
[all...]
/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.cpp320 return operation(rhs, op_or);
323 return operation(rhs, op_xor);
326 return operation(rhs, op_and);
329 return operation(rhs, op_nand);
331 const Region Region::operation(const Rect& rhs, int op) const { function in class:android::Region
340 return operation(rhs, op_or);
343 return operation(rhs, op_xor);
346 return operation(rhs, op_and);
349 return operation(rhs, op_nand);
351 const Region Region::operation(cons function in class:android::Region
397 const Region Region::operation(const Region& rhs, int dx, int dy, int op) const { function in class:android::Region
[all...]
/frameworks/base/core/java/android/net/
H A DIConnectivityManager.aidl148 in PendingIntent operation);
150 void releasePendingNetworkRequest(in PendingIntent operation);
156 in PendingIntent operation);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h197 // output an error message referencing the given operation string. Returns
199 static bool CheckGLError(const std::string& operation);
202 // will output an error message referencing the given operation string.
204 static bool CheckEGLError(const std::string& operation);
226 // Outputs error messages specific to the operation eglMakeCurrent().

Completed in 566 milliseconds

123