/frameworks/ml/nn/common/ |
D | QuantUtils.cpp | 87 for (int batch = 0; batch < n_batch; ++batch) { in ApplySigmoid() local 91 const int index = batch * n_input + c; in ApplySigmoid() 101 for (int batch = 0; batch < n_batch; ++batch) { in CwiseMul() local 103 const int index = batch * n_input + i; in CwiseMul() 114 for (int batch = 0; batch < n_batch; ++batch) { in CwiseMul() local 116 const int index = batch * n_input + i; in CwiseMul() 140 for (int batch = 0; batch < n_batch; ++batch) { in CwiseAdd() local 142 const int index = batch * n_input + i; in CwiseAdd() 151 for (int batch = 0; batch < n_batch; ++batch) { in CwiseClipping() local 153 const int index = batch * n_input + i; in CwiseClipping() [all …]
|
D | QuantUtils.h | 36 for (int batch = 0; batch < n_batch; ++batch) { in MatrixBatchVectorMultiplyAccumulate() local 40 int8_t input_val = input[batch * n_input + col]; in MatrixBatchVectorMultiplyAccumulate() 46 acc += output[batch * n_output + row]; in MatrixBatchVectorMultiplyAccumulate() 53 output[batch * n_output + row] = static_cast<T>(acc); in MatrixBatchVectorMultiplyAccumulate() 153 for (int batch = 0; batch < n_batch; ++batch) { in ApplyTanh() local 155 const int index = batch * n_input + i; in ApplyTanh()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup2.cpp | 164 Batch* batch = new Batch(this, "Batch0"); in CpuScriptGroup2Impl() local 179 if (batch->conflict(cc)) { in CpuScriptGroup2Impl() 180 mBatches.push_back(batch); in CpuScriptGroup2Impl() 184 batch = new Batch(this, batchStr.c_str()); in CpuScriptGroup2Impl() 187 batch->mClosures.push_back(cc); in CpuScriptGroup2Impl() 190 rsAssert(!batch->mClosures.empty()); in CpuScriptGroup2Impl() 191 mBatches.push_back(batch); in CpuScriptGroup2Impl() 196 for (Batch* batch : mBatches) { in CpuScriptGroup2Impl() 197 batch->resolveFuncPtr(mScriptObj); in CpuScriptGroup2Impl() 214 for (Batch* batch : mBatches) { in ~CpuScriptGroup2Impl() [all …]
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 636 Batch& batch = mBatches.editItemAt(batchIndex); in consume() local 637 if (canAddSample(batch, &mMsg)) { in consume() 638 batch.samples.push(mMsg); in consume() 647 const size_t count = batch.samples.size(); in consume() 649 const InputMessage& msg = batch.samples.itemAt(i); in consume() 652 batch.samples.removeItemsAt(0, count); in consume() 659 batch, batch.samples.size(), outSeq, outEvent); in consume() 677 Batch& batch = mBatches.editTop(); in consume() local 678 batch.samples.push(mMsg); in consume() 715 Batch& batch = mBatches.editItemAt(i); in consumeBatch() local [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.h | 38 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs, 54 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs, in batch() function 86 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
|
D | SensorInterface.cpp | 65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, in batch() function in android::HardwareSensor 67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
|
D | SensorsWrapper.h | 66 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, 120 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() function 122 return mSensors->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
|
D | SensorFusion.cpp | 164 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay() 166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay() 169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
|
D | SensorDevice.cpp | 617 checkReturn(mSensors->batch( in activateLocked() 650 status_t SensorDevice::batch( in batch() function in android::SensorDevice 705 err = checkReturnAndGetStatus(mSensors->batch( in batchLocked() 718 return batch(ident, handle, 0, samplingPeriodNs, 0); in setDelay() 763 status_t err = checkReturnAndGetStatus(mSensors->batch( in enableAllSensors()
|
D | SensorDevice.h | 93 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 52 int period, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument 58 request.maxScansToCache = batch; in createRequest() 63 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest() argument 66 batch, bssidsPerScan, reportEvents); in createRequest() 69 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() argument 71 return createRequest(WifiScanner.TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, in createRequest() 79 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument 88 request.maxScansToCache = batch; in createRequest()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | IEventQueue.hal | 26 * max batch report latency. If enableSensor is called multiple times on the 34 * max batch report latency in microseconds.
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 177 sp<ReportBatch> batch; in take_report() local 180 batch = mThrottler->filterBatch(mBatch); in take_report() 183 if (batch->empty()) { in take_report() 188 sp<Reporter> reporter = new Reporter(mWorkDirectory, batch); in take_report() 201 if (batch->hasPersistedReports()) { in take_report()
|
D | Reporter.h | 187 ReportWriter(const sp<ReportBatch>& batch); 254 Reporter(const sp<WorkDirectory>& workDirectory, const sp<ReportBatch>& batch);
|
D | Reporter.cpp | 338 ReportWriter::ReportWriter(const sp<ReportBatch>& batch) in ReportWriter() argument 339 :mBatch(batch), in ReportWriter() 473 Reporter::Reporter(const sp<WorkDirectory>& workDirectory, const sp<ReportBatch>& batch) in Reporter() argument 475 mWriter(batch), in Reporter() 476 mBatch(batch) { in Reporter()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 498 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent); 513 static bool canAddSample(const Batch& batch, const InputMessage* msg); 514 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | BoundingBox.cpp | 96 uint32_t batch = op->inputs[0]->dimensions[0].getValue(); in roiFinalizer() local 119 for (uint32_t i = 0; i < numRois; i++) batchIndex[i] = getUniform<int32_t>(0, batch - 1); in roiFinalizer()
|
/frameworks/ml/nn/tools/api/ |
D | types.spec | 123 * [batch, height, width, channels]. Alternatively, the data layout could 124 * be NCHW, the data storage order of: [batch, channels, height, width]. 1109 * output[batch, row, col, channel] = 1110 * input[batch, row, col, channel] / 1111 * sqrt(sum_{c} pow(input[batch, row, col, c], 2)) 2083 * * “bias” is a bias vector (added to each output vector in the batch); 2128 * batch, by normalizing the input vector so the maximum coefficient is 2133 * output[batch, i] = 2134 * exp((input[batch, i] - max(input[batch, :])) * beta) / 2135 * sum_{k}{exp((input[batch, k] - max(input[batch, :])) * beta)} [all …]
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | lit.cfg | 52 config.environment['DEBUGGER_ARGS'] = '-q -batch -n --args ' \
|
/frameworks/rs/perf-test-scripts/ |
D | timing | 117 -b|--batch)
|
/frameworks/hardware/interfaces/cameraservice/device/2.0/ |
D | ICameraDeviceUser.hal | 78 * batch of repeating requests, if any. If there is no previous 79 * batch, the frame number returned will be -1.)
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 982 final Batch batch = mAlarmBatches.get(whichBatch); in insertAndBatchAlarmLocked() local 983 if (batch.add(alarm)) { in insertAndBatchAlarmLocked() 987 addBatchLocked(mAlarmBatches, batch); in insertAndBatchAlarmLocked() 1057 Batch batch = oldSet.get(batchNum); in rebatchAllAlarmsLocked() local 1058 final int N = batch.size(); in rebatchAllAlarmsLocked() 1060 reAddAlarmLocked(batch.get(i), nowElapsed, doValidate); in rebatchAllAlarmsLocked() 1100 final Batch batch = mAlarmBatches.get(batchIndex); in reorderAlarmsBasedOnStandbyBuckets() local 1101 for (int alarmIndex = batch.size() - 1; alarmIndex >= 0; alarmIndex--) { in reorderAlarmsBasedOnStandbyBuckets() 1102 final Alarm alarm = batch.get(alarmIndex); in reorderAlarmsBasedOnStandbyBuckets() 1109 batch.remove(alarm); in reorderAlarmsBasedOnStandbyBuckets() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptScanner.ll | 35 %option batch
|
/frameworks/base/core/proto/android/server/ |
D | powermanagerservice.proto | 162 // We are currently in the middle of a batch change of uids.
|
/frameworks/base/proto/src/ |
D | ipconnectivity.proto | 583 // A batch of DNS lookups.
|