/frameworks/base/location/java/android/location/ |
H A D | LocalListenerHelper.java | 102 private void executeOperation(ListenerOperation<TListener> operation, TListener listener) { argument 104 operation.execute(listener); 111 protected void foreach(final ListenerOperation<TListener> operation) { argument 118 executeOperation(operation, listener.getKey()); 123 executeOperation(operation, listener.getKey());
|
/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/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:__anon690
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 417 private void checkRange(final String operation, int start, int end) { argument 419 throw new IndexOutOfBoundsException(operation + " " + 427 throw new IndexOutOfBoundsException(operation + " " + 433 throw new IndexOutOfBoundsException(operation + " " +
|
H A D | SpannableStringBuilder.java | 1256 private void checkRange(final String operation, int start, int end) { argument 1258 throw new IndexOutOfBoundsException(operation + " " + 1265 throw new IndexOutOfBoundsException(operation + " " + 1270 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/av/media/mtp/ |
H A D | MtpDevice.cpp | 833 bool MtpDevice::sendRequest(MtpOperationCode operation) { argument 834 ALOGV("sendRequest: %s\n", MtpDebug::getOperationCodeName(operation)); 836 mRequest.setOperationCode(operation); 875 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) { argument 876 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); 318 MtpOperationCode operation = mRequest.getOperationCode(); local 323 if (mSendObjectHandle != kInvalidObjectHandle && operation ! 824 doGetPartialObject(MtpOperationCode operation) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | AlarmManager.java | 318 * @param operation Action to perform when the alarm goes off; 335 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument 336 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null, 408 * @param operation Action to perform when the alarm goes off; 426 long intervalMillis, PendingIntent operation) { 427 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, 460 * @param operation Action to perform when the alarm goes off; 477 PendingIntent operation) { 478 setImpl(type, windowStartMillis, windowLengthMillis, 0, 0, operation, 515 * @param operation Actio 425 setRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument 476 setWindow(int type, long windowStartMillis, long windowLengthMillis, PendingIntent operation) argument 531 setExact(int type, long triggerAtMillis, PendingIntent operation) argument 586 setAlarmClock(AlarmClockInfo info, PendingIntent operation) argument 593 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument 632 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, int flags, PendingIntent operation, final OnAlarmListener listener, String listenerTag, Handler targetHandler, WorkSource workSource, AlarmClockInfo alarmClock) argument 766 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument 817 setAndAllowWhileIdle(int type, long triggerAtMillis, PendingIntent operation) argument 871 setExactAndAllowWhileIdle(int type, long triggerAtMillis, PendingIntent operation) argument 886 cancel(PendingIntent operation) argument [all...] |
/frameworks/native/libs/ui/ |
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/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 | 628 private static <T> long profileViewOperation(View view, final ViewOperation<T> operation) { argument 635 T[] data = operation.pre(); 638 operation.run(data); 641 operation.post(data);
|
/frameworks/base/libs/hwui/ |
H A D | RenderNode.cpp | 771 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument 772 operation->defer(mDeferStruct, saveCount, mLevel, clipToBounds); 795 inline void operator()(DisplayListOp* operation, int saveCount, bool clipToBounds) { argument 797 mReplayStruct.mRenderer.eventMark(operation->name()); 799 operation->replay(mReplayStruct, saveCount, mLevel, clipToBounds); 1027 * Every 'simple' state operation that affects just the matrix and alpha (or other factors of 1030 * defer vs replay logic, per operation
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowStateAnimator.java | 2000 void reclaimSomeSurfaceMemory(String operation, boolean secure) { argument 2001 mService.reclaimSomeSurfaceMemoryLocked(this, operation, secure);
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 1232 bool SensorService::canAccessSensor(const Sensor& sensor, const char* operation, argument 1252 operation, sensor.getName().string(), sensor.getRequiredPermission().string()); 1262 operation, sensor.getName().string(), opCode);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentResolver.java | 503 * @param cancellationSignal A signal to cancel the operation in progress, or null if none. 504 * If the operation is canceled, then {@link OperationCanceledException} will be thrown 823 * @param cancellationSignal A signal to cancel the operation in progress, 824 * or null if none. If the operation is canceled, then 951 * @param cancellationSignal A signal to cancel the operation in progress, or null if 952 * none. If the operation is canceled, then 1112 * @param cancellationSignal A signal to cancel the operation in progress, 1113 * or null if none. If the operation is canceled, then 1853 * Start an asynchronous sync operation. If you want to monitor the progress 1886 * Start an asynchronous sync operation 2593 maybeLogUpdateToEventLog( long durationMillis, Uri uri, String operation, String selection) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Metrics.java | 144 private static final int FILEOP_OTHER = 1; // any file operation not listed below 384 * Logs file operation stats. Call this when a file operation has completed. The given 414 * Logs create directory operation. It is a part of file operation stats. We do not 416 * logged under COUNT_FILEOP_SYSTEM. Call this when a create directory operation has completed. 425 * Logs rename file operation. It is a part of file operation stats. We do not differentiate 427 * COUNT_FILEOP_SYSTEM. Call this when a rename file operation has completed. 436 * Logs some kind of file operation erro 763 getOpCode(@pType int operation, @Provider int providerType) argument 794 toMetricsOpType(@pType int operation) argument [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 643 // first followed by checking the user restriction before performing an operation. 793 int operation, boolean forceNotify) { 808 switch (operation) { 924 int operation, boolean forceNotify) { 952 switch (operation) { 1050 int operation) { 1053 // operation is allowed for the calling package through appops. 1064 enforceRestrictedSystemSettingsMutationForCallingPackage(operation, name, callingUserId); 1091 switch (operation) { 1222 private void enforceRestrictedSystemSettingsMutationForCallingPackage(int operation, argument 792 mutateGlobalSetting(String name, String value, int requestingUserId, int operation, boolean forceNotify) argument 923 mutateSecureSetting(String name, String value, int requestingUserId, int operation, boolean forceNotify) argument 1049 mutateSystemSetting(String name, String value, int runAsUserId, int operation) argument [all...] |