Searched defs:operation (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/location/java/android/location/
H A DLocalListenerHelper.java94 protected void foreach(ListenerOperation operation) { argument
102 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/services/core/java/com/android/server/location/
H A DRemoteListenerHelper.java111 protected void foreach(ListenerOperation operation) { argument
121 operation.execute(listener);
/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/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/compile/libbcc/lib/Support/
H A DFileBase.cpp40 int flock(int fd, int operation) { argument
151 // Determine the lock operation (2nd argument) to the flock().
/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...]
H A Dh264bsd_slice_header.h65 /* structure to store data of one reference picture list reordering operation */
80 /* structure to store data of one DPB memory management control operation */
104 memoryManagementOperation_t operation[MAX_NUM_MMC_OPERATIONS]; member in struct:__anon644
/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...]
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java341 private void checkRange(final String operation, int start, int end) { argument
343 throw new IndexOutOfBoundsException(operation + " " +
351 throw new IndexOutOfBoundsException(operation + " " +
357 throw new IndexOutOfBoundsException(operation + " " +
H A DSpannableStringBuilder.java1009 private void checkRange(final String operation, int start, int end) { argument
1011 throw new IndexOutOfBoundsException(operation + " " +
1018 throw new IndexOutOfBoundsException(operation + " " +
1023 throw new IndexOutOfBoundsException(operation + " " +
/frameworks/base/core/java/com/android/server/net/
H A DNetlinkTracker.java93 private void maybeLog(String operation, String iface, LinkAddress address) { argument
95 Log.d(TAG, operation + ": " + address + " on " + iface +
100 private void maybeLog(String operation, Object o) { argument
102 Log.d(TAG, operation + ": " + o.toString());
/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/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/native/libs/ui/
H A DFramebufferNativeWindow.cpp330 int operation, ...)
332 switch (operation) {
329 perform(ANativeWindow* , int operation, ...) argument
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/av/media/mtp/
H A DMtpDevice.cpp767 bool MtpDevice::sendRequest(MtpOperationCode operation) { argument
768 ALOGV("sendRequest: %s\n", MtpDebug::getOperationCodeName(operation));
770 mRequest.setOperationCode(operation);
809 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) { argument
810 mData.setOperationCode(operation);
H A DMtpServer.cpp170 MtpOperationCode operation = mRequest.getOperationCode(); local
173 ALOGV("operation: %s", MtpDebug::getOperationCodeName(operation));
177 bool dataIn = (operation == MTP_OPERATION_SEND_OBJECT_INFO
178 || operation == MTP_OPERATION_SET_OBJECT_REFERENCES
179 || operation == MTP_OPERATION_SET_OBJECT_PROP_VALUE
180 || operation == MTP_OPERATION_SET_DEVICE_PROP_VALUE);
199 mData.setOperationCode(operation);
317 MtpOperationCode operation = mRequest.getOperationCode(); local
322 if (mSendObjectHandle != kInvalidObjectHandle && operation !
783 doGetPartialObject(MtpOperationCode operation) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java485 * @param operation The operation to be reported as defined internally.
486 * @param geofenceId The id of the geofence the operation is related to.
487 * @param operationStatus The status of the operation as defined in GeofenceHardware class. This
490 private void reportGeofenceOperationStatus(int operation, int geofenceId, int operationStatus) { argument
492 Message message = mGeofenceHandler.obtainMessage(operation);
499 * Used to report the status of a Geofence Add operation.
507 * Used to report the status of a Geofence Remove operation.
515 * Used to report the status of a Geofence Pause operation.
523 * Used to report the status of a Geofence Resume operation
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java621 private static <T> long profileViewOperation(View view, final ViewOperation<T> operation) { argument
628 T[] data = operation.pre();
631 operation.run(data);
634 operation.post(data);
/frameworks/base/libs/hwui/
H A DRenderNode.cpp566 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument
567 operation->defer(mDeferStruct, saveCount, mLevel, clipToBounds);
590 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument
592 mReplayStruct.mRenderer.eventMark(operation->name());
594 operation->replay(mReplayStruct, saveCount, mLevel, clipToBounds);
819 * Every 'simple' state operation that affects just the matrix and alpha (or other factors of
822 * defer vs replay logic, per operation
/frameworks/native/libs/gui/
H A DSurface.cpp168 int Surface::hook_perform(ANativeWindow* window, int operation, ...) { argument
170 va_start(args, operation);
172 return c->perform(operation, args);
393 int Surface::perform(int operation, va_list args) argument
396 switch (operation) {
/frameworks/native/services/sensorservice/
H A DSensorService.cpp891 bool SensorService::verifyCanAccessSensor(const Sensor& sensor, const char* operation) { argument
898 operation,
/frameworks/base/core/java/android/content/
H A DContentResolver.java453 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
454 * If the operation is canceled, then {@link OperationCanceledException} will be thrown
767 * @param cancellationSignal A signal to cancel the operation in progress,
768 * or null if none. If the operation is canceled, then
894 * @param cancellationSignal A signal to cancel the operation in progress, or null if
895 * none. If the operation is canceled, then
1050 * @param cancellationSignal A signal to cancel the operation in progress,
1051 * or null if none. If the operation is canceled, then
1714 * Start an asynchronous sync operation. If you want to monitor the progress
1747 * Start an asynchronous sync operation
2415 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
[all...]
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java1816 * data transfers, and warn the user or delay the operation until another
2408 * The operation is an Intent broadcast that goes to a broadcast receiver that
2412 * The operation Intent is delivered with two extras, a {@link Network} typed
2427 * @param operation Action to perform when the network is available (corresponds
2432 public void requestNetwork(NetworkRequest request, PendingIntent operation) { argument
2434 mService.pendingRequestForNetwork(request.networkCapabilities, operation);

Completed in 460 milliseconds

12