/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_StatusUpdatesTest.java | 47 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in setUp() local 49 ops.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI) in setUp() 54 ops.add(ContentProviderOperation.newInsert(Data.CONTENT_URI) in setUp() 61 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in setUp() 103 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in insertStatusUpdate() local 104 ops.add(ContentProviderOperation.newInsert(StatusUpdates.CONTENT_URI) in insertStatusUpdate() 113 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in insertStatusUpdate() 119 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in assertRowCount() local 120 ops.add(ContentProviderOperation.newAssertQuery(uri) in assertRowCount() 124 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertRowCount() [all …]
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | ScopedStorageCoreHostTest.java | 196 private void allowAppOps(String... ops) throws Exception { in allowAppOps() argument 197 for (String op : ops) { in allowAppOps() 202 private void denyAppOps(String... ops) throws Exception { in denyAppOps() argument 203 for (String op : ops) { in denyAppOps()
|
D | LegacyStorageHostTest.java | 319 private void allowAppOps(String... ops) throws Exception { in allowAppOps() argument 320 for (String op : ops) { in allowAppOps() 326 private void denyAppOps(String... ops) throws Exception { in denyAppOps() argument 327 for (String op : ops) { in denyAppOps()
|
D | ScopedStorageHostTest.java | 383 private void allowAppOps(String... ops) throws Exception { in allowAppOps() argument 384 for (String op : ops) { in allowAppOps() 389 private void denyAppOps(String... ops) throws Exception { in denyAppOps() argument 390 for (String op : ops) { in denyAppOps()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | HistoricalAppopsTest.kt | 332 val ops = getHistoricalOpsFromDiskRaw(uid, packageName, null /*opNames*/, in <lambda>() constant 336 assertHasCounts(ops!!, expectedOpCount) in <lambda>() 491 private fun addHistoricalOps(ops: AppOpsManager.HistoricalOps) { in <lambda>() 493 appOpsManager.addHistoricalOps(ops) in <lambda>() 517 appOpsManager.getHistoricalOps(request, context.mainExecutor, Consumer { ops -> in <lambda>() method 518 array[0] = ops in <lambda>() 534 private fun assertHasCounts(ops: HistoricalOps, count: Long) { in <lambda>() 535 assertThat(ops).isNotNull() in <lambda>() 538 assertThat(ops.uidCount).isEqualTo(0) in <lambda>() 542 assertThat(ops.uidCount).isEqualTo(1) in <lambda>() [all …]
|
D | AppOpsDeviceAwareTest.kt | 149 val opEntryForDefaultDevice = packageOpsForDefaultDevice!!.ops[0] in getPackagesForOps_isDeviceAware() 164 val opEntries = packageOps!!.ops in getPackagesForOps_isDeviceAware()
|
D | DiscreteAppopsTest.kt | 1108 appOpsManager.getHistoricalOps(request, context.mainExecutor, Consumer { ops -> in <lambda>() method 1109 array[0] = ops in <lambda>()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/ |
D | CloneContactsSharingTest.java | 168 ArrayList<ContentProviderOperation> ops = new ArrayList<>(); in insertContactsDataThroughBatchOperations() local 169 ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) in insertContactsDataThroughBatchOperations() 175 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContactsDataThroughBatchOperations() 184 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContactsDataThroughBatchOperations() 195 return mContentResolver.applyBatch(authority, ops); in insertContactsDataThroughBatchOperations()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/ |
D | local_poc.h | 209 void *ops; member 223 struct tegra_drm_client_ops *ops; member
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/ |
D | local_poc.h | 209 void *ops; member 223 struct tegra_drm_client_ops *ops; member
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerApi29Test.java | 284 CompletableFuture<HistoricalOps> ops = new CompletableFuture<>(); in testAppOpsHistoricalOps() local 293 sAppOps.getHistoricalOps(histOpsRequest, sContext.getMainExecutor(), ops::complete); in testAppOpsHistoricalOps() 294 HistoricalOp hOp = ops.get(5000, TimeUnit.MILLISECONDS) in testAppOpsHistoricalOps()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 1157 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in insertContact() local 1158 ops.add(ContentProviderOperation in insertContact() 1163 ops.add(ContentProviderOperation in insertContact() 1173 ops.add(ContentProviderOperation in insertContact() 1184 ops.add(ContentProviderOperation in insertContact() 1195 ops.add(ContentProviderOperation in insertContact() 1211 ops.add(ContentProviderOperation in insertContact() 1224 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in insertContact() 1421 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in removeAllTestContactsInProfile() local 1422 ops.add(ContentProviderOperation.newDelete(RawContacts.CONTENT_URI) in removeAllTestContactsInProfile() [all …]
|
/cts/tests/openglperf2/ |
D | cob_exporter.py | 39 bpy.ops.object.mode_set(mode='OBJECT', toggle=False)
|
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 177 }[0].ops[0] in getOpEntry()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStoreTest.java | 285 private void setAppOpsModeForUid(int uid, int mode, @NonNull String... ops) { in setAppOpsModeForUid() argument 288 for (String op : ops) { in setAppOpsModeForUid()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDetailsTest.java | 375 ArrayList<ContentProviderOperation> ops = new ArrayList<>(); in insertContactWithPhoto() local 376 ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) in insertContactWithPhoto() 380 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContactWithPhoto() 389 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContactWithPhoto() 399 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContactWithPhoto() 408 return contentResolver.applyBatch(ContactsContract.AUTHORITY, ops)[0].uri; in insertContactWithPhoto()
|
D | TestUtils.java | 959 ArrayList<ContentProviderOperation> ops = new ArrayList<>(); in insertContact() local 960 ops.add(ContentProviderOperation in insertContact() 965 ops.add(ContentProviderOperation in insertContact() 972 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContact() 981 return contentResolver.applyBatch(ContactsContract.AUTHORITY, ops)[0].uri; in insertContact()
|
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/ |
D | ActivityRecognizerAttributionTags.kt | 124 val opEntries = packageOps.ops in assertNotedOpsSinceLastArAccess()
|
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/ |
D | SensorPrivacyBaseTest.kt | 667 for (op in pkgOp.ops) { in <lambda>() 678 for (op in pkgOp.ops) { in <lambda>()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 947 public static void allowAppOpsToUid(int uid, @NonNull String... ops) { in allowAppOpsToUid() argument 948 setAppOpsModeForUid(uid, AppOpsManager.MODE_ALLOWED, ops); in allowAppOpsToUid() 956 public static void denyAppOpsToUid(int uid, @NonNull String... ops) { in denyAppOpsToUid() argument 957 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, ops); in denyAppOpsToUid() 2055 public static void setAppOpsModeForUid(int uid, int mode, @NonNull String... ops) { in setAppOpsModeForUid() argument 2058 for (String op : ops) { in setAppOpsModeForUid()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RuntimePermissionsAppOpTrackingTest.kt | 891 for (opEntry in accessorPackageOps!!.ops) { in <lambda>() 929 for (opEntry in accessorPackageOps.ops) { in <lambda>() 1026 for (opEntry in receiverPackageOps!!.ops) { in <lambda>()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 599 private void setModeForOps(String pkg, int mode, String... ops) throws Exception { in setModeForOps() argument 606 for (String op : ops) { in setModeForOps()
|