Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPathOpsActivity.java57 Path.Op[] ops = Path.Op.values(); in onSizeChanged() local
58 mPaths = new Path[ops.length]; in onSizeChanged()
60 mSize = w / (ops.length * 2.0f); in onSizeChanged()
68 for (int i = 0; i < ops.length; i++) { in onSizeChanged()
70 if (!mPaths[i].op(p1, p2, ops[i])) { in onSizeChanged()
71 Log.d("PathOps", ops[i].name() + " failed!"); in onSizeChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java78 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() local
81 String packageName = ops.getPackageName(); in getAppList()
82 int uid = ops.getUid(); in getAppList()
89 Request request = getRequestFromOps(now, ops); in getAppList()
106 AppOpsManager.PackageOps ops) { in getRequestFromOps() argument
107 String packageName = ops.getPackageName(); in getRequestFromOps()
108 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps()
137 int uid = ops.getUid(); in getRequestFromOps()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java274 Ops ops = it.next(); in systemReady() local
277 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName, in systemReady()
279 UserHandle.getUserId(ops.uidState.uid)); in systemReady()
282 if (curUid != ops.uidState.uid) { in systemReady()
283 Slog.i(TAG, "Pruning old package " + ops.packageName in systemReady()
284 + "/" + ops.uidState + ": new uid=" + curUid); in systemReady()
396 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { in collectOps() argument
398 if (ops == null) { in collectOps()
407 for (int j=0; j<ops.length; j++) { in collectOps()
408 Op curOp = pkgOps.get(ops[j]); in collectOps()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp118 auto&& ops = dl->getOps(); in OPENGL_PIPELINE_TEST()
119 ASSERT_EQ(2u, ops.size()) << "Must be exactly two ops"; in OPENGL_PIPELINE_TEST()
120 EXPECT_EQ(RecordedOpId::ArcOp, ops[0]->opId); in OPENGL_PIPELINE_TEST()
121 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds); in OPENGL_PIPELINE_TEST()
123 EXPECT_EQ(RecordedOpId::OvalOp, ops[1]->opId) in OPENGL_PIPELINE_TEST()
125 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds); in OPENGL_PIPELINE_TEST()
220 auto ops = dl->getOps(); in OPENGL_PIPELINE_TEST() local
221 ASSERT_EQ(8u, ops.size()); in OPENGL_PIPELINE_TEST()
224 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId); // no underline or strikethrough in OPENGL_PIPELINE_TEST()
226 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId); in OPENGL_PIPELINE_TEST()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl39 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); in getPackagesForOps() argument
40 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() argument
41 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); in getUidOps() argument
/frameworks/base/libs/hwui/
DDisplayList.h101 const LsaVector<BaseOpType*>& getOps() const { return ops; } in getOps()
118 virtual bool isEmpty() const { return ops.empty(); } in isEmpty()
140 LsaVector<BaseOpType*> ops; variable
DDisplayList.cpp38 , ops(stdAllocator) in DisplayList()
DRecordingCanvas.cpp638 int insertIndex = mDisplayList->ops.size(); in addOp()
639 mDisplayList->ops.push_back(op); in addOp()
/frameworks/base/tools/preload/
DLoadedClass.java114 private void addProcessNames(List<Operation> ops, Set<String> names) { in addProcessNames() argument
115 for (Operation operation : ops) { in addProcessNames()
/frameworks/native/opengl/libagl/
Dmatrix.cpp175 ops = OP_IDENTITY; in loadIdentity()
198 ops = OP_ALL; in picker()
212 ops = OP_ALL; in picker()
388 ops = new uint8_t[depth]; in init()
397 delete [] ops; in uninit()
403 ops[depth] = OP_IDENTITY; in loadIdentity()
410 ops[depth] = OP_ALL; // TODO: we should look at the matrix in load()
416 ops[depth] = OP_ALL; // TODO: we should look at the matrix in load()
422 ops[depth] = OP_ALL; // TODO: we should look at the matrix in multiply()
428 ops[depth] |= OP_TRANSLATE; in translate()
[all …]
Dcontext.h424 uint32_t ops; member
456 uint8_t *ops; member
471 uint32_t top_ops() const { return ops[depth]; } in top_ops()
473 return !(ops[depth] & ~(OP_TRANSLATE|OP_UNIFORM_SCALE|OP_ROTATE)); in isRigidBody()
Dprimitives.cpp417 if (ggl_unlikely(tr.ops)) { in fetch_texcoord_impl()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp497 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final in build() local
500 memset(ops, 0, sizeof(ops)); in build()
503 ops[i][0] = 0x2 | opInit[0]; in build()
508 ops[i][1] = 0x2 | opInit[1]; in build()
512 ops[i][2] = 0x2 | opInit[2]; in build()
518 ops[i][3] = 0x2 | opInit[3]; in build()
564 switch(ops[i][j]) { in build()
658 switch(ops[i][j]) { in build()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp90 const preproc_ops_t *ops; // effect ops table member
699 effect->ops->disable(effect); in Effect_SetState()
712 status = effect->ops->create(effect); in Effect_SetState()
731 effect->ops->disable(effect); in Effect_SetState()
752 effect->ops->enable(effect); in Effect_SetState()
775 effect->ops = sPreProcOps[procId]; in Effect_Init()
1415 if (effect->ops->init) { in PreProcessingFx_Command()
1416 effect->ops->init(effect); in PreProcessingFx_Command()
1490 if (effect->ops->reset) { in PreProcessingFx_Command()
1491 effect->ops->reset(effect); in PreProcessingFx_Command()
[all …]
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp36 std::function<void(Canvas&, float, const SkPaint&)> ops[] = { in createContent() local
83 for (auto op : ops) { in createContent()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOpReorderer.java36 void reorderOps(List<UpdateOp> ops) { in reorderOps() argument
40 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) { in reorderOps()
41 swapMoveOp(ops, badMove, badMove + 1); in reorderOps()
DAdapterHelper.java80 AdapterHelper addUpdateOp(UpdateOp... ops) { in addUpdateOp() argument
81 Collections.addAll(mPendingUpdates, ops); in addUpdateOp()
746 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { in recycleUpdateOpsAndClearList() argument
747 final int count = ops.size(); in recycleUpdateOpsAndClearList()
749 recycleUpdateOp(ops.get(i)); in recycleUpdateOpsAndClearList()
751 ops.clear(); in recycleUpdateOpsAndClearList()
/frameworks/base/core/java/com/android/internal/widget/
DOpReorderer.java36 void reorderOps(List<UpdateOp> ops) { in reorderOps() argument
40 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) { in reorderOps()
41 swapMoveOp(ops, badMove, badMove + 1); in reorderOps()
DAdapterHelper.java80 AdapterHelper addUpdateOp(UpdateOp... ops) { in addUpdateOp() argument
81 Collections.addAll(mPendingUpdates, ops); in addUpdateOp()
746 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { in recycleUpdateOpsAndClearList() argument
747 final int count = ops.size(); in recycleUpdateOpsAndClearList()
749 recycleUpdateOp(ops.get(i)); in recycleUpdateOpsAndClearList()
751 ops.clear(); in recycleUpdateOpsAndClearList()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java467 List<SyncOperation> ops = getAllPendingSyncs(); in cleanupJobs()
469 for (SyncOperation opx: ops) { in cleanupJobs()
474 for (SyncOperation opy: ops) { in cleanupJobs()
826 List<SyncOperation> ops = getAllPendingSyncs(); in setAuthorityPendingState() local
827 for (SyncOperation op: ops) { in setAuthorityPendingState()
1145 List<SyncOperation> ops = getAllPendingSyncs(); in removeSyncsForAuthority() local
1146 for (SyncOperation op: ops) { in removeSyncsForAuthority()
1180 List<SyncOperation> ops = getAllPendingSyncs(); in getPeriodicSyncs() local
1183 for (SyncOperation op: ops) { in getPeriodicSyncs()
1379 List<SyncOperation> ops = getAllPendingSyncs(); in rescheduleSyncs() local
[all …]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DOpReorderTest.java242 public void orderedRandom(int... ops) { in orderedRandom() argument
243 for (int op : ops) { in orderedRandom()
349 private void assertAllMovesAtTheEnd(List<UpdateOp> ops) { in assertAllMovesAtTheEnd() argument
351 for (UpdateOp op : ops) { in assertAllMovesAtTheEnd()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DTestService.java309 int ops = 0; in run()
312 ops++; in run()
315 mBackgroundOps = ops * mBackgroundOp.getOpsPerRun(); in run()
322 int ops = 0; in run()
325 ops++; in run()
328 mForegroundOps = ops * mForegroundOp.getOpsPerRun(); in run()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1360 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() argument
1362 return mService.getPackagesForOps(ops); in getPackagesForOps()
1376 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { in getOpsForPackage() argument
1378 return mService.getOpsForPackage(uid, packageName, ops); in getOpsForPackage()
/frameworks/opt/telephony/proto/
Dtelephony.proto409 // data ops are not allowed during voice call on a Class C GPRS device
412 // data ops are not allowed before device registers in network
/frameworks/rs/driver/runtime/arch/
Dasimd.ll1095 ;;;;;;;;; pixel ops ;;;;;;;;;;

12