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

/frameworks/base/libs/hwui/tests/unit/
H A DRecordingCanvasTests.cpp73 ASSERT_EQ(2u, dl->getOps().size()) << "Must be exactly two ops";
88 ASSERT_EQ(0u, dl->getOps().size()) << "Must be zero ops. Rect should be rejected.";
118 auto&& ops = dl->getOps(); local
119 ASSERT_EQ(2u, ops.size()) << "Must be exactly two ops";
120 EXPECT_EQ(RecordedOpId::ArcOp, ops[0]->opId);
121 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds);
123 EXPECT_EQ(RecordedOpId::OvalOp, ops[1]->opId) << "Circular arcs should be converted to ovals";
124 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds);
217 auto ops local
728 auto ops = dl->getOps(); local
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DRecentLocationApps.java83 AppOpsManager.PackageOps ops = appOps.get(i);
86 String packageName = ops.getPackageName();
87 int uid = ops.getUid();
94 Request request = getRequestFromOps(now, ops);
122 AppOpsManager.PackageOps ops) {
123 String packageName = ops.getPackageName();
124 List<AppOpsManager.OpEntry> entries = ops.getOps();
154 int uid = ops.getUid();
121 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/base/core/java/com/android/internal/widget/
H A DOpReorderer.java36 void reorderOps(List<UpdateOp> ops) { argument
40 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) {
41 swapMoveOp(ops, badMove, badMove + 1);
H A DAdapterHelper.java80 AdapterHelper addUpdateOp(UpdateOp... ops) { argument
81 Collections.addAll(mPendingUpdates, ops);
127 // MOVE ops are pre-processed so at this point, we know that item is still in the adapter.
145 // have any effect in pre-layout since their add ops are already deferred to
243 // TODO Since move ops are pushed to end, we should not need this anymore
323 throw new IllegalArgumentException("only remove and update ops can be dispatched"
746 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument
747 final int count = ops.size();
749 recycleUpdateOp(ops.get(i));
751 ops
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DOpReorderer.java29 void reorderOps(List<AdapterHelper.UpdateOp> ops) { argument
33 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) {
34 swapMoveOp(ops, badMove, badMove + 1);
H A DAdapterHelper.java81 AdapterHelper addUpdateOp(UpdateOp... ops) { argument
82 Collections.addAll(mPendingUpdates, ops);
128 // MOVE ops are pre-processed so at this point, we know that item is still in the adapter.
146 // have any effect in pre-layout since their add ops are already deferred to
244 // TODO Since move ops are pushed to end, we should not need this anymore
324 throw new IllegalArgumentException("only remove and update ops can be dispatched"
747 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument
748 final int count = ops.size();
750 recycleUpdateOp(ops.get(i));
752 ops
[all...]
/frameworks/base/libs/hwui/
H A DDisplayList.h80 // range of included ops in DisplayList::ops()
102 const LsaVector<BaseOpType*>& getOps() const { return ops; }
114 virtual bool isEmpty() const { return ops.empty(); }
131 // allocator into which all ops and LsaVector arrays allocated
137 LsaVector<BaseOpType*> ops; member in class:android::uirenderer::DisplayList
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAppOpsInfo.java65 void onClick(View v, String pkg, int uid, ArraySet<Integer> ops); argument
H A DNotificationGutsManager.java133 protected void startAppOpsSettingsActivity(String pkg, int uid, ArraySet<Integer> ops, argument
135 if (ops.contains(OP_SYSTEM_ALERT_WINDOW)) {
136 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) {
143 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) {
224 (View v, String pkg, int uid, ArraySet<Integer> ops) -> {
227 startAppOpsSettingsActivity(pkg, uid, ops, row);
/frameworks/base/tests/JankBench/app/src/main/jni/
H A DBench.cpp356 double ops = mGFlop.kernelXSize; local
357 ops = ops * 2.f - 1.f;
358 ops *= mGFlop.imageXSize;
366 double gflops = ops / dt / 1000000000.f;
368 __android_log_print(ANDROID_LOG_INFO, "bench", "v %f %f %f", dt, ops, gflops);
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DOpReorderTest.java243 public void orderedRandom(int... ops) { argument
244 for (int op : ops) {
350 private void assertAllMovesAtTheEnd(List<UpdateOp> ops) { argument
352 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
699 effect->ops->disable(effect);
712 status = effect->ops->create(effect);
731 effect->ops->disable(effect);
752 effect->ops->enable(effect);
775 effect->ops = sPreProcOps[procId];
1415 if (effect->ops->init) {
1416 effect->ops->init(effect);
1490 if (effect->ops
[all...]
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java56 * <p>App ops allows callers to:</p>
1252 * app ops that are under strong control of some part of the
1740 * @param ops The set of operations you are interested in, or null if you want all of them.
1744 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { argument
1746 return mService.getPackagesForOps(ops);
1757 * @param ops The set of operations you are interested in, or null if you want all of them.
1761 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { argument
1763 return mService.getOpsForPackage(uid, packageName, ops);
1770 * Sets given app op in the specified mode for app ops in the UID.
1789 * Sets given app op in the specified mode for app ops i
2033 startWatchingActive(@onNull int[] ops, @NonNull OnOpActiveChangedListener callback) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java274 Slog.e(TAG, "Bad app ops settings", e);
371 Ops ops = pkgOps.valueAt(i);
372 for (int j = ops.size() - 1; j >= 0; j--) {
373 if (ops.valueAt(j).mode == AppOpsManager.MODE_FOREGROUND) {
377 evalForegroundWatchers(ops.keyAt(j), watchers, which);
613 Ops ops = it.next();
616 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName,
618 UserHandle.getUserId(ops.uidState.uid));
621 if (curUid != ops.uidState.uid) {
622 Slog.i(TAG, "Pruning old package " + ops
808 collectOps(Ops pkgOps, int[] ops) argument
843 collectOps(SparseIntArray uidOps, int[] ops) argument
867 getPackagesForOps(int[] ops) argument
898 getOpsForPackage(int uid, String packageName, int[] ops) argument
925 getUidOps(int uid, int[] ops) argument
1620 startWatchingActive(int[] ops, IAppOpsActiveCallback callback) argument
2027 getOpLocked(Ops ops, int code, boolean edit) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dcontext.h424 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/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 240 milliseconds