/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Matrix.java | 201 double[] inv = new double[16]; in invers() local 203 inv[0] = m[5] * m[10] * m[15] - in invers() 210 inv[4] = -m[4] * m[10] * m[15] + in invers() 217 inv[8] = m[4] * m[9] * m[15] - in invers() 224 inv[12] = -m[4] * m[9] * m[14] + in invers() 231 inv[1] = -m[1] * m[10] * m[15] + in invers() 238 inv[5] = m[0] * m[10] * m[15] - in invers() 245 inv[9] = -m[0] * m[9] * m[15] + in invers() 252 inv[13] = m[0] * m[9] * m[14] - in invers() 259 inv[2] = m[1] * m[6] * m[15] - in invers() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 111 doAnswer(inv -> { in setUp() 112 mTwilightListener = (TwilightListener) inv.getArgument(0); in setUp() 115 doAnswer(inv -> { in setUp() 116 mPowerSaveConsumer = (Consumer<PowerSaveState>) inv.getArgument(1); in setUp() 127 when(mContext.registerReceiver(notNull(), notNull())).then(inv -> { in setUp() 128 IntentFilter filter = inv.getArgument(1); in setUp() 130 mTimeChangedCallback = inv.getArgument(0); in setUp() 133 mScreenOffCallback = inv.getArgument(0); in setUp() 137 doAnswer(inv -> { in setUp() 138 mCustomListener = inv.getArgument(3); in setUp() [all …]
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 113 .then((InvocationOnMock inv) -> { in testQueryDetails() 114 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() 124 .then((InvocationOnMock inv) -> { in testQueryDetails() 125 NetworkTemplate template = inv.getArgument(0); in testQueryDetails()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 597 when(mNativeWrapperMock.nativeForceSuspend()).then(inv -> { in testForceSuspend_putsDeviceToSleep() 621 doAnswer(inv -> { in testForceSuspend_pakeLocksDisabled() 622 wakelockMap.put((String) inv.getArguments()[1], (int) inv.getArguments()[0]); in testForceSuspend_pakeLocksDisabled() 626 doAnswer(inv -> { in testForceSuspend_pakeLocksDisabled() 627 wakelockMap.remove((String) inv.getArguments()[1]); in testForceSuspend_pakeLocksDisabled() 647 when(mNativeWrapperMock.nativeForceSuspend()).then(inv -> { in testForceSuspend_pakeLocksDisabled() 674 doAnswer(inv -> { in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker() 675 if (suspendBlockerName.equals(inv.getArguments()[0])) { in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker() 681 doAnswer(inv -> { in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker() 682 if (suspendBlockerName.equals(inv.getArguments()[0])) { in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
|
/frameworks/base/libs/hwui/ |
D | Matrix.h | 126 Matrix4 inv; in multiplyInverse() local 127 inv.loadInverse(v); in multiplyInverse() 128 multiply(inv); in multiplyInverse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 335 doAnswer((inv) -> { in testWakeLock_heldInTransition() argument 401 doAnswer(inv -> { in testTransitions_canRequestTransitions() 424 doAnswer(inv -> { in testPulseReason_getFromTransition() 425 DozeMachine.State newState = inv.getArgument(1); in testPulseReason_getFromTransition()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTracingTest.java | 150 doAnswer(inv -> { in tracing_endsUpInFile() 151 inv.<ProtoOutputStream>getArgument(0).write( in tracing_endsUpInFile()
|
D | ActivityStarterTests.java | 251 doAnswer((inv) -> { in verifyStartActivityPreconditionsUntracked() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 835 .thenAnswer(inv -> { in setUp() 836 final int userId = (Integer) inv.getArguments()[0]; in setUp() 840 .thenAnswer(inv -> { in setUp() 841 final int userId = (Integer) inv.getArguments()[0]; in setUp() 853 anyBoolean())).thenAnswer(inv -> { in setUp() 854 final int callingUserId = (Integer) inv.getArguments()[0]; in setUp() 855 final int targetUserId = (Integer) inv.getArguments()[1]; in setUp() 869 final boolean isExternal = (Boolean) inv.getArguments()[3]; in setUp() 873 throw new SecurityException(inv.getArguments()[2] + " for unrelated profile " in setUp() 878 inv -> mUserInfos.get((Integer) inv.getArguments()[0]))); in setUp() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/ |
D | ToastUITest.java | 285 return inv -> { in writeArgumentToParcel() 286 inv.<Parcelable>getArgument(i).writeToParcel(dest, 0); in writeArgumentToParcel()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 197 inv -> new ArrayList<PackageOps>(); 220 .thenAnswer(inv -> { in newInstance() 222 Pair.create(inv.getArgument(1), inv.getArgument(2))) >= 0 ? in newInstance() 235 .thenAnswer(inv -> getPowerSaveState()); in callStart() 732 mGetPackagesForOps = inv -> { in loadPersistedAppOps() 733 final int[] arg = (int[]) inv.getArgument(0); in loadPersistedAppOps()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection_state.cpp | 214 const auto &inv = file.mInvokables[invIdx]; in dump() local 215 std::cout << " (Invokable) name=\"" << inv.mName << "\"" << std::endl; in dump() 216 const size_t NumParams = inv.mParamCount; in dump() 218 std::cout << " (Param) " << inv.mParams[paramsIdx].str() << std::endl; in dump()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 188 doAnswer((inv) -> mDevice.batterySaverEnabled = inv.getArgument(0)) in setUp() 193 .thenAnswer((inv) -> mDevice.batterySaverEnabled); in setUp() 195 .thenAnswer((inv) -> mDevice.batterySaverEnabled); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogController.kt | 335 fitInsetsTypes = attributes.fitInsetsTypes and statusBars().inv() in <lambda>()
|
D | PriorityOnboardingDialogController.kt | 258 fitInsetsTypes = attributes.fitInsetsTypes and statusBars().inv() in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | FileUpdaterTest.java | 295 doAnswer((inv) -> { in testSuccessWithRetry() argument
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | WorkflowTest.java | 162 inv -> createMockPrinterDiscoverySessionCallbacks(inv2 -> { in setMockPrintServiceCallbacks()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextControllerTest.java | 112 private Void checkMainThread(InvocationOnMock inv) { in checkMainThread() argument
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.cpp | 668 mFftServer.inv(eOutput, cb.complexTemp); in processLastStages()
|
/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 112 when(mMockPackageManager.getPackageInfo(anyString(), anyInt())).then(inv -> { in setUp() 114 res.packageName = inv.getArgument(0); in setUp()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 166 doAnswer(inv -> { in initStateMachine() 167 final IDhcpServerCallbacks cb = inv.getArgument(2); in initStateMachine()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 626 final Answer validateAnswer = inv -> { in makeNetworkAgent() 1276 doAnswer(inv -> { in makeDependencies() 1278 inv.getArgument(0), inv.getArgument(1), inv.getArgument(2)); in makeDependencies() 1286 doAnswer(inv -> { in initAlarmManager() 1287 final long when = inv.getArgument(1); in initAlarmManager() 1288 final WakeupMessage wakeupMsg = inv.getArgument(3); in initAlarmManager() 1289 final Handler handler = inv.getArgument(4); in initAlarmManager() 1304 doAnswer(inv -> { in initAlarmManager() 1305 final WakeupMessage wakeupMsg = inv.getArgument(0); in initAlarmManager()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 533 doAnswer(inv -> { in setUp()
|