/frameworks/base/ravenwood/runtime-jni/ |
D | ravenwood_os_constants.cpp | 75 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() argument 76 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); in initConstant() 77 env->SetStaticIntField(c, field, value); in initConstant() 83 jclass c = env->FindClass("android/system/OsConstants"); in OsConstants_initConstants() local 84 LOG_ALWAYS_FATAL_IF(c == NULL, "Unable to find class android/system/OsConstants"); in OsConstants_initConstants() 86 initConstant(env, c, "AF_INET", AF_INET); in OsConstants_initConstants() 87 initConstant(env, c, "AF_INET6", AF_INET6); in OsConstants_initConstants() 88 initConstant(env, c, "AF_PACKET", AF_PACKET); in OsConstants_initConstants() 89 initConstant(env, c, "AF_NETLINK", AF_NETLINK); in OsConstants_initConstants() 90 initConstant(env, c, "AF_UNIX", AF_UNIX); in OsConstants_initConstants() [all …]
|
/frameworks/wilhelm/tools/hashgen/ |
D | Makefile | 1 all : IID_to_MPH.c run_test 3 install : IID_to_MPH.c 4 cp IID_to_MPH.c ../../src/autogen 9 %.o : %.c 12 IID_to_MPH.c : part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c 14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@ 18 part2.c : part23in.c 20 grep '#define MAX_HASH_VALUE' part23in.c > $@ 22 part3.c : part23in.c 25 sed -n '/static const unsigned .* asso_values.. =/,/^ };/p' < part23in.c >> $@ [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseCursorTest.java | 110 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testBlob() local 111 c.moveToNext(); in testBlob() 113 DatabaseUtils.cursorRowToContentValues(c, cv); in testBlob() 115 int bCol = c.getColumnIndexOrThrow("b"); in testBlob() 116 int sCol = c.getColumnIndexOrThrow("s"); in testBlob() 117 int dCol = c.getColumnIndexOrThrow("d"); in testBlob() 118 int lCol = c.getColumnIndexOrThrow("l"); in testBlob() 119 byte[] cBlob = c.getBlob(bCol); in testBlob() 121 assertEquals(s, c.getString(sCol)); in testBlob() 122 assertEquals((double)d, c.getDouble(dCol)); in testBlob() [all …]
|
D | DatabaseStatementTest.java | 85 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testExecuteStatement() local 86 assertEquals(0, c.getCount()); in testExecuteStatement() 87 c.deactivate(); in testExecuteStatement() 139 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementLongBinding() local 140 int numCol = c.getColumnIndexOrThrow("num"); in testStatementLongBinding() 141 c.moveToFirst(); in testStatementLongBinding() 143 long num = c.getLong(numCol); in testStatementLongBinding() 145 c.moveToNext(); in testStatementLongBinding() 147 c.close(); in testStatementLongBinding() 161 Cursor c = mDatabase.query("test", null, null, null, null, null, null); in testStatementStringBinding() local [all …]
|
/frameworks/av/media/module/codecs/amrwb/enc/ |
D | Android.bp | 30 "src/autocorr.c", 31 "src/az_isp.c", 32 "src/bits.c", 33 "src/c2t64fx.c", 34 "src/c4t64fx.c", 35 "src/convolve.c", 36 "src/cor_h_x.c", 37 "src/decim54.c", 38 "src/deemph.c", 39 "src/dtx.c", [all …]
|
/frameworks/base/core/java/android/text/ |
D | LoginFilter.java | 60 char c = dest.charAt(i); in filter() local 61 if (!isAllowed(c)) onInvalidCharacter(c); in filter() 69 char c = source.charAt(i); in filter() local 70 if (isAllowed(c)) { in filter() 85 onInvalidCharacter(c); in filter() 92 char c = dest.charAt(i); in filter() local 93 if (!isAllowed(c)) onInvalidCharacter(c); in filter() 114 public void onInvalidCharacter(char c) { in onInvalidCharacter() argument 129 public abstract boolean isAllowed(char c); in isAllowed() argument 150 public boolean isAllowed(char c) { in isAllowed() argument [all …]
|
/frameworks/av/camera/ |
D | Camera.cpp | 52 sp<Camera> c = new Camera(-1); in create() local 53 if (camera->connect(c) == NO_ERROR) { in create() 54 c->mStatus = NO_ERROR; in create() 55 c->mCamera = camera; in create() 56 IInterface::asBinder(camera)->linkToDeath(c); in create() 57 return c; in create() 84 sp <::android::hardware::ICamera> c = mCamera; in reconnect() local 85 if (c == 0) return NO_INIT; in reconnect() 86 return c->connect(this); in reconnect() 91 sp <::android::hardware::ICamera> c = mCamera; in lock() local [all …]
|
/frameworks/av/media/libstagefright/tests/ |
D | VideoRenderQualityTracker_test.cpp | 136 Configuration c = Configuration::getFromServerConfigurableFlags(getServerConfigurableFlagFn); in TEST_F() local 138 EXPECT_EQ(c.enabled, d.enabled); in TEST_F() 139 EXPECT_EQ(c.areSkippedFramesDropped, d.areSkippedFramesDropped); in TEST_F() 140 EXPECT_EQ(c.maxExpectedContentFrameDurationUs, d.maxExpectedContentFrameDurationUs); in TEST_F() 141 EXPECT_EQ(c.frameRateDetectionToleranceUs, d.frameRateDetectionToleranceUs); in TEST_F() 142 EXPECT_EQ(c.liveContentFrameDropToleranceUs, d.liveContentFrameDropToleranceUs); in TEST_F() 143 EXPECT_EQ(c.pauseAudioLatencyUs, d.pauseAudioLatencyUs); in TEST_F() 144 EXPECT_EQ(c.freezeDurationMsHistogramBuckets, d.freezeDurationMsHistogramBuckets); in TEST_F() 145 EXPECT_EQ(c.freezeDurationMsHistogramToScore, d.freezeDurationMsHistogramToScore); in TEST_F() 146 EXPECT_EQ(c.freezeDistanceMsHistogramBuckets, d.freezeDistanceMsHistogramBuckets); in TEST_F() [all …]
|
/frameworks/native/libs/binder/ |
D | Debug.cpp | 49 static inline int isident(int c) in isident() argument 51 return isalnum(c) || c == '_'; in isident() 54 static inline bool isasciitype(char c) in isasciitype() argument 56 if( c >= ' ' && c < 127 && c != '\'' && c != '\\' ) return true; in isasciitype() 74 static char* appendcharornum(char c, char* out, bool skipzero = true) in appendcharornum() argument 76 if (skipzero && c == 0) return out; in appendcharornum() 78 if (isasciitype(c)) { in appendcharornum() 79 *out++ = c; in appendcharornum() 85 *out++ = makehexdigit(c>>4); in appendcharornum() 86 *out++ = makehexdigit(c); in appendcharornum() [all …]
|
/frameworks/base/tools/aapt/ |
D | pseudolocalize.cpp | 48 char16_t c = str[pos]; in text() local 53 if (c == '\'') { in text() 58 if (c == k_arg_start) { in text() 60 } else if (c == k_arg_end && depth) { in text() 94 pseudolocalize_char(const char16_t c) in pseudolocalize_char() argument 96 switch (c) { in pseudolocalize_char() 155 static bool is_possible_normal_placeholder_end(const char16_t c) { in is_possible_normal_placeholder_end() argument 156 switch (c) { in is_possible_normal_placeholder_end() 203 static bool is_space(const char16_t c) { in is_space() argument 204 return (c == ' ' || c == '\t' || c == '\n'); in is_space() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 54 char c = text.charAt(i); in tokenize() local 56 if (c == ',' || c == ';') { in tokenize() 78 } else if (c == '"') { in tokenize() 82 c = text.charAt(i); in tokenize() 84 if (c == '"') { in tokenize() 87 } else if (c == '\\') { in tokenize() 93 name.append(c); in tokenize() 97 } else if (c == '(') { in tokenize() 102 c = text.charAt(i); in tokenize() 104 if (c == ')') { in tokenize() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ATResponseParser.java | 49 char c = mLine.charAt(mTokStart); in nextBoolean() local 51 if (c == '0') return false; in nextBoolean() 52 if (c == '1') return true; in nextBoolean() 67 char c = mLine.charAt(i); in nextInt() local 70 if (c < '0' || c > '9') { in nextInt() 75 ret += c - '0'; in nextInt() 111 char c = mLine.charAt(mNext++); in nextTok() local 114 c = skipWhiteSpace(c); in nextTok() 116 if (c == '"') { in nextTok() 120 c = mLine.charAt(mNext++); in nextTok() [all …]
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | DateUtils.java | 40 Calendar c = Calendar.getInstance(tz); in getKMLTimestamp() local 41 c.setTimeInMillis(when); in getKMLTimestamp() 42 return String.format("%tY-%tm-%tdT%tH:%tM:%tSZ", c, c, c, c, c, c); in getKMLTimestamp() 57 Calendar c = Calendar.getInstance(); in getCurrentTimestamp() local 58 c.setTimeInMillis(System.currentTimeMillis()); in getCurrentTimestamp() 59 return String.format("%tY-%tm-%td-%tH-%tM-%tS", c, c, c, c, c, c); in getCurrentTimestamp()
|
/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 30 int32_t tailoredGraphemeClusterBreak(uint32_t c) { in tailoredGraphemeClusterBreak() argument 33 if (c == 0x00AD // SHY in tailoredGraphemeClusterBreak() 34 || c == 0x061C // ALM in tailoredGraphemeClusterBreak() 35 || c == 0x180E // MONGOLIAN VOWEL SEPARATOR in tailoredGraphemeClusterBreak() 36 || c == 0x200B // ZWSP in tailoredGraphemeClusterBreak() 37 || c == 0x200E // LRM in tailoredGraphemeClusterBreak() 38 || c == 0x200F // RLM in tailoredGraphemeClusterBreak() 39 || (0x202A <= c && c <= 0x202E) // LRE, RLE, PDF, LRO, RLO in tailoredGraphemeClusterBreak() 40 || ((c | 0xF) == 0x206F) // WJ, invisible math operators, LRI, RLI, FSI, PDI, in tailoredGraphemeClusterBreak() 42 || c == 0xFEFF // BOM in tailoredGraphemeClusterBreak() [all …]
|
D | LayoutUtils.cpp | 36 static bool isWordBreakAfter(uint16_t c) { in isWordBreakAfter() argument 37 if (c == ' ' || (0x2000 <= c && c <= 0x200A) || c == 0x3000) { in isWordBreakAfter() 42 if ((0x2066 <= c && c <= 0x2069) || (0x202A <= c && c <= 0x202E) || c == 0x200E || in isWordBreakAfter() 43 c == 0x200F) { in isWordBreakAfter() 50 static bool isWordBreakBefore(uint16_t c) { in isWordBreakBefore() argument 52 return isWordBreakAfter(c) || (0x3400 <= c && c <= 0x9FFF); in isWordBreakBefore()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | sobeloperator.cpp | 51 for (int c = 0; c < 3; c++) { in computeGradient() local 52 *(gxPtr + offset + c) = in computeGradient() 53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + in computeGradient() 54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) + in computeGradient() 55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left); in computeGradient() 56 *(gyPtr + offset + c) = in computeGradient() 57 (*(dataPtr + c + below) - *(dataPtr + c + above)) * 2 + in computeGradient() 58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) + in computeGradient() 59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above); in computeGradient() 85 for (int c = 0; c < 3; c++) { in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local [all …]
|
/frameworks/base/tools/aapt2/compile/ |
D | Pseudolocalizer.cpp | 101 char16_t c = str[pos]; in Text() local 106 if (c == '\'') { in Text() 111 if (c == kArgStart) { in Text() 113 } else if (c == kArgEnd && depth) { in Text() 145 static const char* PseudolocalizeChar(const char c) { in PseudolocalizeChar() argument 146 switch (c) { in PseudolocalizeChar() 260 static bool IsPossibleNormalPlaceholderEnd(const char c) { in IsPossibleNormalPlaceholderEnd() argument 261 switch (c) { in IsPossibleNormalPlaceholderEnd() 366 char c = s[i]; in Text() local 367 if (c == '%') { in Text() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | Duration.java | 58 char c; in parse() local 64 c = str.charAt(0); in parse() 65 if (c == '-') { in parse() 69 else if (c == '+') { in parse() 77 c = str.charAt(index); in parse() 78 if (c != 'P') { in parse() 87 c = str.charAt(index); in parse() 88 if (c == 'T') { in parse() 94 c = str.charAt(index); in parse() 95 if (c >= '0' && c <= '9') { in parse() [all …]
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeRtl.java | 86 TextView c = new TextView(context); in create() local 87 c.setTextSize(32); in create() 88 c.setText("Email setup"); in create() 89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create() 92 TextView c = new TextView(context); in create() local 93 c.setTextSize(16); in create() 94 c.setText("You can configure email in just a few steps:"); in create() 95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create() 98 TextView c = new TextView(context); in create() local 99 c.setText("Email address:"); in create() [all …]
|
D | BiDiTestGridLayoutCodeLtr.java | 86 TextView c = new TextView(context); in create() local 87 c.setTextSize(32); in create() 88 c.setText("Email setup"); in create() 89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create() 92 TextView c = new TextView(context); in create() local 93 c.setTextSize(16); in create() 94 c.setText("You can configure email in just a few steps:"); in create() 95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create() 98 TextView c = new TextView(context); in create() local 99 c.setText("Email address:"); in create() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Emoji.h | 22 bool isEmoji(uint32_t c); 25 bool isEmojiBase(uint32_t c); 28 bool isEmojiModifier(uint32_t c); 30 inline bool isRegionalIndicator(uint32_t c) { in isRegionalIndicator() argument 31 return 0x1F1E6 <= c && c <= 0x1F1FF; in isRegionalIndicator() 34 inline bool isKeyCap(uint32_t c) { in isKeyCap() argument 35 return c == 0x20E3; in isKeyCap() 38 inline bool isTagChar(uint32_t c) { in isTagChar() argument 39 return 0xE0000 <= c && c <= 0xE007F; in isTagChar() 43 UCharDirection emojiBidiOverride(const void* context, UChar32 c);
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Utils.java | 55 String[] c = arg.split(","); in getScopedTarget() local 56 if (c.length == 3) { in getScopedTarget() 57 return new LockTarget(c[0], c[1], c[2], true); in getScopedTarget() 58 } else if (c.length == 4) { in getScopedTarget() 59 if (c[3].equals("true")) { in getScopedTarget() 60 return new LockTarget(c[0], c[1], c[2], true); in getScopedTarget() 61 } else if (c[3].equals("false")) { in getScopedTarget() 62 return new LockTarget(c[0], c[1], c[2], false); in getScopedTarget() 64 System.err.println("illegal target parameter \"" + c[3] + "\""); in getScopedTarget()
|
/frameworks/base/tools/streaming_proto/ |
D | string_utils.cpp | 18 char c = str[i]; in to_camel_case() local 19 if (c == '_') { in to_camel_case() 22 if (capitalize_next && c >= 'a' && c <= 'z') { in to_camel_case() 23 c = 'A' + c - 'a'; in to_camel_case() 25 } else if (c >= 'A' && c <= 'Z') { in to_camel_case() 27 } else if (c >= '0' && c <= '9') { in to_camel_case() 33 result += c; in to_camel_case() 46 char c = str[i]; in make_constant_name() local 47 if (c >= 'A' && c <= 'Z') { in make_constant_name() 52 } else if (c >= 'a' && c <= 'z') { in make_constant_name() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SearchRecentSuggestionsProviderTest.java | 166 Cursor c = getQueryCursor(null); in testReordering() local 167 int colQuery = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_QUERY); in testReordering() 168 int colDisplay1 = c.getColumnIndexOrThrow(SearchManager.SUGGEST_COLUMN_TEXT_1); in testReordering() 169 int colDisplay2 = c.getColumnIndex(SearchManager.SUGGEST_COLUMN_TEXT_2); in testReordering() 172 c.moveToPosition(0); in testReordering() 174 checkRow(c, colQuery, colDisplay1, colDisplay2, GROUP_3_QUERY, GROUP_3_LINE2)); in testReordering() 175 c.move(GROUP_3_COUNT - 1); in testReordering() 177 checkRow(c, colQuery, colDisplay1, colDisplay2, GROUP_3_QUERY, GROUP_3_LINE2)); in testReordering() 180 c.move(1); in testReordering() 182 checkRow(c, colQuery, colDisplay1, colDisplay2, GROUP_2_QUERY, GROUP_2_LINE2)); in testReordering() [all …]
|
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/ |
D | valid-cert.pem | 69 40:f7:10:c4:94:1b:63:37:14:40:5e:c2:6c:f6:13: 72 a0:6d:43:eb:e3:7c:7c:5f:51:f1:ac:13:98:0b:1b: 73 36:0e:b7:54:89:f1:e8:8c:1c:05:99:e3:16:5b:08: 76 85:88:51:5c:ca:7b:3b:02:ff:7a:9c:73:84:15:c5: 82 fa:79:0b:7c:5c:bf:a0:5d:8b:41:16:2f:28:71:7e: 84 de:2d:82:7b:f6:fb:c1:98:e2:b4:ba:85:00:8d:6c: 86 50:21:76:9c:1e:cf:6b:c9:27:bb:89:01:0c:69:33: 87 d9:0e:35:8c:02:f4:5b:fa:ad:8f:8d:d5:c0:90:d6: 88 d1:8f:7c:3a:ea:90:88:2a:89:ad:3a:c6:76:fe:db: 91 9a:f1:85:1c:90:fe:ea:79:de:0d:1e:0f:52:49:98: [all …]
|