/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode_inline.h | 25 Int idx, run, level, j; in zero_run_search() local 48 level = dataBlock[j]; in zero_run_search() 51 if (level < 0) in zero_run_search() 53 RLB->level[idx] = -level; in zero_run_search() 61 RLB->level[idx] = level; in zero_run_search() 85 level = dataBlock[j]; in zero_run_search() 88 if (level < 0) in zero_run_search() 90 RLB->level[idx] = -level; in zero_run_search() 98 RLB->level[idx] = level; in zero_run_search() 116 Int idx, run, level, j; in zero_run_search() local [all …]
|
D | vlc_encode.cpp | 142 Int PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream); 143 Int PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream); 144 Int PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream); 145 Int PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream); 154 Int PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream); 155 Int PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream); 156 Int PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream); 157 Int PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream); 159 Int PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream); 160 Int PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream); [all …]
|
D | vlc_encode.h | 24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 34 Int PutCoeff_Intra_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 35 Int PutRunCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 36 Int PutRunCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 37 Int PutLevelCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 38 Int PutLevelCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
|
/frameworks/base/core/java/android/content/pm/ |
D | PermissionInfo.java | 431 public static int fixProtectionLevel(int level) { in fixProtectionLevel() argument 432 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { in fixProtectionLevel() 433 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_PRIVILEGED; in fixProtectionLevel() 435 if ((level & PROTECTION_FLAG_VENDOR_PRIVILEGED) != 0 in fixProtectionLevel() 436 && (level & PROTECTION_FLAG_PRIVILEGED) == 0) { in fixProtectionLevel() 439 level = level & ~PROTECTION_FLAG_VENDOR_PRIVILEGED; in fixProtectionLevel() 441 return level; in fixProtectionLevel() 446 public static @NonNull String protectionToString(int level) { in protectionToString() argument 448 switch (level & PROTECTION_MASK_BASE) { in protectionToString() 462 if ((level & PermissionInfo.PROTECTION_FLAG_PRIVILEGED) != 0) { in protectionToString() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_decode.cpp | 874 pTcoef->level = (int) tab->level; //tab->val & 255; in VlcDecTCOEFIntra() 879 if (tab->level != 0xFF) in VlcDecTCOEFIntra() 921 pTcoef->level = (int)tab->level; //tab->val & 255; in VlcDecTCOEFIntra() 930 pTcoef->level = pTcoef->level + intra_max_level[pTcoef->last][pTcoef->run]; in VlcDecTCOEFIntra() 973 pTcoef->level = (int)tab->level; //tab->val & 255; in VlcDecTCOEFIntra() 981 if (pTcoef->level > 8) in VlcDecTCOEFIntra() 985 pTcoef->run = pTcoef->run + intra_max_run1[pTcoef->level] + 1; in VlcDecTCOEFIntra() 989 if (pTcoef->level > 27) in VlcDecTCOEFIntra() 993 pTcoef->run = pTcoef->run + intra_max_run0[pTcoef->level] + 1; in VlcDecTCOEFIntra() 1004 pTcoef->level = (int)(BitstreamReadBits16_INLINE(stream, 13) >> 1); in VlcDecTCOEFIntra() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
D | RadioChainInfo.java | 33 public int level; field in RadioChainInfo 39 public RadioChainInfo(int chainId, int level) { in RadioChainInfo() argument 41 this.level = level; in RadioChainInfo() 55 return chainId == chainInfo.chainId && level == chainInfo.level; in equals() 61 return Objects.hash(chainId, level); in hashCode() 78 out.writeInt(level); in writeToParcel() 91 result.level = in.readInt();
|
/frameworks/base/core/java/android/text/ |
D | AndroidBidi.java | 117 int level = levels[i]; in directions() local 118 if (level != curLevel) { in directions() 119 curLevel = level; in directions() 165 int level = levels[i]; in directions() local 166 if (level != curLevel) { in directions() 167 curLevel = level; in directions() 168 if (level > maxLevel) { in directions() 169 maxLevel = level; in directions() 170 } else if (level < minLevel) { in directions() 171 minLevel = level; in directions() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLUtils.java | 98 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument 106 if (native_texImage2D(target, level, internalformat, bitmap.getNativeInstance(), -1, in texImage2D() 125 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument 133 if (native_texImage2D(target, level, internalformat, bitmap.getNativeInstance(), type, in texImage2D() 148 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() argument 156 if (native_texImage2D(target, level, -1, bitmap.getNativeInstance(), -1, border) != 0) { in texImage2D() 183 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument 192 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap.getNativeInstance(), -1, in texSubImage2D() 209 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument 217 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap.getNativeInstance(), in texSubImage2D() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | wb_vad.c | 150 Word16 level; in level_calculation() local 165 level = extract_h(L_shl2(l_temp2, scale)); in level_calculation() 167 return level; in level_calculation() 181 Word16 level[] /* o : signal levels at each band */ in filter_bank() argument 225 level[11] = level_calculation(tmp_buf, &st->sub_level[11], 16, 64, 4, 1, 14); in filter_bank() 227 level[10] = level_calculation(tmp_buf, &st->sub_level[10], 8, 32, 8, 7, 15); in filter_bank() 229 level[9] = level_calculation(tmp_buf, &st->sub_level[9],8, 32, 8, 3, 15); in filter_bank() 231 level[8] = level_calculation(tmp_buf, &st->sub_level[8],8, 32, 8, 2, 15); in filter_bank() 233 level[7] = level_calculation(tmp_buf, &st->sub_level[7],4, 16, 16, 14, 16); in filter_bank() 235 level[6] = level_calculation(tmp_buf, &st->sub_level[6],4, 16, 16, 6, 16); in filter_bank() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureHelper.java | 67 final int level = DeviceConfig.getInt(DeviceConfig.NAMESPACE_CONTENT_CAPTURE, in setLoggingLevel() local 69 setLoggingLevel(level); in setLoggingLevel() 75 public static void setLoggingLevel(@LoggingLevel int level) { in setLoggingLevel() argument 76 Log.i(TAG, "Setting logging level to " + getLoggingLevelAsString(level)); in setLoggingLevel() 78 switch (level) { in setLoggingLevel() 89 Log.w(TAG, "setLoggingLevel(): invalud level: " + level); in setLoggingLevel() 96 public static String getLoggingLevelAsString(@LoggingLevel int level) { in getLoggingLevelAsString() argument 97 switch (level) { in getLoggingLevelAsString() 105 return "UNKNOWN-" + level; in getLoggingLevelAsString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 198 final int level = MathUtils.constrain( in incrementRescueLevel() local 201 SystemProperties.set(PROP_RESCUE_LEVEL, Integer.toString(level)); in incrementRescueLevel() 203 EventLogTags.writeRescueLevel(level, triggerUid); in incrementRescueLevel() 205 + levelToString(level) + " triggered by UID " + triggerUid); in incrementRescueLevel() 209 final int level = SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE); in executeRescueLevel() local 210 if (level == LEVEL_NONE) return; in executeRescueLevel() 212 Slog.w(TAG, "Attempting rescue level " + levelToString(level)); in executeRescueLevel() 214 executeRescueLevelInternal(context, level); in executeRescueLevel() 215 EventLogTags.writeRescueSuccess(level); in executeRescueLevel() 217 "Finished rescue level " + levelToString(level)); in executeRescueLevel() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | TraceTest.java | 158 private int dMethod(int level) { in dMethod() argument 160 if (level > 0) { in dMethod() 161 count = dMethod(level - 1); in dMethod() 166 if (level == 0) { in dMethod() 169 return dMethod(level - 1); in dMethod() 188 public int gMethod(int level) { in gMethod() argument 190 int count = level; in gMethod() 191 if (level > 1) in gMethod() 192 count += gMethod(level - 1); in gMethod()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 158 public Bitmap getTile(int level, int x, int y, Bitmap reuse); in getTile() argument 311 int level = tile.mTileLevel; in layoutTiles() local 312 if (level < fromLevel || level >= endLevel in layoutTiles() 313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument 350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange() 360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument 379 int size = mTileSize << level; in getRange() 420 int level = mLevel; in draw() local 437 if (level != mLevelCount) { in draw() [all …]
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 22 Level level; member 26 ErrorPos(const String8& file, int line, const String8& error, Level level); 35 :line(-1), level(NOTE) in ErrorPos() 43 level(that.level) in ErrorPos() 51 level(lev) in ErrorPos() 61 this->level = rhs.level; in operator =() 69 switch (level) { in print()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ScanResult.java | 201 public int level; field in ScanResult 278 public int level; field in ScanResult.RadioChainInfo 282 return "RadioChainInfo: id=" + id + ", level=" + level; in toString() 294 return id == other.id && level == other.level; in equals() 299 return Objects.hash(id, level); in hashCode() 563 byte[] osuProviders, String caps, int level, int frequency, long tsf) { in ScanResult() argument 576 this.level = level; in ScanResult() 592 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument 598 this.level = level; in ScanResult() 615 int level, int frequency, in ScanResult() argument [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPointPreference.java | 117 int level, IconInjector iconInjector) { in AccessPointPreference() argument 125 mLevel = level; in AccessPointPreference() 177 protected void updateIcon(int level, Context context) { in updateIcon() argument 178 if (level == -1) { in updateIcon() 184 Drawable drawable = mIconInjector.getIcon(level); in updateIcon() 237 int level = mAccessPoint.getLevel(); in refresh() local 239 if (level != mLevel || wifiSpeed != mWifiSpeed) { in refresh() 240 mLevel = level; in refresh() 279 int level = ap.getLevel(); in buildContentDescription() local 280 if (level >= 0 && level < WIFI_CONNECTION_STRENGTH.length) { in buildContentDescription() [all …]
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | AndroidHandler.java | 147 int level = getAndroidLevel(record.getLevel()); in publish() local 149 if (!Log.isLoggable(tag, level)) { in publish() 155 Log.println(level, tag, message); in publish() 161 public void publish(Logger source, String tag, Level level, String message) { in publish() argument 163 int priority = getAndroidLevel(level); in publish() 182 static int getAndroidLevel(Level level) { in getAndroidLevel() argument 183 int value = level.intValue(); in getAndroidLevel()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | ScanResultTest.java | 91 writeScanResult.radioChainInfos[0].level = -45; in verifyScanResultParcelWithRadioChainInfo() 94 writeScanResult.radioChainInfos[1].level = -54; in verifyScanResultParcelWithRadioChainInfo() 118 scanResult.radioChainInfos[0].level = -45; in verifyScanResultCopyWithRadioChainInfo() 121 scanResult.radioChainInfos[1].level = -54; in verifyScanResultCopyWithRadioChainInfo() 149 scanResult.radioChainInfos[0].level = -45; in verifyScanResultToStringWithRadioChainInfo() 152 scanResult.radioChainInfos[1].level = -54; in verifyScanResultToStringWithRadioChainInfo() 177 result.level = TEST_LEVEL; in createScanResult() 187 assertEquals(expected.level, actual.level); in assertScanResultEquals()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | vad1.cpp | 521 Word16 level; in level_calculation() local 538 level = extract_h(L_shl(l_temp2, scale, pOverflow)); in level_calculation() 540 return level; in level_calculation() 616 Word16 level[], /* 0 : signal levels at each band */ in filter_bank() argument 648 level[8] = level_calculation(tmp_buf, &st->sub_level[8], FRAME_LEN / 4 - 8, in filter_bank() 651 level[7] = level_calculation(tmp_buf, &st->sub_level[7], FRAME_LEN / 8 - 4, in filter_bank() 654 level[6] = level_calculation(tmp_buf, &st->sub_level[6], FRAME_LEN / 8 - 4, in filter_bank() 657 level[5] = level_calculation(tmp_buf, &st->sub_level[5], FRAME_LEN / 8 - 4, in filter_bank() 660 level[4] = level_calculation(tmp_buf, &st->sub_level[4], FRAME_LEN / 8 - 4, in filter_bank() 663 level[3] = level_calculation(tmp_buf, &st->sub_level[3], FRAME_LEN / 16 - 2, in filter_bank() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 98 int level = 1; in tokenize() local 101 while (i < cursor && level > 0) { in tokenize() 105 if (level > 1) { in tokenize() 109 level--; in tokenize() 113 level++; in tokenize() 266 int level = 1; in findTokenEnd() local 269 while (i < len && level > 0) { in findTokenEnd() 273 level--; in findTokenEnd() 276 level++; in findTokenEnd()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 57 long level = strtol(current, &end, 10); in GetLevelFromSettingsString() local 82 def = level; in GetLevelFromSettingsString() 100 long level = GetLevelFromProperty(name, propertyName, (long)def); in GetDebugLevelFromProperty() local 101 return (Level)min(max(level, (long)kDebugNone), (long)kDebugMax); in GetDebugLevelFromProperty() 132 long level = GetLevelFromProperty(name, "debug.stagefright.experiments", undefined); in getExperimentFlag() local 133 if (level != undefined) { in getExperimentFlag() 134 ALOGI("experiment '%s': %s from property", name, level ? "ENABLED" : "disabled"); in getExperimentFlag() 135 return allow && (level != 0); in getExperimentFlag()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthCdma.java | 196 int level = (cdmaAsuLevel < ecioAsuLevel) ? cdmaAsuLevel : ecioAsuLevel; local 197 if (DBG) log("getAsuLevel=" + level); 198 return level; 225 int level = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getCdmaLevel() local 226 if (DBG) log("getCdmaLevel=" + level); in getCdmaLevel() 227 return level; in getCdmaLevel() 253 int level = (levelEvdoDbm < levelEvdoSnr) ? levelEvdoDbm : levelEvdoSnr; in getEvdoLevel() local 254 if (DBG) log("getEvdoLevel=" + level); in getEvdoLevel() 255 return level; in getEvdoLevel() 310 int level = (levelEvdoDbm < levelEvdoSnr) ? levelEvdoDbm : levelEvdoSnr; in getEvdoAsuLevel() local [all …]
|
D | CellSignalStrengthLte.java | 283 int level = updateLevelWithMeasure(rsrp, rsrpThresholds); in updateLevel() local 284 if (DBG) log("updateLevel() - rsrp = " + level); in updateLevel() 285 if (level != SignalStrength.INVALID) { in updateLevel() 286 mLevel = level; in updateLevel() 344 int level; in updateLevelWithMeasure() local 346 level = SignalStrength.INVALID; in updateLevelWithMeasure() 348 level = SIGNAL_STRENGTH_GREAT; in updateLevelWithMeasure() 350 level = SIGNAL_STRENGTH_GOOD; in updateLevelWithMeasure() 352 level = SIGNAL_STRENGTH_MODERATE; in updateLevelWithMeasure() 354 level = SIGNAL_STRENGTH_POOR; in updateLevelWithMeasure() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
D | ReportCanvas.java | 51 public abstract void openHeader(int level); in openHeader() argument 57 public abstract void closeHeader(int level); in closeHeader() argument 64 public void writeHeader(int level, String text) { in writeHeader() argument 65 openHeader(level); in writeHeader() 67 closeHeader(level); in writeHeader()
|
/frameworks/base/tools/aapt2/ |
D | Diagnostics.h | 73 virtual void Log(Level level, DiagMessageActual& actualMsg) = 0; 95 void Log(Level level, DiagMessageActual& actual_msg) override { in Log() argument 98 switch (level) { in Log() 133 void Log(Level level, DiagMessageActual& actual_msg) override { in Log() argument 135 diag_->Log(level, actual_msg); in Log() 136 if (level == Level::Error) { in Log()
|