/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TriggerContentTest.java | 188 private static void assertUriArrayLength(int length, Uri[] uris) { in assertUriArrayLength() argument 189 if (uris.length != length) { in assertUriArrayLength() 194 sb.append(uris.length); in assertUriArrayLength() 195 if (uris.length > 0) { in assertUriArrayLength() 197 for (int i=0; i<uris.length; i++) { in assertUriArrayLength() 201 sb.append(uris[i]); in assertUriArrayLength() 208 private static void assertHasUri(Uri wanted, Uri[] uris) { in assertHasUri() argument 209 for (int i=0; i<uris.length; i++) { in assertHasUri() 210 if (wanted.equals(uris[i])) { in assertHasUri() 219 for (int i=0; i<uris.length; i++) { in assertHasUri() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestRcsCapabilityExchangeImpl.java | 43 void execute(Collection<Uri> uris, SubscribeResponseCallback cb) throws ImsException; in execute() argument 92 public void subscribeForCapabilities(Collection<Uri> uris, SubscribeResponseCallback cb) { in subscribeForCapabilities() argument 94 mSubscribeOperation.execute(uris, cb); in subscribeForCapabilities()
|
D | RcsUceAdapterTest.java | 590 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestAllowed() argument 672 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithCmdError() argument 807 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithResponseError() argument 843 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithResponseError() argument 884 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testCapabilitiesRequestWithResponseError() argument 983 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesWithPresenceMechanism() argument 1034 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesWithPresenceMechanism() argument 1082 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesWithPresenceMechanism() argument 1083 List<Uri> uriList = new ArrayList(uris); in testRequestCapabilitiesWithPresenceMechanism() 1194 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRequestCapabilitiesFromCacheWithPresenceMechanism() argument [all …]
|
D | EabControllerTest.java | 464 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in fakeNetworkResult() argument
|
D | EabBulkCapabilityUpdaterTest.java | 565 capabilityExchangeImpl.setSubscribeOperation((uris, cb) -> { in fakeNetworkResult() argument
|
D | ImsServiceTest.java | 2008 capExchangeImpl.setSubscribeOperation((uris, cb) -> { in testRcsPublishWithAuthorizedErrorResponse() argument
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceManagerTest.java | 113 List<Uri> uris = mSliceManager.getPinnedSlices(); in testPinList() local 114 assertEquals(2, uris.size()); in testPinList() 115 assertTrue(uris.contains(uri)); in testPinList() 116 assertTrue(uris.contains(longerUri)); in testPinList()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_Video_MediaTest.java | 271 Uri[] uris = new Uri[videoIds.length]; in testIsoLocationRedaction() local 273 uris[i] = ProviderTestUtils.stageMedia(videoIds[i], mExternalVideo, "video/mp4"); in testIsoLocationRedaction() 276 for (int i = 0; i < uris.length; i++) { in testIsoLocationRedaction() 279 try (ParcelFileDescriptor pfd = mContentResolver.openFile(uris[i], "r", null); in testIsoLocationRedaction() 292 for (int i = 0; i < uris.length; i++) { in testIsoLocationRedaction() 293 ProviderTestUtils.clearOwner(uris[i]); in testIsoLocationRedaction() 295 try (ParcelFileDescriptor pfd = mContentResolver.openFile(uris[i], "r", null); in testIsoLocationRedaction()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 1225 List<Uri> uris = new ArrayList<>(); in testCheckCallingOrSelfUriPermissions() local 1227 uris.add(uri1); in testCheckCallingOrSelfUriPermissions() 1229 uris.add(uri2); in testCheckCallingOrSelfUriPermissions() 1231 int[] retValue = mContext.checkCallingOrSelfUriPermissions(uris, in testCheckCallingOrSelfUriPermissions() 1437 List<Uri> uris = new ArrayList<>(); in testCheckUriPermissions() local 1439 uris.add(uri1); in testCheckUriPermissions() 1441 uris.add(uri2); in testCheckUriPermissions() 1444 int[] retValue = mContext.checkUriPermissions(uris, Binder.getCallingPid(), 0, in testCheckUriPermissions() 1450 retValue = mContext.checkUriPermissions(uris, Binder.getCallingPid(), in testCheckUriPermissions() 1485 List<Uri> uris = new ArrayList<>(); in testCheckCallingUriPermissions() local [all …]
|
D | ContentResolverTest.java | 1490 public final Iterable<Uri> uris; field in ContentResolverTest.Change 1493 public Change(boolean selfChange, Iterable<Uri> uris, int flags) { in Change() argument 1495 this.uris = uris; in Change() 1502 selfChange, asSet(uris).toString(), flags); in toString() 1510 Objects.equals(asSet(change.uris), asSet(uris)) && in equals() 1517 private static Set<Uri> asSet(Iterable<Uri> uris) { in asSet() argument 1519 uris.forEach(asSet::add); in asSet() 1538 public synchronized void onChange(boolean selfChange, Collection<Uri> uris, int flags) { in onChange() argument 1539 final Change change = new Change(selfChange, uris, flags); in onChange()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObserverTest.java | 189 public void onChange(boolean selfChange, Collection<Uri> uris, int flags) { in onChange() argument 190 super.onChange(selfChange, uris, flags); in onChange()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | RedactUriDeviceTest.java | 140 List<Uri> uris = new ArrayList<>(); in testRedactedUri_list() local 148 uris.add(MediaStore.scanFile(getContentResolver(), file)); in testRedactedUri_list() 152 uris); in testRedactedUri_list() 155 Uri uri = uris.get(i++); in testRedactedUri_list()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 796 public static void deleteWithMediaProviderNoThrow(Uri... uris) { in deleteWithMediaProviderNoThrow() argument 797 for (Uri uri : uris) { in deleteWithMediaProviderNoThrow()
|