/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodPrivilegedOperations.java | 110 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in setImeWindowStatus() local 111 if (ops == null) { in setImeWindowStatus() 115 ops.setImeWindowStatus(vis, backDisposition); in setImeWindowStatus() 128 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in reportStartInput() local 129 if (ops == null) { in reportStartInput() 133 ops.reportStartInput(startInputToken); in reportStartInput() 149 final IInputMethodPrivilegedOperations ops = mOps.getAndWarnIfNull(); in createInputContentUriToken() local 150 if (ops == null) { in createInputContentUriToken() 154 return ops.createInputContentUriToken(contentUri, packageName); in createInputContentUriToken() 170 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 | 301 final List<HistoricalOps> ops = mPersistence.readHistoryDLocked(); in dump() local 302 if (ops != null) { in dump() 306 final int opCount = ops.size(); in dump() 308 final HistoricalOps op = ops.get(i); in dump() 500 final HistoricalOps ops = history.get(i); in offsetHistory() local 501 ops.offsetBeginAndEndTime(offsetMillis); in offsetHistory() 512 void addHistoricalOps(HistoricalOps ops) { in addHistoricalOps() argument 520 ops.offsetBeginAndEndTime(mBaseSnapshotInterval); in addHistoricalOps() 521 mPendingWrites.offerFirst(ops); in addHistoricalOps() 661 private void schedulePersistHistoricalOpsMLocked(@NonNull HistoricalOps ops) { in schedulePersistHistoricalOpsMLocked() argument [all …]
|
D | AppOpsService.java | 394 Ops ops = pkgOps.valueAt(i); in evalForegroundOps() local 395 for (int j = ops.size() - 1; j >= 0; j--) { in evalForegroundOps() 396 if (ops.valueAt(j).mode == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps() 400 evalForegroundWatchers(ops.keyAt(j), watchers, which); in evalForegroundOps() 773 Ops ops = it.next(); in systemReady() local 776 curUid = AppGlobals.getPackageManager().getPackageUid(ops.packageName, in systemReady() 778 UserHandle.getUserId(ops.uidState.uid)); in systemReady() 781 if (curUid != ops.uidState.uid) { in systemReady() 782 Slog.i(TAG, "Pruning old package " + ops.packageName in systemReady() 783 + "/" + ops.uidState + ": new uid=" + curUid); in systemReady() [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_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_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/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/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 | 230 ArraySet<Integer> ops = new ArraySet<>(); in testAppOpsSettingsIntent_camera() local 231 ops.add(OP_CAMERA); in testAppOpsSettingsIntent_camera() 232 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); in testAppOpsSettingsIntent_camera() 241 ArraySet<Integer> ops = new ArraySet<>(); in testAppOpsSettingsIntent_mic() local 242 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic() 243 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); in testAppOpsSettingsIntent_mic() 252 ArraySet<Integer> ops = new ArraySet<>(); in testAppOpsSettingsIntent_camera_mic() local 253 ops.add(OP_CAMERA); in testAppOpsSettingsIntent_camera_mic() 254 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic() 255 mGutsManager.startAppOpsSettingsActivity("", 0, ops, null); in testAppOpsSettingsIntent_camera_mic() [all …]
|
D | NotificationContentViewTest.java | 96 ArraySet<Integer> ops = new ArraySet<>(); in testShowAppOpsIcons() local 97 ops.add(AppOpsManager.OP_ANSWER_PHONE_CALLS); in testShowAppOpsIcons() 98 mView.showAppOpsIcons(ops); in testShowAppOpsIcons() 100 verify(mockContracted, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons() 101 verify(mockExpanded, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons()
|
D | ExpandableNotificationRowTest.java | 255 ArraySet<Integer> ops = new ArraySet<>(); in testShowAppOpsIcons_header() local 256 ops.add(AppOpsManager.OP_ANSWER_PHONE_CALLS); in testShowAppOpsIcons_header() 257 mGroupRow.showAppOpsIcons(ops); in testShowAppOpsIcons_header() 259 verify(mockHeader, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons_header() 260 verify(privateLayout, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons_header() 261 verify(publicLayout, times(1)).showAppOpsIcons(ops); in testShowAppOpsIcons_header()
|
D | AppOpsInfoTest.java | 118 ArraySet<Integer> ops) -> { in testBindNotification_SetsOnClickListenerForSettings() 120 assertEquals(expectedOps, ops); in testBindNotification_SetsOnClickListenerForSettings() 137 ArraySet<Integer> ops) -> { in testOk() 139 assertEquals(expectedOps, ops); in testOk()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 52 List<AppOpsManager.PackageOps> getPackagesForOps(in int[] ops); in getPackagesForOps() argument 54 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); in getOpsForPackage() argument 55 void getHistoricalOps(int uid, String packageName, in List<String> ops, long beginTimeMillis, in getHistoricalOps() argument 57 void getHistoricalOpsFromDiskRaw(int uid, String packageName, in List<String> ops, in getHistoricalOpsFromDiskRaw() argument 61 void addHistoricalOps(in AppOpsManager.HistoricalOps ops); in addHistoricalOps() argument 64 List<AppOpsManager.PackageOps> getUidOps(int uid, in int[] ops); in getUidOps() argument 76 void startWatchingActive(in int[] ops, IAppOpsActiveCallback callback); in startWatchingActive() argument 82 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationListControllerTest.java | 200 ArraySet<Integer> ops = new ArraySet<>(); in testAdd_addNonForegroundNotificationWithExistingAppOps() local 201 ops.add(3); in testAdd_addNonForegroundNotificationWithExistingAppOps() 202 ops.add(235); in testAdd_addNonForegroundNotificationWithExistingAppOps() 203 ops.add(1); in testAdd_addNonForegroundNotificationWithExistingAppOps() 205 entry.notification.getPackageName())).thenReturn(ops); in testAdd_addNonForegroundNotificationWithExistingAppOps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 104 final AppOpsService.Ops ops = uidState.pkgOps.valueAt(j); in assertSameModes() local 105 if (ops == null) { in assertSameModes() 108 final AppOpsService.Op _op1 = ops.get(op1); in assertSameModes() 109 final AppOpsService.Op _op2 = ops.get(op2); in assertSameModes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 167 protected void startAppOpsSettingsActivity(String pkg, int uid, ArraySet<Integer> ops, in startAppOpsSettingsActivity() argument 169 if (ops.contains(OP_SYSTEM_ALERT_WINDOW)) { in startAppOpsSettingsActivity() 170 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity() 177 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity() 267 (View v, String pkg, int uid, ArraySet<Integer> ops) -> { in initializeAppOpsInfo() 270 startAppOpsSettingsActivity(pkg, uid, ops, row); in initializeAppOpsInfo()
|
/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()
|