/frameworks/libs/binary_translation/base/ |
D | exec_region_test.cc | 29 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 …]
|
D | exec_region_anonymous_test.cc | 30 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()
|
D | exec_region_elf_backed_test.cc | 30 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/ |
D | assembler_test.cc | 150 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/ |
D | Utils.java | 50 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/ |
D | code_gen_lib_riscv64_test.cc | 60 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/ |
D | LockSettingsShellCommandTest.java | 108 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/ |
D | RemoteProvisioningShellCommandTest.java | 114 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/ |
D | lite_translate_region_exec_tests.cc | 56 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()
|
D | lite_translate_insn_exec_tests.cc | 49 ScopedExecRegion exec(&machine_code); in RunOneInstruction() local 51 TestingRunGeneratedCode(state, exec.get(), stop_pc); in RunOneInstruction()
|
D | lite_translator_exec_tests.cc | 44 ScopedExecRegion exec(&machine_code_); in Run() local 45 berberis_RunGeneratedCode(&state_, exec.get()); in Run()
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | heavy_optimizer_insn_exec_tests.cc | 55 ScopedExecRegion exec(&machine_code); in RunOneInstruction() local 57 TestingRunGeneratedCode(state, exec.get(), stop_pc); in RunOneInstruction()
|
/frameworks/base/api/coverage/tools/ |
D | ExtractFlaggedApisTest.kt | 66 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/ |
D | UserManagerServiceShellCommandTest.java | 106 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/ |
D | berberis.rc | 2 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/ |
D | SysUIConcurrencyModule.kt | 196 @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/ |
D | BlockingGLTextureView.java | 350 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/ |
D | exec_region.h | 40 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/ |
D | FileIO.ts | 15 import { exec } from 'child_process'; 96 exec(cmd, (error, out, stderr) => {
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteDatabaseTest.java | 119 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/ |
D | PowerMeasurement.java | 72 Process runsum = fileRemoval.exec(cmdBecomeSu); in testPageLoadStaticNYTimes() 75 Process removal = fileRemoval.exec(rmfile); in testPageLoadStaticNYTimes()
|
/frameworks/base/core/java/android/os/ |
D | ShellCommand.java | 34 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()
|
D | AsyncTask.java | 357 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/ |
D | RemoteLockscreenValidationClientImpl.java | 94 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/ |
D | machine_code.h | 92 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()
|