Home
last modified time | relevance | path

Searched refs:shl (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionFlags.kt60 const val INSTALL_GRANTED = 1 shl 0
69 const val INSTALL_REVOKED = 1 shl 1
81 const val PROTECTION_GRANTED = 1 shl 2
88 const val ROLE = 1 shl 3
94 const val RUNTIME_GRANTED = 1 shl 4
104 const val USER_SET = 1 shl 5
114 const val USER_FIXED = 1 shl 6
122 const val POLICY_FIXED = 1 shl 7
132 const val SYSTEM_FIXED = 1 shl 8
142 const val PREGRANT = 1 shl 9
[all …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DNetworkCapabilitiesUtilsTest.kt106 assertEquals((1 shl NET_CAPABILITY_EIMS).toLong() and RESTRICTED_CAPABILITIES, in testRestrictedUnrestrictedCapabilities()
107 (1 shl NET_CAPABILITY_EIMS).toLong()) in testRestrictedUnrestrictedCapabilities()
110 assertEquals((1 shl NET_CAPABILITY_CBS).toLong() and RESTRICTED_CAPABILITIES, in testRestrictedUnrestrictedCapabilities()
111 (1 shl NET_CAPABILITY_CBS).toLong()) in testRestrictedUnrestrictedCapabilities()
116 assertEquals((1L shl NET_CAPABILITY_BIP) and RESTRICTED_CAPABILITIES, in testRestrictedUnrestrictedCapabilities()
117 (1L shl NET_CAPABILITY_BIP)) in testRestrictedUnrestrictedCapabilities()
120 assertEquals((1 shl NET_CAPABILITY_INTERNET).toLong() and RESTRICTED_CAPABILITIES, 0) in testRestrictedUnrestrictedCapabilities()
DBitUtilsTests.kt53 (0b11110000_00000000_00000000_00000000 shl 32) + in <lambda>()
78 fun makeField(vararg i: Int) = i.sumOf { 1L shl it } in <lambda>()
/frameworks/av/media/module/codecs/amrnb/dec/src/
Dd_plsf_5.cpp388 shl( in D_plsf_5()
401 shl( in D_plsf_5()
425 shl( in D_plsf_5()
448 shl( in D_plsf_5()
461 shl( in D_plsf_5()
Dd8_31pf.cpp217 shl( in decompress10()
236 shl( in decompress10()
254 shl( in decompress10()
464 shl( in decompress_code()
484 shl( in decompress_code()
Dc_g_aver.cpp519 tmp1 = shl(tmp1, shift1, pOverflow); /* Q15+Qn */ in Cb_gain_average()
521 tmp2 = shl(*(lspAver + i), shift2, pOverflow); /* Q15+Qm */ in Cb_gain_average()
533 *(tmp + i) = shl(*(tmp + i), negate(shift), pOverflow); in Cb_gain_average()
600 bgMix = shl(tmp1, 2, pOverflow); in Cb_gain_average()
Dex_ctrl.cpp177 testEnergy = shl(prevEnergy, 2, pOverflow); /* testEnergy = 4*prevEnergy; */ in Ex_ctrl()
192 excEnergy = shl(excEnergy, exp, pOverflow); in Ex_ctrl()
Dd_gain_c.cpp230 gcode0 = shl(gcode0, 4, pOverflow); in d_gain_code()
231 *gain_code = shl(mult(gcode0, *p++, pOverflow), 1, pOverflow); in d_gain_code()
Ddec_gain.cpp204 index = shl(index, 2, pOverflow); in Dec_gain()
246 temp2 = shl(exp, 10, pOverflow); in Dec_gain()
Dd2_9pf.cpp199 shl( in decode_2i40_9bits()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DSurfaceTracingTestBase.kt117 (1 shl 0) or (1 shl 5) or (1 shl 6) // TRACE_CRITICAL | TRACE_BUFFERS | TRACE_SYNC in <lambda>()
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dq_gain_c.cpp233 gcode0 = shl(gcode0, 4, pOverflow); in q_gain_code()
237 gcode0 = shl(gcode0, 5, pOverflow); in q_gain_code()
Dcbsearch.cpp280 shl( in cbsearch()
341 pit_sharpTmp = shl(gain_pit, 1, pOverflow); in cbsearch()
Dqua_gain.cpp277 temp = shl(exp_code, 1, pOverflow); in Qua_gain()
380 p = &table_gain[shl(index, 2, pOverflow)]; in Qua_gain()
Dqgain795.cpp263 exp_max[2] = add(exp_coeff[2], add(15, shl(exp_code, 1, pOverflow), pOverflow), pOverflow); in MR795_gain_code_quant3()
556 gain_code = shl(*gain_cod, sub(10, exp_gcode0, pOverflow), pOverflow); /* Q1 -> Q11 (-ec0) */ in MR795_gain_code_quant_mod()
580 exp = sub(shl(exp_gcode0, 1, pOverflow), 7, pOverflow); in MR795_gain_code_quant_mod()
893 gain_cod_unq = shl(cod_gain_frac, exp, pOverflow); in MR795_gain_quant()
/frameworks/av/media/module/codecs/amrnb/common/include/
Dshl.h106 Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow);
/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt102 for (i: Int in -(1 shl 23) until (1 shl 23)) { in <lambda>()
128 for (value: Int in -(1 shl 23) until (1 shl 23)) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQsEventLogger.kt37 private const val MAX_QS_INSTANCE_ID = 1 shl 20 in getNewInstanceId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsMetricsLoggerImpl.kt34 private const val INSTANCE_ID_MAX = 1 shl 13
/frameworks/av/media/module/codecs/amrwb/enc/src/
Ddtx.c234 log_en = shl(st->log_en_index, 15 - 6); in dtx_enc()
245 log_en_int_m = shl(log_en_int_m, 5); in dtx_enc()
282 exc2[i] = shl(tmp, exp); in dtx_enc()
316 log_en = shl(log_en_e, 7); /* Q7 */ in dtx_buffer()
Dg_pitch.c68 gain = shl(gain, i); in G_pitch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt292 (1 shl MotionEvent.ACTION_POINTER_INDEX_SHIFT), in <lambda>()
305 (1 shl MotionEvent.ACTION_POINTER_INDEX_SHIFT), in <lambda>()
318 (1 shl MotionEvent.ACTION_POINTER_INDEX_SHIFT), in <lambda>()
332 (1 shl MotionEvent.ACTION_POINTER_INDEX_SHIFT), in <lambda>()
345 (1 shl MotionEvent.ACTION_POINTER_INDEX_SHIFT), in <lambda>()
369 (1 shl MotionEvent.ACTION_POINTER_INDEX_SHIFT), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTemporaryViewUiEventLogger.kt26 private const val INSTANCE_ID_MAX = 1 shl 20
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DLogParserTest.kt57 ProtoLogFileProto.MagicNumber.MAGIC_NUMBER_H.number.toLong() shl 32 or in buildProtoInput()
165 ProtoLogFileProto.MagicNumber.MAGIC_NUMBER_H.number.toLong() shl 32 or in parse_invalidVersion()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt43 data[i] = (round(f) * s).toInt() shl 24 in <lambda>()
76 user[y * width + x] = v shl 24 in <lambda>()

123