Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_StatusUpdatesTest.java47 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/
DScopedStorageCoreHostTest.java131 private void allowAppOps(String... ops) throws Exception { in allowAppOps() argument
132 for (String op : ops) { in allowAppOps()
137 private void denyAppOps(String... ops) throws Exception { in denyAppOps() argument
138 for (String op : ops) { in denyAppOps()
DScopedStorageHostTest.java341 private void allowAppOps(String... ops) throws Exception { in allowAppOps() argument
342 for (String op : ops) { in allowAppOps()
347 private void denyAppOps(String... ops) throws Exception { in denyAppOps() argument
348 for (String op : ops) { in denyAppOps()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/
Dlocal_poc.h209 void *ops; member
223 struct tegra_drm_client_ops *ops; member
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/
Dlocal_poc.h209 void *ops; member
223 struct tegra_drm_client_ops *ops; member
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1040 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in insertContact() local
1041 ops.add(ContentProviderOperation in insertContact()
1046 ops.add(ContentProviderOperation in insertContact()
1056 ops.add(ContentProviderOperation in insertContact()
1067 ops.add(ContentProviderOperation in insertContact()
1078 ops.add(ContentProviderOperation in insertContact()
1094 ops.add(ContentProviderOperation in insertContact()
1107 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in insertContact()
1268 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); in removeAllTestContactsInProfile() local
1269 ops.add(ContentProviderOperation.newDelete(RawContacts.CONTENT_URI) in removeAllTestContactsInProfile()
[all …]
/cts/tests/openglperf2/
Dcob_exporter.py39 bpy.ops.object.mode_set(mode='OBJECT', toggle=False)
/cts/tests/app/src/android/app/cts/
DActivityManagerApi29Test.java283 CompletableFuture<HistoricalOps> ops = new CompletableFuture<>(); in testAppOpsHistoricalOps() local
292 sAppOps.getHistoricalOps(histOpsRequest, sContext.getMainExecutor(), ops::complete); in testAppOpsHistoricalOps()
293 HistoricalOp hOp = ops.get(5000, TimeUnit.MILLISECONDS) in testAppOpsHistoricalOps()
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/
DAppOpsUtils.kt177 }[0].ops[0] in getOpEntry()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java774 ArrayList<ContentProviderOperation> ops = new ArrayList<>(); in insertContact() local
775 ops.add(ContentProviderOperation in insertContact()
780 ops.add(ContentProviderOperation in insertContact()
787 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) in insertContact()
796 return contentResolver.applyBatch(ContactsContract.AUTHORITY, ops)[0].uri; in insertContact()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreTest.java287 private void setAppOpsModeForUid(int uid, int mode, @NonNull String... ops) { in setAppOpsModeForUid() argument
290 for (String op : ops) { in setAppOpsModeForUid()
/cts/tests/tests/activityrecognition/src/android/activityrecognition/cts/
DActivityRecognizerAttributionTags.kt124 val opEntries = packageOps.ops in assertNotedOpsSinceLastArAccess()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java763 public static void allowAppOpsToUid(int uid, @NonNull String... ops) { in allowAppOpsToUid() argument
764 setAppOpsModeForUid(uid, AppOpsManager.MODE_ALLOWED, ops); in allowAppOpsToUid()
772 public static void denyAppOpsToUid(int uid, @NonNull String... ops) { in denyAppOpsToUid() argument
773 setAppOpsModeForUid(uid, AppOpsManager.MODE_ERRORED, ops); in denyAppOpsToUid()
1506 public static void setAppOpsModeForUid(int uid, int mode, @NonNull String... ops) { in setAppOpsModeForUid() argument
1509 for (String op : ops) { in setAppOpsModeForUid()
/cts/tests/tests/permission/src/android/permission/cts/
DLocationAccessCheckTest.java179 List<AppOpsManager.PackageOps> ops = runWithShellPermissionIdentity( in accessLocation() local
185 assertTrue(ops.get(0).getOps().get(0).getLastAccessBackgroundTime(OP_FLAGS_ALL_TRUSTED) in accessLocation()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java544 private void setModeForOps(String pkg, int mode, String... ops) throws Exception { in setModeForOps() argument
551 for (String op : ops) { in setModeForOps()