Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java141 final OverlayInfo oi = chunk.get(j); in updateOverlaysForUser() local
142 storedOverlayInfos.put(oi.packageName, oi); in updateOverlaysForUser()
152 final OverlayInfo oi = storedOverlayInfos.get(overlayPackage.packageName); in updateOverlaysForUser() local
154 if (mustReinitializeOverlay(overlayPackage, oi)) { in updateOverlaysForUser()
157 if (oi != null) { in updateOverlaysForUser()
158 packagesToUpdateAssets.add(oi.targetPackageName); in updateOverlaysForUser()
177 final OverlayInfo oi = storedOverlayInfos.valueAt(i); in updateOverlaysForUser() local
178 mSettings.remove(oi.packageName, oi.userId); in updateOverlaysForUser()
179 removeIdmapIfPossible(oi); in updateOverlaysForUser()
180 packagesToUpdateAssets.add(oi.targetPackageName); in updateOverlaysForUser()
[all …]
DIdmapManager.java100 boolean removeIdmap(@NonNull final OverlayInfo oi, final int userId) { in removeIdmap() argument
102 Slog.d(TAG, "remove idmap for " + oi.baseCodePath); in removeIdmap()
106 return mIdmapDaemon.removeIdmap(oi.baseCodePath, userId); in removeIdmap()
108 mInstaller.removeIdmap(oi.baseCodePath); in removeIdmap()
112 Slog.w(TAG, "failed to remove idmap for " + oi.baseCodePath + ": " + e.getMessage()); in removeIdmap()
117 boolean idmapExists(@NonNull final OverlayInfo oi) { in idmapExists() argument
118 return new File(getIdmapPath(oi.baseCodePath, oi.userId)).isFile(); in idmapExists()
DOverlayManagerShellCommand.java165 private void printListOverlay(PrintWriter out, OverlayInfo oi) { in printListOverlay() argument
167 switch (oi.state) { in printListOverlay()
179 out.println(String.format("%s %s", status, oi.packageName)); in printListOverlay()
DOverlayManagerService.java429 final OverlayInfo oi = mImpl.getOverlayInfo(packageName, userId); in onPackageReplacing() local
430 if (oi != null) { in onPackageReplacing()
470 final OverlayInfo oi = mImpl.getOverlayInfo(packageName, userId); in onPackageRemoved() local
471 if (oi != null) { in onPackageRemoved()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java127 OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_A0.packageName, OVERLAY_A0.userId); in testBasicSetAndGet() local
128 assertEquals(OVERLAY_A0, oi); in testBasicSetAndGet()
204 OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_B0.packageName, OVERLAY_B0.userId); in testOrderOfNewlyAddedItems() local
207 assertListsAreEqual(list, OVERLAY_A0, oi, OVERLAY_C0); in testOrderOfNewlyAddedItems()
375 OverlayInfo oi = mSettings.getOverlayInfo("com.dummy.overlay", 1234); in testRestoreSingleUserSingleOverlay() local
376 assertNotNull(oi); in testRestoreSingleUserSingleOverlay()
377 assertEquals("com.dummy.overlay", oi.packageName); in testRestoreSingleUserSingleOverlay()
378 assertEquals("com.dummy.target", oi.targetPackageName); in testRestoreSingleUserSingleOverlay()
379 assertEquals("/data/app/com.dummy.overlay-1/base.apk", oi.baseCodePath); in testRestoreSingleUserSingleOverlay()
380 assertEquals(1234, oi.userId); in testRestoreSingleUserSingleOverlay()
[all …]
DOverlayManagerServiceImplTests.java82 final OverlayInfo oi = mImpl.getOverlayInfo(OVERLAY, USER); in testGetOverlayInfo() local
83 assertNotNull(oi); in testGetOverlayInfo()
84 assertEquals(oi.packageName, OVERLAY); in testGetOverlayInfo()
85 assertEquals(oi.targetPackageName, TARGET); in testGetOverlayInfo()
86 assertEquals(oi.userId, USER); in testGetOverlayInfo()
471 boolean removeIdmap(@NonNull final OverlayInfo oi, final int userId) { in removeIdmap() argument
472 final String key = createKey(oi.packageName, oi.userId); in removeIdmap()
481 boolean idmapExists(@NonNull final OverlayInfo oi) { in idmapExists() argument
482 final String key = createKey(oi.packageName, oi.userId); in idmapExists()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DRoamingConsortiumElementTest.java54 private void appendOI(ByteArrayOutputStream stream, Pair<Integer, Long> oi) { in appendOI() argument
55 stream.write(oi.first.byteValue()); in appendOI()
57 for (int i = oi.first.intValue() - 1; i >= 0; i--) { in appendOI()
58 stream.write((byte) ((oi.second.longValue() >> i * Byte.SIZE) & 0xFF)); in appendOI()
70 for (Pair<Integer, Long> oi : ois) { in getTestData()
71 appendOI(stream, oi); in getTestData()
DANQPParserTest.java143 private static byte[] getVendorSpecificPayload(int oi, int type, int subtype, byte[] payload) in getVendorSpecificPayload() argument
146 stream.write((byte) ((oi >> 16) & 0xFF)); in getVendorSpecificPayload()
147 stream.write((byte) ((oi >> 8) & 0xFF)); in getVendorSpecificPayload()
148 stream.write((byte) (oi & 0xFF)); in getVendorSpecificPayload()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DANQPParser.java120 int oi = (int) ByteBufferReader.readInteger(payload, ByteOrder.BIG_ENDIAN, 3); in parseVendorSpecificElement() local
123 if (oi != VENDOR_SPECIFIC_HS20_OI || type != VENDOR_SPECIFIC_HS20_TYPE) { in parseVendorSpecificElement()
124 throw new ProtocolException("Unsupported vendor specific OI=" + oi + " type=" + type); in parseVendorSpecificElement()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java152 for (long oi : ois) { in roamingConsortiumsToString()
153 list.add(oi); in roamingConsortiumsToString()
161 for (long oi : ois) { in roamingConsortiumsToString()
167 if (Long.numberOfLeadingZeros(oi) > 40) { in roamingConsortiumsToString()
168 sb.append(String.format("%06x", oi)); in roamingConsortiumsToString()
170 sb.append(String.format("%010x", oi)); in roamingConsortiumsToString()
DANQPMatcher.java90 for (long oi : providerOIs) { in matchRoamingConsortium()
91 if (rcOIs.contains(oi)) { in matchRoamingConsortium()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java115 long oi = 0x1234L; in matchRoamingConsortium() local
117 new RoamingConsortiumElement(Arrays.asList(new Long[] {oi})); in matchRoamingConsortium()
118 assertTrue(ANQPMatcher.matchRoamingConsortium(element, new long[] {oi}, false)); in matchRoamingConsortium()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java809 Long oi = null; in parseHomeOIInstance() local
815 oi = Long.valueOf(getPpsNodeValue(child), 16); in parseHomeOIInstance()
828 if (oi == null) { in parseHomeOIInstance()
834 return new Pair<Long, Boolean>(oi, required); in parseHomeOIInstance()
/frameworks/base/core/java/android/view/
DViewGroup.java8529 Insets oi = isLayoutModeOptical(view.mParent) ? view.getOpticalInsets() : Insets.NONE; in onDebugDraw() local
8532 view.getLeft() + oi.left, in onDebugDraw()
8533 view.getTop() + oi.top, in onDebugDraw()
8534 view.getRight() - oi.right, in onDebugDraw()
8535 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/api/
Dtest-lint-baseline.txt39 Inconsistent extra value; expected `android.telephony.ims.extra.OI`, was `oi`
Dtest-current.txt3416 field public static final String EXTRA_OI = "oi";
Dsystem-current.txt9623 field public static final String EXTRA_OI = "oi";
/frameworks/base/telephony/api/
Dsystem-current.txt1397 field public static final String EXTRA_OI = "oi";
/frameworks/base/non-updatable-api/
Dsystem-current.txt9521 field public static final String EXTRA_OI = "oi";