/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/ |
D | math_err.rscript | 54 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/ |
D | agent.cpp | 90 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/ |
D | dex_builder.cc | 189 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 …]
|
D | dex_builder.h | 95 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 …]
|
D | dex_testcase_generator.cc | 278 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()
|
D | dex_layout_compiler.cc | 167 const ir::Type* view_group_def = method_->dex_file()->GetOrAddType(kViewGroup.descriptor()); in StartView()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | RotationAnimationUtils.java | 60 ImageReader ir = ImageReader.newInstance(hardwareBuffer.getWidth(), in getMedianBorderLuma() local 62 ir.getSurface().attachAndQueueBufferWithColorSpace(hardwareBuffer, colorSpace); in getMedianBorderLuma() 63 Image image = ir.acquireLatestImage(); in getMedianBorderLuma() 90 ir.close(); in getMedianBorderLuma()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 145 private CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, in CatService() argument 147 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService() 174 mIccRecords = ir; in CatService() 205 IccRecords ir = null; in getInstance() local 213 ir = ca.getIccRecords(); in getInstance() 226 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance() 231 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId); in getInstance() 232 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance() 237 mIccRecords = ir; in getInstance() 1121 IccRecords ir = null; in update() local [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_ConsumerIrService.cpp | 29 using ::android::hardware::ir::V1_0::IConsumerIr; 30 using ::android::hardware::ir::V1_0::ConsumerIrFreqRange;
|
D | Android.bp | 164 "android.hardware.ir@1.0",
|
/frameworks/base/media/java/android/media/ |
D | ImageReader.java | 893 final ImageReader ir = weakSelf.get(); in postEventFromNative() local 894 if (ir == null) { in postEventFromNative() 900 synchronized (ir.mListenerLock) { in postEventFromNative() 901 executor = ir.mListenerExecutor; in postEventFromNative() 902 listener = ir.mListener; in postEventFromNative() 905 synchronized (ir.mCloseLock) { in postEventFromNative() 906 isReaderValid = ir.mIsReaderValid; in postEventFromNative() 916 listener.onImageAvailable(ir); in postEventFromNative()
|
/frameworks/base/libs/hwui/jni/ |
D | Region.cpp | 99 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()
|
D | Graphics.cpp | 268 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) in jrect_to_irect() argument 272 ir->setLTRB(env->GetIntField(obj, gRect_leftFieldID), in jrect_to_irect() 276 return ir; in jrect_to_irect() 279 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) in irect_to_jrect() argument 283 env->SetIntField(obj, gRect_leftFieldID, ir.fLeft); in irect_to_jrect() 284 env->SetIntField(obj, gRect_topFieldID, ir.fTop); in irect_to_jrect() 285 env->SetIntField(obj, gRect_rightFieldID, ir.fRight); in irect_to_jrect() 286 env->SetIntField(obj, gRect_bottomFieldID, ir.fBottom); in irect_to_jrect() 330 void GraphicsJNI::ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) in ipoint_to_jpoint() argument 334 env->SetIntField(obj, gPoint_xFieldID, ir.fX); in ipoint_to_jpoint() [all …]
|
D | android_graphics_Canvas.cpp | 167 SkIRect ir; in getClipBounds() local 173 r.round(&ir); in getClipBounds() 175 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds); in getClipBounds()
|
D | Paint.cpp | 344 SkIRect ir; in doTextBounds() local 353 r.roundOut(&ir); in doTextBounds() 354 GraphicsJNI::irect_to_jrect(ir, env, bounds); in doTextBounds()
|
/frameworks/compile/libbcc/lib/ |
D | RSAddDebugInfoPass.cpp | 202 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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 722 IccRecords ir = app.getIccRecords(); in registerAllAppEvents() local 723 if (ir != null) { in registerAllAppEvents() 725 ir.registerForRecordsLoaded(mHandler, EVENT_RECORDS_LOADED, null); in registerAllAppEvents() 726 ir.registerForRecordsEvents(mHandler, EVENT_ICC_RECORD_EVENTS, null); in registerAllAppEvents() 736 IccRecords ir = app.getIccRecords(); in unregisterAllAppEvents() local 737 if (ir != null) { in unregisterAllAppEvents() 738 ir.unregisterForRecordsLoaded(mHandler); in unregisterAllAppEvents() 739 ir.unregisterForRecordsEvents(mHandler); in unregisterAllAppEvents() 1235 IccRecords ir = app.getIccRecords(); in areAllRecordsLoaded() local 1236 if (ir == null || !ir.isLoaded()) { in areAllRecordsLoaded() [all …]
|
/frameworks/base/libs/hwui/jni/text/ |
D | MeasuredText.cpp | 132 SkIRect ir; in nGetBounds() local 133 r.roundOut(&ir); in nGetBounds() 134 GraphicsJNI::irect_to_jrect(ir, env, bounds); in nGetBounds()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 22 import android.hardware.ir.ConsumerIrFreqRange; 23 import android.hardware.ir.IConsumerIr;
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | ScreenRotationAnimation.java | 418 ImageReader ir = ImageReader.newInstance(hardwareBuffer.getWidth(), in getMedianBorderLuma() local 420 ir.getSurface().attachAndQueueBufferWithColorSpace(hardwareBuffer, colorSpace); in getMedianBorderLuma() 421 Image image = ir.acquireLatestImage(); in getMedianBorderLuma() 448 ir.close(); in getMedianBorderLuma()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | AidlTest.java | 323 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays() local 325 assertEquals(1, ir.length); in testArrays() 326 assertEquals(34, ir[0]); in testArrays()
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 1350 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/core/ |
D | Android.bp | 164 "android.hardware.ir-V1-java",
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | backup_telephony_no_password | 137 �+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/ |
D | ActivityManagerService.java | 14255 int ir = 0; in broadcastIntentLocked() local 14297 while (it < NT && ir < NR) { in broadcastIntentLocked() 14302 curr = registeredReceivers.get(ir); in broadcastIntentLocked() 14307 ir++; in broadcastIntentLocked() 14318 while (ir < NR) { in broadcastIntentLocked() 14322 receivers.add(registeredReceivers.get(ir)); in broadcastIntentLocked() 14323 ir++; in broadcastIntentLocked()
|