/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathOpsActivity.java | 57 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 D | CameraHardwareInterface.h | 110 if (mDevice->ops->set_preview_window) { 115 return mDevice->ops->set_preview_window(mDevice, 134 if (mDevice->ops->set_callbacks) { 135 mDevice->ops->set_callbacks(mDevice, 156 if (mDevice->ops->enable_msg_type) 157 mDevice->ops->enable_msg_type(mDevice, msgType); 173 if (mDevice->ops->disable_msg_type) 174 mDevice->ops->disable_msg_type(mDevice, msgType); 185 if (mDevice->ops->msg_type_enabled) 186 return mDevice->ops [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAppOpsService.aidl | 35 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); 36 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppOpsService.java | 207 Ops ops = it.next(); 210 curUid = mContext.getPackageManager().getPackageUid(ops.packageName, 211 UserHandle.getUserId(ops.uid)); 215 if (curUid != ops.uid) { 216 Slog.i(TAG, "Pruning old package " + ops.packageName 217 + "/" + ops.uid + ": new uid=" + curUid); 256 Slog.w(TAG, "Writing app ops before shutdown..."); 269 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { argument 271 if (ops == null) { 279 for (int j=0; j<ops 294 getPackagesForOps(int[] ops) argument 318 getOpsForPackage(int uid, String packageName, int[] ops) argument 762 getOpLocked(Ops ops, int code, boolean edit) argument [all...] |
/frameworks/base/tools/preload/ |
H A D | LoadedClass.java | 114 private void addProcessNames(List<Operation> ops, Set<String> names) { argument 115 for (Operation operation : ops) {
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 933 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/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 114 res = device->ops->get_metadata_vendor_tag_ops(device, &mVendorTagOps); 116 ALOGE("%s: Camera %d: Unable to retrieve tag ops from device: %s (%d)", 123 ALOGE("%s: Camera %d: Unable to set tag ops: %s (%d)", 128 res = device->ops->set_notify_callback(device, notificationCallback, 149 int inProgressCount = mHal2Device->ops->get_in_progress_count(mHal2Device); 204 res = mHal2Device->ops->dump(mHal2Device, fd); 408 err = mHal2Device->ops->construct_default_request( 424 while (mHal2Device->ops->get_in_progress_count(mHal2Device) > 0) { 429 totalTime, mHal2Device->ops->get_in_progress_count(mHal2Device)); 440 res = mHal2Device->ops [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 140 * Currently guarantees certain similarities between ops (see MergingDrawBatch::canMergeWith), 145 const Vector<OpStatePair>& ops, const Rect& bounds) { 147 for (unsigned int i = 0; i < ops.size(); i++) { 148 renderer.restoreDisplayState(*(ops[i].state), true); 149 status |= ops[i].op->applyDraw(renderer, dirty); 767 const Vector<OpStatePair>& ops, const Rect& bounds) { 768 const DeferredDisplayState& firstState = *(ops[0].state); 771 TextureVertex vertices[6 * ops.size()]; 779 for (unsigned int i = 0; i < ops.size(); i++) { 780 const DeferredDisplayState& state = *(ops[ 144 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument 766 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument 988 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument 1463 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const Vector<OpStatePair>& ops, const Rect& bounds) argument [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 90 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 D | rsCpuIntrinsicColorMatrix.cpp | 422 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final 425 memset(ops, 0, sizeof(ops)); 428 ops[i][0] = 0x2 | opInit[0]; 433 ops[i][1] = 0x2 | opInit[1]; 437 ops[i][2] = 0x2 | opInit[2]; 443 ops[i][3] = 0x2 | opInit[3]; 489 switch(ops[i][j]) { 581 switch(ops[i][j]) {
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 175 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 D | context.h | 419 uint32_t ops; member in struct:android::gl::transform_t 451 uint8_t *ops; member in struct:android::gl::matrix_stack_t 466 uint32_t top_ops() const { return ops[depth]; } 468 return !(ops[depth] & ~(OP_TRANSLATE|OP_UNIFORM_SCALE|OP_ROTATE));
|
H A D | primitives.cpp | 417 if (ggl_unlikely(tr.ops)) {
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 45 * <p>App ops allows callers to:</p> 459 * app ops that are under strong control of some part of the 748 * @param ops The set of operations you are interested in, or null if you want all of them. 751 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { argument 753 return mService.getPackagesForOps(ops); 764 * @param ops The set of operations you are interested in, or null if you want all of them. 767 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { argument 769 return mService.getOpsForPackage(uid, packageName, ops);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 309 int ops = 0; 312 ops++; 315 mBackgroundOps = ops * mBackgroundOp.getOpsPerRun(); 322 int ops = 0; 325 ops++; 328 mForegroundOps = ops * mForegroundOp.getOpsPerRun();
|
/frameworks/base/docs/html/training/ |
H A D | training_toc.cs | 510 <a href="<?cs var:toroot ?>training/basics/network-ops/index.html" 517 <li><a href="<?cs var:toroot ?>training/basics/network-ops/connecting.html"> 521 <li><a href="<?cs var:toroot ?>training/basics/network-ops/managing.html"> 525 <li><a href="<?cs var:toroot ?>training/basics/network-ops/xml.html">
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 359 res = hal3Device->ops->register_stream_buffers(hal3Device,
|
H A D | Camera3Device.cpp | 137 res = device->ops->initialize(device, this); 152 device->ops->get_metadata_vendor_tag_ops(device, &mVendorTagOps); 158 SET_ERR_L("Unable to set tag ops: %s (%d)", 367 mHal3Device->ops->dump(mHal3Device, fd); 899 rawRequest = mHal3Device->ops->construct_default_request_settings( 1123 return mHal3Device->ops->flush(mHal3Device); 1291 res = mHal3Device->ops->configure_streams(mHal3Device, &config); 2163 res = mHal3Device->ops->process_capture_request(mHal3Device, &request);
|
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncStorageEngine.java | 1340 ArrayList<SyncStatusInfo> ops = new ArrayList<SyncStatusInfo>(N); 1342 ops.add(mSyncStatus.valueAt(i)); 1344 return ops; 2363 Log.w(TAG_FILE, "Error parsing pending ops xml.", e); 2381 * Write all currently pending ops to the pending ops file. 2415 /** Write all currently pending ops to the pending ops file. */ 2432 * Append the given operation to the pending ops file; if unable to, 2433 * write all pending ops [all...] |