Home
last modified time | relevance | path

Searched refs:ir (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
Dmath_err.rscript54 float ir;
55 SET_FLOAT_WORD(ir, ibits);
57 ir -= 1.5f;
58 float ir2 = ir*ir;
60 (0.666666667f * ir) -
62 (0.098765432f * ir*ir2) -
64 (0.026337449f * ir*ir2*ir2) -
/frameworks/base/tools/lock_agent/
Dagent.cpp90 explicit Transformer(std::shared_ptr<ir::DexFile> dexIr) : dexIr_(dexIr) {} in Transformer()
95 std::unique_ptr<ir::Builder> builder; in transform()
174 builder_ = std::unique_ptr<ir::Builder>(new ir::Builder(dexIr_)); in prepareBuilder()
191 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
192 const char* methodName, ir::Type* returnType, in addCall()
193 const std::vector<ir::Type*>& types, const std::list<int>& regs) { in addCall()
206 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
207 const char* methodName, ir::Type* returnType, ir::Type* paramType, in addCall()
218 std::shared_ptr<ir::DexFile> dexIr_;
219 std::unique_ptr<ir::Builder> builder_;
[all …]
/frameworks/base/startop/view_compiler/
Ddex_builder.cc189 DexBuilder::DexBuilder() : dex_file_{std::make_shared<ir::DexFile>()} { in DexBuilder()
200 ir::String* DexBuilder::GetOrAddString(const std::string& string) { in GetOrAddString()
201 ir::String*& entry = strings_[string]; in GetOrAddString()
214 entry = Alloc<ir::String>(); in GetOrAddString()
226 auto* class_def = Alloc<ir::Class>(); in MakeClass()
227 ir::Type* type_def = GetOrAddType(DotToDescriptor(name.c_str())); in MakeClass()
236 ir::Type* DexBuilder::GetOrAddType(const std::string& descriptor) { in GetOrAddType()
241 ir::Type* type = Alloc<ir::Type>(); in GetOrAddType()
249 ir::FieldDecl* DexBuilder::GetOrAddField(TypeDescriptor parent, const std::string& name, in GetOrAddField()
256 ir::FieldDecl* field = Alloc<ir::FieldDecl>(); in GetOrAddField()
[all …]
Ddex_builder.h95 ir::Proto* Encode(DexBuilder* dex) const;
327 ir::MethodDecl* decl;
333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
336 ir::EncodedMethod* Encode();
477 ir::Class* class_;
478 ir::MethodDecl* decl_;
519 ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def);
530 ir::Class* const class_;
548 ir::String* GetOrAddString(const std::string& string);
555 ir::Type* GetOrAddType(const std::string& descriptor);
[all …]
Ddex_testcase_generator.cc278 const ir::Type* type_def = dex_file.GetOrAddType(string_type.descriptor()); in GenerateSimpleTestCases()
292 const ir::FieldDecl* field = in GenerateSimpleTestCases()
305 const ir::FieldDecl* field = in GenerateSimpleTestCases()
319 const ir::FieldDecl* field = in GenerateSimpleTestCases()
332 const ir::FieldDecl* field = in GenerateSimpleTestCases()
Ddex_layout_compiler.cc167 const ir::Type* view_group_def = method_->dex_file()->GetOrAddType(kViewGroup.descriptor()); in StartView()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DRotationAnimationUtils.java50 ImageReader ir = ImageReader.newInstance(graphicBuffer.getWidth(), in getMedianBorderLuma() local
52 ir.getSurface().attachAndQueueBufferWithColorSpace(graphicBuffer, colorSpace); in getMedianBorderLuma()
53 Image image = ir.acquireLatestImage(); in getMedianBorderLuma()
80 ir.close(); in getMedianBorderLuma()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java144 private CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, in CatService() argument
146 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService()
173 mIccRecords = ir; in CatService()
204 IccRecords ir = null; in getInstance() local
212 ir = ca.getIccRecords(); in getInstance()
225 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance()
230 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId); in getInstance()
231 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance()
236 mIccRecords = ir; in getInstance()
1120 IccRecords ir = null; in update() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java638 IccRecords ir = app.getIccRecords(); in registerAllAppEvents() local
639 if (ir != null) { in registerAllAppEvents()
641 ir.registerForRecordsLoaded(mHandler, EVENT_RECORDS_LOADED, null); in registerAllAppEvents()
642 ir.registerForRecordsEvents(mHandler, EVENT_ICC_RECORD_EVENTS, null); in registerAllAppEvents()
652 IccRecords ir = app.getIccRecords(); in unregisterAllAppEvents() local
653 if (ir != null) { in unregisterAllAppEvents()
654 ir.unregisterForRecordsLoaded(mHandler); in unregisterAllAppEvents()
655 ir.unregisterForRecordsEvents(mHandler); in unregisterAllAppEvents()
1141 IccRecords ir = app.getIccRecords(); in areAllRecordsLoaded() local
1142 if (ir == null || !ir.isLoaded()) { in areAllRecordsLoaded()
[all …]
/frameworks/base/libs/hwui/jni/text/
DMeasuredText.cpp128 SkIRect ir; in nGetBounds() local
129 r.roundOut(&ir); in nGetBounds()
130 GraphicsJNI::irect_to_jrect(ir, env, bounds); in nGetBounds()
/frameworks/base/services/core/jni/
Dcom_android_server_ConsumerIrService.cpp29 using ::android::hardware::ir::V1_0::IConsumerIr;
30 using ::android::hardware::ir::V1_0::ConsumerIrFreqRange;
DAndroid.bp148 "android.hardware.ir@1.0",
/frameworks/base/libs/hwui/jni/
DRegion.cpp99 SkIRect ir; in Region_op1() local
100 GraphicsJNI::jrect_to_irect(env, rectObject, &ir); in Region_op1()
101 bool result = dst->op(ir, *region, (SkRegion::Op)op); in Region_op1()
141 SkIRect ir; in Region_quickRejectIIII() local
142 ir.setLTRB(left, top, right, bottom); in Region_quickRejectIIII()
143 bool result = GetSkRegion(env, region)->quickReject(ir); in Region_quickRejectIIII()
Dandroid_graphics_Canvas.cpp167 SkIRect ir; in getClipBounds() local
173 r.round(&ir); in getClipBounds()
175 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds); in getClipBounds()
DPaint.cpp358 SkIRect ir; in doTextBounds() local
372 r.roundOut(&ir); in doTextBounds()
373 GraphicsJNI::irect_to_jrect(ir, env, bounds); in doTextBounds()
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp202 llvm::IRBuilder<> ir(&*Func.getEntryBlock().begin()); in attachDebugInfo() local
223 ir.CreateAlloca(arg.getType(), nullptr, arg.getName() + ".var"); in attachDebugInfo()
224 llvm::StoreInst *argStore = ir.CreateStore(&arg, argVar); in attachDebugInfo()
225 llvm::LoadInst *loadedVar = ir.CreateLoad(argVar, arg.getName() + ".l"); in attachDebugInfo()
/frameworks/base/media/java/android/media/
DImageReader.java754 final ImageReader ir = weakSelf.get(); in postEventFromNative() local
755 if (ir == null) { in postEventFromNative()
760 synchronized (ir.mListenerLock) { in postEventFromNative()
761 handler = ir.mListenerHandler; in postEventFromNative()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java322 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays() local
324 assertEquals(1, ir.length); in testArrays()
325 assertEquals(34, ir[0]); in testArrays()
/frameworks/rs/driver/runtime/
Drs_cl.c1350 float ir; in native_log2() local
1351 SET_FLOAT_WORD(ir, ibits); in native_log2()
1352 ir -= 1.5f; in native_log2()
1353 float ir2 = ir*ir; in native_log2()
1355 ((0.666666667f / 0.693147181f) * ir) - in native_log2()
1357 ((0.098765432f / 0.693147181f) * ir*ir2) - in native_log2()
1359 ((0.026337449f / 0.693147181f) * ir*ir2*ir2) - in native_log2()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password137 �+Dg�sE�Q%�6g���E��fcU�;e�f�+��c�k��/���ir]���B�˃NX�cqa��:a�ސ��kl��b�Mc,.�Vh��Q��n�R��7��…
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java16512 int ir = 0; in broadcastIntentLocked() local
16554 while (it < NT && ir < NR) { in broadcastIntentLocked()
16559 curr = registeredReceivers.get(ir); in broadcastIntentLocked()
16564 ir++; in broadcastIntentLocked()
16575 while (ir < NR) { in broadcastIntentLocked()
16579 receivers.add(registeredReceivers.get(ir)); in broadcastIntentLocked()
16580 ir++; in broadcastIntentLocked()