Home
last modified time | relevance | path

Searched refs:mConstants (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DProgram.java71 Type mConstants[]; field in Program
88 return mConstants != null ? mConstants.length : 0; in getConstantCount()
99 if (slot < 0 || slot >= mConstants.length) { in getConstant()
102 return mConstants[slot]; in getConstant()
147 if (slot < 0 || slot >= mConstants.length) { in bindConstants()
151 a.getType().getID(mRS) != mConstants[slot].getID(mRS)) { in bindConstants()
205 Type mConstants[]; field in Program.BaseProgramBuilder
220 mConstants = new Type[MAX_CONSTANT]; in BaseProgramBuilder()
317 mConstants[mConstantCount] = t; in addConstant()
359 p.mConstants = new Type[mConstantCount]; in initProgram()
[all …]
DProgramFragment.java79 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramVertex.java139 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramFragmentFixedFunction.java66 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramVertexFixedFunction.java92 tmp[idx++] = mConstants[i].getID(mRS); in create()
/frameworks/base/core/java/android/os/health/
DHealthStatsWriter.java35 private final HealthKeys.Constants mConstants; field in HealthStatsWriter
63 mConstants = constants; in HealthStatsWriter()
93 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); in addTimer()
104 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENT, measurementId); in addMeasurement()
118 final int index = mConstants.getIndex(HealthKeys.TYPE_STATS, key); in addStats()
133 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMERS, key); in addTimers()
146 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENTS, key); in addMeasurements()
167 out.writeString(mConstants.getDataType()); in flattenToParcel()
171 keys = mConstants.getKeys(HealthKeys.TYPE_TIMER); in flattenToParcel()
182 keys = mConstants.getKeys(HealthKeys.TYPE_MEASUREMENT); in flattenToParcel()
[all …]
/frameworks/rs/
DrsProgram.cpp46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; in Program()
94 delete[] mConstants; in ~Program()
144 mConstants = nullptr; in initMemberVars()
167 if (mConstants[slot].get() == alloc) { in bindAllocation()
170 if (mConstants[slot].get()) { in bindAllocation()
171 mConstants[slot]->removeProgramToDirty(this); in bindAllocation()
173 mConstants[slot].set(alloc); in bindAllocation()
DrsFont.cpp653 mFontShaderFConstant->data(mRSC, 0, 0, 1, &mConstants, sizeof(mConstants)); in issueDrawCommand()
790 mConstants.mFontColor[0] = r; in setFontColor()
791 mConstants.mFontColor[1] = g; in setFontColor()
792 mConstants.mFontColor[2] = b; in setFontColor()
793 mConstants.mFontColor[3] = a; in setFontColor()
795 mConstants.mGamma = 1.0f; in setFontColor()
798 mConstants.mGamma = mBlackGamma; in setFontColor()
800 mConstants.mGamma = mWhiteGamma; in setFontColor()
807 *r = mConstants.mFontColor[0]; in getFontColor()
808 *g = mConstants.mFontColor[1]; in getFontColor()
[all …]
DrsProgram.h76 ObjectBaseRef<Allocation> *mConstants; variable
DrsFont.h192 } mConstants; variable
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java387 mConstants.MIN_DEEP_MAINTENANCE_TIME);
390 mConstants.MIN_LIGHT_MAINTENANCE_TIME);
966 private Constants mConstants; field in DeviceIdleController
979 handleMotionDetectedLocked(mConstants.INACTIVE_TIMEOUT, "sense_motion"); in onAnyMotionResult()
1199 long duration = mConstants.MMS_TEMP_APP_WHITELIST_DURATION; in addPowerSaveTempWhitelistAppForMms()
1206 long duration = mConstants.SMS_TEMP_APP_WHITELIST_DURATION; in addPowerSaveTempWhitelistAppForSms()
1249 return mConstants.NOTIFICATION_WHITELIST_DURATION; in getNotificationWhitelistDuration()
1329 mConstants = new Constants(mHandler, getContext().getContentResolver()); in onStart()
1341 mInactiveTimeout = mConstants.INACTIVE_TIMEOUT; in onStart()
1622 duration = Math.min(duration, mConstants.MAX_TEMP_APP_WHITELIST_DURATION); in addPowerSaveTempWhitelistAppDirectInternal()
[all …]
DAlarmManagerService.java328 final Constants mConstants; field in AlarmManagerService
695 mConstants = new Constants(mHandler); in AlarmManagerService()
817 mConstants.updateAllowWhileIdleMinTimeLocked(); in restorePendingWhileIdleAlarmsLocked()
953 mConstants.start(getContext().getContentResolver()); in onBootPhase()
1036 final long minInterval = mConstants.MIN_INTERVAL; in setImpl()
1058 final long minTrigger = nowElapsed + mConstants.MIN_FUTURITY; in setImpl()
1190 mConstants.updateAllowWhileIdleMinTimeLocked(); in setImplLocked()
1367 mConstants.dump(pw); in dumpImpl()
3012 mConstants.LISTENER_TIMEOUT); in deliverLocked()
/frameworks/av/services/audioflinger/
DAudioResamplerDyn.cpp177 mConstants.set(128, 8, mSampleRate, mSampleRate); // TODO: set better in AudioResamplerDyn()
285 uint32_t oldPhaseWrapLimit = mConstants.mL << mConstants.mShift; in setSampleRate()
382 mConstants.set(phases, halfLength, inSampleRate, mSampleRate); in setSampleRate()
383 createKaiserFir(mConstants, stopBandAtten, in setSampleRate()
388 const Constants& c(mConstants); in setSampleRate()
492 const Constants& c(mConstants); in resample()
493 const TC* const coefs = mConstants.mFirCoefs; in resample()
DAudioResamplerSinc.cpp240 mConstants = (quality == VERY_HIGH_QUALITY) ? in AudioResamplerSinc()
250 const Constants& c(*mConstants); in init()
273 if (mConstants == &veryHighQualityConstants && readResampleCoefficients) { in resample()
297 const Constants& c(*mConstants); in resample()
386 const Constants& c(*mConstants); in read()
410 const Constants& c(*mConstants); in filterCoefficient()
DAudioResamplerSinc.h92 const Constants *mConstants; // points to appropriate set of coefficient parameters variable
DAudioResamplerDyn.h122 Constants mConstants; // current set of coefficient parameters variable
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java390 final Constants mConstants; field in JobSchedulerService
728 mConstants = new Constants(mHandler); in JobSchedulerService()
752 mConstants.start(getContext().getContentResolver()); in onBootPhase()
1184 idleCount >= mConstants.MIN_IDLE_COUNT || in postProcess()
1185 connectivityCount >= mConstants.MIN_CONNECTIVITY_COUNT || in postProcess()
1186 chargingCount >= mConstants.MIN_CHARGING_COUNT || in postProcess()
1187 contentCount >= mConstants.MIN_CONTENT_COUNT || in postProcess()
1189 && runnableJobs.size() >= mConstants.MIN_READY_JOBS_COUNT)) { in postProcess()
1286 if (factor >= mConstants.HEAVY_USE_FACTOR) { in adjustJobPriority()
1288 } else if (factor >= mConstants.MODERATE_USE_FACTOR) { in adjustJobPriority()
[all …]
/frameworks/rs/api/
DSpecification.cpp853 for (auto i : mConstants) { in ~SystemSpecification()
882 return findOrCreate<Constant>(name, &mConstants, created); in findOrCreateConstant()
914 for (auto i : mConstants) { in getMaximumApiLevel()
938 cout << "Successfully processed " << mTypes.size() << " types, " << mConstants.size() in generateFiles()
946 auto c = mConstants.find(name); in getHtmlAnchor()
947 if (c != mConstants.end()) { in getHtmlAnchor()
DSpecification.h579 std::map<std::string, Constant*> mConstants; variable
601 const std::map<std::string, Constant*>& getConstants() const { return mConstants; } in getConstants()