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

12

/frameworks/base/location/java/android/location/
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/keystore/java/android/security/keystore/
H A DKeyStoreCryptoOperationChunkedStreamer.java32 * Helper for streaming a crypto operation's input and output via {@link KeyStore} service's
36 * update and finish operations. Firstly, KeyStore's update operation can consume only a limited
38 * operation may consume less data than provided, in which case the caller has to buffer the
43 * <p>Bidirectional chunked streaming of data via a KeyStore crypto operation is abstracted away as
44 * a {@link Stream} to avoid having this class deal with operation tokens and occasional additional
52 * Bidirectional chunked data stream over a KeyStore crypto operation.
56 * Returns the result of the KeyStore {@code update} operation or null if keystore couldn't
62 * Returns the result of the KeyStore {@code finish} operation or null if keystore couldn't
81 public KeyStoreCryptoOperationChunkedStreamer(Stream operation) { argument
82 this(operation, DEFAULT_MAX_CHUNK_SIZ
85 KeyStoreCryptoOperationChunkedStreamer(Stream operation, int maxChunkSize) argument
[all...]
/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:__anon665
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java342 private void checkRange(final String operation, int start, int end) { argument
344 throw new IndexOutOfBoundsException(operation + " " +
352 throw new IndexOutOfBoundsException(operation + " " +
358 throw new IndexOutOfBoundsException(operation + " " +
H A DSpannableStringBuilder.java1081 private void checkRange(final String operation, int start, int end) { argument
1083 throw new IndexOutOfBoundsException(operation + " " +
1090 throw new IndexOutOfBoundsException(operation + " " +
1095 throw new IndexOutOfBoundsException(operation + " " +
/frameworks/base/core/java/com/android/server/net/
H A DNetlinkTracker.java91 private void maybeLog(String operation, String iface, LinkAddress address) { argument
93 Log.d(TAG, operation + ": " + address + " on " + iface +
98 private void maybeLog(String operation, Object o) { argument
100 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/services/core/java/com/android/server/location/
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...]
/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.cpp329 int operation, ...)
331 switch (operation) {
328 perform(ANativeWindow* , int operation, ...) argument
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/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...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp786 bool MtpDevice::sendRequest(MtpOperationCode operation) { argument
787 ALOGV("sendRequest: %s\n", MtpDebug::getOperationCodeName(operation));
789 mRequest.setOperationCode(operation);
828 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) { argument
829 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 !
819 doGetPartialObject(MtpOperationCode operation) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java526 * @param operation The operation to be reported as defined internally.
527 * @param geofenceId The id of the geofence the operation is related to.
528 * @param operationStatus The status of the operation as defined in GeofenceHardware class. This
531 private void reportGeofenceOperationStatus(int operation, int geofenceId, int operationStatus) { argument
533 Message message = mGeofenceHandler.obtainMessage(operation);
540 * Used to report the status of a Geofence Add operation.
548 * Used to report the status of a Geofence Remove operation.
556 * Used to report the status of a Geofence Pause operation.
564 * Used to report the status of a Geofence Resume operation
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java622 private static <T> long profileViewOperation(View view, final ViewOperation<T> operation) { argument
629 T[] data = operation.pre();
632 operation.run(data);
635 operation.post(data);
/frameworks/base/libs/hwui/
H A DRenderNode.cpp592 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument
593 operation->defer(mDeferStruct, saveCount, mLevel, clipToBounds);
616 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument
618 mReplayStruct.mRenderer.eventMark(operation->name());
620 operation->replay(mReplayStruct, saveCount, mLevel, clipToBounds);
841 * Every 'simple' state operation that affects just the matrix and alpha (or other factors of
844 * defer vs replay logic, per operation
/frameworks/native/libs/gui/
H A DSurface.cpp183 int Surface::hook_perform(ANativeWindow* window, int operation, ...) { argument
185 va_start(args, operation);
187 return c->perform(operation, args);
484 int Surface::perform(int operation, va_list args) argument
487 switch (operation) {
/frameworks/base/core/java/android/content/
H A DContentResolver.java465 * @param cancellationSignal A signal to cancel the operation in progress, or null if none.
466 * If the operation is canceled, then {@link OperationCanceledException} will be thrown
783 * @param cancellationSignal A signal to cancel the operation in progress,
784 * or null if none. If the operation is canceled, then
911 * @param cancellationSignal A signal to cancel the operation in progress, or null if
912 * none. If the operation is canceled, then
1071 * @param cancellationSignal A signal to cancel the operation in progress,
1072 * or null if none. If the operation is canceled, then
1761 * Start an asynchronous sync operation. If you want to monitor the progress
1794 * Start an asynchronous sync operation
2475 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java641 int operation) {
655 switch (operation) {
766 int operation) {
793 switch (operation) {
895 int operation) {
898 // operation is allowed for the calling package through appops.
906 enforceRestrictedSystemSettingsMutationForCallingPackage(operation, name);
921 switch (operation) {
1003 private void enforceRestrictedSystemSettingsMutationForCallingPackage(int operation, argument
1013 switch (operation) {
640 mutateGlobalSetting(String name, String value, int requestingUserId, int operation) argument
765 mutateSecureSetting(String name, String value, int requestingUserId, int operation) argument
894 mutateSystemSetting(String name, String value, int runAsUserId, int operation) argument
[all...]

Completed in 7513 milliseconds

12