/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationCustomViewWrapperTest.java | 51 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); 52 wrap.onContentUpdated(mRow); 54 wrap.getCustomBackgroundColor() != 0); 56 wrap.onReinflated(); 57 wrap.onContentUpdated(mRow); 59 wrap.getCustomBackgroundColor() != 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
H A D | WakeLock.java | 32 /** @see android.os.PowerManager.WakeLock#wrap(Runnable) */ 33 Runnable wrap(Runnable r); method in interface:WakeLock 36 return wrap(createPartialInner(context, tag)); 56 static WakeLock wrap(final PowerManager.WakeLock inner) { method in interface:WakeLock 68 /** @see PowerManager.WakeLock#wrap(Runnable) */ 69 public Runnable wrap(Runnable runnable) {
|
H A D | DelayedWakeLock.java | 49 public Runnable wrap(Runnable r) { method in class:DelayedWakeLock
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
H A D | ExpandedEAPMethodTest.java | 47 ByteBuffer.wrap(new byte[0]), ExpandedEAPMethod.EXPECTED_LENGTH_VALUE, false); 58 ExpandedEAPMethod.parse(ByteBuffer.wrap(TEST_DATA_BYTES), 69 ExpandedEAPMethod.parse(ByteBuffer.wrap(TEST_DATA_BYTES, 0, TEST_DATA_BYTES.length - 1), 84 ByteBuffer.wrap(TEST_DATA_BYTES), ExpandedEAPMethod.EXPECTED_LENGTH_VALUE, false); 99 ByteBuffer.wrap(TEST_DATA_BYTES), ExpandedEAPMethod.EXPECTED_LENGTH_VALUE, true);
|
H A D | VendorSpecificAuthTest.java | 42 VendorSpecificAuth.parse(ByteBuffer.wrap(new byte[0]), 1); 53 ByteBuffer.wrap(TEST_DATA, 0, TEST_DATA.length - 1), TEST_DATA.length); 65 assertEquals(expected, VendorSpecificAuth.parse(ByteBuffer.wrap(TEST_DATA), 0)); 78 VendorSpecificAuth.parse(ByteBuffer.wrap(TEST_DATA), TEST_DATA.length);
|
H A D | InnerAuthEAPTest.java | 43 return ByteBuffer.wrap(new byte[] {(byte) TEST_EAP_METHOD_ID}); 53 InnerAuthEAP.parse(ByteBuffer.wrap(new byte[0]), InnerAuthEAP.EXPECTED_LENGTH_VALUE);
|
H A D | NonEAPInnerAuthTest.java | 42 return ByteBuffer.wrap(new byte[] {(byte) TEST_AUTH_TYPE}); 52 NonEAPInnerAuth.parse(ByteBuffer.wrap(new byte[0]), NonEAPInnerAuth.EXPECTED_LENGTH_VALUE);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ItemBridgeAdapterShadowOverlayWrapper.java | 20 * A wrapper class working with {@link ItemBridgeAdapter} to wrap item view in a 39 public void wrap(View wrapper, View wrapped) { method in class:ItemBridgeAdapterShadowOverlayWrapper 40 ((ShadowOverlayContainer) wrapper).wrap(wrapped);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | NAIRealmDataTest.java | 41 NAIRealmData.parse(ByteBuffer.wrap(new byte[0])); 52 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); 65 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); 77 ByteBuffer buffer = ByteBuffer.wrap(
|
H A D | IconInfoTest.java | 50 ByteBuffer buffer = ByteBuffer.wrap(IconInfoTestUtil.TEST_ICON_INFO_RAW_BYTES); 63 ByteBuffer buffer = ByteBuffer.wrap(IconInfoTestUtil.TEST_ICON_INFO_RAW_BYTES);
|
H A D | RawByteElementTest.java | 44 RawByteElement actual = RawByteElement.parse(TEST_ELEMENT_ID, ByteBuffer.wrap(data)); 58 RawByteElement actual = RawByteElement.parse(TEST_ELEMENT_ID, ByteBuffer.wrap(data));
|
H A D | CellularNetworkTest.java | 61 assertNull(CellularNetwork.parse(ByteBuffer.wrap(testData))); 74 CellularNetwork.parse(ByteBuffer.wrap(testData, 0, testData.length - 1)); 89 CellularNetwork.parse(ByteBuffer.wrap(testData)); 109 assertEquals(expected, CellularNetwork.parse(ByteBuffer.wrap(testData)));
|
H A D | HSIconFileElementTest.java | 79 ByteBuffer buffer = ByteBuffer.wrap(getTestData(HSIconFileElement.STATUS_CODE_SUCCESS)); 92 ByteBuffer buffer = ByteBuffer.wrap(getTestData(HSIconFileElement.STATUS_CODE_SUCCESS)); 107 ByteBuffer.wrap(getTestData(HSIconFileElement.STATUS_CODE_FILE_NOT_FOUND));
|
H A D | HSOsuProvidersElementTest.java | 85 ByteBuffer buffer = ByteBuffer.wrap(getTestData(TEST_OSU_SSID_BYTES)); 99 ByteBuffer buffer = ByteBuffer.wrap(getTestData(invalidSsidBytes)); 111 ByteBuffer buffer = ByteBuffer.wrap(getTestData(TEST_OSU_SSID_BYTES));
|
/frameworks/support/compat/src/main/java/androidx/core/os/ |
H A D | ConfigurationCompat.java | 38 return LocaleListCompat.wrap(configuration.getLocales());
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 54 drawables[i] = TintedDrawable.wrap(drawables[i]); 64 if (left != null) left = TintedDrawable.wrap(left); 65 if (top != null) top = TintedDrawable.wrap(top); 66 if (right != null) right = TintedDrawable.wrap(right); 67 if (bottom != null) bottom = TintedDrawable.wrap(bottom); 75 if (start != null) start = TintedDrawable.wrap(start); 76 if (top != null) top = TintedDrawable.wrap(top); 77 if (end != null) end = TintedDrawable.wrap(end); 78 if (bottom != null) bottom = TintedDrawable.wrap(bottom); 116 // TODO: Remove this class and use DrawableCompat.wrap() onc 120 public static TintedDrawable wrap(Drawable drawable) { method in class:NavigationBarButton.TintedDrawable [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ByteBufferReaderTest.java | 45 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); 59 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); 73 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); 86 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); 102 ByteBuffer leBuffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); 108 ByteBuffer beBuffer = ByteBuffer.wrap(data).order(ByteOrder.BIG_ENDIAN); 122 ByteBufferReader.readString(ByteBuffer.wrap(new byte[10]), -1, StandardCharsets.US_ASCII); 133 ByteBuffer.wrap(new byte[10]), 0, StandardCharsets.US_ASCII); 146 ByteBuffer buffer = ByteBuffer.wrap(expectedValue.getBytes(StandardCharsets.US_ASCII));
|
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/ |
H A D | DrawableCompatTest.java | 48 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 60 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 70 final Drawable wrapper = DrawableCompat.wrap(drawable); 85 // Now wrap it 86 final Drawable wrapper = DrawableCompat.wrap(drawable); 94 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable()); 95 assertSame(wrappedDrawable, DrawableCompat.wrap(wrappedDrawable)); 105 // Now wrap and assert that the wrapper also returns a constant state 106 final Drawable wrapper = DrawableCompat.wrap(drawable); 115 // Now wrap i [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLDebugHelper.java | 79 public static GL wrap(GL gl, int configFlags, Writer log) { method in class:GLDebugHelper 100 public static EGL wrap(EGL egl, int configFlags, Writer log) { method in class:GLDebugHelper
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
H A D | WakeLockFake.java | 37 public Runnable wrap(Runnable runnable) { method in class:WakeLockFake
|
/frameworks/av/media/libstagefright/ |
H A D | InterfaceUtils.cpp | 37 return RemoteDataSource::wrap(source); 47 return RemoteMediaExtractor::wrap(extractor, source, plugin); 63 return RemoteMediaSource::wrap(extractor, source, plugin);
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitReader.cpp | 24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule, 34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef), 54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef),
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
H A D | BitReader.cpp | 24 return LLVMParseBitcodeInContext(wrap(&getGlobalContext()), MemBuf, OutModule, 34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef), 54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef),
|
/frameworks/base/core/java/android/text/style/ |
H A D | CharacterStyle.java | 32 * regions, you can use this method to wrap it with a new object that 36 public static CharacterStyle wrap(CharacterStyle cs) { method in class:CharacterStyle 46 * that were generated by {@link #wrap}, returns the underlying
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
H A D | DrawerLayoutActions.java | 100 public static ViewAction wrap(final ViewAction baseAction) { method in class:DrawerLayoutActions 102 throw new IllegalArgumentException("Don't wrap and already wrapped action"); 149 return wrap(new ViewAction() { 174 return wrap(new ViewAction() { 199 return wrap(new ViewAction() { 224 return wrap(new ViewAction() { 249 return wrap(new ViewAction() { 274 return wrap(new ViewAction() { 299 return wrap(new ViewAction() { 326 return wrap(ne [all...] |