/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 131 if (mDevice->ops->set_preview_window) { in setPreviewWindow() 144 return mDevice->ops->set_preview_window(mDevice, in setPreviewWindow() 184 if (mDevice->ops->set_callbacks) { in setCallbacks() 185 mDevice->ops->set_callbacks(mDevice, in setCallbacks() 206 if (mDevice->ops->enable_msg_type) in enableMsgType() 207 mDevice->ops->enable_msg_type(mDevice, msgType); in enableMsgType() 223 if (mDevice->ops->disable_msg_type) in disableMsgType() 224 mDevice->ops->disable_msg_type(mDevice, msgType); in disableMsgType() 235 if (mDevice->ops->msg_type_enabled) in msgTypeEnabled() 236 return mDevice->ops->msg_type_enabled(mDevice, msgType); in msgTypeEnabled() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathOpsActivity.java | 57 Path.Op[] ops = Path.Op.values(); in onSizeChanged() local 58 mPaths = new Path[ops.length]; in onSizeChanged() 60 mSize = w / (ops.length * 2.0f); in onSizeChanged() 68 for (int i = 0; i < ops.length; i++) { in onSizeChanged() 70 if (!mPaths[i].op(p1, p2, ops[i])) { in onSizeChanged() 71 Log.d("PathOps", ops[i].name() + " failed!"); in onSizeChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 75 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() local 78 String packageName = ops.getPackageName(); in getAppList() 79 int uid = ops.getUid(); in getAppList() 86 Request request = getRequestFromOps(now, ops); in getAppList() 103 AppOpsManager.PackageOps ops) { in getRequestFromOps() argument 104 String packageName = ops.getPackageName(); in getRequestFromOps() 105 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps() 134 int uid = ops.getUid(); in getRequestFromOps()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 271 Ops ops = it.next(); in systemReady() local 274 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName, in systemReady() 276 UserHandle.getUserId(ops.uidState.uid)); in systemReady() 279 if (curUid != ops.uidState.uid) { in systemReady() 280 Slog.i(TAG, "Pruning old package " + ops.packageName in systemReady() 281 + "/" + ops.uidState + ": new uid=" + curUid); in systemReady() 374 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { in collectOps() argument 376 if (ops == null) { in collectOps() 385 for (int j=0; j<ops.length; j++) { in collectOps() 386 Op curOp = pkgOps.get(ops[j]); in collectOps() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | RecordingCanvasTests.cpp | 90 auto&& ops = dl->getOps(); in TEST() 91 ASSERT_EQ(2u, ops.size()) << "Must be exactly two ops"; in TEST() 92 EXPECT_EQ(RecordedOpId::ArcOp, ops[0]->opId); in TEST() 93 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds); in TEST() 95 EXPECT_EQ(RecordedOpId::OvalOp, ops[1]->opId) in TEST() 97 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds); in TEST() 182 auto ops = dl->getOps(); in TEST() local 183 ASSERT_EQ(8u, ops.size()); in TEST() 186 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId); // no underline or strikethrough in TEST() 188 EXPECT_EQ(RecordedOpId::TextOp, ops[index++]->opId); in TEST() [all …]
|
/frameworks/base/libs/hwui/ |
D | DisplayListOp.h | 145 const std::vector<OpStatePair>& ops, const Rect& bounds) { in multiDraw() argument 146 for (unsigned int i = 0; i < ops.size(); i++) { in multiDraw() 147 renderer.restoreDisplayState(*(ops[i].state), true); in multiDraw() 148 ops[i].op->applyDraw(renderer, dirty); in multiDraw() 633 const std::vector<OpStatePair>& ops, const Rect& bounds) override { in multiDraw() argument 634 const DeferredDisplayState& firstState = *(ops[0].state); in multiDraw() 637 TextureVertex vertices[6 * ops.size()]; in multiDraw() 645 for (unsigned int i = 0; i < ops.size(); i++) { in multiDraw() 646 const DeferredDisplayState& state = *(ops[i].state); in multiDraw() 654 ((DrawBitmapOp*) ops[i].op)->uvMap(renderer, texCoords); in multiDraw() [all …]
|
D | DisplayList.h | 158 const LsaVector<BaseOpType*>& getOps() const { return ops; } in getOps() 178 return ops.empty(); in isEmpty() 190 LsaVector<BaseOpType*> ops; variable
|
D | DisplayList.cpp | 39 , ops(stdAllocator) in DisplayList()
|
/frameworks/base/tools/preload/ |
D | LoadedClass.java | 114 private void addProcessNames(List<Operation> ops, Set<String> names) { in addProcessNames() argument 115 for (Operation operation : ops) { in addProcessNames()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 39 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); in getPackagesForOps() argument 40 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() argument
|
/frameworks/native/opengl/libagl/ |
D | matrix.cpp | 175 ops = OP_IDENTITY; in loadIdentity() 198 ops = OP_ALL; in picker() 212 ops = OP_ALL; in picker() 388 ops = new uint8_t[depth]; in init() 397 delete [] ops; in uninit() 403 ops[depth] = OP_IDENTITY; in loadIdentity() 410 ops[depth] = OP_ALL; // TODO: we should look at the matrix in load() 416 ops[depth] = OP_ALL; // TODO: we should look at the matrix in load() 422 ops[depth] = OP_ALL; // TODO: we should look at the matrix in multiply() 428 ops[depth] |= OP_TRANSLATE; in translate() [all …]
|
D | context.h | 423 uint32_t ops; member 455 uint8_t *ops; member 470 uint32_t top_ops() const { return ops[depth]; } in top_ops() 472 return !(ops[depth] & ~(OP_TRANSLATE|OP_UNIFORM_SCALE|OP_ROTATE)); in isRigidBody()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicColorMatrix.cpp | 495 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final in build() local 498 memset(ops, 0, sizeof(ops)); in build() 501 ops[i][0] = 0x2 | opInit[0]; in build() 506 ops[i][1] = 0x2 | opInit[1]; in build() 510 ops[i][2] = 0x2 | opInit[2]; in build() 516 ops[i][3] = 0x2 | opInit[3]; in build() 562 switch(ops[i][j]) { in build() 656 switch(ops[i][j]) { in build()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 428 List<SyncOperation> ops = getAllPendingSyncs(); in cleanupJobs() 430 for (SyncOperation opx: ops) { in cleanupJobs() 435 for (SyncOperation opy: ops) { in cleanupJobs() 689 List<SyncOperation> ops = getAllPendingSyncs(); in setAuthorityPendingState() local 690 for (SyncOperation op: ops) { in setAuthorityPendingState() 909 List<SyncOperation> ops = getAllPendingSyncs(); in removeSyncsForAuthority() local 910 for (SyncOperation op: ops) { in removeSyncsForAuthority() 942 List<SyncOperation> ops = getAllPendingSyncs(); in getPeriodicSyncs() local 945 for (SyncOperation op: ops) { in getPeriodicSyncs() 1126 List<SyncOperation> ops = getAllPendingSyncs(); in rescheduleSyncs() local [all …]
|
/frameworks/av/media/libeffects/preprocessing/ |
D | PreProcessing.cpp | 90 const preproc_ops_t *ops; // effect ops table member 698 effect->ops->disable(effect); in Effect_SetState() 711 status = effect->ops->create(effect); in Effect_SetState() 730 effect->ops->disable(effect); in Effect_SetState() 751 effect->ops->enable(effect); in Effect_SetState() 774 effect->ops = sPreProcOps[procId]; in Effect_Init() 1419 if (effect->ops->init) { in PreProcessingFx_Command() 1420 effect->ops->init(effect); in PreProcessingFx_Command() 1494 if (effect->ops->reset) { in PreProcessingFx_Command() 1495 effect->ops->reset(effect); in PreProcessingFx_Command() [all …]
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ShapeAnimation.cpp | 36 std::function<void(TestCanvas&, float, const SkPaint&)> ops[] = { in createContent() local 83 for (auto op : ops) { in createContent()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OpReorderer.java | 35 void reorderOps(List<UpdateOp> ops) { in reorderOps() argument 39 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) { in reorderOps() 40 swapMoveOp(ops, badMove, badMove + 1); in reorderOps()
|
D | AdapterHelper.java | 82 AdapterHelper addUpdateOp(UpdateOp... ops) { in addUpdateOp() argument 83 Collections.addAll(mPendingUpdates, ops); in addUpdateOp() 748 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { in recycleUpdateOpsAndClearList() argument 749 final int count = ops.size(); in recycleUpdateOpsAndClearList() 751 recycleUpdateOp(ops.get(i)); in recycleUpdateOpsAndClearList() 753 ops.clear(); in recycleUpdateOpsAndClearList()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraModule.h | 48 void getVendorTagOps(vendor_tag_ops_t* ops);
|
D | CameraModule.cpp | 354 void CameraModule::getVendorTagOps(vendor_tag_ops_t* ops) { in getVendorTagOps() argument 357 mModule->get_vendor_tag_ops(ops); in getVendorTagOps()
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
D | OpReorderTest.java | 240 public void orderedRandom(int... ops) { in orderedRandom() argument 241 for (int op : ops) { in orderedRandom() 347 private void assertAllMovesAtTheEnd(List<UpdateOp> ops) { in assertAllMovesAtTheEnd() argument 349 for (UpdateOp op : ops) { in assertAllMovesAtTheEnd()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 309 int ops = 0; in run() 312 ops++; in run() 315 mBackgroundOps = ops * mBackgroundOp.getOpsPerRun(); in run() 322 int ops = 0; in run() 325 ops++; in run() 328 mForegroundOps = ops * mForegroundOp.getOpsPerRun(); in run()
|
/frameworks/base/docs/html/training/tv/tif/ |
D | channel.jd | 157 ArrayList<ContentProviderOperation> ops = new ArrayList<>(); 161 ops.add(ContentProviderOperation.newInsert( 172 <strong>getContentResolver().applyBatch(TvContract.AUTHORITY, ops);</strong> 177 ops.clear();
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1274 public List<AppOpsManager.PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() argument 1276 return mService.getPackagesForOps(ops); in getPackagesForOps() 1290 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) { in getOpsForPackage() argument 1292 return mService.getOpsForPackage(uid, packageName, ops); in getOpsForPackage()
|
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/ |
D | contacts-provider.jd | 1069 ArrayList<ContentProviderOperation> ops = 1083 ops.add(op.build()); 1125 ops.add(op.build()); 1145 ops.add(op.build()); 1172 ops.add(op.build()); 1191 getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops); 1293 ArrayList ops = new ArrayList<ContentProviderOperationg>; 1295 ops.add(assertOp.build()); 1297 // You would add the rest of your batch operations to "ops" here 1305 getContentResolver().applyBatch(AUTHORITY, ops);
|