Searched defs:constants (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/services/oboeservice/
H A DAAudioService.h109 enum constants { enum in class:android::AAudioService
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java37 public static void schedule(Context ctx, long minDelay, BackupManagerConstants constants) { argument
40 synchronized (constants) {
42 .setRequiredNetworkType(constants.getFullBackupRequiredNetworkType())
43 .setRequiresCharging(constants.getFullBackupRequireCharging());
H A DKeyValueBackupJob.java50 public static void schedule(Context ctx, BackupManagerConstants constants) { argument
51 schedule(ctx, 0, constants);
54 public static void schedule(Context ctx, long delay, BackupManagerConstants constants) { argument
65 synchronized (constants) {
66 interval = constants.getKeyValueBackupIntervalMilliseconds();
67 fuzz = constants.getKeyValueBackupFuzzMilliseconds();
68 networkType = constants.getKeyValueBackupRequiredNetworkType();
69 needsCharging = constants.getKeyValueBackupRequireCharging();
/frameworks/base/core/java/android/net/metrics/
H A DApfProgramEvent.java40 // Bitflag constants describing what an Apf program filters.
55 public int flags; // Bitfield compound of FLAG_* constants
118 names.add(Decoder.constants.get(bit));
124 static final SparseArray<String> constants = field in class:ApfProgramEvent.Decoder
H A DIpManagerEvent.java91 Decoder.constants.get(eventType), durationMs);
95 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in class:IpManagerEvent.Decoder
H A DIpReachabilityEvent.java95 String eventName = Decoder.constants.get(hi);
100 static final SparseArray<String> constants = field in class:IpReachabilityEvent.Decoder
H A DNetworkEvent.java105 Decoder.constants.get(eventType), durationMs);
109 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in class:NetworkEvent.Decoder
H A DDhcpErrorEvent.java103 return String.format("DhcpErrorEvent(%s)", Decoder.constants.get(errorCode));
107 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in class:DhcpErrorEvent.Decoder
H A DValidationProbeEvent.java97 return Decoder.constants.get(probeType & 0xff, "PROBE_???");
101 return Decoder.constants.get(probeType & 0xff00, "UNKNOWN");
111 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in class:ValidationProbeEvent.Decoder
/frameworks/base/core/java/android/os/health/
H A DHealthStatsWriter.java56 * Construct a HealthStatsWriter object with the given constants.
62 public HealthStatsWriter(HealthKeys.Constants constants) { argument
63 mConstants = constants;
66 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER);
72 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT);
77 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS);
81 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS);
85 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS);
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DConnectivityController.java113 NetworkCapabilities capabilities, Constants constants) {
144 NetworkCapabilities capabilities, Constants constants) {
148 return jobStatus.getFractionRunTime() < constants.CONN_CONGESTION_DELAY_FRAC;
156 NetworkCapabilities capabilities, Constants constants) {
163 NetworkCapabilities capabilities, Constants constants) {
175 return jobStatus.getFractionRunTime() > constants.CONN_PREFETCH_RELAX_FRAC;
183 NetworkCapabilities capabilities, Constants constants) {
188 if (isInsane(jobStatus, network, capabilities, constants)) return false;
191 if (isCongestionDelayed(jobStatus, network, capabilities, constants)) return false;
194 if (isStrictSatisfied(jobStatus, network, capabilities, constants)) retur
112 isInsane(JobStatus jobStatus, Network network, NetworkCapabilities capabilities, Constants constants) argument
143 isCongestionDelayed(JobStatus jobStatus, Network network, NetworkCapabilities capabilities, Constants constants) argument
155 isStrictSatisfied(JobStatus jobStatus, Network network, NetworkCapabilities capabilities, Constants constants) argument
162 isRelaxedSatisfied(JobStatus jobStatus, Network network, NetworkCapabilities capabilities, Constants constants) argument
182 isSatisfied(JobStatus jobStatus, Network network, NetworkCapabilities capabilities, Constants constants) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDeviceAdminServiceController.java89 DevicePolicyConstants constants) {
94 mConstants = constants;
88 DeviceAdminServiceController(DevicePolicyManagerService service, DevicePolicyConstants constants) argument
/frameworks/rs/
H A DrsProgram.cpp53 mHal.state.constants = new Allocation*[mHal.state.constantsCount];
101 delete[] mHal.state.constants;
134 mHal.state.constants = nullptr;
174 mHal.state.constants[slot] = alloc;
212 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { argument
214 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot);
H A DrsProgram.h50 Allocation **constants; member in struct:android::renderscript::Program::Hal::State
H A DrsApiStubs.cpp848 extern "C" void rsProgramBindConstants (RsContext ctxWrapper, RsProgram vp, uint32_t slot, RsAllocation constants) argument
850 RS_DISPATCH(ctxWrapper, ProgramBindConstants, vp, slot, constants);
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp289 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, argument
294 for (auto e : constants) {
642 const auto& constants = specFile.getDocumentedConstants(); local
646 writeSummaryTables(&file, constants, types, functions, NON_DEPRECATED_ONLY, false);
647 writeSummaryTables(&file, constants, types, functions, DEPRECATED_ONLY, false);
650 if (!constants.empty()) {
652 for (auto i : constants) {
/frameworks/av/media/libaaudio/examples/loopback/src/
H A DLoopbackAnalyzer.h861 enum constants { enum in class:SineAnalyzer
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 295 milliseconds