/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathOpsActivity.java | 57 Path.Op[] ops = Path.Op.values(); 58 mPaths = new Path[ops.length]; 60 mSize = w / (ops.length * 2.0f); 68 for (int i = 0; i < ops.length; i++) { 70 if (!mPaths[i].op(p1, p2, ops[i])) { 71 Log.d("PathOps", ops[i].name() + " failed!");
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 131 if (mDevice->ops->set_preview_window) { 144 return mDevice->ops->set_preview_window(mDevice, 184 if (mDevice->ops->set_callbacks) { 185 mDevice->ops->set_callbacks(mDevice, 206 if (mDevice->ops->enable_msg_type) 207 mDevice->ops->enable_msg_type(mDevice, msgType); 223 if (mDevice->ops->disable_msg_type) 224 mDevice->ops->disable_msg_type(mDevice, msgType); 235 if (mDevice->ops->msg_type_enabled) 236 return mDevice->ops [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
H A D | RecentLocationApps.java | 75 AppOpsManager.PackageOps ops = appOps.get(i); 78 String packageName = ops.getPackageName(); 79 int uid = ops.getUid(); 86 Request request = getRequestFromOps(now, ops); 103 AppOpsManager.PackageOps ops) { 104 String packageName = ops.getPackageName(); 105 List<AppOpsManager.OpEntry> entries = ops.getOps(); 134 int uid = ops.getUid(); 102 getRequestFromOps(long now, AppOpsManager.PackageOps ops) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 271 Ops ops = it.next(); 274 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName, 276 UserHandle.getUserId(ops.uidState.uid)); 279 if (curUid != ops.uidState.uid) { 280 Slog.i(TAG, "Pruning old package " + ops.packageName 281 + "/" + ops.uidState + ": new uid=" + curUid); 361 Slog.w(TAG, "Writing app ops before shutdown..."); 374 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { argument 376 if (ops == null) { 385 for (int j=0; j<ops 401 getPackagesForOps(int[] ops) argument 432 getOpsForPackage(int uid, String packageName, int[] ops) argument 1296 getOpLocked(Ops ops, int code, boolean edit) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 66 ASSERT_EQ(2u, dl->getOps().size()) << "Must be exactly two ops"; 81 ASSERT_EQ(0u, dl->getOps().size()) << "Must be zero ops. Rect should be rejected."; 111 auto&& ops = dl->getOps(); local 112 ASSERT_EQ(2u, ops.size()) << "Must be exactly two ops"; 113 EXPECT_EQ(RecordedOpId::ArcOp, ops[0]->opId); 114 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds); 116 EXPECT_EQ(RecordedOpId::OvalOp, ops[1]->opId) 118 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds); 203 auto ops local 716 auto ops = dl->getOps(); local [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAppOpsService.aidl | 39 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); 40 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
|
/frameworks/base/tools/preload/ |
H A D | LoadedClass.java | 114 private void addProcessNames(List<Operation> ops, Set<String> names) { argument 115 for (Operation operation : ops) {
|
/frameworks/base/libs/hwui/ |
H A D | DisplayList.h | 131 // range of included ops in DisplayList::ops() 153 const LsaVector<BaseOpType*>& getOps() const { return ops; } 173 return ops.empty(); 180 // allocator into which all ops and LsaVector arrays allocated 185 LsaVector<BaseOpType*> ops; member in class:android::uirenderer::DisplayList
|
H A D | DisplayList.cpp | 39 , ops(stdAllocator)
|
H A D | DisplayListOp.h | 140 * Currently guarantees certain similarities between ops (see MergingDrawBatch::canMergeWith), 145 const std::vector<OpStatePair>& ops, const Rect& bounds) { 146 for (unsigned int i = 0; i < ops.size(); i++) { 147 renderer.restoreDisplayState(*(ops[i].state), true); 148 ops[i].op->applyDraw(renderer, dirty); 633 const std::vector<OpStatePair>& ops, const Rect& bounds) override { 634 const DeferredDisplayState& firstState = *(ops[0].state); 637 TextureVertex vertices[6 * ops.size()]; 645 for (unsigned int i = 0; i < ops.size(); i++) { 646 const DeferredDisplayState& state = *(ops[ 144 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const std::vector<OpStatePair>& ops, const Rect& bounds) argument [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraModule.h | 48 void getVendorTagOps(vendor_tag_ops_t* ops);
|
H A D | CameraModule.cpp | 354 void CameraModule::getVendorTagOps(vendor_tag_ops_t* ops) { argument 357 mModule->get_vendor_tag_ops(ops);
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ShapeAnimation.cpp | 36 std::function<void(TestCanvas&, float, const SkPaint&)> ops[] = { 83 for (auto op : ops) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | OpReorderer.java | 35 void reorderOps(List<UpdateOp> ops) { argument 39 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) { 40 swapMoveOp(ops, badMove, badMove + 1);
|
H A D | AdapterHelper.java | 82 AdapterHelper addUpdateOp(UpdateOp... ops) { argument 83 Collections.addAll(mPendingUpdates, ops); 129 // MOVE ops are pre-processed so at this point, we know that item is still in the adapter. 147 // have any effect in pre-layout since their add ops are already deferred to 245 // TODO Since move ops are pushed to end, we should not need this anymore 325 throw new IllegalArgumentException("only remove and update ops can be dispatched" 748 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument 749 final int count = ops.size(); 751 recycleUpdateOp(ops.get(i)); 753 ops [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 90 const preproc_ops_t *ops; // effect ops table member in struct:preproc_effect_s 698 effect->ops->disable(effect); 711 status = effect->ops->create(effect); 730 effect->ops->disable(effect); 751 effect->ops->enable(effect); 774 effect->ops = sPreProcOps[procId]; 1419 if (effect->ops->init) { 1420 effect->ops->init(effect); 1494 if (effect->ops [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 495 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final 498 memset(ops, 0, sizeof(ops)); 501 ops[i][0] = 0x2 | opInit[0]; 506 ops[i][1] = 0x2 | opInit[1]; 510 ops[i][2] = 0x2 | opInit[2]; 516 ops[i][3] = 0x2 | opInit[3]; 562 switch(ops[i][j]) { 656 switch(ops[i][j]) {
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 175 ops = OP_IDENTITY; 198 ops = OP_ALL; 212 ops = OP_ALL; 388 ops = new uint8_t[depth]; 397 delete [] ops; 403 ops[depth] = OP_IDENTITY; 410 ops[depth] = OP_ALL; // TODO: we should look at the matrix 416 ops[depth] = OP_ALL; // TODO: we should look at the matrix 422 ops[depth] = OP_ALL; // TODO: we should look at the matrix 428 ops[dept [all...] |
H A D | context.h | 424 uint32_t ops; member in struct:android::gl::transform_t 456 uint8_t *ops; member in struct:android::gl::matrix_stack_t 471 uint32_t top_ops() const { return ops[depth]; } 473 return !(ops[depth] & ~(OP_TRANSLATE|OP_UNIFORM_SCALE|OP_ROTATE));
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 445 List<SyncOperation> ops = getAllPendingSyncs(); 447 for (SyncOperation opx: ops) { 452 for (SyncOperation opy: ops) { 747 List<SyncOperation> ops = getAllPendingSyncs(); 748 for (SyncOperation op: ops) { 1061 List<SyncOperation> ops = getAllPendingSyncs(); 1062 for (SyncOperation op: ops) { 1094 List<SyncOperation> ops = getAllPendingSyncs(); 1097 for (SyncOperation op: ops) { 1287 List<SyncOperation> ops [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
H A D | OpReorderTest.java | 240 public void orderedRandom(int... ops) { argument 241 for (int op : ops) { 347 private void assertAllMovesAtTheEnd(List<UpdateOp> ops) { argument 349 for (UpdateOp op : ops) {
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 309 int ops = 0; 312 ops++; 315 mBackgroundOps = ops * mBackgroundOp.getOpsPerRun(); 322 int ops = 0; 325 ops++; 328 mForegroundOps = ops * mForegroundOp.getOpsPerRun();
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 51 * <p>App ops allows callers to:</p> 883 * app ops that are under strong control of some part of the 1271 * @param ops The set of operations you are interested in, or null if you want all of them. 1274 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { argument 1276 return mService.getPackagesForOps(ops); 1287 * @param ops The set of operations you are interested in, or null if you want all of them. 1290 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { argument 1292 return mService.getOpsForPackage(uid, packageName, ops); 1299 * Sets given app op in the specified mode for app ops in the UID. 1317 * Sets given app op in the specified mode for app ops i [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 679 * camera3_device_t->ops->register_stream_buffers() is not called and must 685 if (hal3Device->ops->register_stream_buffers != NULL) { 687 "must be set to NULL in camera3_device::ops", __FUNCTION__); 738 res = hal3Device->ops->register_stream_buffers(hal3Device,
|
/frameworks/base/docs/html/topic/performance/ |
H A D | performance_toc.cs | 604 <a href="<?cs var:toroot ?>training/basics/network-ops/index.html" 611 <li><a href="<?cs var:toroot ?>training/basics/network-ops/connecting.html"> 615 <li><a href="<?cs var:toroot ?>training/basics/network-ops/managing.html"> 619 <li><a href="<?cs var:toroot ?>training/basics/network-ops/xml.html">
|