Searched defs:ops (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DRecordingCanvasTests.cpp66 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.";
90 auto&& ops = dl->getOps(); local
91 ASSERT_EQ(2u, ops.size()) << "Must be exactly two ops";
92 EXPECT_EQ(RecordedOpId::ArcOp, ops[0]->opId);
93 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds);
95 EXPECT_EQ(RecordedOpId::OvalOp, ops[1]->opId)
97 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds);
182 auto ops local
650 auto ops = dl->getOps(); local
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DRecentLocationApps.java75 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/tools/preload/
H A DLoadedClass.java114 private void addProcessNames(List<Operation> ops, Set<String> names) { argument
115 for (Operation operation : ops) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DOpReorderer.java35 void reorderOps(List<UpdateOp> ops) { argument
39 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) {
40 swapMoveOp(ops, badMove, badMove + 1);
H A DAdapterHelper.java82 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/base/libs/hwui/
H A DDisplayList.h136 // range of included ops in DisplayList::ops()
158 const LsaVector<BaseOpType*>& getOps() const { return ops; }
178 return ops.empty();
185 // allocator into which all ops and LsaVector arrays allocated
190 LsaVector<BaseOpType*> ops; member in class:android::uirenderer::DisplayList
H A DDisplayListOp.h140 * 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 DCameraModule.cpp354 void CameraModule::getVendorTagOps(vendor_tag_ops_t* ops) { argument
357 mModule->get_vendor_tag_ops(ops);
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DOpReorderTest.java240 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/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp90 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/base/core/java/android/app/
H A DAppOpsManager.java51 * <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/base/services/core/java/com/android/server/
H A DAppOpsService.java271 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/native/opengl/libagl/
H A Dcontext.h423 uint32_t ops; member in struct:android::gl::transform_t
455 uint8_t *ops; member in struct:android::gl::matrix_stack_t
470 uint32_t top_ops() const { return ops[depth]; }
472 return !(ops[depth] & ~(OP_TRANSLATE|OP_UNIFORM_SCALE|OP_ROTATE));
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 644 milliseconds