Home
last modified time | relevance | path

Searched refs:param2 (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLoggingTest.java38 Object param2 = new Object(); in serviceEventException_getStringContainsInfo() local
41 SERVICE_TYPE, packageName, exception, param1, param2); in serviceEventException_getStringContainsInfo()
47 assertThat(stringRep).contains(param2.toString()); in serviceEventException_getStringContainsInfo()
67 Object param2 = new Object(); in serviceEventReturn_getStringContainsInfo() local
70 ServiceEvent.createForReturn(SERVICE_TYPE, packageName, retValue, param1, param2); in serviceEventReturn_getStringContainsInfo()
76 assertThat(stringRep).contains(param2.toString()); in serviceEventReturn_getStringContainsInfo()
95 Object param2 = new Object(); in sessionEventException_getStringContainsInfo() local
97 final var event = SessionEvent.createForException(SESSION_TYPE, exception, param1, param2); in sessionEventException_getStringContainsInfo()
102 assertThat(stringRep).contains(param2.toString()); in sessionEventException_getStringContainsInfo()
119 Object param2 = new Object(); in sessionEventReturn_getStringContainsInfo() local
[all …]
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp370 int32_t param2; in Equalizer_getParameter() local
434 param2 = *pParam; in Equalizer_getParameter()
435 if (param2 >= kNumBands) { in Equalizer_getParameter()
439 *(int16_t *)pValue = (int16_t)pEqualizer->getGain(param2); in Equalizer_getParameter()
441 param2, *(int32_t *)pValue); in Equalizer_getParameter()
445 param2 = *pParam; in Equalizer_getParameter()
446 if (param2 >= kNumBands) { in Equalizer_getParameter()
450 *(int32_t *)pValue = pEqualizer->getFrequency(param2); in Equalizer_getParameter()
452 param2, *(int32_t *)pValue); in Equalizer_getParameter()
456 param2 = *pParam; in Equalizer_getParameter()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DAnnotationValidations.java64 String paramName1, long param1, String paramName2, long param2) { in validate() argument
66 validate(annotation, ignored, value, paramName2, param2); in validate()
89 String paramName1, long param1, String paramName2, long param2) { in validate() argument
91 validate(annotation, ignored, value, paramName2, param2); in validate()
114 String paramName1, float param1, String paramName2, float param2) { in validate() argument
116 validate(annotation, ignored, value, paramName2, param2); in validate()
134 String paramName1, int param1, String paramName2, int param2) { in validate() argument
136 validate(annotation, ignored, value, paramName2, param2); in validate()
/frameworks/wilhelm/src/
DThreadPool.h90 void *cntxt1, void *cntxt2, void *cntxt3, int param1, int param2);
95 void *cntxt1, void *cntxt2, int param1, int param2);
97 void *cntxt1, int param1, int param2, void *cntxt2, void *cntxt3);
DThreadPool.cpp388 void *cntxt1, int param1, int param2, void *cntxt2, void *cntxt3) in ThreadPool_add_piipp() argument
392 cntxt1, cntxt2, cntxt3, param1, param2); in ThreadPool_add_piipp()
/frameworks/libs/binary_translation/guest_abi/riscv64/
Dguest_params_test.cc40 auto [param1, param2, param3] = in TEST()
50 EXPECT_EQ(param2, 1234U); in TEST()
154 auto [param1, param2, param3, param4] = in TEST()
164 EXPECT_FLOAT_EQ(param2, 2.71f); in TEST()
233 param2, in TEST()
396 EXPECT_EQ(param2, 1); in TEST()
/frameworks/libs/binary_translation/guest_abi/arm64/
Dguest_params_test.cc39 auto [param1, param2, param3] = GuestParamsValues<void(int*, unsigned int, int)>(&state); in TEST()
46 EXPECT_EQ(1234u, param2); in TEST()
147 auto [param1, param2, param3, param4] = in TEST()
157 EXPECT_FLOAT_EQ(2.71f, param2); in TEST()
244 param2, in TEST()
403 EXPECT_EQ(1, param2); in TEST()
/frameworks/wilhelm/src/android/
Dandroid_Effect.h23 int32_t param, int32_t param2, void *pValue);
26 int32_t param, int32_t param2, void *pValue);
Dandroid_Effect.cpp202 int32_t param, int32_t param2, void *pValue) in android_eq_getParam() argument
211 *((int32_t *)p->data + 1) = param2; in android_eq_getParam()
228 int32_t param, int32_t param2, void *pValue) in android_eq_setParam() argument
237 *((int32_t *)p->data + 1) = param2; in android_eq_setParam()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DParseableCommandTest.kt277 val param2: String? by param(longName = "param2", valueParser = Type.String) in complexCommandWithSubCommands_reusedNames() constant
287 assertThat(myCommand.param2).isEqualTo("arg3") in complexCommandWithSubCommands_reusedNames()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEqualizerTest.java337 … public void onParameterChange(Equalizer effect, int status, int param1, int param2, int value) { in onParameterChange() argument
338 … Log.d(TAG,"onParameterChange EQ, status: "+status+" p1: "+param1+" p2: "+param2+" v: "+value); in onParameterChange()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationVisitUrisTest.java572 Class<?> param2 = m2.getParameterTypes()[0]; in getAllSetters()
575 && !param2.isArray() && !param2.isPrimitive() in getAllSetters()
576 && param1.getComponentType().equals(param2); in getAllSetters()
/frameworks/base/media/java/android/media/audiofx/
DEqualizer.java385 void onParameterChange(Equalizer effect, int status, int param1, int param2, int value); in onParameterChange() argument
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp2417 AudioParameter param2 = AudioParameter(data2->mKeyValuePairs); in insertCommand_l() local
2422 for (size_t k = 0; k < param2.size(); k++) { in insertCommand_l()
2425 param2.getAt(k, key2, value2); in insertCommand_l()
2427 param2.remove(key2); in insertCommand_l()
2435 if (param2.size() == 0) { in insertCommand_l()
2438 data2->mKeyValuePairs = param2.toString(); in insertCommand_l()