Home
last modified time | relevance | path

Searched refs:Operation (Results 1 – 25 of 124) sorted by relevance

12345

/frameworks/base/tools/preload/
DProc.java47 transient final Map<Integer, LinkedList<Operation>> stacks
48 = new HashMap<Integer, LinkedList<Operation>>();
54 final List<Operation> operations = new ArrayList<Operation>();
91 Operation.Type type) { in startOperation()
92 Operation o = new Operation( in startOperation()
96 LinkedList<Operation> stack = stacks.get(threadId); in startOperation()
98 stack = new LinkedList<Operation>(); in startOperation()
116 Operation endOperation(int threadId, String className, in endOperation()
118 LinkedList<Operation> stack = stacks.get(threadId); in endOperation()
125 Operation o = stack.getLast(); in endOperation()
DLoadedClass.java31 final List<Operation> loads = new ArrayList<Operation>();
34 final List<Operation> initializations = new ArrayList<Operation>();
84 private static int calculateMedian(List<Operation> operations) { in calculateMedian()
114 private void addProcessNames(List<Operation> ops, Set<String> names) { in addProcessNames()
115 for (Operation operation : ops) { in addProcessNames()
DOperation.java24 class Operation implements Serializable { class
54 final List<Operation> subops = new ArrayList<Operation>();
57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, in Operation() method in Operation
85 for (Operation child : subops) { in exclusiveTimeMicros()
/frameworks/base/services/core/java/com/android/server/wm/
DAsyncRotationController.java66 private final ArrayMap<WindowToken, Operation> mTargetWindowTokens = new ArrayMap<>();
170 int action = Operation.ACTION_FADE; in accept()
184 action = Operation.ACTION_SEAMLESS; in accept()
186 mTargetWindowTokens.put(w.mToken, new Operation(action)); in accept()
191 ? Operation.ACTION_SEAMLESS : Operation.ACTION_FADE; in accept()
192 mTargetWindowTokens.put(w.mToken, new Operation(action)); in accept()
245 final Operation op = mTargetWindowTokens.valueAt(i); in updateTargetWindows()
246 if (op.mIsCompletionPending || op.mAction == Operation.ACTION_SEAMLESS) { in updateTargetWindows()
268 final Operation op = mTargetWindowTokens.remove(windowToken); in finishOp()
276 if (op.mAction == Operation.ACTION_TOGGLE_IME) { in finishOp()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DFadeOutManager.java302 private static final VolumeShaper.Operation PLAY_CREATE_IF_NEEDED =
303 new VolumeShaper.Operation.Builder(VolumeShaper.Operation.PLAY)
308 private static final VolumeShaper.Operation PLAY_SKIP_RAMP =
309 new VolumeShaper.Operation.Builder(PLAY_CREATE_IF_NEEDED).setXOffset(1.0f).build();
366 VolumeShaper.Operation.REVERSE, /* skipRamp= */ false, in removeUnfadeAll()
392 VolumeShaper.Operation operation = VolumeShaper.Operation.REVERSE; in fadeInPlayer()
396 operation = new VolumeShaper.Operation.Builder() in fadeInPlayer()
428 VolumeShaper.Configuration volShaperConfig, VolumeShaper.Operation operation, in applyVolumeShaperInternal()
432 if (operation.equals(VolumeShaper.Operation.REVERSE)) { in applyVolumeShaperInternal()
444 VolumeShaper.Configuration config, VolumeShaper.Operation operation, in logFadeEvent()
/frameworks/av/include/media/
DVolumeShaper.h428 class Operation : public RefBase, public Parcelable {
462 Operation() in Operation() function
463 : Operation(FLAG_NONE, -1 /* replaceId */) { in Operation()
466 Operation(Flag flags, int replaceId) in Operation() function
467 : Operation(flags, replaceId, std::numeric_limits<S>::quiet_NaN() /* xOffset */) { in Operation()
470 Operation(const Operation &operation) in Operation() function
471 : Operation(operation.mFlags, operation.mReplaceId, operation.mXOffset) { in Operation()
474 explicit Operation(const sp<Operation> &operation) in Operation() function
475 : Operation(*operation.get()) { in Operation()
478 Operation(Flag flags, int replaceId, S xOffset) in Operation() function
[all …]
/frameworks/base/media/java/android/media/
DVolumeShaper.java57 mId = applyPlayer(configuration, new Operation.Builder().defer().build()); in VolumeShaper()
80 public void apply(@NonNull Operation operation) { in apply()
111 @NonNull Configuration configuration, @NonNull Operation operation, boolean join) { in replace()
114 new Operation.Builder(operation).replace(mId, join).build()); in replace()
149 new Operation.Builder().terminate().build()); in close()
173 @NonNull VolumeShaper.Operation operation) { in applyPlayer()
1157 public static final class Operation implements Parcelable { class in VolumeShaper
1163 public static final Operation PLAY =
1164 new VolumeShaper.Operation.Builder()
1172 public static final Operation REVERSE =
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DDrawBase2.java21 import com.android.internal.widget.remotecompose.core.Operation;
38 public Operation construct(float x1, float y1) {
92 public void read(WireBuffer buffer, List<Operation> operations) { in read()
96 Operation op = construct(v1, v2); in read()
106 public Operation construct(float x1, float y1) { in construct()
DDrawBase3.java21 import com.android.internal.widget.remotecompose.core.Operation;
38 public Operation construct(float x1, float y1, float x2) {
106 public void read(WireBuffer buffer, List<Operation> operations) { in read()
111 Operation op = construct(v1, v2, v3); in read()
123 public Operation construct(float x1, in construct()
DDrawBase4.java21 import com.android.internal.widget.remotecompose.core.Operation;
38 public Operation construct(float x1, float y1, float x2, float y2) {
116 public void read(WireBuffer buffer, List<Operation> operations) { in read()
122 Operation op = construct(sLeft, srcTop, srcRight, srcBottom); in read()
134 public Operation construct(float x1, in construct()
DFloatConstant.java19 import com.android.internal.widget.remotecompose.core.Operation;
29 public class FloatConstant implements Operation {
76 public void read(WireBuffer buffer, List<Operation> operations) { in read()
DDrawBase6.java21 import com.android.internal.widget.remotecompose.core.Operation;
37 public Operation construct(float x1, float y1, float x2, float y2) {
135 public void read(WireBuffer buffer, List<Operation> operations) { in read()
143 Operation op = construct(sv1, sv2, sv3, sv4, sv5, sv6); in read()
157 public Operation construct(float v1, in construct()
DTextData.java19 import com.android.internal.widget.remotecompose.core.Operation;
29 public class TextData implements Operation {
72 public void read(WireBuffer buffer, List<Operation> operations) { in read()
DTextMerge.java19 import com.android.internal.widget.remotecompose.core.Operation;
29 public class TextMerge implements Operation {
81 public void read(WireBuffer buffer, List<Operation> operations) { in read()
DNamedVariable.java19 import com.android.internal.widget.remotecompose.core.Operation;
29 public class NamedVariable implements Operation {
82 public void read(WireBuffer buffer, List<Operation> operations) { in read()
DBitmapData.java19 import com.android.internal.widget.remotecompose.core.Operation;
31 public class BitmapData implements Operation {
80 public void read(WireBuffer buffer, List<Operation> operations) { in read()
DMatrixTranslate.java18 import com.android.internal.widget.remotecompose.core.Operation;
26 public Operation construct(float x1,
DDrawCircle.java3 import com.android.internal.widget.remotecompose.core.Operation;
11 public Operation construct(float x1,
/frameworks/av/media/libstagefright/tests/
DBatteryChecker_test.cpp49 struct Operation { struct in android::BatteryCheckerTestHandler
57 std::vector<Operation> mOps;
66 void runTest(const std::vector<Operation> &ops, int64_t timeoutUs) { in runTest()
96 using Operation = BatteryCheckerTestHandler::Operation; typedef in android::BatteryCheckerTest
103 void runTest(const std::vector<Operation> &ops, int64_t timeoutUs) { in runTest()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DLifecycleOperationStorage.java78 private final SparseArray<Operation> mOperations = new SparseArray<>();
101 mOperations.put(token, new Operation(initialState, task, type)); in registerOperationForPackages()
143 Operation op = mOperations.valueAt(i); in isBackupOperationInProgress()
171 final Operation op = mOperations.valueAt(i); in operationTokensForOpType()
187 final Operation op = mOperations.valueAt(i); in operationTokensForOpState()
214 Operation op = null; in waitUntilOperationComplete()
270 Operation op = null; in onOperationComplete()
317 Operation op = null; in cancelOperation()
DOperation.java21 public class Operation { class
27 public Operation(int initialState, BackupRestoreTask callbackObj, int type) { in Operation() method in Operation
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/
Dparcel_fuzzer.rs42 enum Operation<'a> { enum
144 fuzz_target!(|operation: Operation| {
146 Operation::Transact { code, flag, data } => {
150 Operation::Append { start, len, data1, data2, append_all } => {
154 Operation::Read { read_operations, data } => {
/frameworks/av/media/libstagefright/renderfright/gl/
DImageManager.h53 enum class Operation { Delete, Insert }; enum
55 Operation op = Operation::Delete;
DImageManager.cpp71 QueueEntry entry = {QueueEntry::Operation::Insert, buffer, buffer->getId(), barrier}; in cacheAsync()
87 QueueEntry entry = {QueueEntry::Operation::Delete, nullptr, bufferId, barrier}; in releaseAsync()
128 case QueueEntry::Operation::Delete: in threadMain()
131 case QueueEntry::Operation::Insert: in threadMain()
/frameworks/base/core/java/android/provider/
DTimeZoneRulesDataContract.java47 public static final class Operation { class in TimeZoneRulesDataContract
50 private Operation() { in Operation() method in TimeZoneRulesDataContract.Operation

12345