Searched refs:ops (Results 1 - 25 of 25) 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.h122 if (mDevice->ops->set_preview_window) {
127 return mDevice->ops->set_preview_window(mDevice,
146 if (mDevice->ops->set_callbacks) {
147 mDevice->ops->set_callbacks(mDevice,
168 if (mDevice->ops->enable_msg_type)
169 mDevice->ops->enable_msg_type(mDevice, msgType);
185 if (mDevice->ops->disable_msg_type)
186 mDevice->ops->disable_msg_type(mDevice, msgType);
197 if (mDevice->ops->msg_type_enabled)
198 return mDevice->ops
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.h48 void getVendorTagOps(vendor_tag_ops_t* ops);
H A DCameraModule.cpp270 void CameraModule::getVendorTagOps(vendor_tag_ops_t* ops) { argument
273 mModule->get_vendor_tag_ops(ops);
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsService.aidl39 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 DLoadedClass.java114 private void addProcessNames(List<Operation> ops, Set<String> names) { argument
115 for (Operation operation : ops) {
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java264 Ops ops = it.next();
267 curUid = AppGlobals.getPackageManager().getPackageUidEtc(ops.packageName,
269 UserHandle.getUserId(ops.uidState.uid));
272 if (curUid != ops.uidState.uid) {
273 Slog.i(TAG, "Pruning old package " + ops.packageName
274 + "/" + ops.uidState + ": new uid=" + curUid);
354 Slog.w(TAG, "Writing app ops before shutdown...");
367 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { argument
369 if (ops == null) {
378 for (int j=0; j<ops
394 getPackagesForOps(int[] ops) argument
425 getOpsForPackage(int uid, String packageName, int[] ops) argument
1204 getOpLocked(Ops ops, int code, boolean edit) argument
[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.h137 * Currently guarantees certain similarities between ops (see MergingDrawBatch::canMergeWith),
142 const Vector<OpStatePair>& ops, const Rect& bounds) {
143 for (unsigned int i = 0; i < ops.size(); i++) {
144 renderer.restoreDisplayState(*(ops[i].state), true);
145 ops[i].op->applyDraw(renderer, dirty);
651 const Vector<OpStatePair>& ops, const Rect& bounds) override {
652 const DeferredDisplayState& firstState = *(ops[0].state);
655 TextureVertex vertices[6 * ops.size()];
663 for (unsigned int i = 0; i < ops.size(); i++) {
664 const DeferredDisplayState& state = *(ops[
141 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
241 // TODO Since move ops are pushed to end, we should not need this anymore
321 throw new IllegalArgumentException("only remove and update ops can be dispatched"
722 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument
723 final int count = ops.size();
725 recycleUpdateOp(ops.get(i));
727 ops
[all...]
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp115 res = device->ops->set_notify_callback(device, notificationCallback,
137 int inProgressCount = mHal2Device->ops->get_in_progress_count(mHal2Device);
192 res = mHal2Device->ops->dump(mHal2Device, fd);
440 err = mHal2Device->ops->construct_default_request(
456 while (mHal2Device->ops->get_in_progress_count(mHal2Device) > 0) {
461 totalTime, mHal2Device->ops->get_in_progress_count(mHal2Device));
472 res = mHal2Device->ops->set_notify_callback(mHal2Device, notificationCallback,
554 res = mHal2Device->ops->trigger_action(mHal2Device,
567 res = mHal2Device->ops->trigger_action(mHal2Device,
580 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
648 effect->ops->disable(effect);
661 status = effect->ops->create(effect);
680 effect->ops->disable(effect);
701 effect->ops->enable(effect);
724 effect->ops = sPreProcOps[procId];
1359 if (effect->ops->init) {
1360 effect->ops->init(effect);
1434 if (effect->ops
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp495 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 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/jvm-tests/src/android/support/v7/widget/
H A DOpReorderTest.java238 public void orderedRandom(int... ops) { argument
239 for (int op : ops) {
345 private void assertAllMovesAtTheEnd(List<UpdateOp> ops) { argument
347 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/base/core/java/android/app/
H A DAppOpsManager.java51 * <p>App ops allows callers to:</p>
837 * app ops that are under strong control of some part of the
1222 * @param ops The set of operations you are interested in, or null if you want all of them.
1225 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { argument
1227 return mService.getPackagesForOps(ops);
1238 * @param ops The set of operations you are interested in, or null if you want all of them.
1241 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { argument
1243 return mService.getOpsForPackage(uid, packageName, ops);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp616 * camera3_device_t->ops->register_stream_buffers() is not called and must
622 if (hal3Device->ops->register_stream_buffers != NULL) {
624 "must be set to NULL in camera3_device::ops", __FUNCTION__);
675 res = hal3Device->ops->register_stream_buffers(hal3Device,
H A DCamera3Device.cpp149 res = device->ops->initialize(device, this);
497 mHal3Device->ops->dump(mHal3Device, fd);
1145 rawRequest = mHal3Device->ops->construct_default_request_settings(
1697 res = mHal3Device->ops->configure_streams(mHal3Device, &config);
2815 return mHal3Device->ops->flush(mHal3Device);
2974 res = mHal3Device->ops->process_capture_request(mHal3Device, &nextRequest.halRequest);
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs628 <a href="<?cs var:toroot ?>training/basics/network-ops/index.html"
635 <li><a href="<?cs var:toroot ?>training/basics/network-ops/connecting.html">
639 <li><a href="<?cs var:toroot ?>training/basics/network-ops/managing.html">
643 <li><a href="<?cs var:toroot ?>training/basics/network-ops/xml.html">
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java199 * @return true if the two pending ops are the same.
1492 ArrayList<SyncStatusInfo> ops = new ArrayList<SyncStatusInfo>(N);
1494 ops.add(mSyncStatus.valueAt(i));
1496 return ops;
2552 Log.w(TAG_FILE, "Error parsing pending ops xml.", e);
2599 * Write all currently pending ops to the pending ops file.
2633 /** Write all currently pending ops to the pending ops file. */
2650 * Append the given operation to the pending ops fil
[all...]
/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 2435 milliseconds