Home
last modified time | relevance | path

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

1234567891011

/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.java401 final BiometricSchedulerOperation operation = mPendingOperations.pollFirst(); in startNextOperationIfIdle() local
402 if (operation != null) { in startNextOperationIfIdle()
403 Slog.w(TAG, "[Aborting Operation] " + operation); in startNextOperationIfIdle()
404 operation.abort(); in startNextOperationIfIdle()
477 for (BiometricSchedulerOperation operation : mPendingOperations) { in scheduleClientMonitor()
478 if (operation.markCanceling()) { in scheduleClientMonitor()
479 Slog.d(TAG, "New client, marking pending op as canceling: " + operation); in scheduleClientMonitor()
513 for (BiometricSchedulerOperation operation : mPendingOperations) { in cancelEnrollment()
514 if (canCancelEnrollOperation(operation, token, requestId)) { in cancelEnrollment()
515 Slog.d(TAG, "Cancelling pending enrollment op: " + operation); in cancelEnrollment()
[all …]
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DSharedPreferencesStorage.kt149 operation: String, in mergeSharedPreferences()
154 if (verbose) Log.v(LOG_TAG, "[$name] $operation skips $key=$value") in mergeSharedPreferences()
160 if (verbose) Log.v(LOG_TAG, "[$name] $operation Boolean $key=$value") in mergeSharedPreferences()
164 if (verbose) Log.v(LOG_TAG, "[$name] $operation Float $key=$value") in mergeSharedPreferences()
168 if (verbose) Log.v(LOG_TAG, "[$name] $operation Int $key=$value") in mergeSharedPreferences()
172 if (verbose) Log.v(LOG_TAG, "[$name] $operation Long $key=$value") in mergeSharedPreferences()
176 if (verbose) Log.v(LOG_TAG, "[$name] $operation String $key=$value") in mergeSharedPreferences()
183 "[$name] $operation StringSet $key=$value" + in mergeSharedPreferences()
188 if (verbose) Log.v(LOG_TAG, "[$name] $operation StringSet $key=$value") in mergeSharedPreferences()
194 "[$name] $operation $key=$value, unknown type: ${value?.javaClass}" in mergeSharedPreferences()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnection.java1620 Operation operation = mOperations[index]; in beginOperation() local
1621 if (operation == null) { in beginOperation()
1622 operation = new Operation(); in beginOperation()
1623 mOperations[index] = operation; in beginOperation()
1625 operation.mFinished = false; in beginOperation()
1626 operation.mException = null; in beginOperation()
1627 if (operation.mBindArgs != null) { in beginOperation()
1628 operation.mBindArgs.clear(); in beginOperation()
1631 operation.mStartWallTime = System.currentTimeMillis(); in beginOperation()
1632 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.java176 static void abortOperation(KeyStoreOperation operation) { in abortOperation() argument
177 if (operation != null) { in abortOperation()
179 operation.abort(); in abortOperation()
198 static long getOrMakeOperationChallenge(KeyStoreOperation operation, AndroidKeyStoreKey key) in getOrMakeOperationChallenge() argument
200 if (operation.getChallenge() != null) { in getOrMakeOperationChallenge()
204 return operation.getChallenge(); in getOrMakeOperationChallenge()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java484 public void set(@AlarmType int type, long triggerAtMillis, @NonNull PendingIntent operation) { in set() argument
485 setImpl(type, triggerAtMillis, legacyExactLength(), 0, 0, operation, null, null, in set()
577 long intervalMillis, @NonNull PendingIntent operation) { in setRepeating() argument
578 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, 0, operation, in setRepeating()
633 @NonNull PendingIntent operation) { in setWindow() argument
634 setImpl(type, windowStartMillis, windowLengthMillis, 0, 0, operation, in setWindow()
807 @NonNull PendingIntent operation) { in setExact() argument
808 setImpl(type, triggerAtMillis, WINDOW_EXACT, 0, 0, operation, null, null, (Handler) null, in setExact()
911 public void setAlarmClock(@NonNull AlarmClockInfo info, @NonNull PendingIntent operation) { in setAlarmClock() argument
912 setImpl(RTC_WAKEUP, info.getTriggerTime(), WINDOW_EXACT, 0, 0, operation, in setAlarmClock()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dintrinsics_float.h37 inline FloatType ExecuteFloatOperationRmm(OperationType operation, Args... args) { in ExecuteFloatOperationRmm() argument
39 Wide wide_result = operation(static_cast<typename TypeTraits<Args>::Wide>(args)...); in ExecuteFloatOperationRmm()
82 OperationType operation, in ExecuteFloatOperation() argument
89 return ExecuteFloatOperationRmm<FloatType>(operation, args...); in ExecuteFloatOperation()
91 return operation(args...); in ExecuteFloatOperation()
95 return ExecuteFloatOperationRmm<FloatType>(operation, args...); in ExecuteFloatOperation()
97 return operation(args...); in ExecuteFloatOperation()
/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/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarm.java107 public final PendingIntent operation; field in Alarm
147 operation = op; in Alarm()
158 sourcePackage = (operation != null) ? operation.getCreatorPackage() : packageName; in Alarm()
159 creatorUid = (operation != null) ? operation.getCreatorUid() : this.uid; in Alarm()
172 return (operation != null) in matches()
173 ? operation.equals(pi) in matches()
367 if (operation != null) { in dump()
369 ipw.println(operation); in dump()
394 if (operation != null) { in dumpDebug()
395 operation.dumpDebug(proto, AlarmProto.OPERATION); in dumpDebug()
DMetricsHelper.java69 alarmStore.getCount(a -> (a.operation != null in registerPuller()
70 && a.operation.isForegroundService())), in registerPuller()
72 a -> (a.operation != null && a.operation.isActivity())), in registerPuller()
74 a -> (a.operation != null && a.operation.isService())), in registerPuller()
/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/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/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()
/frameworks/base/services/core/java/com/android/server/audio/
DFadeOutManager.java392 VolumeShaper.Operation operation = VolumeShaper.Operation.REVERSE; in fadeInPlayer() local
396 operation = new VolumeShaper.Operation.Builder() in fadeInPlayer()
401 applyVolumeShaperInternal(apc, piid, config, operation, /* skipRamp= */ false, in fadeInPlayer()
428 VolumeShaper.Configuration volShaperConfig, VolumeShaper.Operation operation, in applyVolumeShaperInternal() argument
432 if (operation.equals(VolumeShaper.Operation.REVERSE)) { in applyVolumeShaperInternal()
436 logFadeEvent(apc, piid, volShaperConfig, operation, skipRamp, eventType); in applyVolumeShaperInternal()
437 apc.getPlayerProxy().applyVolumeShaper(config, operation); in applyVolumeShaperInternal()
444 VolumeShaper.Configuration config, VolumeShaper.Operation operation, in logFadeEvent() argument
448 (new PlaybackActivityMonitor.FadeOutEvent(apc, skipRamp, config, operation)) in logFadeEvent()
455 (new PlaybackActivityMonitor.FadeInEvent(apc, skipRamp, config, operation)) in logFadeEvent()
/frameworks/base/libs/hostgraphics/gui/
DSurface.h87 static int hook_perform(ANativeWindow* window, int operation, ...) { in hook_perform() argument
89 va_start(args, operation); in hook_perform()
91 int result = c->perform(operation, args); in hook_perform()
121 virtual int perform(int operation, va_list args) { in perform() argument
/frameworks/av/media/tests/benchmark/src/native/common/
DStats.cpp38 void Stats::dumpStatistics(const string& operation, const string& inputReference, in dumpStatistics() argument
47 return uploadMetrics(operation, inputReference, durationUs, componentName, in dumpStatistics()
72 rowData.append(operation + ", "); in dumpStatistics()
111 void Stats::uploadMetrics(const string& operation, const string& inputReference, in uploadMetrics() argument
141 (void)operation; in uploadMetrics()
/frameworks/base/services/core/java/com/android/server/location/listeners/
DListenerRegistration.java127 protected void onOperationFailure(ListenerOperation<TListener> operation, Exception exception) { in onOperationFailure() argument
136 protected final void executeOperation(@Nullable ListenerOperation<TListener> operation) { in executeOperation() argument
137 executeSafely(mExecutor, () -> mListener, operation, this::onOperationFailure); in executeOperation()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DJetpackTaskFragmentOrganizer.java336 final TaskFragmentOperation operation = new TaskFragmentOperation.Builder( in updateAnimationParams() local
340 wct.addTaskFragmentOperation(fragmentToken, operation); in updateAnimationParams()
350 final TaskFragmentOperation operation = new TaskFragmentOperation.Builder( in reorderTaskFragmentToFront() local
352 wct.addTaskFragmentOperation(fragmentToken, operation); in reorderTaskFragmentToFront()
357 final TaskFragmentOperation operation = new TaskFragmentOperation.Builder( in setTaskFragmentIsolatedNavigation() local
359 wct.addTaskFragmentOperation(fragmentToken, operation); in setTaskFragmentIsolatedNavigation()
364 final TaskFragmentOperation operation = new TaskFragmentOperation.Builder( in setTaskFragmentPinned() local
366 wct.addTaskFragmentOperation(fragmentToken, operation); in setTaskFragmentPinned()
371 final TaskFragmentOperation operation = new TaskFragmentOperation.Builder( in setTaskFragmentDimOnTask() local
373 wct.addTaskFragmentOperation(fragmentToken, operation); in setTaskFragmentDimOnTask()
/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/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/itemList/
DItemListPage.kt48 val operation = parameter.getStringArg(OPERATOR_PARAM_NAME, arguments) ?: "NULL" in getTitle() constant
49 return "Operation: $operation" in getTitle()
54 val operation = parameter.getStringArg(OPERATOR_PARAM_NAME, arguments)!! in buildEntry() constant
57 ItemOperatePageProvider.buildInjectEntry(operation)!!.setLink(fromPage = owner).build(), in buildEntry()
/frameworks/proto_logging/stats/atoms/media/
Dmedia_editing_extension_atoms.proto31 // Media metric for an editing operation having ended, since Android V.
36 // Final state of editing operation when it ended.
38 // Progress of the editing operation in percent at the moment that it ended,
46 // Whether the operation included video transcoding.
48 // Whether the operation included audio transcoding.
50 // Whether the operation included video editing.
52 // Whether the operation included audio editing.
54 // Whether the operation included video transmuxing.
56 // Whether the operation included audio transmuxing.
58 // Whether the operation was paused.
[all …]

1234567891011