/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 | 41 Answer<?> answer) { in getWrapper() argument 58 doAnswer(answer).when(spy).getCpuUsages(); in getWrapper() 59 doAnswer(answer).when(spy).getDeviceTemperatures(anyInt(), anyInt()); in getWrapper() 60 doAnswer(answer).when(spy).getFanSpeeds(); in getWrapper()
|
D | UserManagerWrapper.java | 39 UserManager getWrapper(Context context, UserManager manager, Answer<?> answer) { in getWrapper() argument 56 doAnswer(answer).when(spy).getApplicationRestrictions(any()); in getWrapper()
|
D | TestAppSystemServiceFactory.java | 199 Answer<?> answer = (inv) -> { in getSystemService() local 286 T spy = wrapper.getWrapper(context, manager, answer); in getSystemService() 346 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 | 892 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaComponentName() 969 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetId() 1056 public Void answer(InvocationOnMock invocation) throws Throwable { in testUpdateAppWidgetViaWidgetIds() 1135 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetId() 1213 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds() 1237 public Void answer(InvocationOnMock invocation) throws Throwable { in testPartiallyUpdateAppWidgetViaWidgetIds() 1305 public Void answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() 1346 public Integer answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() 1352 public RemoteViews answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() 1364 public Integer answer(InvocationOnMock invocation) throws Throwable { in testCollectionWidgets() [all …]
|
D | CollectionAppWidgetTest.java | 159 public RemoteViews answer(InvocationOnMock invocation) throws Throwable { in setup()
|
/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 | IncomingCallTest.java | 293 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConnectionOnAnswerForAudioCall() 321 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 349 call.answer(VideoProfile.STATE_BIDIRECTIONAL); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo()
|
D | AdhocConferenceTest.java | 105 call.answer(VideoProfile.STATE_RX_ENABLED); in testAddNewIncomingConference_onAnswer() 164 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testConferenceCallAddConferenceParticipants()
|
D | ExtendedInCallServiceTest.java | 232 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testAnswerIncomingCallAudioOnly() 321 call1.answer(VideoProfile.STATE_AUDIO_ONLY); in testAcceptRingingCallTwoCalls() 353 call1.answer(VideoProfile.STATE_AUDIO_ONLY); in testAcceptRingingCallTwoCallsCarMode() 492 call.answer(VideoProfile.STATE_BIDIRECTIONAL); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
|
D | MockConnection.java | 80 mRemoteConnection.answer(); in onAnswer()
|
D | BackgroundCallAudioTest.java | 523 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testLowerApiLevelCompatibility1() 600 call.answer(VideoProfile.STATE_AUDIO_ONLY); in verifySimulateRingAndUserPickup()
|
D | SelfManagedConnectionServiceTest.java | 283 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testDisallowOutgoingCallWhileOngoingManagedCallCanNotBeHeld()
|
D | RemoteConnectionTest.java | 113 call.answer(VideoProfile.STATE_AUDIO_ONLY); in testRemoteConnectionIncomingCallAccept()
|
/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/uwb/src/android/uwb/cts/ |
D | RangingSessionTest.java | 341 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.StartAnswer 353 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.ReconfigureAnswer 365 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.StopAnswer 377 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.CloseAnswer
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | LocalSliceProvider.java | 53 return s.answer(invocation); in attachInfo()
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 214 doAnswer(answer -> { in testQuery_mockCallback() 216 = (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/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextViewTest.java | 146 public CharSequence answer(InvocationOnMock invocation) throws Throwable { in testPerformValidation()
|