Home
last modified time | relevance | path

Searched refs:oi (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java95 final OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_A, USER_0); in testBasicSetAndGet() local
96 assertEquals(OVERLAY_A_USER0, oi); in testBasicSetAndGet()
161 final OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_B, USER_0); in testOrderOfNewlyAddedItems() local
162 assertNotNull(oi); in testOrderOfNewlyAddedItems()
164 assertListsAreEqual(List.of(OVERLAY_A_USER0, oi, OVERLAY_C_USER0), in testOrderOfNewlyAddedItems()
325 OverlayInfo oi = mSettings.getOverlayInfo(identifier, 1234); in testRestoreSingleUserSingleOverlay() local
326 assertNotNull(oi); in testRestoreSingleUserSingleOverlay()
327 assertEquals("com.test.overlay", oi.packageName); in testRestoreSingleUserSingleOverlay()
328 assertEquals("test", oi.overlayName); in testRestoreSingleUserSingleOverlay()
329 assertEquals("com.test.target", oi.targetPackageName); in testRestoreSingleUserSingleOverlay()
[all …]
DOverlayManagerServiceImplTests.java72 final OverlayInfo oi = impl.getOverlayInfo(IDENTIFIER, USER); in testGetOverlayInfo() local
73 assertNotNull(oi); in testGetOverlayInfo()
74 assertEquals(oi.packageName, OVERLAY); in testGetOverlayInfo()
75 assertEquals(oi.targetPackageName, TARGET); in testGetOverlayInfo()
76 assertEquals(oi.userId, USER); in testGetOverlayInfo()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java203 final OverlayInfo oi = overlayList.get(j); in updateOverlaysForUser() local
204 if (oi.isEnabled()) { in updateOverlaysForUser()
205 enabledCategories.add(oi.category); in updateOverlaysForUser()
218 final OverlayInfo oi = mSettings.getOverlayInfo(overlay, newUserId); in updateOverlaysForUser() local
219 if (!enabledCategories.contains(oi.category)) { in updateOverlaysForUser()
221 + oi.targetPackageName + "' in category '" + oi.category + "' for user " in updateOverlaysForUser()
224 if (updateState(oi, newUserId, 0)) { in updateOverlaysForUser()
226 new PackageAndUser(oi.targetPackageName, oi.userId)); in updateOverlaysForUser()
284 removeOverlaysForUser(oi -> pkgName.equals(oi.packageName), userId)); in onPackageRemoved()
310 final OverlayInfo oi = overlays.get(i); in updateOverlaysForTarget() local
[all …]
DIdmapManager.java104 boolean removeIdmap(@NonNull final OverlayInfo oi, final int userId) { in removeIdmap() argument
106 Slog.d(TAG, "remove idmap for " + oi.baseCodePath); in removeIdmap()
109 return mIdmapDaemon.removeIdmap(oi.baseCodePath, userId); in removeIdmap()
111 Slog.w(TAG, "failed to remove idmap for " + oi.baseCodePath, e); in removeIdmap()
116 boolean idmapExists(@NonNull final OverlayInfo oi) { in idmapExists() argument
117 return mIdmapDaemon.idmapExists(oi.baseCodePath, oi.userId); in idmapExists()
DOverlayManagerShellCommand.java193 private void printListOverlay(PrintWriter out, OverlayInfo oi) { in printListOverlay() argument
195 switch (oi.state) { in printListOverlay()
207 out.println(String.format("%s %s", status, oi.getOverlayIdentifier())); in printListOverlay()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DTransactionTest.java133 final OverlayInfo oi = mOverlayManager.getOverlayInfo(overlay, UserHandle.of(userId)); in assertOverlayIsEnabled() local
134 assertNotNull(oi); in assertOverlayIsEnabled()
135 assertEquals(enabled, oi.isEnabled()); in assertOverlayIsEnabled()
/frameworks/base/core/java/android/view/
DViewGroup.java8783 Insets oi = isLayoutModeOptical(view.mParent) ? view.getOpticalInsets() : Insets.NONE; in onDebugDraw() local
8786 view.getLeft() + oi.left, in onDebugDraw()
8787 view.getTop() + oi.top, in onDebugDraw()
8788 view.getRight() - oi.right, in onDebugDraw()
8789 view.getBottom() - oi.bottom, in onDebugDraw()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password51 ���4�t��{��B��[�G �-w�� �#=.��Y����oi��/6��xd#�s@`
/frameworks/base/core/api/
Dsystem-current.txt12961 field public static final String EXTRA_OI = "oi";