Home
last modified time | relevance | path

Searched refs:inv (Results 1 – 20 of 20) 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/tools/preload2/src/com/android/preload/actions/
DShowDataAction.java50 Map<String, Set<String>> inv = data.invertData(); in actionPerformed() local
55 add(builder, "Boot classpath:", inv.get(null)); in actionPerformed()
58 for (String k : inv.keySet()) { in actionPerformed()
61 add(builder, k, inv.get(k)); in actionPerformed()
/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/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java154 doAnswer((inv) -> { in testWakeLock_heldInTransition() argument
220 doAnswer(inv -> { in testTransitions_canRequestTransitions()
243 doAnswer(inv -> { in testPulseReason_getFromTransition()
244 DozeMachine.State newState = inv.getArgument(1); in testPulseReason_getFromTransition()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java482 when(mNativeWrapperMock.nativeForceSuspend()).then(inv -> { in testForceSuspend_putsDeviceToSleep()
504 doAnswer(inv -> { in testForceSuspend_pakeLocksDisabled()
505 wakelockMap.put((String) inv.getArguments()[1], (int) inv.getArguments()[0]); in testForceSuspend_pakeLocksDisabled()
509 doAnswer(inv -> { in testForceSuspend_pakeLocksDisabled()
510 wakelockMap.remove((String) inv.getArguments()[1]); in testForceSuspend_pakeLocksDisabled()
530 when(mNativeWrapperMock.nativeForceSuspend()).then(inv -> { in testForceSuspend_pakeLocksDisabled()
/frameworks/base/libs/hwui/
DMatrix.h126 Matrix4 inv; in multiplyInverse() local
127 inv.loadInverse(v); in multiplyInverse()
128 multiply(inv); in multiplyInverse()
/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.java262 doAnswer((inv) -> { in verifyStartActivityPreconditions() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java811 .thenAnswer(inv -> { in setUp()
812 final int userId = (Integer) inv.getArguments()[0]; in setUp()
816 .thenAnswer(inv -> { in setUp()
817 final int userId = (Integer) inv.getArguments()[0]; in setUp()
829 anyBoolean())).thenAnswer(inv -> { in setUp()
830 final int callingUserId = (Integer) inv.getArguments()[0]; in setUp()
831 final int targetUserId = (Integer) inv.getArguments()[1]; in setUp()
845 final boolean isExternal = (Boolean) inv.getArguments()[3]; in setUp()
849 throw new SecurityException(inv.getArguments()[2] + " for unrelated profile " in setUp()
854 inv -> mUserInfos.get((Integer) inv.getArguments()[0]))); in setUp()
[all …]
/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()
722 mGetPackagesForOps = inv -> { in loadPersistedAppOps()
723 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/tests/net/java/android/net/ip/
DIpServerTest.java119 doAnswer(inv -> { in initStateMachine()
120 final IDhcpServerCallbacks cb = inv.getArgument(2); in initStateMachine()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java157 inv -> createMockPrinterDiscoverySessionCallbacks(inv2 -> { in setMockPrintServiceCallbacks()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DFileUpdaterTest.java294 doAnswer((inv) -> { in testSuccessWithRetry() argument
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java104 when(mMockPackageManager.getPackageInfo(anyString(), anyInt())).then(inv -> { in setUp()
106 res.packageName = inv.getArgument(0); in setUp()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp2139 Json::Value& inv = *invalid; in validate() local
2147 inv[key] = settings_[key]; in validate()
2150 return 0u == inv.size(); in validate()
5139 Json::Value& inv = *invalid; in validate() local
5147 inv[key] = settings_[key]; in validate()
5150 return 0u == inv.size(); in validate()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp668 mFftServer.inv(eOutput, cb.complexTemp); in processLastStages()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java495 doAnswer(inv -> { in setUp()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java554 final Answer validateAnswer = inv -> { in MockNetworkAgent()