Home
last modified time | relevance | path

Searched refs:parentId (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DAtomicInstallTest.java159 int parentId = Install.multi(TestApp.A1).createSession(); in testRemoveChild() local
162 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testRemoveChild()
256 int parentId = Install.single(TestApp.A1).createSession(); in testInvalidStateScenario_AddChildToSingleSessionShouldFail() local
258 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_AddChildToSingleSessionShouldFail()
272 int parentId = Install.multi(TestApp.A1).createSession(); in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail() local
274 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_MultiSessionAddedAsChildShouldFail()
288 int parentId = Install.multi(TestApp.A1).createSession(); in testInvalidStateScenario_AddChildToCommittedSessionShouldFail() local
290 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_AddChildToCommittedSessionShouldFail()
307 int parentId = Install.multi(TestApp.A1).createSession(); in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail() local
309 try (PackageInstaller.Session parent = openPackageInstallerSession(parentId)) { in testInvalidStateScenario_RemoveChildFromCommittedSessionShouldFail()
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserServiceTestService.java62 public void onChildrenLoaded(String parentId, List<MediaItem> children) { in testSeriesOfNotifyChildrenChanged_setUp()
63 if (parentMediaId.equals(parentId) && children != null) { in testSeriesOfNotifyChildrenChanged_setUp()
DMediaBrowserTest.java687 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { in onChildrenLoaded() argument
689 mLastParentId = parentId; in onChildrenLoaded()
694 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children, in onChildrenLoaded() argument
697 mLastParentId = parentId; in onChildrenLoaded()
DMediaBrowserServiceTest.java70 public void onChildrenLoaded(String parentId, List<MediaItem> children) {
83 public void onChildrenLoaded(String parentId, List<MediaItem> children,
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DEventsAssertor.java208 @NonNull AutofillId parentId, int childId, String expectedText) { in assertVirtualViewAppeared() argument
209 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared()
221 public EventsAssertor assertVirtualViewDisappeared(AutofillId parentId, in assertVirtualViewDisappeared() argument
223 return assertViewDisappeared(session.newAutofillId(parentId, childId)); in assertVirtualViewDisappeared()
DAssertions.java431 int index, @NonNull ContentCaptureSession session, @NonNull AutofillId parentId, in assertVirtualViewAppeared() argument
436 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared()
452 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewDisappeared() argument
454 assertViewDisappeared(events, index, session.newAutofillId(parentId, childId)); in assertVirtualViewDisappeared()
461 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewsDisappeared() argument
466 expectedIds[i] = session.newAutofillId(parentId, childrenIds[i]); in assertVirtualViewsDisappeared()
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java100 int createProfileUser(int parentId, String profileName) throws IOException { in createProfileUser() argument
103 String.format("pm create-user --profileOf %d %s", parentId, profileName)); in createProfileUser()
/cts/tests/tests/widget/src/android/widget/cts/
DLayoutDirectionTest.java127 int parentId, int parentDir, int parentResDir, in verifyDirectionForOneLayoutFromXml() argument
132 ViewGroup ll = (ViewGroup) mActivity.findViewById(parentId); in verifyDirectionForOneLayoutFromXml()