/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
SysuiTestCase.java | 65 Instrumentation inst = spy(mRealInstrumentation); local 66 when(inst.getContext()).thenAnswer(invocation -> { 70 when(inst.getTargetContext()).thenAnswer(invocation -> { 74 InstrumentationRegistry.registerInstance(inst, InstrumentationRegistry.getArguments()); 75 KeyguardUpdateMonitor.disableHandlerCheckForTesting(inst);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
TouchUtils.java | 30 public static void tapView(Instrumentation inst, RecyclerView recyclerView, 46 inst.sendPointerSync(event); 47 inst.waitForIdleSync(); 53 inst.sendPointerSync(event); 54 inst.waitForIdleSync(); 58 inst.sendPointerSync(event); 59 inst.waitForIdleSync(); 62 public static void touchAndCancelView(Instrumentation inst, View v) { 77 inst.sendPointerSync(event); 78 inst.waitForIdleSync() [all...] |
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
PKCS8Key.java | 221 Object inst = null; local 225 inst = keyClass.newInstance(); 226 if (inst instanceof PKCS8Key) { 227 result = (PKCS8Key) inst;
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509Key.java | 258 Object inst = null; local 262 inst = keyClass.newInstance(); 263 if (inst instanceof X509Key) { 264 result = (X509Key) inst;
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraLatency.java | 74 Instrumentation inst = getInstrumentation(); local 75 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); 79 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
|
ShotToShotLatency.java | 94 Instrumentation inst = getInstrumentation(); local 98 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 53 Instrumentation inst = getInstrumentation(); local 54 Activity cameraActivity = inst.startActivitySync(intent); 75 Instrumentation inst = getInstrumentation(); local 76 Activity recorderActivity = inst.startActivitySync(intent);
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
TestSongs.java | 68 Instrumentation inst = getInstrumentation(); local 70 inst.invokeContextMenuAction(getActivity(), 0, 0); 74 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DEL); 76 inst.sendStringSync(MusicPlayerNames.unsortedPlaylistTitle[i]); 77 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); 78 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER); 80 inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_DOWN); 150 Instrumentation inst = getInstrumentation(); local 151 inst.invokeContextMenuAction(getActivity(), 0, 0); 174 Instrumentation inst = getInstrumentation() local [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/ |
spirv_stats.cpp | 69 spv_result_t ProcessInstruction(const spv_parsed_instruction_t* inst) { 71 spvtools::ValidateInstructionAndUpdateValidationState(vstate_.get(), inst); 89 const Instruction& inst = GetCurrentInstruction(); local 91 id_descriptors_.ProcessInstruction(inst.c_inst()); 95 ss << spvOpcodeString(inst.opcode()); 96 for (size_t i = 1; i < inst.words().size(); ++i) { 97 ss << " " << inst.word(i); 103 for (const auto& operand : inst.operands()) { 106 id_descriptors_.GetDescriptor(inst.word(operand.offset)); 110 std::pair<uint32_t, uint32_t>(inst.opcode(), index)][descriptor] 119 const Instruction& inst = GetCurrentInstruction(); local 155 const Instruction& inst = GetCurrentInstruction(); local 167 const Instruction& inst = GetCurrentInstruction(); local 180 const Instruction& inst = GetCurrentInstruction(); local 188 const Instruction& inst = GetCurrentInstruction(); local 222 const Instruction& inst = GetCurrentInstruction(); local [all...] |
text.cpp | 681 spv_instruction_t inst; local 683 if (spvTextEncodeOpcode(grammar, &context, &inst)) { 728 spv_instruction_t& inst = instructions.back(); local 730 if (spvTextEncodeOpcode(grammar, &context, &inst)) { 738 for (auto& inst : instructions) { 739 totalSize += inst.words.size(); 745 for (auto& inst : instructions) { 746 memcpy(data + currentIndex, inst.words.data(), 747 sizeof(uint32_t) * inst.words.size()); 748 currentIndex += inst.words.size() [all...] |
/toolchain/binutils/binutils-2.27/opcodes/ |
mcore-opc.h | 34 typedef struct inst struct 39 unsigned short inst; member in struct:inst
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
MediaBitstreamsDeviceSideTest.java | 325 Instrumentation inst = InstrumentationRegistry.getInstrumentation(); local 329 inst.sendStatus(INST_STATUS_IN_PROGRESS, bundle);
|
/art/compiler/dex/ |
dex_to_dex_compiler.cc | 75 void CompileReturnVoid(Instruction* inst, uint32_t dex_pc); 79 // the given "inst". 80 Instruction* CompileCheckCast(Instruction* inst, uint32_t dex_pc); 88 void CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, 97 void CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, 104 uint16_t GetIndexForInstruction(const Instruction* inst, uint32_t index); 193 uint16_t DexToDexCompiler::CompilationState::GetIndexForInstruction(const Instruction* inst, 196 return inst->IsQuickened() ? NextIndex() : index; 198 DCHECK(!inst->IsQuickened()); 214 Instruction* inst = const_cast<Instruction*>(&it.Inst()) local 365 const Instruction& inst = instructions.InstructionAt(info.dex_pc); local [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
ObjectHandler.java | 59 AhatInstance inst = mSnapshot.findInstance(id); local 60 if (inst == null) { 64 AhatInstance base = inst.getBaseline(); 66 doc.title("Object %08x", inst.getId()); 67 doc.big(Summarizer.summarize(inst)); 69 printAllocationSite(doc, query, inst); 71 if (!inst.isUnreachable()) { 72 printGcRootPath(doc, query, inst); 76 AhatClassObj cls = inst.getClassObj(); 80 doc.description(DocString.text("Heap"), DocString.text(inst.getHeap().getName())) [all...] |
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
DeviceReportTest.java | 80 TestInstrumentation inst = new TestInstrumentation(); local 81 log.submit(inst); 82 assertEquals("Incorrect result code", RESULT_CODE, inst.mResultCode); 83 assertNotNull("Bundle missing", inst.mResults); 84 String metrics = inst.mResults.getString(RESULT_KEY); 102 TestInstrumentation inst = new TestInstrumentation(); local 107 log1.submit(inst); 112 log2.submit(inst); 117 log3.submit(inst); 122 log4.submit(inst); [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTestXheAac.java | 59 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); local 60 assertNotNull(inst); 61 mResources = inst.getContext().getResources(); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lvm.c | 426 Instruction inst = *(ci->u.l.savedpc - 1); /* interrupted instruction */ local 427 OpCode op = GET_OPCODE(inst); 432 setobjs2s(L, base + GETARG_A(inst), --L->top); 439 lua_assert(!ISK(GETARG_B(inst))); 441 ttisnil(luaT_gettmbyobj(L, base + GETARG_B(inst), TM_LE))) 444 if (res != GETARG_A(inst)) /* condition failed? */ 450 int b = GETARG_B(inst); /* first element to concatenate */ 458 setobj2s(L, ci->u.l.base + GETARG_A(inst), L->top - 1); 468 if (GETARG_C(inst) - 1 >= 0) /* nresults >= 0? */
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stoptheworld_linux_libcdep.cc | 226 ThreadSuspender *inst = thread_suspender_instance; local 227 if (inst && stoptheworld_tracer_pid == internal_getpid()) { 228 inst->KillAllThreads(); 238 ThreadSuspender *inst = thread_suspender_instance; local 239 if (inst) { 241 inst->KillAllThreads(); 243 inst->ResumeAllThreads(); 246 atomic_store(&inst->arg->done, 1, memory_order_relaxed);
|
/external/llvm/lib/Transforms/Utils/ |
CodeExtractor.cpp | 365 if (Instruction *inst = dyn_cast<Instruction>(use)) 366 if (Blocks.count(inst->getParent())) 367 inst->replaceUsesOfWith(inputs[i], RewriteVal); 494 Instruction *inst = cast<Instruction>(Users[u]); local 495 if (!Blocks.count(inst->getParent())) 496 inst->replaceUsesOfWith(outputs[i], load);
|
/external/mesa3d/src/compiler/glsl/ |
glsl_to_nir.cpp | 1017 ir_instruction *inst = (ir_instruction *) param; local 1100 ir_instruction *inst = (ir_instruction *) param; local [all...] |
lower_shared_reference.cpp | 347 ir_instruction *inst = (ir_instruction *) param; local 348 assert(inst->ir_type == ir_type_dereference_variable || 349 inst->ir_type == ir_type_dereference_array || 350 inst->ir_type == ir_type_dereference_record || 351 inst->ir_type == ir_type_swizzle); 353 ir_rvalue *deref = (ir_rvalue *) inst;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
r3xx_vertprog.c | 189 unsigned int * inst) 191 inst[0] = PVS_OP_DST_OPERAND(hw_opcode, 198 inst[1] = t_src(vp, &vpi->SrcReg[0]); 199 inst[2] = __CONST(0, RC_SWIZZLE_ZERO); 200 inst[3] = __CONST(0, RC_SWIZZLE_ZERO); 206 unsigned int * inst) 208 inst[0] = PVS_OP_DST_OPERAND(hw_opcode, 215 inst[1] = t_src(vp, &vpi->SrcReg[0]); 216 inst[2] = t_src(vp, &vpi->SrcReg[1]); 217 inst[3] = __CONST(1, RC_SWIZZLE_ZERO) 381 unsigned int *inst = compiler->code->body.d + compiler->code->length; local 563 struct rc_instruction *inst; local 758 struct rc_instruction * inst = rc_insert_new_instruction(&compiler->Base, compiler->Base.Program.Instructions.Prev); local 799 struct rc_instruction *inst, *add; local 831 struct rc_instruction *inst, *lastARL = NULL; local [all...] |
radeon_compiler_util.c | 211 struct rc_instruction * inst, 223 struct rc_instruction * inst, 226 struct rc_sub_instruction * sub = &inst->U.I; 246 rc_for_all_reads_src(inst, normal_rewrite_writemask_cb, 389 * This callback function counts the number of sources in inst that are 394 struct rc_instruction * inst, 412 struct rc_instruction * inst, 423 rc_get_opcode_info(inst->U.I.Opcode); 440 if (inst->U.I.PreSub.Opcode != RC_PRESUB_NONE) { 447 rc_for_all_reads_src(inst, can_use_presub_read_cb, &d) 536 struct rc_instruction * inst; local 640 struct rc_instruction * inst; local 662 struct rc_instruction * inst; local [all...] |
radeon_optimize.c | 66 static void copy_propagate_scan_read(void * data, struct rc_instruction * inst, 72 if(!rc_inst_can_use_presub(inst, 93 (inst->U.I.Opcode == RC_OPCODE_TEX || 94 inst->U.I.Opcode == RC_OPCODE_TXB || 95 inst->U.I.Opcode == RC_OPCODE_TXP || 96 inst->U.I.Opcode == RC_OPCODE_TXD || 97 inst->U.I.Opcode == RC_OPCODE_TXL || 98 inst->U.I.Opcode == RC_OPCODE_KIL)){ 106 struct rc_instruction * inst, 125 struct rc_instruction * inst, 163 struct rc_instruction * inst = reader_data.Readers[i].Inst; local 176 struct rc_instruction * inst = reader_data.Readers[i].Inst; local 810 struct rc_instruction * inst; local 878 struct rc_instruction * inst = c->Program.Instructions.Next; local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_shader_tgsi_alu.c | 33 const struct tgsi_full_instruction *inst = emit_data->inst; local 40 LLVMValueRef value = lp_build_emit_fetch(bld_base, inst, 0, i); 78 switch (emit_data->inst->Instruction.Opcode) { 147 switch (emit_data->inst->Instruction.Opcode) { 175 switch (emit_data->inst->Instruction.Opcode) { 203 switch (emit_data->inst->Instruction.Opcode) { 346 if (emit_data->inst->Instruction.Opcode == TGSI_OPCODE_I64SSG) { 351 } else if (emit_data->inst->Instruction.Opcode == TGSI_OPCODE_ISSG) { 669 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, [all...] |