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

/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.java80 AdapterHelper addUpdateOp(UpdateOp... ops) { argument
81 Collections.addAll(mPendingUpdates, ops);
125 // MOVE ops are pre-processed so at this point, we know that item is still in the adapter.
143 // have any effect in pre-layout since their add ops are already deferred to
238 // TODO Since move ops are pushed to end, we should not need this anymore
317 throw new IllegalArgumentException("only remove and update ops can be dispatched"
704 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument
705 final int count = ops.size();
707 recycleUpdateOp(ops.get(i));
709 ops
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java933 assertEquals(smallCacheOps, fakeCache.ops);
953 assertEquals(bigCacheOps, fakeCache.ops);
962 assertEquals(bigCacheOps, fakeCache.ops);
985 List<String> ops = new ArrayList<String>(); field in class:SSLSocketTest.FakeClientSessionCache
989 ops.add("get " + host);
996 ops.add("put " + host);
1035 assertEquals(expected, cacheProxy.ops);
1053 assertEquals(expected, cacheProxy.ops);
1072 final List<String> ops = new ArrayList<String>(); field in class:SSLSocketTest.ClientSessionCacheProxy
1080 ops
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java222 Ops ops = it.next();
225 curUid = mContext.getPackageManager().getPackageUid(ops.packageName,
226 UserHandle.getUserId(ops.uid));
230 if (curUid != ops.uid) {
231 Slog.i(TAG, "Pruning old package " + ops.packageName
232 + "/" + ops.uid + ": new uid=" + curUid);
271 Slog.w(TAG, "Writing app ops before shutdown...");
284 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { argument
286 if (ops == null) {
294 for (int j=0; j<ops
309 getPackagesForOps(int[] ops) argument
333 getOpsForPackage(int uid, String packageName, int[] ops) argument
867 getOpLocked(Ops ops, int code, boolean edit) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DOpReorderTest.java219 public void orderedRandom(int... ops) { argument
220 for (int op : ops) {
326 private void assertAllMovesAtTheEnd(List<UpdateOp> ops) { argument
328 for (UpdateOp op : ops) {
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java50 * <p>App ops allows callers to:</p>
623 * app ops that are under strong control of some part of the
954 * @param ops The set of operations you are interested in, or null if you want all of them.
957 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { argument
959 return mService.getPackagesForOps(ops);
970 * @param ops The set of operations you are interested in, or null if you want all of them.
973 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { argument
975 return mService.getOpsForPackage(uid, packageName, ops);
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp90 const preproc_ops_t *ops; // effect ops table member in struct:preproc_effect_s
646 effect->ops->disable(effect);
659 status = effect->ops->create(effect);
678 effect->ops->disable(effect);
699 effect->ops->enable(effect);
722 effect->ops = sPreProcOps[procId];
1357 if (effect->ops->init) {
1358 effect->ops->init(effect);
1432 if (effect->ops
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListOp.h144 * Currently guarantees certain similarities between ops (see MergingDrawBatch::canMergeWith),
149 const Vector<OpStatePair>& ops, const Rect& bounds) {
151 for (unsigned int i = 0; i < ops.size(); i++) {
152 renderer.restoreDisplayState(*(ops[i].state), true);
153 status |= ops[i].op->applyDraw(renderer, dirty);
676 const Vector<OpStatePair>& ops, const Rect& bounds) {
677 const DeferredDisplayState& firstState = *(ops[0].state);
680 TextureVertex vertices[6 * ops.size()];
688 for (unsigned int i = 0; i < ops.size(); i++) {
689 const DeferredDisplayState& state = *(ops[
148 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument
675 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument
868 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument
1410 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) 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));

Completed in 2903 milliseconds