/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DevicePolicyManagerWrapper.java | 43 DevicePolicyManager getWrapper(Context context, DevicePolicyManager dpm, Answer<?> answer) { in getWrapper() argument 64 doAnswer(answer).when(spy).isAdminActive(any()); in getWrapper() 65 doAnswer(answer).when(spy).isDeviceOwnerApp(any()); in getWrapper() 66 doAnswer(answer).when(spy).isManagedProfile(any()); in getWrapper() 67 doAnswer(answer).when(spy).isProfileOwnerApp(any()); in getWrapper() 68 doAnswer(answer).when(spy).isAffiliatedUser(); in getWrapper() 71 doAnswer(answer).when(spy).setTime(any(), anyLong()); in getWrapper() 72 doAnswer(answer).when(spy).setTimeZone(any(), any()); in getWrapper() 73 doAnswer(answer).when(spy).setGlobalSetting(any(), any(), any()); in getWrapper() 76 doAnswer(answer).when(spy).setUserControlDisabledPackages(any(), any()); in getWrapper() [all …]
|
D | WifiManagerWrapper.java | 42 WifiManager getWrapper(Context context, WifiManager manager, Answer<?> answer) { in getWrapper() argument 62 doAnswer(answer).when(spy).addNetwork(any()); in getWrapper() 63 doAnswer(answer).when(spy).enableNetwork(anyInt(), anyBoolean()); in getWrapper() 64 doAnswer(answer).when(spy).removeNetwork(anyInt()); in getWrapper() 65 doAnswer(answer).when(spy).getConfiguredNetworks(); in getWrapper() 66 doAnswer(answer).when(spy).updateNetwork(any()); in getWrapper() 67 doAnswer(answer).when(spy).saveConfiguration(); in getWrapper() 68 doAnswer(answer).when(spy).isWifiEnabled(); in getWrapper() 69 doAnswer(answer).when(spy).setWifiEnabled(anyBoolean()); in getWrapper() 72 doAnswer(answer).when(spy).getCallerConfiguredNetworks(); in getWrapper()
|
D | HardwarePropertiesManagerWrapper.java | 42 Answer<?> answer) { in getWrapper() argument 62 doAnswer(answer).when(spy).getCpuUsages(); in getWrapper() 63 doAnswer(answer).when(spy).getDeviceTemperatures(anyInt(), anyInt()); in getWrapper() 64 doAnswer(answer).when(spy).getFanSpeeds(); in getWrapper()
|
D | GenericManagerWrapper.java | 38 GenericManager getWrapper(Context context, GenericManager manager, Answer<?> answer) { in getWrapper() argument 55 when(mock.getSecureIntSettings(any())).thenAnswer(answer); in getWrapper()
|
D | UserManagerWrapper.java | 40 UserManager getWrapper(Context context, UserManager manager, Answer<?> answer) { in getWrapper() argument 60 doAnswer(answer).when(spy).getApplicationRestrictions(any()); in getWrapper()
|
D | TestAppSystemServiceFactory.java | 280 Answer<?> answer = (inv) -> { in getSystemService() local 368 T spy = wrapper.getWrapper(context, manager, answer); in getSystemService() 428 abstract T getWrapper(Context context, T manager, Answer<?> answer); in getWrapper() argument
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Target.java | 285 Floaty answer = new Floaty(a.mNumberOfBits, values); in sqrt() local 287 answer.ExpandRangeByUlpFactor(); in sqrt() 288 return answer; in sqrt() 518 double answer; in smallestNormal() local 520 answer = Float16Utils.MIN_NORMAL; in smallestNormal() 522 answer = Float.MIN_NORMAL; in smallestNormal() 524 answer = Double.MIN_NORMAL; in smallestNormal() 527 answer = -answer; in smallestNormal() 529 return answer; in smallestNormal()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | FileParser.java | 179 int answer = 0; in getIntLittleEndian() local 182 answer = (answer << 8) | (byteArray[i] & 0xff); in getIntLittleEndian() 184 return answer; in getIntLittleEndian()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ReadElf.java | 438 int answer = 0; in readX() local 441 answer = (answer << 8) | (mBuffer[i] & 0xff); in readX() 446 answer = (answer << 8) | (mBuffer[i] & 0xff); in readX() 450 return answer; in readX()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 916 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaComponentName() 993 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetId() 1080 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetIds() 1159 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetId() 1237 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds() 1261 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds() 1329 public Void answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() 1370 public Integer answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() 1376 public RemoteViews answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() 1388 public Integer answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() [all …]
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | Utils.kt | 32 "toString" -> return@Answer Answers.CALLS_REAL_METHODS.answer(it) in <lambda>()
|
/cts/tests/tests/graphics/src/android/graphics/cts/utils/ |
D | Cam.java | 397 Cam answer = null; in getInt() 423 answer = possibleAnswer; in getInt() 435 if (answer == null) { in getInt() 439 return answer.viewed(frame); in getInt()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | AdhocConferenceTest.java | 115 call.answer(VideoProfile.STATE_RX_ENABLED); in testAddNewIncomingConference_onAnswer() 174 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConferenceCallAddConferenceParticipants()
|
D | IncomingCallTest.java | 352 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConnectionOnAnswerForAudioCall() 443 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 471 call.answer(VideoProfile.STATE_BIDIRECTIONAL); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo()
|
D | ExtendedInCallServiceTest.java | 249 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAnswerIncomingCallAudioOnly() 338 call1.answer(VideoProfile.STATE_AUDIO_ONLY); in testAcceptRingingCallTwoCalls() 370 call1.answer(VideoProfile.STATE_AUDIO_ONLY); in testAcceptRingingCallTwoCallsCarMode() 603 call.answer(VideoProfile.STATE_BIDIRECTIONAL); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
|
D | BackgroundCallAudioTest.java | 527 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testLowerApiLevelCompatibility1() 604 call.answer(VideoProfile.STATE_AUDIO_ONLY); in verifySimulateRingAndUserPickup()
|
D | MockConnection.java | 84 mRemoteConnection.answer(); in onAnswer()
|
D | TransactionalApisTest.java | 754 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAddIncomingCallOnAnswer() 789 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAddIncomingCallOnAnswer_RejectCallback() 1318 call.mCallControl.answer(videoState, Runnable::run, outcome); in callControlAction()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | LocalSliceProvider.java | 53 return s.answer(invocation); in attachInfo()
|
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/ |
D | CtsCarModeInCallServiceControl.java | 169 CtsCarModeInCallService.getInstance().getLastCall().answer(videoState);
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | TransactionalCall.java | 94 mCallControl.answer(videoState, Runnable::run, outcome); in setActive()
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 216 doAnswer(answer -> { in testQuery_mockCallback() 218 = (Consumer<List<SearchTarget>>) answer.getArgument(2); in testQuery_mockCallback()
|
/cts/tests/tests/instantapp/src/android/cts/instantapp/resolver/ |
D | ResolverServiceMethodFallbackTest.kt | 125 @field:Mock(answer = Answers.CALLS_REAL_METHODS) in <lambda>()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsCallingTest.java | 293 call.answer(0); in testIncomingCall() 325 call.answer(0); in testIncomingCallReturnListener() 631 mtCall.answer(0); in testOutGoingIncomingMultiCall() 706 mtCall.answer(0); in testOutGoingIncomingMultiCallAcceptTerminate() 772 mtCall.answer(0); in testOutGoingIncomingMultiCallHoldFailedTerminateByRemote() 784 mtCall.answer(0); in testOutGoingIncomingMultiCallHoldFailedTerminateByRemote() 1507 mtCall.answer(VideoProfile.STATE_AUDIO_ONLY); in testMultipleVideoCallAcceptTerminate()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 155 public CharSequence answer(InvocationOnMock invocation) throws Throwable { in testPerformValidation()
|