/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodPrivilegedOperations.java | 111 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in setImeWindowStatus() local 112 if (ops == null) { in setImeWindowStatus() 116 ops.setImeWindowStatus(vis, backDisposition); in setImeWindowStatus() 129 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in reportStartInput() local 130 if (ops == null) { in reportStartInput() 134 ops.reportStartInput(startInputToken); in reportStartInput() 150 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in createInputContentUriToken() local 151 if (ops == null) { in createInputContentUriToken() 155 return ops.createInputContentUriToken(contentUri, packageName); in createInputContentUriToken() 171 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in reportFullscreenMode() local [all …]
|
D | MultiClientInputMethodPrivilegedOperations.java | 119 IMultiClientInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in createInputMethodWindowToken() local 120 if (ops == null) { in createInputMethodWindowToken() 124 return ops.createInputMethodWindowToken(displayId); in createInputMethodWindowToken() 138 IMultiClientInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in deleteInputMethodWindowToken() local 139 if (ops == null) { in deleteInputMethodWindowToken() 143 ops.deleteInputMethodWindowToken(token); in deleteInputMethodWindowToken() 162 final IMultiClientInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in acceptClient() local 163 if (ops == null) { in acceptClient() 167 ops.acceptClient(clientId, session, multiClientSession, writeChannel); in acceptClient() 184 final IMultiClientInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in reportImeWindowTarget() local [all …]
|
D | InputMethodPrivilegedOperationsRegistry.java | 72 public static void put(IBinder token, InputMethodPrivilegedOperations ops) { in put() argument 78 sRegistry.put(token, new WeakReference<>(ops)); in put() 81 + " this token=" + token + " newOps=" + ops); in put()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 328 final List<HistoricalOps> ops = mPersistence.readHistoryDLocked(); in dump() local 329 if (ops != null) { in dump() 333 final int opCount = ops.size(); in dump() 335 final HistoricalOps op = ops.get(i); in dump() 541 final HistoricalOps ops = history.get(i); in offsetHistory() local 542 ops.offsetBeginAndEndTime(offsetMillis); in offsetHistory() 553 void addHistoricalOps(HistoricalOps ops) { in addHistoricalOps() argument 561 ops.offsetBeginAndEndTime(mBaseSnapshotInterval); in addHistoricalOps() 562 mPendingWrites.offerFirst(ops); in addHistoricalOps() 715 private void schedulePersistHistoricalOpsMLocked(@NonNull HistoricalOps ops) { in schedulePersistHistoricalOpsMLocked() argument [all …]
|
D | AppOpsService.java | 646 Ops ops = pkgOps.valueAt(i); in evalForegroundOps() local 647 for (int j = ops.size() - 1; j >= 0; j--) { in evalForegroundOps() 648 if (ops.valueAt(j).mode == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps() 652 evalForegroundWatchers(ops.keyAt(j), watchers, which); in evalForegroundOps() 1568 Ops ops = uidState.pkgOps.get(pkgName); 1569 if (ops == null) { 1574 ops.bypass = null; 1575 ops.knownAttributionTags.clear(); 1579 int numOps = ops.size(); 1581 Op op = ops.valueAt(opNum); [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | fp_mad.rscript | 11 // Do ~1 billion ops 28 rsDebug("fp_mad4 M ops", 1000.f / time); 34 // Do ~1 billion ops 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | fp_mad.rscript | 11 // Do ~1 billion ops 28 rsDebug("fp_mad4 M ops", 1000.f / time); 34 // Do ~1 billion ops 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | fp_mad.rscript | 11 // Do ~1 billion ops 28 rsDebug("fp_mad4 M ops", 1000.f / time); 34 // Do ~1 billion ops 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); [all …]
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | fp_mad.rscript | 11 // Do ~1 billion ops 28 rsDebug("fp_mad4 M ops", 1000.f / time); 34 // Do ~1 billion ops 51 rsDebug("fp_mad M ops", 1000.f / time); 57 // Do ~10 M ops 65 rsDebug("fp_norm M ops", 10.f / time); 71 // Do ~10 M ops 79 rsDebug("fp_sincos4 M ops", 10.f / time); 85 // Do ~10 M ops 93 rsDebug("fp_sincos M ops", 10.f / time); [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | fp_mad.rscript | 29 // Do ~1 billion ops 46 rsDebug("fp_mad4 M ops", 1000.f / time); 52 // Do ~1 billion ops 69 rsDebug("fp_mad M ops", 1000.f / time); 75 // Do ~10 M ops 83 rsDebug("fp_norm M ops", 10.f / time); 89 // Do ~10 M ops 97 rsDebug("fp_sincos4 M ops", 10.f / time); 103 // Do ~10 M ops 111 rsDebug("fp_sincos M ops", 10.f / time); [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | fp_mad.rscript | 27 // Do ~1 billion ops 44 rsDebug("fp_mad4 M ops", 1000.f / time); 50 // Do ~1 billion ops 67 rsDebug("fp_mad M ops", 1000.f / time); 73 // Do ~10 M ops 81 rsDebug("fp_norm M ops", 10.f / time); 87 // Do ~10 M ops 95 rsDebug("fp_sincos4 M ops", 10.f / time); 101 // Do ~10 M ops 109 rsDebug("fp_sincos M ops", 10.f / time); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManagerTest.java | 262 ArraySet<Integer> ops = new ArraySet<>(); in testAppOpsSettingsIntent_camera() local 263 ops.add(OP_CAMERA); in testAppOpsSettingsIntent_camera() 264 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); in testAppOpsSettingsIntent_camera() 273 ArraySet<Integer> ops = new ArraySet<>(); in testAppOpsSettingsIntent_mic() local 274 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic() 275 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); in testAppOpsSettingsIntent_mic() 284 ArraySet<Integer> ops = new ArraySet<>(); in testAppOpsSettingsIntent_camera_mic() local 285 ops.add(OP_CAMERA); in testAppOpsSettingsIntent_camera_mic() 286 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic() 287 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); in testAppOpsSettingsIntent_camera_mic() [all …]
|
D | ExpandableNotificationRowTest.java | 233 ArraySet<Integer> ops = new ArraySet<>(); in testShowAppOpsIcons_header() local 234 ops.add(AppOpsManager.OP_ANSWER_PHONE_CALLS); in testShowAppOpsIcons_header() 235 mGroupRow.showAppOpsIcons(ops); in testShowAppOpsIcons_header() 237 verify(mockContainer, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons_header() 238 verify(privateLayout, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons_header() 239 verify(publicLayout, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons_header()
|
D | NotificationContentViewTest.java | 94 ArraySet<Integer> ops = new ArraySet<>(); in testShowAppOpsIcons() local 95 ops.add(AppOpsManager.OP_RECORD_AUDIO); in testShowAppOpsIcons() 96 mView.showAppOpsIcons(ops); in testShowAppOpsIcons()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 66 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); in getPackagesForOps() argument 68 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() argument 69 void getHistoricalOps(int uid, String packageName, String attributionTag, in List<String> ops, in getHistoricalOps() argument 73 in List<String> ops, int filter, long beginTimeMillis, long endTimeMillis, int flags, in getHistoricalOpsFromDiskRaw() argument 77 void addHistoricalOps(in AppOpsManager.HistoricalOps ops); in addHistoricalOps() argument 81 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); in getUidOps() argument 93 void startWatchingActive(in int[] ops, IAppOpsActiveCallback callback); in startWatchingActive() argument 97 void startWatchingStarted(in int[] ops, IAppOpsStartedCallback callback); in startWatchingStarted() argument 102 void startWatchingNoted(in int[] ops, IAppOpsNotedCallback callback); in startWatchingNoted() argument
|
/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 | RecentLocationAccesses.java | 99 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() local 100 String packageName = ops.getPackageName(); in getAppList() 101 int uid = ops.getUid(); in getAppList() 131 Access access = getAccessFromOps(now, ops); in getAppList() 160 AppOpsManager.PackageOps ops) { in getAccessFromOps() argument 161 String packageName = ops.getPackageName(); in getAccessFromOps() 162 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getAccessFromOps() 175 int uid = ops.getUid(); in getAccessFromOps()
|
D | RecentLocationApps.java | 92 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList() local 95 String packageName = ops.getPackageName(); in getAppList() 96 int uid = ops.getUid(); in getAppList() 132 Request request = getRequestFromOps(now, ops); in getAppList() 167 AppOpsManager.PackageOps ops) { in getRequestFromOps() argument 168 String packageName = ops.getPackageName(); in getRequestFromOps() 169 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps() 199 int uid = ops.getUid(); in getRequestFromOps()
|
/frameworks/av/media/libstagefright/tests/ |
D | BatteryChecker_test.cpp | 66 void runTest(const std::vector<Operation> &ops, int64_t timeoutUs) { in runTest() argument 67 mOps = ops; in runTest() 72 (new AMessage(ops[0].event, this))->post(); in runTest() 103 void runTest(const std::vector<Operation> &ops, int64_t timeoutUs) { in runTest() argument 104 mHandler->runTest(ops, timeoutUs); in runTest()
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 356 double ops = mGFlop.kernelXSize; in runGFlopsTest() local 357 ops = ops * 2.f - 1.f; in runGFlopsTest() 358 ops *= mGFlop.imageXSize; in runGFlopsTest() 366 double gflops = ops / dt / 1000000000.f; in runGFlopsTest() 368 __android_log_print(ANDROID_LOG_INFO, "bench", "v %f %f %f", dt, ops, gflops); in runGFlopsTest()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | EnvironmentTest.java | 55 private static void setAppOpsModeForUid(int uid, int mode, String... ops) { in setAppOpsModeForUid() argument 56 if (ops == null) { in setAppOpsModeForUid() 63 for (String op : ops) { in setAppOpsModeForUid()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 112 final AppOpsService.Ops ops = uidState.pkgOps.valueAt(j); in assertSameModes() local 113 if (ops == null) { in assertSameModes() 116 final AppOpsService.Op _op1 = ops.get(op1); in assertSameModes() 117 final AppOpsService.Op _op2 = ops.get(op2); in assertSameModes()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 210 protected void startAppOpsSettingsActivity(String pkg, int uid, ArraySet<Integer> ops, in startAppOpsSettingsActivity() argument 212 if (ops.contains(OP_SYSTEM_ALERT_WINDOW)) { in startAppOpsSettingsActivity() 213 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity() 220 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity() 321 (View v, String pkg, int uid, ArraySet<Integer> ops) -> { in initializeAppOpsInfo() 327 startAppOpsSettingsActivity(pkg, uid, ops, row); in initializeAppOpsInfo()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicColorMatrix.cpp | 497 int ops[5][4]; // 0=unused, 1 = set, 2 = accumulate, 3 = final in build() local 500 memset(ops, 0, sizeof(ops)); in build() 503 ops[i][0] = 0x2 | opInit[0]; in build() 508 ops[i][1] = 0x2 | opInit[1]; in build() 512 ops[i][2] = 0x2 | opInit[2]; in build() 518 ops[i][3] = 0x2 | opInit[3]; in build() 564 switch(ops[i][j]) { in build() 658 switch(ops[i][j]) { in build()
|