/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)); 45 static WakeLock wrap(final PowerManager.WakeLock inner) { method in interface:WakeLock 57 /** @see PowerManager.WakeLock#wrap(Runnable) */ 58 public Runnable wrap(Runnable runnable) { 59 return inner.wrap(runnable);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | NotificationCustomViewWrapperTest.java | 55 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); 56 wrap.onContentUpdated(mRow); 58 wrap.getCustomBackgroundColor() != 0); 60 wrap.onReinflated(); 61 wrap.onContentUpdated(mRow); 63 wrap.getCustomBackgroundColor() != 0);
|
/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);
|
H A D | CredentialTypeTest.java | 42 return ByteBuffer.wrap(new byte[] {(byte) TEST_TYPE}); 53 ByteBuffer.wrap(new byte[0]), CredentialType.EXPECTED_LENGTH_VALUE, false);
|
/frameworks/support/v17/leanback/src/android/support/v17/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 | 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 | VenueNameElementTest.java | 97 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {TEST_VENUE_NAME1})); 111 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[0])); 128 ByteBuffer buffer = ByteBuffer.wrap( 145 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {text})); 166 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {text}));
|
H A D | ANQPParserTest.java | 261 ByteBuffer buffer = ByteBuffer.wrap(getVenueNamePayload(language, text)); 283 ByteBuffer buffer = ByteBuffer.wrap(new byte[] {(byte) ipAddressAvailability}); 299 ByteBuffer buffer = ByteBuffer.wrap(getDomainNamePayload(testNames)); 316 ByteBuffer buffer = ByteBuffer.wrap(getRoamingConsortiumPayload(ois, oisLength)); 333 ByteBuffer buffer = ByteBuffer.wrap(getNAIRealmPayload(testBytes)); 353 ByteBuffer buffer = ByteBuffer.wrap(getThreeGPPNetworkPayload( 367 ByteBuffer buffer = ByteBuffer.wrap( 394 Constants.ANQPElementType.ANQPVendorSpec, ByteBuffer.wrap(data))); 414 ByteBuffer buffer = ByteBuffer.wrap(getHSFriendlyNamePayload(language, text)); 441 ByteBuffer buffer = ByteBuffer.wrap(dat [all...] |
H A D | ThreeGPPNetworkElementTest.java | 101 ThreeGPPNetworkElement.parse(ByteBuffer.wrap(testData)); 116 ThreeGPPNetworkElement.parse(ByteBuffer.wrap(testData, 0, testData.length - 1)); 138 assertEquals(expected, ThreeGPPNetworkElement.parse(ByteBuffer.wrap(testData)));
|
/frameworks/support/compat/java/android/support/v4/os/ |
H A D | ConfigurationCompat.java | 38 return LocaleListCompat.wrap(configuration.getLocales());
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 48 drawables[i] = TintedDrawable.wrap(drawables[i]); 58 if (left != null) left = TintedDrawable.wrap(left); 59 if (top != null) top = TintedDrawable.wrap(top); 60 if (right != null) right = TintedDrawable.wrap(right); 61 if (bottom != null) bottom = TintedDrawable.wrap(bottom); 69 if (start != null) start = TintedDrawable.wrap(start); 70 if (top != null) top = TintedDrawable.wrap(top); 71 if (end != null) end = TintedDrawable.wrap(end); 72 if (bottom != null) bottom = TintedDrawable.wrap(bottom); 110 // TODO: Remove this class and use DrawableCompat.wrap() onc 114 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/tests/java/android/support/v4/graphics/ |
H A D | DrawableCompatTest.java | 47 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 59 final Drawable wrappedDrawable = DrawableCompat.wrap(original); 69 final Drawable wrapper = DrawableCompat.wrap(drawable); 84 // Now wrap it 85 final Drawable wrapper = DrawableCompat.wrap(drawable); 93 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable()); 94 assertSame(wrappedDrawable, DrawableCompat.wrap(wrappedDrawable)); 104 // Now wrap and assert that the wrapper also returns a constant state 105 final Drawable wrapper = DrawableCompat.wrap(drawable); 114 // 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/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/tests/src/android/support/v7/testutils/ |
H A D | DrawerLayoutActions.java | 99 public static ViewAction wrap(final ViewAction baseAction) { method in class:DrawerLayoutActions 101 throw new IllegalArgumentException("Don't wrap and already wrapped action"); 148 return wrap(new ViewAction() { 173 return wrap(new ViewAction() { 198 return wrap(new ViewAction() { 223 return wrap(new ViewAction() { 248 return wrap(new ViewAction() { 273 return wrap(new ViewAction() { 298 return wrap(new ViewAction() { 325 return wrap(ne [all...] |
/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
H A D | ViewPagerActions.java | 95 public static ViewAction wrap(final ViewAction baseAction) { method in class:ViewPagerActions 97 throw new IllegalArgumentException("Don't wrap an already wrapped action"); 144 return wrap(new ViewAction() { 170 return wrap(new ViewAction() { 198 return wrap(new ViewAction() { 226 return wrap(new ViewAction() { 256 return wrap(new ViewAction() { 286 return wrap(new ViewAction() {
|