/frameworks/base/tools/aapt2/ |
H A D | Locale_test.cpp | 27 static ::testing::AssertionResult TestLanguage(const char* input, argument 29 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); 33 return ::testing::AssertionFailure() << " failed to parse '" << input 39 << count << " parts were consumed parsing '" << input 53 static ::testing::AssertionResult TestLanguageRegion(const char* input, argument 56 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); 60 return ::testing::AssertionFailure() << " failed to parse '" << input 66 << count << " parts were consumed parsing '" << input 73 << "expected " << input << " but got "
|
H A D | ResourceParser_test.cpp | 40 std::stringstream input(kXmlPreamble); 41 input << R"(<attr name="foo"/>)" << std::endl; 44 xml::XmlPullParser xml_parser(input); 59 std::stringstream input(kXmlPreamble); 60 input << "<resources>\n" << str << "\n</resources>" << std::endl; 64 xml::XmlPullParser xmlParser(input); 77 std::string input = "<string name=\"foo\"> \" hey there \" </string>"; local 78 ASSERT_TRUE(TestParse(input)); 87 std::string input = "<string name=\"foo\">\\?123</string>"; local 88 ASSERT_TRUE(TestParse(input)); 97 std::string input = "<string name=\\"foo\\">%d %s</string>"; local 107 std::string input = local 129 std::string input = "<string name=\\"foo\\"> This is what I think </string>"; local 146 std::string input = R"EOF( local 158 std::string input = R"EOF( local 165 std::string input = R"EOF( local 184 std::string input = R"EOF( local 203 std::string input = "<integer name=\\"foo\\">@null</integer>"; local 218 std::string input = "<integer name=\\"foo\\">@empty</integer>"; local 228 std::string input = local 248 std::string input = R"( local 265 std::string input = local 277 std::string input = local 283 std::string input = local 296 std::string input = local 311 std::string input = local 338 std::string input = local 370 std::string input = local 380 std::string input = local 410 std::string input = "<style name=\\"foo\\" parent=\\"com.app:Theme\\"/>"; local 422 std::string input = local 436 std::string input = local 451 std::string input = "<style name=\\"foo.bar\\"/>"; local 465 std::string input = "<style name=\\"foo.bar\\" parent=\\"\\"/>"; local 475 std::string input = local 486 std::string input = "<string name=\\"foo\\">@+id/bar</string>"; local 494 std::string input = local 535 std::string input = local 556 std::string input = local 574 std::string input = R"EOF( local 627 std::string input = local 638 std::string input = local 651 std::string input = local 669 std::string input = R"EOF( local 701 std::string input = "<public type=\\"id\\" name=\\"foo\\"/>"; local 709 std::string input = R"EOF( local 740 std::string input = R"EOF( local 772 std::string input = local 781 std::string input = R"EOF(<add-resource name="bar" type="string" />)EOF"; local 794 std::string input = R"(<item name="foo" type="integer" format="float">0.3</item>)"; local 807 std::string input = R"(<item name="foo" type="integer">100%p</item>)"; local 816 std::string input = R"EOF(<item name="foo" type="configVarying">Hey</item>)EOF"; local 822 std::string input = local 835 std::string input = R"( local [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | ELFBinaryReaderTest.cpp | 48 Input input("test.bin"); 52 ASSERT_TRUE(reader->isMyFormat(input, doContinue)); 55 ASSERT_FALSE(reader->isMyFormat(input, doContinue));
|
H A D | InputTreeTest.cpp | 97 Input* input = m_pAlloc->produce("FileSpec", "path1"); local 98 m_pTestee->insert<InputTree::Inclusive>(node, *input); 103 Input* input = m_pAlloc->produce("FileSpec", "path1"); local 104 m_pTestee->insert<InputTree::Inclusive>(node, *input); 126 Input* input = m_pAlloc->produce("FileSpec", "path1"); local 127 m_pTestee->insert(node, InputTree::Afterward, *input); 140 Input* input = m_pAlloc->produce("111", "/"); local 141 m_pTestee->insert<InputTree::Inclusive>(node, *input); 144 input = m_pAlloc->produce("10", "/"); 145 m_pTestee->insert<InputTree::Positional>(node, *input); [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 76 * Encode/decode another block of input data. this.output is 85 * @return true if the input so far is good; false if some 86 * error has been detected in the input stream.. 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); argument 92 * could produce for the given number of input bytes. This may 103 * Decode the Base64-encoded data in input and return the data in 109 * @param str the input String to decode, which is converted to 114 * @throws IllegalArgumentException if the input contains 122 * Decode the Base64-encoded data in input and return the data in 128 * @param input th 135 decode(byte[] input, int flags) argument 155 decode(byte[] input, int offset, int len, int flags) argument 263 process(byte[] input, int offset, int len, boolean finish) argument 454 encodeToString(byte[] input, int flags) argument 475 encodeToString(byte[] input, int offset, int len, int flags) argument 493 encode(byte[] input, int flags) argument 509 encode(byte[] input, int offset, int len, int flags) argument 603 process(byte[] input, int offset, int len, boolean finish) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | ScanResultUtilTest.java | 44 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 47 input.informationElements = new InformationElement[] { 51 ScanDetail output = ScanResultUtil.toScanDetail(input); 53 validateScanDetail(input, output); 60 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, 63 input.informationElements = new InformationElement[] { 66 input.anqpLines = Arrays.asList("LINE 1", "line 2", "Line 3"); 68 ScanDetail output = ScanResultUtil.toScanDetail(input); 70 validateScanDetail(input, output); 76 ScanResult input 151 validateScanDetail(ScanResult input, ScanDetail output) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_KeyCharacterMap.h | 22 #include <input/KeyCharacterMap.h>
|
H A D | android_hardware_display_DisplayViewport.h | 21 #include <input/DisplayViewport.h>
|
H A D | android_view_InputChannel.h | 22 #include <input/InputTransport.h> 33 * This is used to automatically dispose of other native objects in the input dispatcher 34 * and input queue to prevent memory leaks. */
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | OutputStreamTarget.java | 48 Frame input = pullInput("data"); 51 if (input.getFormat().getObjectClass() == String.class) { 52 String stringVal = (String)input.getObjectValue(); 55 data = input.getData();
|
H A D | FrameStore.java | 43 // Get input frame 44 Frame input = pullInput("frame"); 47 context.storeFrame(mKey, input);
|
H A D | GLTextureTarget.java | 47 // Get input frame 48 Frame input = pullInput("frame"); 50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), 51 input.getFormat().getHeight(), 58 frame.setDataFromFrame(input);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.h | 31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height); 43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Program.java | 29 public void process(Frame input, Frame output) { argument 31 inputs[0] = input;
|
/frameworks/base/libs/hwui/ |
H A D | Interpolator.cpp | 32 float AccelerateDecelerateInterpolator::interpolate(float input) { argument 33 return (float)(cosf((input + 1) * M_PI) / 2.0f) + 0.5f; 36 float AccelerateInterpolator::interpolate(float input) { argument 38 return input * input; 40 return pow(input, mDoubleFactor); 73 float CycleInterpolator::interpolate(float input) { argument 74 return sinf(2 * mCycles * M_PI * input); 77 float DecelerateInterpolator::interpolate(float input) { argument 80 result = 1.0f - (1.0f - input) * (1. 133 interpolate(float input) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | VerifierDeviceIdentity.java | 86 * @return verifier device identity based on the input from the provided 103 private static final String encodeBase32(long input) { argument 127 final int group = (int) (input & 0x1F); 128 input >>>= 5; 137 private static final long decodeBase32(byte[] input) throws IllegalArgumentException { argument 141 final int N = input.length; 143 final int group = input[i]; 210 final byte[] input; 212 input = deviceIdentity.getBytes("US-ASCII"); 214 throw new IllegalArgumentException("bad base-32 characters in input"); [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | AccelerateDecelerateInterpolator.java | 40 public float getInterpolation(float input) { argument 41 return (float)(Math.cos((input + 1) * Math.PI) / 2.0f) + 0.5f;
|
H A D | LinearInterpolator.java | 38 public float getInterpolation(float input) { argument 39 return input;
|
H A D | AccelerateInterpolator.java | 77 public float getInterpolation(float input) { argument 79 return input * input; 81 return (float)Math.pow(input, mDoubleFactor);
|
H A D | DecelerateInterpolator.java | 69 public float getInterpolation(float input) { argument 72 result = (float)(1.0f - (1.0f - input) * (1.0f - input)); 74 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor));
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/ |
H A D | StringLogger.java | 44 Frame input = pullInput("string"); 45 String inputString = input.getObjectValue().toString();
|
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 148 Module::input_iterator input, inEnd = m_pModule->input_end(); local 149 for (input = m_pModule->input_begin(); input != inEnd; ++input) { 151 if (isGroup(input)) { 153 input, inEnd, m_pBuilder->getInputBuilder(), m_Config); 159 if ((*input)->type() == Input::Script || 160 (*input)->type() == Input::Archive || 161 (*input)->type() == Input::External) 164 if (Input::Object == (*input) 289 mcld::InputTree::bfs_iterator input, local 583 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local 787 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local 872 Module::obj_iterator input, inEnd = m_pModule->obj_end(); local [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ClearKeyLicenseFetcher.h | 31 virtual status_t Init(const char *input);
|
H A D | LicenseFetcher.h | 34 virtual status_t Init(const char *input) = 0;
|
/frameworks/base/core/java/android/text/ |
H A D | AndroidCharacter.java | 51 * @param input the character to measure 52 * @return the East Asian Width for input 54 public native static int getEastAsianWidth(char input); argument 66 * @param src character array of input to measure
|