Home
last modified time | relevance | path

Searched refs:inv (Results 1 – 23 of 23) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DMatrix.java201 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/
DUiModeManagerServiceTest.java111 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/
DNetworkStatsManagerTest.java113 .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/
DPowerManagerServiceTest.java597 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/
DMatrix.h126 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/
DDozeMachineTest.java335 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/
DWindowTracingTest.java150 doAnswer(inv -> { in tracing_endsUpInFile()
151 inv.<ProtoOutputStream>getArgument(0).write( in tracing_endsUpInFile()
DActivityStarterTests.java251 doAnswer((inv) -> { in verifyStartActivityPreconditionsUntracked() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java835 .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/
DToastUITest.java285 return inv -> { in writeArgumentToParcel()
286 inv.<Parcelable>getArgument(i).writeToParcel(dest, 0); in writeArgumentToParcel()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java197 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/
Dslang_rs_reflection_state.cpp214 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/
DBatterySaverStateMachineTest.java188 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/
DChannelEditorDialogController.kt335 fitInsetsTypes = attributes.fitInsetsTypes and statusBars().inv() in <lambda>()
DPriorityOnboardingDialogController.kt258 fitInsetsTypes = attributes.fitInsetsTypes and statusBars().inv() in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DFileUpdaterTest.java295 doAnswer((inv) -> { in testSuccessWithRetry() argument
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java162 inv -> createMockPrinterDiscoverySessionCallbacks(inv2 -> { in setMockPrintServiceCallbacks()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DCarrierTextControllerTest.java112 private Void checkMainThread(InvocationOnMock inv) { in checkMainThread() argument
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp668 mFftServer.inv(eOutput, cb.complexTemp); in processLastStages()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java112 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/
DIpServerTest.java166 doAnswer(inv -> { in initStateMachine()
167 final IDhcpServerCallbacks cb = inv.getArgument(2); in initStateMachine()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java626 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/
DClientModeImplTest.java533 doAnswer(inv -> { in setUp()