Searched refs:ops (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathOpsActivity.java57 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 DCameraHardwareInterface.h124 if (mDevice->ops->set_preview_window) {
129 return mDevice->ops->set_preview_window(mDevice,
148 if (mDevice->ops->set_callbacks) {
149 mDevice->ops->set_callbacks(mDevice,
170 if (mDevice->ops->enable_msg_type)
171 mDevice->ops->enable_msg_type(mDevice, msgType);
187 if (mDevice->ops->disable_msg_type)
188 mDevice->ops->disable_msg_type(mDevice, msgType);
199 if (mDevice->ops->msg_type_enabled)
200 return mDevice->ops
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsService.aidl36 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops);
37 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
/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/base/tools/preload/
H A DLoadedClass.java114 private void addProcessNames(List<Operation> ops, Set<String> names) { argument
115 for (Operation operation : ops) {
/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/cmds/appops/src/com/android/commands/appops/
H A DAppOpsCommand.java219 List<AppOpsManager.PackageOps> ops = appOpsService.getOpsForPackage(uid, packageName,
221 if (ops == null || ops.size() <= 0) {
226 for (int i=0; i<ops.size(); i++) {
227 List<AppOpsManager.OpEntry> entries = ops.get(i).getOps();
/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/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/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp116 res = device->ops->set_notify_callback(device, notificationCallback,
138 int inProgressCount = mHal2Device->ops->get_in_progress_count(mHal2Device);
193 res = mHal2Device->ops->dump(mHal2Device, fd);
438 err = mHal2Device->ops->construct_default_request(
454 while (mHal2Device->ops->get_in_progress_count(mHal2Device) > 0) {
459 totalTime, mHal2Device->ops->get_in_progress_count(mHal2Device));
470 res = mHal2Device->ops->set_notify_callback(mHal2Device, notificationCallback,
552 res = mHal2Device->ops->trigger_action(mHal2Device,
565 res = mHal2Device->ops->trigger_action(mHal2Device,
578 res = mHal2Device->ops
[all...]
/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/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp498 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final
501 memset(ops, 0, sizeof(ops));
504 ops[i][0] = 0x2 | opInit[0];
509 ops[i][1] = 0x2 | opInit[1];
513 ops[i][2] = 0x2 | opInit[2];
519 ops[i][3] = 0x2 | opInit[3];
565 switch(ops[i][j]) {
659 switch(ops[i][j]) {
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp175 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 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));
H A Dprimitives.cpp417 if (ggl_unlikely(tr.ops)) {
/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/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java309 int ops = 0;
312 ops++;
315 mBackgroundOps = ops * mBackgroundOp.getOpsPerRun();
322 int ops = 0;
325 ops++;
328 mForegroundOps = ops * mForegroundOp.getOpsPerRun();
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp406 * camera3_device_t->ops->register_stream_buffers() is not called and must
412 if (hal3Device->ops->register_stream_buffers != NULL) {
414 "must be set to NULL in camera3_device::ops", __FUNCTION__);
467 res = hal3Device->ops->register_stream_buffers(hal3Device,
H A DCamera3Device.cpp145 res = device->ops->initialize(device, this);
446 mHal3Device->ops->dump(mHal3Device, fd);
1053 rawRequest = mHal3Device->ops->construct_default_request_settings(
1304 res = mHal3Device->ops->flush(mHal3Device);
1493 res = mHal3Device->ops->configure_streams(mHal3Device, &config);
2754 res = mHal3Device->ops->process_capture_request(mHal3Device, &request);
/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/base/docs/html/training/
H A Dtraining_toc.cs537 <a href="<?cs var:toroot ?>training/basics/network-ops/index.html"
544 <li><a href="<?cs var:toroot ?>training/basics/network-ops/connecting.html">
548 <li><a href="<?cs var:toroot ?>training/basics/network-ops/managing.html">
552 <li><a href="<?cs var:toroot ?>training/basics/network-ops/xml.html">
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java197 * @return true if the two pending ops are the same.
1460 ArrayList<SyncStatusInfo> ops = new ArrayList<SyncStatusInfo>(N);
1462 ops.add(mSyncStatus.valueAt(i));
1464 return ops;
2516 Log.w(TAG_FILE, "Error parsing pending ops xml.", e);
2563 * Write all currently pending ops to the pending ops file.
2597 /** Write all currently pending ops to the pending ops file. */
2614 * Append the given operation to the pending ops fil
[all...]

Completed in 542 milliseconds