Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/graphics/palette/
DContrast.java34 float answer = -5 + contrast * (5 + y); in lighterY() local
35 if (answer > 100.0) { in lighterY()
38 return answer; in lighterY()
51 float answer = (5 - 5 * contrast + y) / contrast; in darkerY() local
52 if (answer < 0.0) { in darkerY()
55 return answer; in darkerY()
/frameworks/base/core/tests/benchmarks/src/android/text/format/
DAndroidTimeVsOthersBenchmark.java35 long answer = 0; in toMillis_androidTime() local
40 answer = time.toMillis(false); in toMillis_androidTime()
47 long answer = 0; in toMillis_javaTime() local
52 answer = time.toInstant(offset).toEpochMilli(); in toMillis_javaTime()
59 long answer = 0; in toMillis_javaUtil() local
66 answer = calendar.getTimeInMillis(); in toMillis_javaUtil()
73 long answer = 0; in toMillis_androidIucUtil() local
81 answer = calendar.getTimeInMillis(); in toMillis_androidIucUtil()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java77 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
88 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
101 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
311 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
330 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
343 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
371 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
391 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
404 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
431 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_BothARAMandARAD()
[all …]
DIccPhoneBookInterfaceManagerTest.java83 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
128 public Void answer(InvocationOnMock invocation) throws Throwable { in testAdnEFLoadWithFailure()
171 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAdnRecord()
/frameworks/base/services/tests/mockingservicestests/utils-mockito/com/android/server/extendedtestutils/
DExtendedMockitoUtils.kt29 override fun thenAnswer(answer: Answer<T>) { in wheneverStatic()
30 ExtendedMockito.doAnswer(answer).wheneverStatic(mockedMethod) in wheneverStatic()
43 fun thenAnswer(answer: Answer<T>)
/frameworks/base/services/core/java/com/android/server/pm/
DQueryIntentActivitiesResult.java28 public List<ResolveInfo> answer = null; field in QueryIntentActivitiesResult
31 answer = l; in QueryIntentActivitiesResult()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java426 String answer = createAnswer(sessionDescription).encode(); in createListener() local
427 mSipSession.answerCall(answer, SESSION_TIMEOUT); in createListener()
555 String answer = createAnswer(sessionDescription).encode(); in createListener() local
556 newSession.answerCall(answer, SESSION_TIMEOUT); in createListener()
761 SimpleSessionDescription answer =
777 Media reply = answer.newMedia(
793 answer.setAttribute("sendonly", "");
795 answer.setAttribute("recvonly", "");
797 answer.setAttribute("sendonly", "");
799 answer.setAttribute("recvonly", "");
[all …]
/frameworks/base/services/tests/servicestests/utils-mockito/com/android/server/testutils/
DMockitoUtils.kt30 Answers.CALLS_REAL_METHODS.answer(it) in <lambda>()
79 override fun answer(invocation: InvocationOnMock?): Any? { in answer() method
80 return delegate.answer(invocation) in answer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationShadeDepthControllerTest.kt97 `when`(blurUtils.blurRadiusOfRatio(anyFloat())).then { answer -> in <lambda>() method
98 answer.arguments[0] as Float * maxBlur.toFloat() in <lambda>()
100 `when`(blurUtils.ratioOfBlurRadius(anyFloat())).then { answer -> in <lambda>() method
101 answer.arguments[0] as Float / maxBlur.toFloat() in <lambda>()
306 `when`(blurUtils.blurRadiusOfRatio(anyFloat())).then { answer -> in <lambda>() method
307 answer.arguments[0] as Float * maxBlur in <lambda>()
309 `when`(blurUtils.ratioOfBlurRadius(anyFloat())).then { answer -> in <lambda>() method
310 answer.arguments[0] as Float / maxBlur.toFloat() in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedTestCase.java44 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
51 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java64 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
67 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
70 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
/frameworks/base/tests/testables/src/android/testing/
DTestableResources.java50 .defaultAnswer(this::answer)); in TestableResources()
97 private Object answer(InvocationOnMock invocationOnMock) throws Throwable { in answer() method in TestableResources
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
DShadowCar.java56 public Void answer(InvocationOnMock invocation) { in createCar()
64 public Void answer(InvocationOnMock invocation) { in createCar()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java46 public Void answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
61 public byte[] answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
/frameworks/base/native/android/
Dnet.c147 int android_res_nresult(int fd, int *rcode, uint8_t *answer, size_t anslen) { in android_res_nresult() argument
148 return resNetworkResult(fd, rcode, answer, anslen); in android_res_nresult()
/frameworks/base/cmds/incident_helper/testdata/
Devent-log-tags.txt1 42 answer (to life the universe etc|3)
/frameworks/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java139 public void answer(int type, long triggerAtMillis, String tag, in answer() method in TestAlarmManager.SetListenerAnswer
147 public void answer(AlarmManager.OnAlarmListener listener) { in answer() method in TestAlarmManager.CancelListenerAnswer
DMockAnswerUtil.java38 public final Object answer(InvocationOnMock invocation) throws Throwable { in answer() method in MockAnswerUtil.AnswerWithArguments
/frameworks/base/core/java/com/android/internal/graphics/cam/
DCam.java411 Cam answer = null; in getInt()
437 answer = possibleAnswer; in getInt()
449 if (answer == null) { in getInt()
453 return answer.viewed(frame); in getInt()
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
DRemoteProvisioningRegistrationTest.java79 OutcomeReceiver<RemotelyProvisionedKey, Exception>> answer) { in answerGetKeyAsync() argument
80 return answerVoid(answer); in answerGetKeyAsync()
85 VoidAnswer4<byte[], byte[], Executor, OutcomeReceiver<Void, Exception>> answer) { in answerStoreUpgradedKeyAsync() argument
86 return answerVoid(answer); in answerStoreUpgradedKeyAsync()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DICallControl.aidl30 void answer(int videoState, String callId, in ResultReceiver callback); in answer() method
/frameworks/native/include/android/
Dmultinetwork.h209 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
/frameworks/base/native/android/include/android/
Dmultinetwork.h209 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQuickStatusBarHeaderControllerTest.kt42 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
/frameworks/base/telecomm/java/android/telecom/
DCallControl.java120 public void answer(@android.telecom.CallAttributes.CallType int videoState, in answer() method in CallControl
127 mServerInterface.answer(videoState, mCallId, in answer()

12345