Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 218) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/listeners/
DListenerExecutor.java86 void onFailure(TListenerOperation operation, Exception exception); in onFailure() argument
93 @Nullable ListenerOperation<TListener> operation) { in executeSafely() argument
94 executeSafely(executor, listenerSupplier, operation, null); in executeSafely()
107 @Nullable TListenerOperation operation, in executeSafely() argument
109 if (operation == null) { in executeSafely()
121 operation.onPreExecute(); in executeSafely()
127 operation.operate(listener); in executeSafely()
134 operation.onFailure(e); in executeSafely()
136 failureCallback.onFailure(operation, e); in executeSafely()
140 operation.onPostExecute(success); in executeSafely()
[all …]
DListenerTransport.java47 default void execute(Executor executor, Consumer<TListener> operation) { in execute() argument
48 Objects.requireNonNull(operation); in execute()
60 operation.accept(listener); in execute()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricScheduler.java214 final Operation operation; field in BiometricScheduler.CancellationWatchdog
215 CancellationWatchdog(String tag, Operation operation) { in CancellationWatchdog() argument
217 this.operation = operation; in CancellationWatchdog()
222 if (operation.mState != Operation.STATE_FINISHED) { in run()
223 Slog.e(tag, "[Watchdog Triggered]: " + operation); in run()
224 operation.mClientMonitor.mCallback in run()
225 .onClientFinished(operation.mClientMonitor, false /* success */); in run()
446 final Operation operation = mPendingOperations.pollFirst(); in startNextOperationIfIdle() local
447 if (operation == null) { in startNextOperationIfIdle()
452 if (operation.isHalOperation()) { in startNextOperationIfIdle()
[all …]
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java432 public void set(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in set() argument
433 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null, in set()
525 long intervalMillis, PendingIntent operation) { in setRepeating() argument
526 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, in setRepeating()
581 PendingIntent operation) { in setWindow() argument
582 setImpl(type, windowStartMillis, windowLengthMillis, 0, 0, operation, in setWindow()
704 public void setExact(@AlarmType int type, long triggerAtMillis, PendingIntent operation) { in setExact() argument
705 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, 0, operation, null, null, (Handler) null, in setExact()
807 public void setAlarmClock(AlarmClockInfo info, PendingIntent operation) { in setAlarmClock() argument
808 setImpl(RTC_WAKEUP, info.getTriggerTime(), WINDOW_EXACT, 0, 0, operation, in setAlarmClock()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1474 Operation operation = mOperations[index]; in beginOperation() local
1475 if (operation == null) { in beginOperation()
1476 operation = new Operation(); in beginOperation()
1477 mOperations[index] = operation; in beginOperation()
1479 operation.mFinished = false; in beginOperation()
1480 operation.mException = null; in beginOperation()
1481 if (operation.mBindArgs != null) { in beginOperation()
1482 operation.mBindArgs.clear(); in beginOperation()
1485 operation.mStartWallTime = System.currentTimeMillis(); in beginOperation()
1486 operation.mStartTime = SystemClock.uptimeMillis(); in beginOperation()
[all …]
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationChunkedStreamer.java98 KeyStoreCryptoOperationChunkedStreamer(Stream operation) { in KeyStoreCryptoOperationChunkedStreamer() argument
99 this(operation, DEFAULT_CHUNK_SIZE_THRESHOLD, DEFAULT_CHUNK_SIZE_MAX); in KeyStoreCryptoOperationChunkedStreamer()
102 KeyStoreCryptoOperationChunkedStreamer(Stream operation, int chunkSizeThreshold) { in KeyStoreCryptoOperationChunkedStreamer() argument
103 this(operation, chunkSizeThreshold, DEFAULT_CHUNK_SIZE_MAX); in KeyStoreCryptoOperationChunkedStreamer()
106 KeyStoreCryptoOperationChunkedStreamer(Stream operation, int chunkSizeThreshold, in KeyStoreCryptoOperationChunkedStreamer() argument
111 mKeyStoreStream = operation; in KeyStoreCryptoOperationChunkedStreamer()
216 MainDataStream(KeyStoreOperation operation) { in MainDataStream() argument
217 mOperation = operation; in MainDataStream()
DKeyStoreCryptoOperationUtils.java184 static void abortOperation(KeyStoreOperation operation) { in abortOperation() argument
185 if (operation != null) { in abortOperation()
187 operation.abort(); in abortOperation()
206 static long getOrMakeOperationChallenge(KeyStoreOperation operation, AndroidKeyStoreKey key) in getOrMakeOperationChallenge() argument
208 if (operation.getChallenge() != null) { in getOrMakeOperationChallenge()
212 return operation.getChallenge(); in getOrMakeOperationChallenge()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarm.java93 public final PendingIntent operation; field in Alarm
131 operation = op; in Alarm()
142 sourcePackage = (operation != null) ? operation.getCreatorPackage() : packageName; in Alarm()
143 creatorUid = (operation != null) ? operation.getCreatorUid() : this.uid; in Alarm()
154 return (operation != null) in matches()
155 ? operation.equals(pi) in matches()
340 if (operation != null) { in dump()
342 ipw.println(operation); in dump()
367 if (operation != null) { in dumpDebug()
368 operation.dumpDebug(proto, AlarmProto.OPERATION); in dumpDebug()
DMetricsHelper.java66 alarmStore.getCount(a -> (a.operation != null in registerPuller()
67 && a.operation.isForegroundService())), in registerPuller()
69 a -> (a.operation != null && a.operation.isActivity())), in registerPuller()
71 a -> (a.operation != null && a.operation.isService())), in registerPuller()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOneTimeSafetyChecker.java58 @DevicePolicyOperation int operation, @OperationSafetyReason int reason) { in OneTimeSafetyChecker() argument
60 mOperation = operation; in OneTimeSafetyChecker()
63 Slog.i(TAG, "OneTimeSafetyChecker constructor: operation=" + operationToString(operation) in OneTimeSafetyChecker()
72 public int getUnsafeOperationReason(@DevicePolicyOperation int operation) { in getUnsafeOperationReason() argument
73 String name = operationToString(operation); in getUnsafeOperationReason()
76 if (operation == mOperation) { in getUnsafeOperationReason()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java148 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onContentUpdated() local
149 mHandler.enqueueOperation(operation); in onContentUpdated()
156 Message operation = mHandler.obtainMessage(MyHandler.MSG_OPEN); in onContentUpdated() local
157 mHandler.enqueueOperation(operation); in onContentUpdated()
168 Message operation = mHandler.obtainMessage(MyHandler.MSG_UPDATE, args); in onContentUpdated() local
169 mHandler.enqueueOperation(operation); in onContentUpdated()
173 operation = mHandler.obtainMessage(MyHandler.MSG_START_PRELOAD); in onContentUpdated()
174 mHandler.enqueueOperation(operation); in onContentUpdated()
188 Message operation = mHandler.obtainMessage(MyHandler.MSG_CLOSE); in onReleaseRequested()
189 mHandler.enqueueOperation(operation); in onReleaseRequested()
[all …]
/frameworks/base/services/incremental/
DIncrementalServiceValidation.cpp45 binder::Status CheckPermissionForDataDelivery(const char* permission, const char* operation, in CheckPermissionForDataDelivery() argument
66 if (!operation) { in CheckPermissionForDataDelivery()
71 switch (auto result = pc.noteOp(String16(operation), uid, packageName); result) { in CheckPermissionForDataDelivery()
78 uid, pid, package, operation, result)); in CheckPermissionForDataDelivery()
/frameworks/base/core/java/android/app/admin/
DDevicePolicySafetyChecker.java35 int getUnsafeOperationReason(@DevicePolicyOperation int operation); in getUnsafeOperationReason() argument
46 default UnsafeStateException newUnsafeStateException(@DevicePolicyOperation int operation, in newUnsafeStateException() argument
48 return new UnsafeStateException(operation, reason); in newUnsafeStateException()
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java100 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()
DLoadedClass.java115 for (Operation operation : ops) { in addProcessNames()
116 if (operation.process.fromZygote()) { in addProcessNames()
117 names.add(operation.process.name); in addProcessNames()
/frameworks/base/services/core/java/com/android/server/location/listeners/
DListenerRegistration.java110 protected void onOperationFailure(ListenerOperation<TListener> operation, Exception exception) { in onOperationFailure() argument
119 protected final void executeOperation(@Nullable ListenerOperation<TListener> operation) { in executeOperation() argument
120 executeSafely(mExecutor, () -> mListener, operation, this::onOperationFailure); in executeOperation()
/frameworks/av/include/media/
DVolumeShaper.h425 Operation(const Operation &operation) in Operation() argument
426 : Operation(operation.mFlags, operation.mReplaceId, operation.mXOffset) { in Operation()
429 explicit Operation(const sp<Operation> &operation) in Operation() argument
430 : Operation(*operation.get()) { in Operation()
703 const sp<VolumeShaper::Operation> &operation) in VolumeShaper() argument
705 , mOperation(operation) // ditto in VolumeShaper()
892 sp<VolumeShaper::Operation> operation(new VolumeShaper::Operation(operation_in)); in applyVolumeShaper()
894 VS_LOG("applyVolumeShaper:operation: %s", operation->toString().c_str()); in applyVolumeShaper()
900 if (operation == nullptr) { in applyVolumeShaper()
913 const int replaceId = operation->getReplaceId(); in applyVolumeShaper()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp43 static int forwardPerform(ANativeWindow* window, int operation, ...) { in forwardPerform() argument
45 va_start(args, operation); in forwardPerform()
47 switch (operation) { in forwardPerform()
81 LOG_ALWAYS_FATAL("Unexpected operation %d", operation); in forwardPerform()
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java70 String operation = mTokenizer.nextArg(); in parseCommand() local
71 if (ARGUMENT_GRANT_BIND.equals(operation)) { in parseCommand()
73 } else if (ARGUMENT_REVOKE_BIND.equals(operation)) { in parseCommand()
76 throw new IllegalArgumentException("Unsupported operation: " + operation); in parseCommand()
/frameworks/native/libs/ui/
DRegion.cpp383 return operation(rhs, op_or); in merge()
386 return operation(rhs, op_xor); in mergeExclusive()
389 return operation(rhs, op_and); in intersect()
392 return operation(rhs, op_nand); in subtract()
394 const Region Region::operation(const Rect& rhs, uint32_t op) const { in operation() function in android::Region
403 return operation(rhs, op_or); in merge()
406 return operation(rhs, op_xor); in mergeExclusive()
409 return operation(rhs, op_and); in intersect()
412 return operation(rhs, op_nand); in subtract()
414 const Region Region::operation(const Region& rhs, uint32_t op) const { in operation() function in android::Region
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStoreOperation.java39 @NonNull IKeystoreOperation operation, in KeyStoreOperation()
43 Binder.allowBlocking(operation.asBinder()); in KeyStoreOperation()
44 this.mOperation = operation; in KeyStoreOperation()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DServiceWatcherImpl.java123 public synchronized void runOnBinder(BinderOperation operation) { in runOnBinder() argument
125 mHandler.post(() -> serviceConnection.runOnBinder(operation)); in runOnBinder()
238 void runOnBinder(BinderOperation operation) { in runOnBinder() argument
242 operation.onError(); in runOnBinder()
247 operation.run(mBinder); in runOnBinder()
252 operation.onError(); in runOnBinder()
/frameworks/proto_logging/stats/enums/app/
Dmedia_output_enum.proto23 * The medium type specified in an output switching operation.
48 * The result of an output switching operation.
56 * The sub result of an output switching operation.
/frameworks/rs/script_api/include/
Drs_atomic.rsh48 * Returns: Value of *addr prior to the operation.
70 * Returns: Value of *addr prior to the operation.
96 * Returns: Value of *addr prior to the operation.
116 * Returns: Value of *addr prior to the operation.
136 * Returns: Value of *addr prior to the operation.
158 * Returns: Value of *addr prior to the operation.
180 * Returns: Value of *addr prior to the operation.
202 * Returns: Value of *addr prior to the operation.
223 * Returns: Value of *addr prior to the operation.
245 * Returns: Value of *addr prior to the operation.
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceUser.hal73 * @return status status code of the operation.
106 * @return status the status code of the operation.
123 * @return status the status code of the operation.
135 * @return status the status code of the operation
147 * @return status the status code of the operation.
158 * @return status the status code of the operation.
170 * @return status the status code of the operation.
177 * @return status the status code of the operation.
193 * @return status the status code of the operation.
205 * @return status the status code of the operation

123456789