Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/av/media/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.java488 public static int fixProtectionLevel(int level) { in fixProtectionLevel() argument
489 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { in fixProtectionLevel()
490 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_PRIVILEGED; in fixProtectionLevel()
492 if ((level & PROTECTION_FLAG_VENDOR_PRIVILEGED) != 0 in fixProtectionLevel()
493 && (level & PROTECTION_FLAG_PRIVILEGED) == 0) { in fixProtectionLevel()
496 level = level & ~PROTECTION_FLAG_VENDOR_PRIVILEGED; in fixProtectionLevel()
498 return level; in fixProtectionLevel()
503 public static @NonNull String protectionToString(int level) { in protectionToString() argument
505 switch (level & PROTECTION_MASK_BASE) { in protectionToString()
525 if ((level & PermissionInfo.PROTECTION_FLAG_PRIVILEGED) != 0) { in protectionToString()
[all …]
/frameworks/av/media/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/services/core/java/com/android/server/display/color/
DColorDisplayShellCommand.java60 final int level = getLevel(); in setSaturation() local
61 if (level == ERROR) { in setSaturation()
64 mService.setSaturationLevelInternal(level); in setSaturation()
69 final int level = getLevel(); in setLayerSaturation() local
70 if (level == ERROR) { in setLayerSaturation()
83 mService.setAppSaturationLevelInternal(callerPackageName, targetPackageName, level); in setLayerSaturation()
100 final int level; in getLevel() local
102 level = Integer.parseInt(levelArg); in getLevel()
107 if (level < 0 || level > 100) { in getLevel()
112 return level; in getLevel()
/frameworks/native/libs/binder/
DStability.cpp33 Stability::Category Stability::Category::currentFromLevel(Level level) { in currentFromLevel() argument
37 .level = level, in currentFromLevel()
41 void Stability::forceDowngradeToStability(const sp<IBinder>& binder, Level level) { in forceDowngradeToStability() argument
48 auto stability = Category::currentFromLevel(level); in forceDowngradeToStability()
66 return levelString(level) + " wire protocol version " in debugString()
135 if (setting.level == UNDECLARED) {
140 levelString(setting.level).c_str());
146 if (!isDeclaredLevel(setting.level)) {
148 ALOGE("Can only set known stability, not %u.", setting.level);
156 bool isAllowedDowngrade = allowDowngrade && check(current, setting.level);
[all …]
/frameworks/base/core/java/android/text/
DAndroidBidi.java87 int level = levels[i]; in directions() local
88 if (level != curLevel) { in directions()
89 curLevel = level; in directions()
135 int level = levels[i]; in directions() local
136 if (level != curLevel) { in directions()
137 curLevel = level; in directions()
138 if (level > maxLevel) { in directions()
139 maxLevel = level; in directions()
140 } else if (level < minLevel) { in directions()
141 minLevel = level; in directions()
[all …]
/frameworks/base/wifi/java/src/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/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java150 int level = loggingLevel(); in reportPlaybackMetrics() local
151 if (level == LOGGING_LEVEL_BLOCKED) { in reportPlaybackMetrics()
156 .writeInt(level == LOGGING_LEVEL_EVERYTHING ? Binder.getCallingUid() : 0) in reportPlaybackMetrics()
183 int level = loggingLevel(); in reportPlaybackStateEvent() local
184 if (level == LOGGING_LEVEL_BLOCKED) { in reportPlaybackStateEvent()
218 int level = loggingLevel(); in reportPlaybackErrorEvent() local
219 if (level == LOGGING_LEVEL_BLOCKED) { in reportPlaybackErrorEvent()
236 int level = loggingLevel(); in reportNetworkEvent() local
237 if (level == LOGGING_LEVEL_BLOCKED) { in reportNetworkEvent()
253 int level = loggingLevel(); in reportTrackChangeEvent() local
[all …]
/frameworks/av/media/codecs/amrwb/enc/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/tests/
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()
115 int level = GetParam(); in TEST_P() local
119 setThermalOverride(level); in TEST_P()
123 EXPECT_EQ(level, mListenerStatus); in TEST_P()
124 ALOGI("Thermal listener status %d, expecting %d", mListenerStatus, level); in TEST_P()
140 int level = GetParam(); in TEST_P() local
141 setThermalOverride(level); in TEST_P()
143 EXPECT_EQ(level, mServiceStatus); in TEST_P()
/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/base/packages/SystemUI/src/com/android/systemui/log/
DLogBuffer.kt109 level: LogLevel, in log()
114 val message = obtain(tag, level, printer) in log()
127 level: LogLevel, in document()
131 val message = obtain(tag, level, printer) in document()
145 level: LogLevel, in obtain()
153 message.reset(tag, level, System.currentTimeMillis(), printer) in obtain()
170 if (logcatEchoTracker.isBufferLoggable(name, message.level) || in push()
171 logcatEchoTracker.isTagLoggable(message.tag, message.level)) { in push()
215 pw.print(message.level.shortString) in dumpMessage()
224 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/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DBatteryStatus.java50 public final int level; field in BatteryStatus
56 public BatteryStatus(int status, int level, int plugged, int health, in BatteryStatus() argument
59 this.level = level; in BatteryStatus()
69 level = batteryChangedIntent.getIntExtra(EXTRA_LEVEL, 0); in BatteryStatus()
119 return status == BATTERY_STATUS_FULL || level >= 100; in isCharged()
128 return level < LOW_BATTERY_THRESHOLD; in isBatteryLow()
158 return "BatteryStatus{status=" + status + ",level=" + level + ",plugged=" + plugged in toString()
/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/core/java/com/android/internal/logging/
DAndroidHandler.java147 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/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 …]
DWifiUtils.java153 if (result.level > maxRssi5) { in getVisibilityStatus()
154 maxRssi5 = result.level; in getVisibilityStatus()
166 if (result.level > maxRssi24) { in getVisibilityStatus()
167 maxRssi24 = result.level; in getVisibilityStatus()
179 if (result.level > maxRssi60) { in getVisibilityStatus()
180 maxRssi60 = result.level; in getVisibilityStatus()
230 stringBuilder.append(",").append(result.level); in verboseScanResultSummary()
251 return timedScore.getScore().calculateBadge(result.level); in getSpecificApSpeed()
271 public static int getInternetIconResource(int level, boolean noInternet) { in getInternetIconResource() argument
272 if (level < 0 || level >= WIFI_PIE.length) { in getInternetIconResource()
[all …]
/frameworks/av/media/libmediatranscoding/transcoder/
Dsetloglevel.sh26 level=$1
27 echo Setting transcoder log level to $level
32 adb shell setprop log.tag.${tag} $level
/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>()

12345678910>>...21