/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Contrast.java | 34 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/ |
D | AndroidTimeVsOthersBenchmark.java | 35 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/ |
D | UiccCarrierPrivilegeRulesTest.java | 77 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 …]
|
D | IccPhoneBookInterfaceManagerTest.java | 83 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/ |
D | ExtendedMockitoUtils.kt | 29 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/ |
D | QueryIntentActivitiesResult.java | 28 public List<ResolveInfo> answer = null; field in QueryIntentActivitiesResult 31 answer = l; in QueryIntentActivitiesResult()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipAudioCall.java | 426 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/ |
D | MockitoUtils.kt | 30 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/ |
D | NotificationShadeDepthControllerTest.kt | 97 `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/ |
D | OneHandedTestCase.java | 44 @Mock(answer = Answers.RETURNS_DEEP_STUBS) 51 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/ |
D | BluetoothConstraintTest.java | 64 @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/ |
D | TestableResources.java | 50 .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/ |
D | ShadowCar.java | 56 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/ |
D | LockSettingsStorageTestable.java | 46 public Void answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable() 61 public byte[] answer(InvocationOnMock invocation) throws Throwable { in LockSettingsStorageTestable()
|
/frameworks/base/native/android/ |
D | net.c | 147 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/ |
D | event-log-tags.txt | 1 42 answer (to life the universe etc|3)
|
/frameworks/base/tests/utils/testutils/java/android/app/test/ |
D | TestAlarmManager.java | 139 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
|
D | MockAnswerUtil.java | 38 public final Object answer(InvocationOnMock invocation) throws Throwable { in answer() method in MockAnswerUtil.AnswerWithArguments
|
/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | Cam.java | 411 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/ |
D | RemoteProvisioningRegistrationTest.java | 79 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/ |
D | ICallControl.aidl | 30 void answer(int videoState, String callId, in ResultReceiver callback); in answer() method
|
/frameworks/native/include/android/ |
D | multinetwork.h | 209 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
|
/frameworks/base/native/android/include/android/ |
D | multinetwork.h | 209 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickStatusBarHeaderControllerTest.kt | 42 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallControl.java | 120 public void answer(@android.telecom.CallAttributes.CallType int videoState, in answer() method in CallControl 127 mServerInterface.answer(videoState, mCallId, in answer()
|