/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationGutsManagerTest.java | 195 ArraySet<Integer> ops = new ArraySet<>(); 196 ops.add(OP_CAMERA); 197 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); 205 ArraySet<Integer> ops = new ArraySet<>(); 206 ops.add(OP_RECORD_AUDIO); 207 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); 215 ArraySet<Integer> ops = new ArraySet<>(); 216 ops.add(OP_CAMERA); 217 ops.add(OP_RECORD_AUDIO); 218 mGutsManager.startAppOpsSettingsActivity("", 0, ops, nul [all...] |
H A D | NotificationContentViewTest.java | 109 ArraySet<Integer> ops = new ArraySet<>(); 110 ops.add(AppOpsManager.OP_ANSWER_PHONE_CALLS); 111 mView.showAppOpsIcons(ops); 113 verify(mockContracted, times(1)).showAppOpsIcons(ops); 114 verify(mockExpanded, times(1)).showAppOpsIcons(ops); 115 verify(mockAmbient, never()).showAppOpsIcons(ops);
|
H A D | ExpandableNotificationRowTest.java | 220 ArraySet<Integer> ops = new ArraySet<>(); 221 ops.add(AppOpsManager.OP_ANSWER_PHONE_CALLS); 222 mGroupRow.showAppOpsIcons(ops); 224 verify(mockHeader, times(1)).showAppOpsIcons(ops); 225 verify(privateLayout, times(1)).showAppOpsIcons(ops); 226 verify(publicLayout, times(1)).showAppOpsIcons(ops);
|
H A D | AppOpsInfoTest.java | 118 ArraySet<Integer> ops) -> { 120 assertEquals(expectedOps, ops); 137 ArraySet<Integer> ops) -> { 139 assertEquals(expectedOps, ops);
|
H A D | NotificationEntryManagerTest.java | 362 ArraySet<Integer> ops = new ArraySet<>(); 363 ops.add(3); 364 ops.add(235); 365 ops.add(1); 367 mEntry.notification.getPackageName())).thenReturn(ops);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IAppOpsService.aidl | 41 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); 42 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); 43 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); 54 void startWatchingActive(in int[] ops, IAppOpsActiveCallback callback);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
H A D | RecentLocationApps.java | 83 AppOpsManager.PackageOps ops = appOps.get(i); 86 String packageName = ops.getPackageName(); 87 int uid = ops.getUid(); 94 Request request = getRequestFromOps(now, ops); 122 AppOpsManager.PackageOps ops) { 123 String packageName = ops.getPackageName(); 124 List<AppOpsManager.OpEntry> entries = ops.getOps(); 154 int uid = ops.getUid(); 121 getRequestFromOps(long now, AppOpsManager.PackageOps ops) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 274 Slog.e(TAG, "Bad app ops settings", e); 371 Ops ops = pkgOps.valueAt(i); 372 for (int j = ops.size() - 1; j >= 0; j--) { 373 if (ops.valueAt(j).mode == AppOpsManager.MODE_FOREGROUND) { 377 evalForegroundWatchers(ops.keyAt(j), watchers, which); 613 Ops ops = it.next(); 616 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName, 618 UserHandle.getUserId(ops.uidState.uid)); 621 if (curUid != ops.uidState.uid) { 622 Slog.i(TAG, "Pruning old package " + ops 808 collectOps(Ops pkgOps, int[] ops) argument 843 collectOps(SparseIntArray uidOps, int[] ops) argument 867 getPackagesForOps(int[] ops) argument 898 getOpsForPackage(int uid, String packageName, int[] ops) argument 925 getUidOps(int uid, int[] ops) argument 1620 startWatchingActive(int[] ops, IAppOpsActiveCallback callback) argument 2027 getOpLocked(Ops ops, int code, boolean edit) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayList.h | 80 // range of included ops in DisplayList::ops() 102 const LsaVector<BaseOpType*>& getOps() const { return ops; } 114 virtual bool isEmpty() const { return ops.empty(); } 131 // allocator into which all ops and LsaVector arrays allocated 137 LsaVector<BaseOpType*> ops; member in class:android::uirenderer::DisplayList
|
H A D | DisplayList.cpp | 38 , ops(stdAllocator)
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 73 ASSERT_EQ(2u, dl->getOps().size()) << "Must be exactly two ops"; 88 ASSERT_EQ(0u, dl->getOps().size()) << "Must be zero ops. Rect should be rejected."; 118 auto&& ops = dl->getOps(); local 119 ASSERT_EQ(2u, ops.size()) << "Must be exactly two ops"; 120 EXPECT_EQ(RecordedOpId::ArcOp, ops[0]->opId); 121 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds); 123 EXPECT_EQ(RecordedOpId::OvalOp, ops[1]->opId) << "Circular arcs should be converted to ovals"; 124 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds); 217 auto ops local 728 auto ops = dl->getOps(); local [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/JankBench/app/src/main/jni/ |
H A D | Bench.cpp | 356 double ops = mGFlop.kernelXSize; local 357 ops = ops * 2.f - 1.f; 358 ops *= mGFlop.imageXSize; 366 double gflops = ops / dt / 1000000000.f; 368 __android_log_print(ANDROID_LOG_INFO, "bench", "v %f %f %f", dt, ops, gflops);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationGutsManager.java | 133 protected void startAppOpsSettingsActivity(String pkg, int uid, ArraySet<Integer> ops, argument 135 if (ops.contains(OP_SYSTEM_ALERT_WINDOW)) { 136 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { 143 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { 224 (View v, String pkg, int uid, ArraySet<Integer> ops) -> { 227 startAppOpsSettingsActivity(pkg, uid, ops, row);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | AppOpsUpgradeTest.java | 48 * Tests app ops version upgrades 103 final AppOpsService.Ops ops = uidState.pkgOps.valueAt(j); 104 if (ops == null) { 107 final AppOpsService.Op _op1 = ops.get(op1); 108 final AppOpsService.Op _op2 = ops.get(op2);
|
/frameworks/ml/nn/runtime/test/benchmark/libnnbenchmark/ |
H A D | run_tflite.cpp | 37 tflite::ops::builtin::BuiltinOpResolver resolver;
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ShapeAnimation.cpp | 33 std::function<void(Canvas&, float, const SkPaint&)> ops[] = { 79 for (auto op : ops) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | OpReorderer.java | 36 void reorderOps(List<UpdateOp> ops) { argument 40 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) { 41 swapMoveOp(ops, badMove, badMove + 1);
|
H A D | AdapterHelper.java | 80 AdapterHelper addUpdateOp(UpdateOp... ops) { argument 81 Collections.addAll(mPendingUpdates, ops); 127 // MOVE ops are pre-processed so at this point, we know that item is still in the adapter. 145 // have any effect in pre-layout since their add ops are already deferred to 243 // TODO Since move ops are pushed to end, we should not need this anymore 323 throw new IllegalArgumentException("only remove and update ops can be dispatched" 746 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument 747 final int count = ops.size(); 749 recycleUpdateOp(ops.get(i)); 751 ops [all...] |
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | OpReorderer.java | 29 void reorderOps(List<AdapterHelper.UpdateOp> ops) { argument 33 while ((badMove = getLastMoveOutOfOrder(ops)) != -1) { 34 swapMoveOp(ops, badMove, badMove + 1);
|
H A D | AdapterHelper.java | 81 AdapterHelper addUpdateOp(UpdateOp... ops) { argument 82 Collections.addAll(mPendingUpdates, ops); 128 // MOVE ops are pre-processed so at this point, we know that item is still in the adapter. 146 // have any effect in pre-layout since their add ops are already deferred to 244 // TODO Since move ops are pushed to end, we should not need this anymore 324 throw new IllegalArgumentException("only remove and update ops can be dispatched" 747 void recycleUpdateOpsAndClearList(List<UpdateOp> ops) { argument 748 final int count = ops.size(); 750 recycleUpdateOp(ops.get(i)); 752 ops [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 699 effect->ops->disable(effect); 712 status = effect->ops->create(effect); 731 effect->ops->disable(effect); 752 effect->ops->enable(effect); 775 effect->ops = sPreProcOps[procId]; 1415 if (effect->ops->init) { 1416 effect->ops->init(effect); 1490 if (effect->ops [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicColorMatrix.cpp | 497 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final 500 memset(ops, 0, sizeof(ops)); 503 ops[i][0] = 0x2 | opInit[0]; 508 ops[i][1] = 0x2 | opInit[1]; 512 ops[i][2] = 0x2 | opInit[2]; 518 ops[i][3] = 0x2 | opInit[3]; 564 switch(ops[i][j]) { 658 switch(ops[i][j]) {
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 174 ops = OP_IDENTITY; 197 ops = OP_ALL; 211 ops = OP_ALL; 387 ops = new uint8_t[depth]; 396 delete [] ops; 402 ops[depth] = OP_IDENTITY; 409 ops[depth] = OP_ALL; // TODO: we should look at the matrix 415 ops[depth] = OP_ALL; // TODO: we should look at the matrix 421 ops[depth] = OP_ALL; // TODO: we should look at the matrix 427 ops[dept [all...] |