/frameworks/base/core/java/android/app/ |
D | AlarmManager.java | 190 public void set(int type, long triggerAtMillis, PendingIntent operation) { in set() argument 191 setImpl(type, triggerAtMillis, legacyExactLength(), 0, operation, null); in set() 251 long intervalMillis, PendingIntent operation) { in setRepeating() argument 252 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, operation, null); in setRepeating() 301 PendingIntent operation) { in setWindow() argument 302 setImpl(type, windowStartMillis, windowLengthMillis, 0, operation, null); in setWindow() 339 public void setExact(int type, long triggerAtMillis, PendingIntent operation) { in setExact() argument 340 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, operation, null); in setExact() 345 PendingIntent operation, WorkSource workSource) { in set() argument 346 setImpl(type, triggerAtMillis, windowMillis, intervalMillis, operation, workSource); in set() [all …]
|
D | IAlarmManager.aidl | 30 long interval, in PendingIntent operation, in WorkSource workSource); in set() argument 33 void remove(in PendingIntent operation); in remove() argument
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncQueue.java | 84 public boolean add(SyncOperation operation) { in add() argument 85 return add(operation, null /* this is not coming from the database */); in add() 93 private boolean add(SyncOperation operation, in add() argument 100 final String operationKey = operation.key; in add() 105 if (operation.compareTo(existingOperation) <= 0 ) { in add() 107 Math.min(existingOperation.latestRunTime, operation.latestRunTime); in add() 111 existingOperation.flexTime = operation.flexTime; in add() 117 operation.pendingOperation = pop; in add() 121 if (operation.pendingOperation == null) { in add() 123 operation.account, operation.userId, operation.reason, operation.syncSource, in add() [all …]
|
D | SyncManager.java | 936 void maybeRescheduleSync(SyncResult syncResult, SyncOperation operation) { in maybeRescheduleSync() argument 939 Log.d(TAG, "encountered error(s) during the sync: " + syncResult + ", " + operation); in maybeRescheduleSync() 942 operation = new SyncOperation(operation); in maybeRescheduleSync() 947 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)) { in maybeRescheduleSync() 948 operation.extras.remove(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF); in maybeRescheduleSync() 957 if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false)) { in maybeRescheduleSync() 959 + operation); in maybeRescheduleSync() 960 } else if (operation.extras.getBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, false) in maybeRescheduleSync() 962 operation.extras.remove(ContentResolver.SYNC_EXTRAS_UPLOAD); in maybeRescheduleSync() 964 + "encountered an error: " + operation); in maybeRescheduleSync() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 1300 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/ |
D | display-progress.jd | 46 of an ongoing operation. If you can estimate how long the operation takes and how much of it 48 (a progress bar). If you can't estimate the length of the operation, use the 68 As your operation proceeds, 69 increment <code>progress</code>, and update the notification. At the end of the operation, 73 "percent complete" value for the operation. 76 You can either leave the progress bar showing when the operation is done, or remove it. In 77 either case, remember to update the notification text to show that the operation is complete. 90 // Start a lengthy operation in a background thread 96 // Do the "lengthy" operation 20 times 104 // Sleeps the thread, simulating an operation [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_slice_header.c | 580 u32 operation; in DecRefPicMarking() local 628 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &operation); in DecRefPicMarking() 631 if (operation > 6) in DecRefPicMarking() 637 pDecRefPicMarking->operation[i]. in DecRefPicMarking() 638 memoryManagementControlOperation = operation; in DecRefPicMarking() 639 if ((operation == 1) || (operation == 3)) in DecRefPicMarking() 644 pDecRefPicMarking->operation[i].differenceOfPicNums = in DecRefPicMarking() 647 if (operation == 2) in DecRefPicMarking() 652 pDecRefPicMarking->operation[i].longTermPicNum = value; in DecRefPicMarking() 654 if ((operation == 3) || (operation == 6)) in DecRefPicMarking() [all …]
|
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 100 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()
|
D | LoadedClass.java | 115 for (Operation operation : ops) { in addProcessNames() 116 if (operation.process.fromZygote()) { in addProcessNames() 117 names.add(operation.process.name); in addProcessNames()
|
/frameworks/base/services/java/com/android/server/ |
D | AlarmManagerService.java | 186 boolean remove(final PendingIntent operation) { in remove() argument 192 if (alarm.operation.equals(operation)) { in remove() 219 if (alarm.operation.getTargetPackage().equals(packageName)) { in remove() 246 if (UserHandle.getUserId(alarm.operation.getCreatorUid()) == userHandle) { in remove() 271 if (a.operation.getTargetPackage().equals(packageName)) { in hasPackage() 401 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource); in rebatchAllAlarmsLocked() 513 PendingIntent operation, WorkSource workSource) { in set() argument 520 set(type, triggerAtTime, windowLength, interval, operation, false, workSource); in set() 524 PendingIntent operation, boolean isStandalone, WorkSource workSource) { in set() argument 525 if (operation == null) { in set() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 439 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/ |
D | Region.cpp | 303 return operation(rhs, op_or); in merge() 306 return operation(rhs, op_xor); in mergeExclusive() 309 return operation(rhs, op_and); in intersect() 312 return operation(rhs, op_nand); in subtract() 314 const Region Region::operation(const Rect& rhs, int op) const { in operation() function in android::Region 323 return operation(rhs, op_or); in merge() 326 return operation(rhs, op_xor); in mergeExclusive() 329 return operation(rhs, op_and); in intersect() 332 return operation(rhs, op_nand); in subtract() 334 const Region Region::operation(const Region& rhs, int op) const { in operation() function in android::Region [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GLToolbox.java | 173 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/ |
D | ServerRequestHandler.java | 223 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/ |
D | ImportTestProvider.java | 73 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/av/media/mtp/ |
D | MtpServer.cpp | 168 MtpOperationCode operation = mRequest.getOperationCode(); in run() local 171 ALOGV("operation: %s", MtpDebug::getOperationCodeName(operation)); in run() 175 bool dataIn = (operation == MTP_OPERATION_SEND_OBJECT_INFO in run() 176 || operation == MTP_OPERATION_SET_OBJECT_REFERENCES in run() 177 || operation == MTP_OPERATION_SET_OBJECT_PROP_VALUE in run() 178 || operation == MTP_OPERATION_SET_DEVICE_PROP_VALUE); in run() 197 mData.setOperationCode(operation); in run() 310 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest() local 315 if (mSendObjectHandle != kInvalidObjectHandle && operation != MTP_OPERATION_SEND_OBJECT) { in handleRequest() 321 switch (operation) { in handleRequest() [all …]
|
D | MtpDevice.h | 106 bool sendRequest(MtpOperationCode operation); 109 bool writeDataHeader(MtpOperationCode operation, int dataLength);
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
D | CdmaSmsCbProgramData.java | 97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, in CdmaSmsCbProgramData() argument 99 mOperation = operation; in CdmaSmsCbProgramData()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 146 String operation = mTokenizer.nextArg(); in parseCommand() local 147 if (ARGUMENT_INSERT.equals(operation)) { in parseCommand() 149 } else if (ARGUMENT_DELETE.equals(operation)) { in parseCommand() 151 } else if (ARGUMENT_UPDATE.equals(operation)) { in parseCommand() 153 } else if (ARGUMENT_QUERY.equals(operation)) { in parseCommand() 155 } else if (ARGUMENT_CALL.equals(operation)) { in parseCommand() 158 throw new IllegalArgumentException("Unsupported operation: " + operation); in parseCommand()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.h | 199 static bool CheckGLError(const std::string& operation); 204 static bool CheckEGLError(const std::string& operation);
|
/frameworks/ex/common/java/com/android/common/content/ |
D | SQLiteContentProvider.java | 220 final ContentProviderOperation operation = operations.get(i); in applyBatch() local 221 if (i > 0 && operation.isYieldAllowed()) { in applyBatch() 231 results[i] = operation.apply(this, results, i); in applyBatch()
|
/frameworks/native/include/ui/ |
D | Region.h | 153 const Region operation(const Rect& rhs, int op) const; 154 const Region operation(const Region& rhs, int op) const; 155 const Region operation(const Region& rhs, int dx, int dy, int op) const;
|
/frameworks/base/docs/html/tools/help/ |
D | bmgr.jd | 53 perform a backup operation at some time in the future (via your {@link 62 last backup operation, plus any applications which had been manually scheduled for 73 saved state from the user's previous device) and is an operation that only the system can 74 perform. The second kind of restore operation restores 77 invoke this second restore operation with the {@link 83 <p>While testing your application, you can immediately invoke the restore operation (bypassing the 111 erase. The next backup operation that the application's agent processes will look as 178 most often manipulated during a restore operation. When a device is provisioned for the first
|
/frameworks/base/core/java/android/content/ |
D | EventLogTags.logtags | 6 52003 content_update_sample (uri|3),(operation|3),(selection|3),(time|1|3),(blocking_package|3),(sa…
|
/frameworks/base/docs/html/training/run-background-service/ |
D | create-service.jd | 35 an operation on a single background thread. This allows it to handle long-running operations 49 Work requests run sequentially. If an operation is running in an 51 the first operation is finished. 54 An operation running on an {@link android.app.IntentService} can't be interrupted.
|