/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/testutils/ |
D | TrainingTestUtil.java | 19 import com.google.internal.federated.plan.AggregationConfig; 20 import com.google.internal.federated.plan.ClientOnlyPlan; 21 import com.google.internal.federated.plan.ClientPhase; 22 import com.google.internal.federated.plan.ExampleQuerySpec; 23 import com.google.internal.federated.plan.ExampleQuerySpec.ExampleQuery; 24 import com.google.internal.federated.plan.ExampleQuerySpec.OutputVectorSpec; 25 import com.google.internal.federated.plan.ExampleQuerySpec.OutputVectorSpec.DataType; 26 import com.google.internal.federated.plan.ExampleSelector; 27 import com.google.internal.federated.plan.FederatedExampleQueryIORouter; 28 import com.google.internal.federated.plan.TFV1CheckpointAggregation; [all …]
|
D | ResettingExampleIterator.java | 22 import com.google.internal.federated.plan.Dataset; 23 import com.google.internal.federated.plan.Dataset.ClientDataset;
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/ |
D | FlRunnerWrapperTest.java | 44 import com.google.internal.federated.plan.AggregationConfig; 45 import com.google.internal.federated.plan.ClientOnlyPlan; 46 import com.google.internal.federated.plan.ClientPhase; 47 import com.google.internal.federated.plan.Dataset; 48 import com.google.internal.federated.plan.Dataset.ClientDataset; 49 import com.google.internal.federated.plan.ExampleQuerySpec; 50 import com.google.internal.federated.plan.ExampleQuerySpec.ExampleQuery; 51 import com.google.internal.federated.plan.ExampleQuerySpec.OutputVectorSpec; 52 import com.google.internal.federated.plan.ExampleQuerySpec.OutputVectorSpec.DataType; 53 import com.google.internal.federated.plan.ExampleSelector; [all …]
|
D | JavaExampleStoreTest.java | 30 import com.google.internal.federated.plan.ExampleSelector;
|
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/ |
D | PlannedExerciseSessionInternalTest.java | 35 PlannedExerciseSessionRecordInternal plan = TestUtils.buildPlannedExerciseSessionInternal(); in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical() local 52 plan.setExerciseBlocks(Arrays.asList(block1, block2)); in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical() 53 PlannedExerciseSessionRecordInternal restoredPlan = writeAndRestoreFromParcel(plan); in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical() 54 assertFieldsAreEqual(plan, restoredPlan); in testPlanWriteToParcel_populateToParcelAndFrom_restoredFieldsAreIdentical() 58 PlannedExerciseSessionRecordInternal plan) { in writeAndRestoreFromParcel() argument 60 plan.writeToParcel(parcel); in writeAndRestoreFromParcel()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataPlanRepository.kt | 69 plans.firstOrNull()?.takeIf { plan -> in getPrimaryPlan() method 70 plan.dataLimitBytes > 0 && validSize(plan.dataUsageBytes) && plan.cycleRule != null in getPrimaryPlan()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 139 SubscriptionPlan plan = plans.get(0); in getPrimaryPlan() local 140 return plan.getDataLimitBytes() > 0 in getPrimaryPlan() 141 && saneSize(plan.getDataUsageBytes()) in getPrimaryPlan() 142 && plan.getCycleRule() != null ? plan : null; in getPrimaryPlan()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioning.cpp | 849 const OptionalTimePoint& deadline, ExecutionPlan* plan) { in partitionTheWork() argument 852 static_cast<int32_t>(priority), deadline, plan, {}); in partitionTheWork() 1192 void checkExecutionPlanSteps(const ExecutionPlan& plan, in checkExecutionPlanSteps() argument 1198 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in checkExecutionPlanSteps() 1199 actual.emplace_back(plan.forTest_simpleGetDevice()->getName()); in checkExecutionPlanSteps() 1201 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in checkExecutionPlanSteps() 1202 const auto& steps = plan.forTest_compoundGetSteps(); in checkExecutionPlanSteps() 1831 ExecutionPlan plan; in TEST_F() local 1833 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1835 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F() [all …]
|
D | TestPartitioningRandom.cpp | 1145 const ExecutionPlan& plan = cNoFallback.getExecutionPlan(); in TEST_P() local 1147 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_P() 1148 ASSERT_TRUE(plan.forTest_simpleGetDevice() != DeviceManager::getCpuDevice()); in TEST_P() 1150 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_P() 1154 std::set<decltype(stepToDeviceId(plan.forTest_compoundGetSteps()[0]))> deviceSet; in TEST_P() 1155 for (const auto& step : plan.forTest_compoundGetSteps()) { in TEST_P() 1169 const ExecutionPlan& plan = c2.getExecutionPlan(); in TEST_P() local 1170 const size_t dynamicTemporaryCount = plan.forTest_flatGetDynamicTemporaries().size(); in TEST_P() 1173 if (plan.forTest_getKind() == ExecutionPlan::Kind::COMPOUND) { in TEST_P() 1176 for (const auto& step : plan.forTest_compoundGetSteps()) { in TEST_P() [all …]
|
D | TestFailingDriver.cpp | 149 const ExecutionPlan& plan = compilationBuilder->forTest_getExecutionPlan(); in TEST_F() local 150 const std::vector<std::shared_ptr<LogicalStep>>& steps = plan.forTest_compoundGetSteps(); in TEST_F() 199 const ExecutionPlan& plan = compilationBuilder->forTest_getExecutionPlan(); in TEST_F() local 200 ASSERT_TRUE(plan.isSimple()); in TEST_F()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsCollectionTest.java | 343 for (SubscriptionPlan plan : plans) { in testAugmentPlan() 348 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() 352 history = getHistory(collection, plan, TIME_A, TIME_C); in testAugmentPlan() 381 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan() 396 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan() local 402 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() 406 history = getHistory(collection, plan, TIME_A, TIME_C); in testAugmentPlan() 438 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan() 453 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan() local 459 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() [all …]
|
/packages/modules/OnDevicePersonalization/federatedcompute/jni/cpp/ |
D | simple_task_environment_wrapper_impl.h | 39 using ::google::internal::federated::plan::ExampleSelector; 66 const google::internal::federated::plan::ExampleSelector
|
D | fl_runner_jni.cc | 41 google::internal::federated::plan::ClientOnlyPlan client_only_plan = in JFUN() 43 google::internal::federated::plan::ClientOnlyPlan>( in JFUN()
|
D | simple_task_environment_wrapper_impl.cc | 32 using ::google::internal::federated::plan::ExampleSelector;
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionPlan.cpp | 444 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, in ExecutionStep() argument 446 : mPlan(plan), in ExecutionStep() 451 mToken(plan->getCacheToken()) {} in ExecutionStep() 1170 const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, in Controller() argument 1179 : mPlan(plan), in Controller() 2137 const OptionalTimePoint& deadline, ExecutionPlan* plan, in partitionTheWork() argument 2140 uint32_t sourceModelIndex = plan->getSourceModels().addModel(this); in partitionTheWork() 2142 deadline, plan)); in partitionTheWork() 2143 int n = plan->finish(preference, priority, deadline, metaData, simulateFailureResultCode); in partitionTheWork() 2147 plan->dump(); in partitionTheWork() [all …]
|
D | ModelBuilder.h | 133 uint32_t priority, const OptionalTimePoint& deadline, ExecutionPlan* plan, 169 const OptionalTimePoint& deadline, ExecutionPlan* plan) const;
|
D | ExecutionPlan.h | 238 ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, 600 Controller(const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, 873 CompoundBody(const ExecutionPlan* plan) : mPlan(plan) { CHECK(plan != nullptr); } in CompoundBody()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/ |
D | ComputationRunner.java | 28 import com.google.internal.federated.plan.ClientOnlyPlan; 29 import com.google.internal.federated.plan.ExampleSelector;
|
D | IsolatedTrainingServiceImpl.java | 48 import com.google.internal.federated.plan.ClientOnlyPlan; 49 import com.google.internal.federated.plan.ExampleSelector;
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | DataWarningReceiverTest.java | 76 final SubscriptionPlan plan = SubscriptionPlan.Builder in testSnoozeWarningNotReceived() local 83 sm.setSubscriptionPlans(subId, Arrays.asList(plan)); in testSnoozeWarningNotReceived()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/ |
D | CheckinResult.java | 23 import com.google.internal.federated.plan.ClientOnlyPlan;
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/jni/ |
D | FlRunnerWrapper.java | 28 import com.google.internal.federated.plan.ClientOnlyPlan;
|
D | JavaExampleStore.java | 24 import com.google.internal.federated.plan.ExampleSelector;
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 315 SubscriptionPlan plan = new SubscriptionPlan.Builder(start, end, Period.ofMonths(1)) in setSubscriptionPlan() local 321 .thenReturn(Lists.newArrayList(plan)); in setSubscriptionPlan()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/ |
D | IsolatedTrainingServiceImplTest.java | 50 import com.google.internal.federated.plan.ClientOnlyPlan; 51 import com.google.internal.federated.plan.ExampleSelector;
|