/frameworks/base/startop/view_compiler/ |
D | dex_builder.cc | 29 using Op = Instruction::Op; typedef 69 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode) { in operator <<() 71 case Instruction::Op::kReturn: in operator <<() 74 case Instruction::Op::kReturnObject: in operator <<() 77 case Instruction::Op::kMove: in operator <<() 80 case Instruction::Op::kMoveObject: in operator <<() 83 case Instruction::Op::kInvokeVirtual: in operator <<() 86 case Instruction::Op::kInvokeDirect: in operator <<() 89 case Instruction::Op::kInvokeStatic: in operator <<() 92 case Instruction::Op::kInvokeInterface: in operator <<() [all …]
|
D | dex_testcase_generator.cc | 97 Instruction::Op::kBranchEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases() 101 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfZero)); in GenerateSimpleTestCases() 104 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, else_target)); in GenerateSimpleTestCases() 107 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfZero)); in GenerateSimpleTestCases() 118 Instruction::Op::kBranchNEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases() 122 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfNotZero)); in GenerateSimpleTestCases() 125 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, else_target)); in GenerateSimpleTestCases() 128 Instruction::OpWithArgs(Instruction::Op::kReturn, /*dest=*/{}, resultIfNotZero)); in GenerateSimpleTestCases() 158 Instruction::OpWithArgs(Instruction::Op::kBranchEqz, /*dest=*/{}, zero, labelB)); in GenerateSimpleTestCases() 161 Instruction::OpWithArgs(Instruction::Op::kBindLabel, /*dest=*/{}, labelA)); in GenerateSimpleTestCases() [all …]
|
D | dex_builder.h | 176 enum class Op { enum 201 static inline Instruction OpNoArgs(Op opcode) { in OpNoArgs() 206 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, in OpWithArgs() 214 return OpWithArgs(Op::kCheckCast, val, type); in Cast() 222 Op::kInvokeVirtual, index_argument, /*result_is_object=*/false, dest, this_arg, args...}; in InvokeVirtual() 230 Op::kInvokeVirtual, index_argument, /*result_is_object=*/true, dest, this_arg, args...}; in InvokeVirtualObject() 237 Op::kInvokeDirect, index_argument, /*result_is_object=*/false, dest, this_arg, args...}; in InvokeDirect() 245 Op::kInvokeDirect, index_argument, /*result_is_object=*/true, dest, this_arg, args...}; in InvokeDirectObject() 252 Op::kInvokeStatic, index_argument, /*result_is_object=*/false, dest, args...}; in InvokeStatic() 258 return Instruction{Op::kInvokeStatic, index_argument, /*result_is_object=*/true, dest, args...}; in InvokeStaticObject() [all …]
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 60 final static Op[] mOpPairs = new Op[] { 116 final static Op[] mAvailOps = new Op[] { 244 Op mForegroundOp; 245 Op mBackgroundOp; 428 static public abstract class Op { class in TestService 432 public Op(String name, String longName) { in Op() method in TestService.Op 458 static class NoOp extends Op { 472 static class CpuOp extends Op { 482 static class SchedulerOp extends Op { 494 static class GcOp extends Op { [all …]
|
D | FrameworkPerfActivity.java | 73 TestService.Op mFgTest; 74 TestService.Op mBgTest; 143 TestService.Op op = TestService.mAvailOps[i]; in FrameworkPerfActivity() 213 TestService.Op op = TestService.mAvailOps[position]; in onItemSelected()
|
/frameworks/base/core/java/android/app/ |
D | BackStackRecord.java | 58 final BackStackRecord.Op op = bse.mOps.get(opNum); in BackStackState() 99 BackStackRecord.Op op = new BackStackRecord.Op(); in instantiate() 190 static final class Op { class in BackStackRecord 198 Op() { in Op() method in BackStackRecord.Op 201 Op(int cmd, Fragment fragment) { in Op() method in BackStackRecord.Op 207 ArrayList<Op> mOps = new ArrayList<>(); 304 final Op op = mOps.get(opNum); in dump() 400 void addOp(Op op) { in addOp() 458 addOp(new Op(opcmd, fragment)); in doAddOp() 475 addOp(new Op(OP_REMOVE, fragment)); in remove() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | variant.h | 209 template <typename Op> 210 decltype(auto) Visit(std::int32_t target_index, Op&& op) { 212 return std::forward<Op>(op)(get(TypeTag<Type>{})); 214 return std::forward<Op>(op)(get(TypeTag<EmptyVariant>{})); 216 template <typename Op> 217 decltype(auto) Visit(std::int32_t target_index, Op&& op) const { 219 return std::forward<Op>(op)(get(TypeTag<Type>{})); 221 return std::forward<Op>(op)(get(TypeTag<EmptyVariant>{})); 370 template <typename Op> 371 decltype(auto) Visit(std::int32_t target_index, Op&& op) { [all …]
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.cpp | 76 struct Op { struct 80 static_assert(sizeof(Op) == 4, ""); 82 struct Flush final : Op { 87 struct Save final : Op { 91 struct Restore final : Op { 95 struct SaveLayer final : Op { 121 struct SaveBehind final : Op { 132 struct Concat final : Op { 138 struct SetMatrix final : Op { 146 struct Translate final : Op { [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 39 public enum Op { enum in Region 47 Op(int nativeInt) { in Op() method in Region.Op 258 return op(r, Op.UNION); in union() 265 public boolean op(@NonNull Rect r, @NonNull Op op) { in op() 274 public boolean op(int left, int top, int right, int bottom, @NonNull Op op) { in op() 283 public boolean op(@NonNull Region region, @NonNull Op op) { in op() 291 public boolean op(@NonNull Rect rect, @NonNull Region region, @NonNull Op op) { in op() 300 public boolean op(@NonNull Region region1, @NonNull Region region2, @NonNull Op op) { in op()
|
D | Canvas.java | 850 private static void checkValidClipOp(@NonNull Region.Op op) { in checkValidClipOp() 852 && op != Region.Op.INTERSECT && op != Region.Op.DIFFERENCE) { in checkValidClipOp() 875 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect() 899 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect() 913 Region.Op.UNION.nativeInt); in clipRectUnion() 925 Region.Op.INTERSECT.nativeInt); in clipRect() 937 Region.Op.DIFFERENCE.nativeInt); in clipOutRect() 949 Region.Op.INTERSECT.nativeInt); in clipRect() 961 Region.Op.DIFFERENCE.nativeInt); in clipOutRect() 991 @NonNull Region.Op op) { in clipRect() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 119 Region.Op.INTERSECT); in boundsFromDirection() 124 Region.Op.INTERSECT); in boundsFromDirection() 129 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection() 134 Integer.MAX_VALUE, Region.Op.INTERSECT); in boundsFromDirection()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TapExcludeRegionHolder.java | 50 r.op(bounds, Region.Op.INTERSECT); in amendRegion() 52 region.op(r, Region.Op.UNION); in amendRegion()
|
D | AccessibilityController.java | 599 portionOfWindowAlreadyAccountedFor.op(nonMagnifiedBounds, Region.Op.UNION); in recomputeBoundsLocked() 600 windowBounds.op(portionOfWindowAlreadyAccountedFor, Region.Op.DIFFERENCE); in recomputeBoundsLocked() 603 mMagnificationRegion.op(windowBounds, Region.Op.UNION); in recomputeBoundsLocked() 604 mMagnificationRegion.op(availableBounds, Region.Op.INTERSECT); in recomputeBoundsLocked() 606 nonMagnifiedBounds.op(windowBounds, Region.Op.UNION); in recomputeBoundsLocked() 607 availableBounds.op(windowBounds, Region.Op.DIFFERENCE); in recomputeBoundsLocked() 613 nonMagnifiedBounds.op(letterboxBounds, Region.Op.UNION); in recomputeBoundsLocked() 614 availableBounds.op(letterboxBounds, Region.Op.DIFFERENCE); in recomputeBoundsLocked() 620 accountedBounds.op(nonMagnifiedBounds, Region.Op.UNION); in recomputeBoundsLocked() 621 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | RegionInterceptingFrameLayout.java | 21 import android.graphics.Region.Op; 78 internalInsetsInfo.touchableRegion.op(unionRegion, Op.UNION);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathOpsActivity.java | 57 Path.Op[] ops = Path.Op.values(); in onSizeChanged()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { in ValueEnumerator() local 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() 90 EnumerateOperandType(Op); in ValueEnumerator() 423 const Value *Op = C->getOperand(i); in EnumerateOperandType() local 427 if (isa<BasicBlock>(Op)) in EnumerateOperandType() 430 EnumerateOperandType(Op); in EnumerateOperandType()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { in ValueEnumerator() local 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() 90 EnumerateOperandType(Op); in ValueEnumerator() 423 const Value *Op = C->getOperand(i); in EnumerateOperandType() local 427 if (isa<BasicBlock>(Op)) in EnumerateOperandType() 430 EnumerateOperandType(Op); in EnumerateOperandType()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 87 for (const Use &Op : I.operands()) { in ValueEnumerator() local 88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() 90 EnumerateOperandType(Op); in ValueEnumerator() 423 const Value *Op = C->getOperand(i); in EnumerateOperandType() local 427 if (isa<BasicBlock>(Op)) in EnumerateOperandType() 430 EnumerateOperandType(Op); in EnumerateOperandType()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { in combineShapes() 91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { in combineShapes() 102 } else if (regionOp == Region.Op.UNION.nativeInt) { in combineShapes() 113 } else if (regionOp == Region.Op.XOR.nativeInt) { in combineShapes() 124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) { in combineShapes()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | RectShadowPainter.java | 35 import android.graphics.Region.Op; 152 originalClip.y + originalClip.height, Op.REPLACE); in modifyCanvas() 154 canvas.getHeight(), Op.INTERSECT); in modifyCanvas()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 552 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { in ConstantPlaceHolder() 553 Op<0>() = UndefValue::get(Type::getInt32Ty(Context)); in ConstantPlaceHolder() 1815 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in ParseConstants() local 1816 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants() 2695 Value *Op; in ParseFunctionBody() local 2696 if (getValueTypePair(Record, OpNum, NextValueNo, Op) || in ParseFunctionBody() 2704 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy); in ParseFunctionBody() 2737 Value *Op; in ParseFunctionBody() local 2738 if (getValueTypePair(Record, OpNum, NextValueNo, Op)) in ParseFunctionBody() 2740 GEPIdx.push_back(Op); in ParseFunctionBody() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 31 import android.graphics.Path.Op; 361 mOutlinePath.op(p, Op.XOR); in draw() 394 mShapePath.op(mBoltPath, Path.Op.DIFFERENCE); in draw() 421 mShapePath.op(mPlusPath, Path.Op.DIFFERENCE); in draw() 445 mShapePath.op(mTextPath, Path.Op.DIFFERENCE); in draw()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 409 final static class Ops extends SparseArray<Op> { 421 final static class Op { class in AppOpsService 437 Op(UidState uidState, String packageName, int op) { in Op() method in AppOpsService.Op 694 final ArrayList<Op> mStartedOps = new ArrayList<>(); 723 final Op op = mStartedOps.get(i); in binderDied() 906 final Op op = client.mStartedOps.get(j); in packageRemoved() 923 final Op op = ops.valueAt(i); in packageRemoved() 996 final Op op = ops.valueAt(j); in updateUidProcState() 1038 Op curOp = pkgOps.valueAt(j); in collectOps() 1043 Op curOp = pkgOps.get(ops[j]); in collectOps() [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 827 : ConstantExpr(Ty, Instruction::UserOp1, &Op<0>(), 1) { in ConstantPlaceHolder() 828 Op<0>() = UndefValue::get(Type::getInt32Ty(Context)); in ConstantPlaceHolder() 2108 Constant *Op = ValueList.getConstantFwdRef(Record[2], OpTy); in ParseConstants() local 2109 V = ConstantExpr::getCast(Opc, Op, CurTy); in ParseConstants() 2956 Value *Op; in ParseFunctionBody() local 2957 if (getValueTypePair(Record, OpNum, NextValueNo, Op) || in ParseFunctionBody() 2965 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy); in ParseFunctionBody() 2998 Value *Op; in ParseFunctionBody() local 2999 if (getValueTypePair(Record, OpNum, NextValueNo, Op)) in ParseFunctionBody() 3001 GEPIdx.push_back(Op); in ParseFunctionBody() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 108 final AppOpsService.Op _op1 = ops.get(op1); in assertSameModes() 109 final AppOpsService.Op _op2 = ops.get(op2); in assertSameModes()
|