/frameworks/base/location/java/android/location/ |
H A D | LocalListenerHelper.java | 98 protected void foreach(ListenerOperation<TListener> operation) { argument 105 operation.execute(listener);
|
/frameworks/base/obex/javax/obex/ |
H A D | ServerRequestHandler.java | 54 * 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 D | KeyStoreCryptoOperationChunkedStreamer.java | 32 * 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 D | SyncQueue.java | 108 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 D | GLToolbox.java | 173 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 D | FileBase.cpp | 40 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 D | h264bsd_slice_header.c | 582 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 D | h264bsd_slice_header.h | 65 /* 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 D | SpannableStringInternal.java | 342 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 D | SpannableStringBuilder.java | 1081 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 D | NetlinkTracker.java | 91 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 D | ContentProviderOperationTest.java | 137 // 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 D | RemoteListenerHelper.java | 128 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 D | CdmaSmsCbProgramData.java | 78 /** 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 D | FramebufferNativeWindow.cpp | 329 int operation, ...) 331 switch (operation) { 328 perform(ANativeWindow* , int operation, ...) argument
|
H A D | Region.cpp | 331 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 D | AlarmManager.java | 234 * @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 D | MtpDevice.cpp | 786 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 D | MtpServer.cpp | 170 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 D | GeofenceHardwareImpl.java | 526 * @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 D | ViewDebug.java | 622 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 D | RenderNode.cpp | 592 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); 839 * Every 'simple' state operation that affects just the matrix and alpha (or other factors of 842 * defer vs replay logic, per operation
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 183 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 D | ContentResolver.java | 465 * @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/core/java/android/net/ |
H A D | ConnectivityManager.java | 1856 * data transfers, and warn the user or delay the operation until another 2387 * The operation is an Intent broadcast that goes to a broadcast receiver that 2391 * The operation Intent is delivered with two extras, a {@link Network} typed 2415 * @param operation Action to perform when the network is available (corresponds 2422 public void requestNetwork(NetworkRequest request, PendingIntent operation) { argument 2423 checkPendingIntent(operation); 2425 mService.pendingRequestForNetwork(request.networkCapabilities, operation); 2435 * @param operation A PendingIntent equal (as defined by {@link Intent#filterEquals}) to the 2440 public void releaseNetworkRequest(PendingIntent operation) { argument 2441 checkPendingIntent(operation); 2499 registerNetworkCallback(NetworkRequest request, PendingIntent operation) argument 2553 unregisterNetworkCallback(PendingIntent operation) argument [all...] |