Searched defs:op (Results 1 - 25 of 99) sorted by relevance

1234

/frameworks/base/libs/hwui/
H A DOpDumper.cpp28 void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) { argument
33 Rect localBounds(op.unmappedBounds);
34 op.localMatrix.mapRect(localBounds);
35 output << sOpNameLut[op.opId] << " " << localBounds;
37 if (op.localClip
38 && (!op.localClip->rect.contains(localBounds) || op.localClip->intersectWithRoot)) {
40 << " clip=" << op.localClip->rect
41 << " mode=" << (int)op.localClip->mode;
43 if (op
49 opName(const RecordedOp& op) argument
[all...]
H A DDisplayList.cpp86 size_t DisplayList::addChild(NodeOpType* op) { argument
87 referenceHolders.push_back(op->renderNode);
89 children.push_back(op);
112 for (auto&& op : children) {
113 RenderNode* childNode = op->renderNode;
114 info.damageAccumulator->pushTransform(&op->localMatrix);
115 bool childFunctorsNeedLayer = functorsNeedLayer; // TODO! || op->mRecordedWithPotentialStencilClip;
132 for (auto&& op : getOps()) {
133 OpDumper::dump(*op, output, level + 1);
134 if (op
[all...]
H A DSnapshot.cpp75 void Snapshot::clip(const Rect& localClip, SkClipOp op) { argument
77 mClipArea->clipRectWithTransform(localClip, transform, static_cast<SkRegion::Op>(op));
80 void Snapshot::clipPath(const SkPath& path, SkClipOp op) { argument
82 mClipArea->clipPathWithTransform(path, transform, static_cast<SkRegion::Op>(op));
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaRenderPropertiesTests.cpp54 void onClipRRect(const SkRRect& rrect, SkClipOp op, ClipEdgeStyle style) { argument
55 SkCanvas::onClipRRect(rrect, op, style);
H A DRecordingCanvasTests.cpp38 RecordedOp* op = displayList.getOps()[opIndex]; local
39 opReceiver(*op);
45 std::function<void(const RecordedOp& op)> opValidator) {
46 ASSERT_EQ(1u, dl->getOps().size()) << "Must be exactly one op";
61 playbackOps(*dl, [](const RecordedOp& op) { ADD_FAILURE(); });
136 ASSERT_EQ(1u, dl->getOps().size()) << "Must be exactly one op";
137 auto op = dl->getOps()[0]; local
138 ASSERT_EQ(RecordedOpId::LinesOp, op->opId);
139 EXPECT_EQ(4, ((LinesOp*)op)->floatCount)
141 EXPECT_EQ(Rect(20, 10), op
151 auto op = *(dl->getOps()[0]); local
273 auto op = *(dl->getOps()[0]); local
626 auto op = dl->getOps()[1]; local
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DOperator.cpp58 static NullaryOp<Operator::SIZEOF_HEADERS> op; local
59 return op;
64 static NullaryOp<Operator::MAXPAGESIZE> op; local
65 return op;
70 static NullaryOp<Operator::COMMONPAGESIZE> op; local
71 return op;
77 static UnaryOp<Operator::UNARY_PLUS> op; local
78 return op;
83 static UnaryOp<Operator::UNARY_MINUS> op; local
84 return op;
89 static UnaryOp<Operator::LOGICAL_NOT> op; local
95 static UnaryOp<Operator::BITWISE_NOT> op; local
101 static UnaryOp<Operator::ABSOLUTE> op; local
107 static UnaryOp<Operator::ADDR> op; local
113 static UnaryOp<Operator::ALIGNOF> op; local
119 static UnaryOp<Operator::DATA_SEGMENT_END> op; local
125 static UnaryOp<Operator::DEFINED> op; local
131 static UnaryOp<Operator::LENGTH> op; local
137 static UnaryOp<Operator::LOADADDR> op; local
143 static UnaryOp<Operator::NEXT> op; local
149 static UnaryOp<Operator::ORIGIN> op; local
155 static UnaryOp<Operator::SIZEOF> op; local
162 static BinaryOp<Operator::MUL> op; local
168 static BinaryOp<Operator::DIV> op; local
174 static BinaryOp<Operator::MOD> op; local
180 static BinaryOp<Operator::ADD> op; local
186 static BinaryOp<Operator::SUB> op; local
192 static BinaryOp<Operator::LSHIFT> op; local
198 static BinaryOp<Operator::RSHIFT> op; local
204 static BinaryOp<Operator::LT> op; local
210 static BinaryOp<Operator::LE> op; local
216 static BinaryOp<Operator::GT> op; local
222 static BinaryOp<Operator::GE> op; local
228 static BinaryOp<Operator::EQ> op; local
234 static BinaryOp<Operator::NE> op; local
240 static BinaryOp<Operator::BITWISE_AND> op; local
246 static BinaryOp<Operator::BITWISE_XOR> op; local
252 static BinaryOp<Operator::BITWISE_OR> op; local
258 static BinaryOp<Operator::LOGICAL_AND> op; local
264 static BinaryOp<Operator::LOGICAL_OR> op; local
270 static BinaryOp<Operator::ALIGN> op; local
276 static BinaryOp<Operator::DATA_SEGMENT_RELRO_END> op; local
282 static BinaryOp<Operator::MAX> op; local
288 static BinaryOp<Operator::MIN> op; local
294 static BinaryOp<Operator::SEGMENT_START> op; local
301 static TernaryOp<Operator::TERNARY_IF> op; local
307 static TernaryOp<Operator::DATA_SEGMENT_ALIGN> op; local
[all...]
H A DRpnEvaluator.cpp39 Operator* op = llvm::cast<Operator>(*it); local
40 switch (op->arity()) {
42 operandStack.push(op->eval(m_Module, m_Backend));
48 op->appendOperand(opd);
49 operandStack.push(op->eval(m_Module, m_Backend));
57 op->appendOperand(opd1);
58 op->appendOperand(opd2);
59 operandStack.push(op->eval(m_Module, m_Backend));
69 op->appendOperand(opd1);
70 op
[all...]
/frameworks/native/libs/binder/
H A DIAppOpsCallback.cpp39 virtual void opChanged(int32_t op, const String16& packageName) { argument
42 data.writeInt32(op);
58 int32_t op = data.readInt32(); local
60 opChanged(op, packageName);
H A DAppOpsManager.cpp88 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) argument
92 ? service->checkOperation(op, uid, callingPackage)
96 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { argument
99 ? service->noteOperation(op, uid, callingPackage)
103 int32_t AppOpsManager::startOp(int32_t op, int32_t uid, const String16& callingPackage) { argument
106 ? service->startOperation(getToken(service), op, uid, callingPackage)
110 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { argument
113 service->finishOperation(getToken(service), op, uid, callingPackage); local
117 void AppOpsManager::startWatchingMode(int32_t op, const String16& packageName, argument
121 service->startWatchingMode(op, packageNam
[all...]
H A DIAppOpsService.cpp88 virtual void startWatchingMode(int32_t op, const String16& packageName, argument
92 data.writeInt32(op);
179 int32_t op = data.readInt32(); local
182 startWatchingMode(op, packageName, callback);
/frameworks/native/opengl/tests/lib/
H A DglTestLib.cpp47 void glTestCheckEglError(const char* op, EGLBoolean returnVal) argument
50 testPrintE("%s() returned %d", op, returnVal);
56 op, EGLUtils::strerror(error), error);
60 void glTestCheckGlError(const char* op) argument
64 testPrintE("after %s() glError (0x%x)", op, error);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DRunResult.java31 RunResult(TestService.TestRunner op) { argument
32 name = op.getName();
33 fgLongName = op.getForegroundLongName();
34 bgLongName = op.getBackgroundLongName();
35 fgTime = op.getForegroundTime();
36 fgOps = op.getForegroundOps();
37 bgTime = op.getBackgroundTime();
38 bgOps = op.getBackgroundOps();
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp35 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { argument
37 fprintf(stderr, "%s() returned %d\n", op, returnVal);
42 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
47 static void checkGlError(const char* op) { argument
50 fprintf(stderr, "after %s() glError (0x%x)\n", op, error);
/frameworks/support/compat/java/android/support/v4/app/
H A DAppOpsManagerCompat.java55 * Gets the app op name associated with a given permission.
58 * @return The app op associated with the permission or null.
75 * @param op The operation to note. One of the OPSTR_* constants.
81 * @throws SecurityException If the app has been configured to crash on this op.
83 public static int noteOp(@NonNull Context context, @NonNull String op, int uid, argument
87 return appOpsManager.noteOp(op, uid, packageName);
102 * @param op The operation to note. One of the OPSTR_* constants.
107 * @throws SecurityException If the app has been configured to crash on this op.
109 public static int noteProxyOp(@NonNull Context context, @NonNull String op, argument
113 return appOpsManager.noteProxyOp(op, proxiedPackageNam
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DBitShiftExpr.java27 BitShiftExpr(Expr left, String op, Expr right) { argument
29 mOp = op;
H A DComparisonExpr.java27 ComparisonExpr(String op, Expr left, Expr right) { argument
29 mOp = op;
H A DMathExpr.java32 MathExpr(Expr left, String op, Expr right) { argument
34 mOp = op;
H A DUnaryExpr.java27 UnaryExpr(String op, Expr expr) { argument
29 mOp = op;
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
H A DExpressionVisitorTest.java86 public ComparisonExprTests(String op) { argument
87 mOp = op;
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Depoll_file_descriptor.h39 int Control(int op, int target_fd, epoll_event* ev) { argument
40 if (epoll_ctl(fd_.get(), op, target_fd, ev) < 0)
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java142 private void checkGlError(String op) { argument
145 Log.e(TAG, op + ": glError " + error);
146 throw new RuntimeException(op + ": glError " + error);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMnsObexServer.java78 public int onGet(final Operation op) { argument
85 public int onPut(final Operation op) { argument
90 headerset = op.getReceivedHeader();
101 BluetoothMapEventReport ev = BluetoothMapEventReport.fromStream(op
104 op.close();
/frameworks/rs/driver/
H A DrsdGL.cpp47 static void checkEglError(const char* op, EGLBoolean returnVal = EGL_TRUE) { argument
72 fprintf(stderr, "%s() returned %d\n", op, returnVal);
77 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
/frameworks/base/core/java/com/android/internal/widget/
H A DOpReorderer.java237 void recycleUpdateOp(UpdateOp op); argument
/frameworks/base/tools/obbtool/
H A DMain.cpp252 if (strncmp(op, name, opsize)) { \
253 fprintf(stderr, "ERROR: unknown function '%s'!\n\n", op); \
259 const char* op = argv[optind++]; local
260 const int opsize = strlen(op);
270 switch (op[0]) {
288 fprintf(stderr, "ERROR: unknown command '%s'!\n\n", op);

Completed in 419 milliseconds

1234