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

123

/frameworks/base/services/core/java/com/android/server/location/
H A DGpsStatusListenerHelper.java46 Operation operation;
48 operation = new Operation() {
55 operation = new Operation() {
62 foreach(operation);
66 Operation operation = new Operation() {
72 foreach(operation);
84 Operation operation = new Operation() {
98 foreach(operation);
102 Operation operation = new Operation() {
108 foreach(operation);
[all...]
H A DRemoteListenerHelper.java128 protected void foreach(ListenerOperation<TListener> operation) { argument
130 foreachUnsafe(operation);
154 ListenerOperation<TListener> operation = getHandlerOperation(RESULT_INTERNAL_ERROR);
155 foreachUnsafe(operation);
171 private void foreachUnsafe(ListenerOperation<TListener> operation) { argument
173 post(linkedListener.getUnderlyingListener(), operation);
177 private void post(TListener listener, ListenerOperation<TListener> operation) { argument
178 if (operation != null) {
179 mHandler.post(new HandlerRunnable(listener, operation));
239 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.java234 * @param operation Action to perform when the alarm goes off;
251 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument
252 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null);
294 * @param operation Action to perform when the alarm goes off;
312 long intervalMillis, PendingIntent operation) {
313 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, null,
346 * @param operation Action to perform when the alarm goes off;
363 PendingIntent operation) {
364 setImpl(type, windowStartMillis, windowLengthMillis, 0, 0, operation, null, null);
385 * @param operation Actio
311 setRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
362 setWindow(int type, long windowStartMillis, long windowLengthMillis, PendingIntent operation) argument
401 setExact(int type, long triggerAtMillis, PendingIntent operation) argument
410 setIdleUntil(int type, long triggerAtMillis, PendingIntent operation) argument
438 setAlarmClock(AlarmClockInfo info, PendingIntent operation) argument
444 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument
450 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, int flags, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) argument
563 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument
613 setAndAllowWhileIdle(int type, long triggerAtMillis, PendingIntent operation) argument
667 setExactAndAllowWhileIdle(int type, long triggerAtMillis, PendingIntent operation) argument
682 cancel(PendingIntent operation) argument
[all...]
H A DIAlarmManager.aidl31 long interval, int flags, 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
532 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
536 * @throws OperationCanceledException if the operation was canceled.
573 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
579 * @throws OperationCanceledException if the operation was canceled.
616 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
622 * @throws OperationCanceledException if the operation was canceled.
660 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
667 * @throws OperationCanceledException if the operation was canceled.
708 * @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/base/services/core/java/com/android/server/
H A DAlarmManagerService.java380 boolean remove(final PendingIntent operation) { argument
387 if (alarm.operation.equals(operation)) {
420 if (alarm.operation.getTargetPackage().equals(packageName)) {
452 if (UserHandle.getUserId(alarm.operation.getCreatorUid()) == userHandle) {
480 if (a.operation.getTargetPackage().equals(packageName)) {
557 if (Intent.ACTION_TIME_TICK.equals(a.operation.getIntent().getAction())) {
566 if (packagePrio == null) packagePrio = mPriorities.get(a.operation.getCreatorPackage());
569 mPriorities.put(a.operation.getCreatorPackage(), packagePrio);
884 void removeImpl(PendingIntent operation) { argument
893 setImpl(int type, long triggerAtTime, long windowLength, long interval, PendingIntent operation, int flags, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, int callingUid) argument
959 setImplLocked(int type, long when, long whenElapsed, long windowLength, long maxWhen, long interval, PendingIntent operation, int flags, boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, int uid) argument
1633 removeLocked(PendingIntent operation) argument
1949 public final PendingIntent operation; field in class:AlarmManagerService.Alarm
[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.cpp331 return operation(rhs, op_or);
334 return operation(rhs, op_xor);
337 return operation(rhs, op_and);
340 return operation(rhs, op_nand);
342 const Region Region::operation(const Rect& rhs, int op) const { function in class:android::Region
351 return operation(rhs, op_or);
354 return operation(rhs, op_xor);
357 return operation(rhs, op_and);
360 return operation(rhs, op_nand);
362 const Region Region::operation(cons function in class:android::Region
408 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.aidl142 in PendingIntent operation);
144 void releasePendingNetworkRequest(in PendingIntent operation);
150 in PendingIntent operation);

Completed in 7384 milliseconds

123