Home
last modified time | relevance | path

Searched refs:parentId (Results 1 – 11 of 11) 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/bettertogether/src/android/media/bettertogether/cts/
DMediaBrowserServiceTestService.java62 public void onChildrenLoaded(String parentId, List<MediaItem> children) { in testSeriesOfNotifyChildrenChanged_setUp()
63 if (parentMediaId.equals(parentId) && children != null) { in testSeriesOfNotifyChildrenChanged_setUp()
DSimpleMediaBrowserService.java58 public void onLoadChildren(@NonNull String parentId, @NonNull Result<List<MediaItem>> result) {} in onLoadChildren() argument
DMediaBrowserTest.java781 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { in onChildrenLoaded() argument
783 mLastParentId = parentId; in onChildrenLoaded()
788 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children, in onChildrenLoaded() argument
791 mLastParentId = parentId; in onChildrenLoaded()
DMediaBrowserServiceTest.java102 public void onChildrenLoaded(String parentId, List<MediaItem> children) {
112 public void onChildrenLoaded(String parentId, List<MediaItem> children,
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DEventsAssertor.java218 @NonNull AutofillId parentId, int childId, String expectedText) { in assertVirtualViewAppeared() argument
219 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared()
231 public EventsAssertor assertVirtualViewDisappeared(AutofillId parentId, in assertVirtualViewDisappeared() argument
233 return assertViewDisappeared(session.newAutofillId(parentId, childId)); in assertVirtualViewDisappeared()
241 public EventsAssertor assertVirtualViewsDisappeared(AutofillId parentId, in assertVirtualViewsDisappeared() argument
245 ids[i] = session.newAutofillId(parentId, childId[i]); in assertVirtualViewsDisappeared()
DAssertions.java442 int index, @NonNull ContentCaptureSession session, @NonNull AutofillId parentId, in assertVirtualViewAppeared() argument
447 final AutofillId expectedId = session.newAutofillId(parentId, childId); in assertVirtualViewAppeared()
463 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewDisappeared() argument
465 assertViewDisappeared(events, index, session.newAutofillId(parentId, childId)); in assertVirtualViewDisappeared()
472 int index, @NonNull AutofillId parentId, @NonNull ContentCaptureSession session, in assertVirtualViewsDisappeared() argument
477 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/security/src/android/security/cts/
DCVE_2022_20485.java135 Field parentId = Class.forName(className).getDeclaredField("mParentId"); in testLongStringFieldsNotificationChannel() local
136 parentId.setAccessible(true); in testLongStringFieldsNotificationChannel()
137 parentId.set(channel, mLongString); in testLongStringFieldsNotificationChannel()
/cts/tests/tests/widget/src/android/widget/cts/
DLayoutDirectionTest.java136 int parentId, int parentDir, int parentResDir, in verifyDirectionForOneLayoutFromXml() argument
141 ViewGroup ll = (ViewGroup) mActivity.findViewById(parentId); in verifyDirectionForOneLayoutFromXml()
/cts/tests/tests/car/src/android/car/app/cts/
DCarTaskViewControllerTest.java396 private CarTaskViewTestHolder createControlledTaskView(int parentId, in createControlledTaskView() argument
407 FrameLayout parent = mHostActivity.findViewById(parentId); in createControlledTaskView()
417 private CarTaskViewTestHolder createControlledTaskView(int parentId, Intent intent) { in createControlledTaskView() argument
418 return createControlledTaskView(parentId, new ControlledRemoteCarTaskViewConfig.Builder() in createControlledTaskView()