Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 517) sorted by relevance

12345678910>>...21

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h25 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 …]
Dvlc_encode.cpp142 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 …]
Dvlc_encode.h24 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/
DPermissionInfo.java443 public static int fixProtectionLevel(int level) { in fixProtectionLevel() argument
444 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { in fixProtectionLevel()
445 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_PRIVILEGED; in fixProtectionLevel()
447 if ((level & PROTECTION_FLAG_VENDOR_PRIVILEGED) != 0 in fixProtectionLevel()
448 && (level & PROTECTION_FLAG_PRIVILEGED) == 0) { in fixProtectionLevel()
451 level = level & ~PROTECTION_FLAG_VENDOR_PRIVILEGED; in fixProtectionLevel()
453 return level; in fixProtectionLevel()
458 public static @NonNull String protectionToString(int level) { in protectionToString() argument
460 switch (level & PROTECTION_MASK_BASE) { in protectionToString()
474 if ((level & PermissionInfo.PROTECTION_FLAG_PRIVILEGED) != 0) { in protectionToString()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp874 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/base/core/java/android/text/
DAndroidBidi.java86 int level = levels[i]; in directions() local
87 if (level != curLevel) { in directions()
88 curLevel = level; in directions()
134 int level = levels[i]; in directions() local
135 if (level != curLevel) { in directions()
136 curLevel = level; in directions()
137 if (level > maxLevel) { in directions()
138 maxLevel = level; in directions()
139 } else if (level < minLevel) { in directions()
140 minLevel = level; in directions()
[all …]
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DRadioChainInfo.java43 public int level; field in RadioChainInfo
61 return level; in getLevelDbm()
67 public RadioChainInfo(int chainId, int level) { in RadioChainInfo() argument
69 this.level = level; in RadioChainInfo()
83 return chainId == chainInfo.chainId && level == chainInfo.level; in equals()
89 return Objects.hash(chainId, level); in hashCode()
106 out.writeInt(level); in writeToParcel()
/frameworks/base/opengl/java/android/opengl/
DGLUtils.java98 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument
106 if (native_texImage2D(target, level, internalformat, bitmap, -1, border) != 0) { in texImage2D()
124 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument
132 if (native_texImage2D(target, level, internalformat, bitmap, type, border) != 0) { in texImage2D()
146 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() argument
154 if (native_texImage2D(target, level, -1, bitmap, -1, border) != 0) { in texImage2D()
181 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument
190 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, -1, type) != 0) { in texSubImage2D()
206 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument
214 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type) != 0) { in texSubImage2D()
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureHelper.java67 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/av/media/libstagefright/codecs/amrwbenc/src/
Dwb_vad.c150 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/native/services/powermanager/
DIThermalManagerTest.cpp40 void setThermalOverride(int level);
58 void IThermalServiceTest::setThermalOverride(int level) { in setThermalOverride() argument
59 std::string cmdStr = "cmd thermalservice override-status " + std::to_string(level); in setThermalOverride()
113 int level = GetParam(); in TEST_P() local
116 setThermalOverride(level); in TEST_P()
120 EXPECT_EQ(level, mListenerStatus); in TEST_P()
121 ALOGI("Thermal listener status %d, expecting %d", mListenerStatus, level); in TEST_P()
137 int level = GetParam(); in TEST_P() local
138 setThermalOverride(level); in TEST_P()
140 EXPECT_EQ(level, mServiceStatus); in TEST_P()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java48 public final int level; field in BatteryStatus
53 public BatteryStatus(int status, int level, int plugged, int health, in BatteryStatus() argument
56 this.level = level; in BatteryStatus()
65 level = batteryChangedIntent.getIntExtra(EXTRA_LEVEL, 0); in BatteryStatus()
114 return status == BATTERY_STATUS_FULL || level >= 100; in isCharged()
123 return level < LOW_BATTERY_THRESHOLD; in isBatteryLow()
144 return "BatteryStatus{status=" + status + ",level=" + level + ",plugged=" + plugged in toString()
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java158 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/opt/net/wifi/service/java/com/android/server/wifi/util/
DRssiUtil.java31 for (int level = 0; level < thresholds.length; level++) { in calculateSignalLevel()
32 if (rssi < thresholds[level]) { in calculateSignalLevel()
33 return level; in calculateSignalLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DLogBuffer.kt114 level: LogLevel, in log()
119 val message = obtain(tag, level, printer) in log()
132 level: LogLevel, in document()
136 val message = obtain(tag, level, printer) in document()
150 level: LogLevel, in obtain()
158 message.reset(tag, level, System.currentTimeMillis(), printer) in obtain()
175 if (logcatEchoTracker.isBufferLoggable(name, message.level) || in push()
176 logcatEchoTracker.isTagLoggable(message.tag, message.level)) { in push()
220 pw.print(message.level) in dumpMessage()
229 when (message.level) { in echoToLogcat()
DLogcatEchoTrackerProd.kt23 override fun isBufferLoggable(bufferName: String, level: LogLevel): Boolean { in isBufferLoggable()
24 return level >= LogLevel.WARNING in isBufferLoggable()
27 override fun isTagLoggable(tagName: String, level: LogLevel): Boolean { in isTagLoggable()
28 return level >= LogLevel.WARNING in isTagLoggable()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java126 int level = getAndroidLevel(record.getLevel()); in publish() local
128 if (!Log.isLoggable(tag, level)) { in publish()
134 Log.println(level, tag, message); in publish()
140 public void publish(Logger source, String tag, Level level, String message) { in publish() argument
142 int priority = getAndroidLevel(level); in publish()
161 static int getAndroidLevel(Level level) { in getAndroidLevel() argument
162 int value = level.intValue(); in getAndroidLevel()
/frameworks/base/tools/aapt/
DSourcePos.cpp22 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/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java157 public Bitmap getTile(int level, int x, int y, Bitmap reuse); in getTile() argument
308 int level = tile.mTileLevel; in layoutTiles() local
309 if (level < fromLevel || level >= endLevel in layoutTiles()
310 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
346 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument
347 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange()
357 int cX, int cY, int level, float scale, int rotation) { in getRange() argument
376 int size = mTileSize << level; in getRange()
417 int level = mLevel; in draw() local
434 if (level != mLevelCount) { in draw()
[all …]
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java237 final int level = getNextRescueLevel(); in incrementRescueLevel() local
238 SystemProperties.set(PROP_RESCUE_LEVEL, Integer.toString(level)); in incrementRescueLevel()
240 EventLogTags.writeRescueLevel(level, triggerUid); in incrementRescueLevel()
242 + levelToString(level) + " triggered by UID " + triggerUid); in incrementRescueLevel()
246 final int level = SystemProperties.getInt(PROP_RESCUE_LEVEL, LEVEL_NONE); in executeRescueLevel() local
247 if (level == LEVEL_NONE) return; in executeRescueLevel()
249 Slog.w(TAG, "Attempting rescue level " + levelToString(level)); in executeRescueLevel()
251 executeRescueLevelInternal(context, level, failedPackage); in executeRescueLevel()
252 EventLogTags.writeRescueSuccess(level); in executeRescueLevel()
254 "Finished rescue level " + levelToString(level)); in executeRescueLevel()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java117 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 …]
DWifiEntryPreference.java138 final int level = mWifiEntry.getLevel(); in refresh() local
139 if (level != mLevel) { in refresh()
140 mLevel = level; in refresh()
187 private void updateIcon(int level) { in updateIcon() argument
188 if (level == -1) { in updateIcon()
193 final Drawable drawable = mIconInjector.getIcon(level); in updateIcon()
244 int level = mWifiEntry.getLevel(); in buildContentDescription() local
245 if (level >= 0 && level < WIFI_CONNECTION_STRENGTH.length) { in buildContentDescription()
247 context.getString(WIFI_CONNECTION_STRENGTH[level])); in buildContentDescription()
263 public Drawable getIcon(int level) { in getIcon() argument
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java262 public int level; field in ScanResult
403 public int level; field in ScanResult.RadioChainInfo
407 return "RadioChainInfo: id=" + id + ", level=" + level; in toString()
419 return id == other.id && level == other.level; in equals()
424 return Objects.hash(id, level); in hashCode()
832 byte[] osuProviders, String caps, int level, int frequency, long tsf) { in ScanResult() argument
845 this.level = level; in ScanResult()
859 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
865 this.level = level; in ScanResult()
880 int level, int frequency, in ScanResult() argument
[all …]
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DViewerConfigParser.kt24 val level: String, in <lambda>() constant in com.android.protolog.tool.ViewerConfigParser.MessageEntry
31 var level: String? = null in <lambda>() variable
36 "level" -> level = jsonReader.nextString() in <lambda>()
42 if (message.isNullOrBlank() || level.isNullOrBlank() || groupName.isNullOrBlank()) { in <lambda>()
45 return MessageEntry(message, level, groupName) in <lambda>()
90 data class ConfigEntry(val messageString: String, val level: String, val tag: String) in <lambda>() constant in com.android.protolog.tool.ViewerConfigParser.ConfigEntry
117 msg.value.messageString, msg.value.level, groups[msg.value.groupName]?.tag in <lambda>()
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java98 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()

12345678910>>...21