Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 25 of 141) sorted by relevance

123456

/frameworks/libs/binary_translation/base/
Dexec_region_test.cc29 ExecRegion exec = ExecRegionAnonymousFactory::Create(1); in TEST() local
30 const uint8_t* begin = exec.begin(); in TEST()
31 const uint8_t* end = exec.end(); in TEST()
33 ExecRegion other_exec = std::move(exec); in TEST()
38 EXPECT_EQ(exec.begin(), nullptr); in TEST()
39 EXPECT_EQ(exec.end(), nullptr); in TEST()
45 ExecRegion exec = ExecRegionAnonymousFactory::Create(1); in TEST() local
46 const uint8_t* begin = exec.begin(); in TEST()
47 const uint8_t* end = exec.end(); in TEST()
51 exec = std::move(exec); in TEST()
[all …]
Dexec_region_anonymous_test.cc30 ExecRegion exec = ExecRegionAnonymousFactory::Create(sizeof(buf)); in TEST() local
31 const uint8_t* code = exec.begin(); in TEST()
34 exec.Write(code, buf, sizeof(buf)); in TEST()
37 exec.Detach(); in TEST()
40 exec.Free(); in TEST()
Dexec_region_elf_backed_test.cc30 ExecRegion exec = ExecRegionElfBackedFactory::Create(sizeof(buf)); in TEST() local
31 const uint8_t* code = exec.begin(); in TEST()
34 exec.Write(code, buf, sizeof(buf)); in TEST()
37 exec.Detach(); in TEST()
40 exec.Free(); in TEST()
/frameworks/libs/binary_translation/assembler/
Dassembler_test.cc150 ScopedExecRegion exec(&code); in LabelTest() local
152 int result = exec.get<int()>()(); in LabelTest()
167 ScopedExecRegion exec(&code); in CondTest1() local
170 auto target_func = exec.get<TestFunc>(); in CondTest1()
197 ScopedExecRegion exec(&code); in CondTest2() local
200 auto target_func = exec.get<TestFunc>(); in CondTest2()
244 ScopedExecRegion exec(&code); in JccTest() local
247 auto target_func = exec.get<TestFunc>(); in JccTest()
277 ScopedExecRegion exec(&code); in ShiftTest() local
280 uint32_t result = exec.get<TestFunc>()(22); in ShiftTest()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DUtils.java50 T exec() throws RemoteException; in exec() method
55 return r.exec(); in maybeRethrow()
63 void exec() throws RemoteException; in exec() method
68 r.exec(); in maybeRethrow()
/frameworks/libs/binary_translation/code_gen_lib/
Dcode_gen_lib_riscv64_test.cc60 ScopedExecRegion exec(&machine_code); in TEST() local
66 TestingRunGeneratedCode(&g_state, exec.get(), ToGuestAddr(&g_ret_insn)); in TEST()
142 ScopedExecRegion exec(&machine_code); in TEST() local
145 exec.get<void(int)>()(1234); in TEST()
175 ScopedExecRegion exec(&machine_code); in TEST() local
179 uint8_t res = exec.get<Func>()(0, 0xff, 2, 3, 4, 5, 6, 0xf9, 0xf8, 9); in TEST()
208 ScopedExecRegion exec(&machine_code); in TEST() local
212 int8_t res = exec.get<Func>()(0, -1, 2, 3, 4, 5, 6, -7, -8, 9); in TEST()
241 ScopedExecRegion exec(&machine_code); in TEST() local
253 uint16_t res = exec.get<Func>()(0, 0xffff, 2, 3, 4, 5, 6, 0xfff9, 0xfff8, 9); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsShellCommandTest.java108 assertEquals(-1, mCommand.exec(mBinder, in, out, err, in testWrongPassword()
125 assertEquals(0, mCommand.exec(new Binder(), in, out, err, in testChangePin()
145 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePin_nonCompliant()
154 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePin_noLockScreen()
172 assertEquals(0, mCommand.exec(new Binder(), in, out, err, in testChangePassword()
192 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePassword_nonCompliant()
201 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePassword_noLockScreen()
218 assertEquals(0, mCommand.exec(new Binder(), in, out, err, in testChangePattern()
237 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePattern_nonCompliant()
246 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePattern_noLockScreen()
[all …]
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
DRemoteProvisioningShellCommandTest.java114 private static CommandResult exec( in exec() method in RemoteProvisioningShellCommandTest
119 int code = cmd.exec( in exec()
140 CommandResult res = exec(cmd, new String[] {"list"}); in list_zeroInstances()
153 CommandResult res = exec(cmd, new String[] {"list"}); in list_oneInstances()
167 CommandResult res = exec(cmd, new String[] {"list"}); in list_twoInstances()
191 CommandResult res = exec(cmd, new String[] { in csr_hwVersion1_withChallenge()
224 CommandResult res = exec(cmd, new String[] { in csr_hwVersion2_withChallenge()
252 CommandResult res = exec(cmd, new String[] {"csr", "default"}); in csr_hwVersion3_withoutChallenge()
272 CommandResult res = exec(cmd, new String[] {"csr", "--challenge", "dHJpYWw=", "default"}); in csr_hwVersion3_withChallenge()
317 CommandResult res = exec(cmd, new String[] {"certify", "default"}); in certify_sameOrderAsReceived()
[all …]
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dlite_translate_region_exec_tests.cc56 ScopedExecRegion exec(&machine_code); in Run() local
58 TestingRunGeneratedCode(&state_, exec.get(), expected_stop_addr); in Run()
165 ScopedExecRegion exec(&machine_code); in TEST_F() local
179 TestingRunGeneratedCode(const_cast<ThreadState*>(&state), exec.get(), code_end); in TEST_F()
Dlite_translate_insn_exec_tests.cc49 ScopedExecRegion exec(&machine_code); in RunOneInstruction() local
51 TestingRunGeneratedCode(state, exec.get(), stop_pc); in RunOneInstruction()
Dlite_translator_exec_tests.cc44 ScopedExecRegion exec(&machine_code_); in Run() local
45 berberis_RunGeneratedCode(&state_, exec.get()); in Run()
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dheavy_optimizer_insn_exec_tests.cc55 ScopedExecRegion exec(&machine_code); in RunOneInstruction() local
57 TestingRunGeneratedCode(state, exec.get(), stop_pc); in RunOneInstruction()
/frameworks/base/api/coverage/tools/
DExtractFlaggedApisTest.kt66 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_onlyMethodFlag_useMethodFlag()
97 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_onlyClassFlag_useClassFlag()
128 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_flaggedConstructorsAreFlaggedApis()
161 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_unflaggedNestedClassShouldUseOuterClassFlag()
200 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_unflaggedNestedClassShouldUseOuterClassFlag_deeplyNested()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceShellCommandTest.java106 assertEquals(0, mCommand.exec(mBinder, in, out, err, in testMainUser()
118 assertEquals(1, mCommand.exec(mBinder, in, out, err, in testMainUserNull()
129 assertEquals(0, mCommand.exec(mBinder, in, out, err, in testCanSwitchToHeadlessSystemUser()
143 assertEquals(0, mCommand.exec(mBinder, in, out, err, in testIsMainUserPermanentAdmin()
/frameworks/libs/binary_translation/prebuilt/system/etc/init/
Dberberis.rc2 on early-init && property:ro.enable.native.bridge.exec=1
5 on property:ro.enable.native.bridge.exec=1 && property:ro.dalvik.vm.isa.riscv64=x86_64
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DSysUIConcurrencyModule.kt196 @Background exec: DelayableExecutor in provideBgHandler()
197 ): RepeatableExecutor = RepeatableExecutorImpl(exec) in provideBgHandler()
203 fun provideMainRepeatableExecutor(@Main exec: DelayableExecutor): RepeatableExecutor = in provideBgHandler()
204 RepeatableExecutorImpl(exec) in provideBgHandler()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java350 exec(CHANGE_SURFACE); in setSurface()
358 exec(RESIZE_SURFACE); in setSize()
364 exec(RENDER); in render()
371 exec(FINISH); in finish()
379 private void exec(int msgid) { in exec() method in BlockingGLTextureView.RenderThread
/frameworks/libs/binary_translation/base/include/berberis/base/
Dexec_region.h40 explicit ExecRegion(uint8_t* exec, uint8_t* write, size_t size) in ExecRegion() argument
41 : exec_{exec}, write_{write}, size_{size} {} in ExecRegion()
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DFileIO.ts15 import { exec } from 'child_process';
96 exec(cmd, (error, out, stderr) => {
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteDatabaseTest.java119 ExecutorService exec = Executors.newFixedThreadPool(2); in testStressDDLEvicts() local
120 exec.execute(() -> { in testStressDDLEvicts()
138 exec.execute(() -> { in testStressDDLEvicts()
146 exec.shutdown(); in testStressDDLEvicts()
147 assertTrue(exec.awaitTermination(1, TimeUnit.MINUTES)); in testStressDDLEvicts()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java72 Process runsum = fileRemoval.exec(cmdBecomeSu); in testPageLoadStaticNYTimes()
75 Process removal = fileRemoval.exec(rmfile); in testPageLoadStaticNYTimes()
/frameworks/base/core/java/android/os/
DShellCommand.java34 public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, in exec() method in ShellCommand
38 final int result = super.exec(target, in, out, err, args); in exec()
DAsyncTask.java357 public static void setDefaultExecutor(Executor exec) { in setDefaultExecutor() argument
358 sDefaultExecutor = exec; in setDefaultExecutor()
708 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor() argument
727 exec.execute(mFuture); in executeOnExecutor()
/frameworks/base/core/java/android/service/remotelockscreenvalidation/
DRemoteLockscreenValidationClientImpl.java94 public void exec(IRemoteLockscreenValidationService service) throws RemoteException { in validateLockscreenGuess()
208 apiCaller.exec(service); in performApiCallInternal()
240 abstract void exec(IRemoteLockscreenValidationService service) in exec() method in RemoteLockscreenValidationClientImpl.Call
/frameworks/libs/binary_translation/assembler/include/berberis/assembler/
Dmachine_code.h92 void Install(ExecRegionType* exec, const uint8_t* code, RecoveryMap* recovery_map) { in Install() argument
94 exec->Write(code, AddrAs<uint8_t>(0), code_.size()); in Install()

123456