Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 165) sorted by relevance

1234567

/frameworks/base/core/java/android/app/
DAlarmManager.java207 public void set(int type, long triggerAtMillis, PendingIntent operation) { in set() argument
208 setImpl(type, triggerAtMillis, legacyExactLength(), 0, operation, null, null); in set()
268 long intervalMillis, PendingIntent operation) { in setRepeating() argument
269 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, operation, null, null); in setRepeating()
318 PendingIntent operation) { in setWindow() argument
319 setImpl(type, windowStartMillis, windowLengthMillis, 0, operation, null, null); in setWindow()
356 public void setExact(int type, long triggerAtMillis, PendingIntent operation) { in setExact() argument
357 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, operation, null, null); in setExact()
384 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock() argument
385 setImpl(RTC_WAKEUP, info.getTriggerTime(), WINDOW_EXACT, 0, operation, null, info); in setAlarmClock()
[all …]
DIAlarmManager.aidl31 long interval, in PendingIntent operation, in WorkSource workSource, in set() argument
35 void remove(in PendingIntent operation); in remove() argument
/frameworks/base/services/core/java/com/android/server/location/
DGpsStatusListenerHelper.java52 Operation operation; in handleGpsEnabledChanged() local
54 operation = new Operation() { in handleGpsEnabledChanged()
61 operation = new Operation() { in handleGpsEnabledChanged()
68 foreach(operation); in handleGpsEnabledChanged()
72 Operation operation = new Operation() { in onFirstFix() local
78 foreach(operation); in onFirstFix()
90 Operation operation = new Operation() { in onSvStatusChanged() local
104 foreach(operation); in onSvStatusChanged()
108 Operation operation = new Operation() { in onNmeaReceived() local
114 foreach(operation); in onNmeaReceived()
DRemoteListenerHelper.java129 ListenerOperation<TListener> operation = getHandlerOperation(RESULT_INTERNAL_ERROR); in onGpsEnabledChanged() local
130 foreachUnsafe(operation); in onGpsEnabledChanged()
145 protected void foreach(ListenerOperation<TListener> operation) { in foreach() argument
147 foreachUnsafe(operation); in foreach()
159 private void foreachUnsafe(ListenerOperation<TListener> operation) { in foreachUnsafe() argument
161 post(linkedListener.getUnderlyingListener(), operation); in foreachUnsafe() local
165 private void post(TListener listener, ListenerOperation<TListener> operation) { in post() argument
166 if (operation != null) { in post()
167 mHandler.post(new HandlerRunnable(listener, operation)); in post()
209 public HandlerRunnable(TListener listener, ListenerOperation<TListener> operation) { in HandlerRunnable() argument
[all …]
DGpsMeasurementsProvider.java41 ListenerOperation<IGpsMeasurementsListener> operation = in onMeasurementsAvailable() local
48 foreach(operation); in onMeasurementsAvailable()
DGpsNavigationMessageProvider.java41 ListenerOperation<IGpsNavigationMessageListener> operation = in onNavigationMessageAvailable() local
49 foreach(operation); in onNavigationMessageAvailable()
/frameworks/base/services/core/java/com/android/server/content/
DSyncQueue.java108 public boolean add(SyncOperation operation) { in add() argument
109 return add(operation, null /* this is not coming from the database */); in add()
117 private boolean add(SyncOperation operation, in add() argument
124 final String operationKey = operation.key; in add()
129 if (operation.compareTo(existingOperation) <= 0 ) { in add()
131 Math.min(existingOperation.latestRunTime, operation.latestRunTime); in add()
135 existingOperation.flexTime = operation.flexTime; in add()
141 operation.pendingOperation = pop; in add()
144 if (operation.pendingOperation == null) { in add()
145 pop = mSyncStorageEngine.insertIntoPending(operation); in add()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1300 Operation operation = mOperations[index]; in beginOperation() local
1301 if (operation == null) { in beginOperation()
1302 operation = new Operation(); in beginOperation()
1303 mOperations[index] = operation; in beginOperation()
1305 operation.mFinished = false; in beginOperation()
1306 operation.mException = null; in beginOperation()
1307 if (operation.mBindArgs != null) { in beginOperation()
1308 operation.mBindArgs.clear(); in beginOperation()
1311 operation.mStartTime = System.currentTimeMillis(); in beginOperation()
1312 operation.mKind = kind; in beginOperation()
[all …]
/frameworks/base/docs/html/training/notify-user/
Ddisplay-progress.jd44 of an ongoing operation. If you can estimate how long the operation takes and how much of it
46 (a progress bar). If you can't estimate the length of the operation, use the
66 As your operation proceeds,
67 increment <code>progress</code>, and update the notification. At the end of the operation,
71 "percent complete" value for the operation.
74 You can either leave the progress bar showing when the operation is done, or remove it. In
75 either case, remember to update the notification text to show that the operation is complete.
89 // Start a lengthy operation in a background thread
95 // Do the "lengthy" operation 20 times
103 // Sleeps the thread, simulating an operation
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java148 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onContentUpdated() local
149 mHandler.enqueueOperation(operation); in onContentUpdated()
156 Message operation = mHandler.obtainMessage(MyHandler.MSG_OPEN); in onContentUpdated() local
157 mHandler.enqueueOperation(operation); in onContentUpdated()
168 Message operation = mHandler.obtainMessage(MyHandler.MSG_UPDATE, args); in onContentUpdated() local
169 mHandler.enqueueOperation(operation); in onContentUpdated()
173 operation = mHandler.obtainMessage(MyHandler.MSG_START_PRELOAD); in onContentUpdated()
174 mHandler.enqueueOperation(operation); in onContentUpdated()
188 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onReleaseRequested()
189 mHandler.enqueueOperation(operation); in onReleaseRequested()
[all …]
/frameworks/base/location/java/android/location/
DGpsMeasurementListenerTransport.java53 ListenerOperation<GpsMeasurementsEvent.Listener> operation = in onGpsMeasurementsReceived() local
60 foreach(operation); in onGpsMeasurementsReceived()
65 ListenerOperation<GpsMeasurementsEvent.Listener> operation = in onStatusChanged() local
72 foreach(operation); in onStatusChanged()
DGpsNavigationMessageListenerTransport.java55 ListenerOperation<GpsNavigationMessageEvent.Listener> operation = in onGpsNavigationMessageReceived() local
63 foreach(operation); in onGpsNavigationMessageReceived()
68 ListenerOperation<GpsNavigationMessageEvent.Listener> operation = in onStatusChanged() local
76 foreach(operation); in onStatusChanged()
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java100 for (Operation operation : proc.operations) { in main()
101 LoadedClass loadedClass = operation.loadedClass; in main()
137 for (Operation operation : proc.operations) { in addAllClassesFrom()
139 = Policy.isPreloadable(operation.loadedClass); in addAllClassesFrom()
141 toPreload.add(operation.loadedClass); in addAllClassesFrom()
DLoadedClass.java115 for (Operation operation : ops) { in addProcessNames()
116 if (operation.process.fromZygote()) { in addProcessNames()
117 names.add(operation.process.name); in addProcessNames()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_header.c582 u32 operation; in DecRefPicMarking() local
630 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &operation); in DecRefPicMarking()
633 if (operation > 6) in DecRefPicMarking()
639 pDecRefPicMarking->operation[i]. in DecRefPicMarking()
640 memoryManagementControlOperation = operation; in DecRefPicMarking()
641 if ((operation == 1) || (operation == 3)) in DecRefPicMarking()
646 pDecRefPicMarking->operation[i].differenceOfPicNums = in DecRefPicMarking()
649 if (operation == 2) in DecRefPicMarking()
654 pDecRefPicMarking->operation[i].longTermPicNum = value; in DecRefPicMarking()
656 if ((operation == 3) || (operation == 6)) in DecRefPicMarking()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java439 private int operationGetType(ContentProviderOperation operation) in operationGetType() argument
443 return field.getInt(operation); in operationGetType()
446 private Uri operationGetUri(ContentProviderOperation operation) in operationGetUri() argument
450 return (Uri) field.get(operation); in operationGetUri()
453 private String operationGetSelection(ContentProviderOperation operation) in operationGetSelection() argument
457 return (String) field.get(operation); in operationGetSelection()
460 private String[] operationGetSelectionArgs(ContentProviderOperation operation) in operationGetSelectionArgs() argument
464 return (String[]) field.get(operation); in operationGetSelectionArgs()
467 private ContentValues operationGetValues(ContentProviderOperation operation) in operationGetValues() argument
471 return (ContentValues) field.get(operation); in operationGetValues()
[all …]
/frameworks/native/libs/ui/
DRegion.cpp320 return operation(rhs, op_or); in merge()
323 return operation(rhs, op_xor); in mergeExclusive()
326 return operation(rhs, op_and); in intersect()
329 return operation(rhs, op_nand); in subtract()
331 const Region Region::operation(const Rect& rhs, int op) const { in operation() function in android::Region
340 return operation(rhs, op_or); in merge()
343 return operation(rhs, op_xor); in mergeExclusive()
346 return operation(rhs, op_and); in intersect()
349 return operation(rhs, op_nand); in subtract()
351 const Region Region::operation(const Region& rhs, int op) const { in operation() function in android::Region
[all …]
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java70 String operation = mTokenizer.nextArg(); in parseCommand() local
71 if (ARGUMENT_GRANT_BIND.equals(operation)) { in parseCommand()
73 } else if (ARGUMENT_REVOKE_BIND.equals(operation)) { in parseCommand()
76 throw new IllegalArgumentException("Unsupported operation: " + operation); in parseCommand()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java240 boolean remove(final PendingIntent operation) { in remove() argument
246 if (alarm.operation.equals(operation)) { in remove()
276 if (alarm.operation.getTargetPackage().equals(packageName)) { in remove()
306 if (UserHandle.getUserId(alarm.operation.getCreatorUid()) == userHandle) { in remove()
334 if (a.operation.getTargetPackage().equals(packageName)) { in hasPackage()
410 if (Intent.ACTION_TIME_TICK.equals(a.operation.getIntent().getAction())) { in calculateDeliveryPriorities()
419 if (packagePrio == null) packagePrio = mPriorities.get(a.operation.getCreatorPackage()); in calculateDeliveryPriorities()
422 mPriorities.put(a.operation.getCreatorPackage(), packagePrio); in calculateDeliveryPriorities()
527 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource, in rebatchAllAlarmsLocked()
680 void removeImpl(PendingIntent operation) { in removeImpl() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGLToolbox.java173 public static void checkGlError(String operation) { in checkGlError() argument
176 throw new RuntimeException("GL Operation '" + operation + "' caused error " in checkGlError()
188 private static void assertNonUiThread(String operation) { in assertNonUiThread() argument
190 throw new RuntimeException("Attempting to perform GL operation '" + operation in assertNonUiThread()
/frameworks/base/obex/javax/obex/
DServerRequestHandler.java223 public int onPut(Operation operation) { in onPut() argument
244 public int onGet(Operation operation) { in onGet() argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java73 ContentProviderOperation operation = operations.get(i); in applyBatch() local
74 ContentValues contentValues = operation.resolveValueBackReferences( in applyBatch()
78 ContentProviderOperation operation = operations.get(i); in applyBatch() local
79 ContentValues actualContentValues = operation.resolveValueBackReferences( in applyBatch()
81 final Uri uri = operation.getUri(); in applyBatch()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java93 private void maybeLog(String operation, String iface, LinkAddress address) { in maybeLog() argument
95 Log.d(TAG, operation + ": " + address + " on " + iface + in maybeLog()
100 private void maybeLog(String operation, Object o) { in maybeLog() argument
102 Log.d(TAG, operation + ": " + o.toString()); in maybeLog()
/frameworks/av/media/mtp/
DMtpServer.cpp170 MtpOperationCode operation = mRequest.getOperationCode(); in run() local
173 ALOGV("operation: %s", MtpDebug::getOperationCodeName(operation)); in run()
177 bool dataIn = (operation == MTP_OPERATION_SEND_OBJECT_INFO in run()
178 || operation == MTP_OPERATION_SET_OBJECT_REFERENCES in run()
179 || operation == MTP_OPERATION_SET_OBJECT_PROP_VALUE in run()
180 || operation == MTP_OPERATION_SET_DEVICE_PROP_VALUE); in run()
199 mData.setOperationCode(operation); in run()
317 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest() local
322 if (mSendObjectHandle != kInvalidObjectHandle && operation != MTP_OPERATION_SEND_OBJECT) { in handleRequest()
334 ALOGV("got command %s (%x)", MtpDebug::getOperationCodeName(operation), operation); in handleRequest()
[all …]
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java161 String operation = mTokenizer.nextArg(); in parseCommand() local
162 if (ARGUMENT_INSERT.equals(operation)) { in parseCommand()
164 } else if (ARGUMENT_DELETE.equals(operation)) { in parseCommand()
166 } else if (ARGUMENT_UPDATE.equals(operation)) { in parseCommand()
168 } else if (ARGUMENT_QUERY.equals(operation)) { in parseCommand()
170 } else if (ARGUMENT_CALL.equals(operation)) { in parseCommand()
172 } else if (ARGUMENT_READ.equals(operation)) { in parseCommand()
175 throw new IllegalArgumentException("Unsupported operation: " + operation); in parseCommand()

1234567