/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionPlan.java | 220 private final SubscriptionPlan plan; field in SubscriptionPlan.Builder 224 plan = new SubscriptionPlan(new RecurrenceRule(start, end, period)); in Builder() 285 return plan; in build() 290 plan.title = title; in setTitle() 296 plan.summary = summary; in setSummary() 316 plan.dataLimitBytes = dataLimitBytes; in setDataLimit() 317 plan.dataLimitBehavior = dataLimitBehavior; in setDataLimit() 335 plan.dataUsageBytes = dataUsageBytes; in setDataUsage() 336 plan.dataUsageTime = dataUsageTime; in setDataUsage()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 303 for (SubscriptionPlan plan : plans) { in testAugmentPlan() 308 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() 312 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan() 340 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan() 354 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan() local 360 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() 364 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan() 395 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan() 409 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan() local 415 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | RecentsTaskLoader.java | 145 public synchronized void preloadTasks(RecentsTaskLoadPlan plan, int runningTaskId) { in preloadTasks() argument 146 preloadTasks(plan, runningTaskId, ActivityManagerWrapper.getInstance().getCurrentUserId()); in preloadTasks() 150 public synchronized void preloadTasks(RecentsTaskLoadPlan plan, int runningTaskId, in preloadTasks() argument 154 plan.preloadPlan(new PreloadOptions(), this, runningTaskId, currentUserId); in preloadTasks() 161 public synchronized void loadTasks(RecentsTaskLoadPlan plan, Options opts) { in loadTasks() argument 173 plan.executePlan(opts, this); in loadTasks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 156 RecentsTaskLoadPlan plan = new RecentsTaskLoadPlan(mContext); in onTaskStackChangedBackground() local 157 loader.preloadTasks(plan, -1); in onTaskStackChangedBackground() 158 TaskStack stack = plan.getTaskStack(); in onTaskStackChangedBackground() 171 mBackgroundLayoutAlgorithm.update(plan.getTaskStack(), EMPTY_SET, launchState, in onTaskStackChangedBackground() 184 loader.loadTasks(plan, launchOpts); in onTaskStackChangedBackground() 316 RecentsTaskLoadPlan plan = new RecentsTaskLoadPlan(mContext); in onBootCompleted() local 317 loader.preloadTasks(plan, -1); in onBootCompleted() 322 loader.loadTasks(plan, launchOpts); in onBootCompleted() 560 RecentsTaskLoadPlan plan = new RecentsTaskLoadPlan(mContext); 561 loader.preloadTasks(plan, -1); [all …]
|
/frameworks/ml/nn/runtime/ |
D | ExecutionPlan.cpp | 131 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, in ExecutionStep() argument 133 : mPlan(plan), mIndex(stepIndex), mSubModel(), mDevice(device) {} in ExecutionStep() 485 const ExecutionPlan* plan, in Controller() argument 489 mPlan(plan), mExecutionBuilder(executionBuilder), in Controller() 767 uint32_t preference, ExecutionPlan* plan) const { in partitionTheWork() 789 plan->becomeSingleStep(nullptr /* CPU */, this); in partitionTheWork() 790 return plan->finish(this, preference); in partitionTheWork() 811 plan->becomeSingleStep(cpu ? nullptr : devices[bestDeviceIndex], this); in partitionTheWork() 812 return plan->finish(this, preference); in partitionTheWork() 857 std::shared_ptr<ExecutionStep> step = plan->createNewStep(device); in partitionTheWork() [all …]
|
D | ExecutionBuilder.cpp | 244 const ExecutionPlan* plan, in cpuFallbackPartial() argument 249 int n = plan->fallback(controller, &executor); in cpuFallbackPartial() 268 const ExecutionPlan* plan, in asyncStartComputePartitioned() argument 276 int n = plan->next(controller, &executor); in asyncStartComputePartitioned() 294 if (cpuFallbackPartial(executionBuilder, plan, controller, executionCallback)) { in asyncStartComputePartitioned() 311 if (cpuFallbackPartial(executionBuilder, plan, controller, executionCallback)) { in asyncStartComputePartitioned()
|
D | ExecutionPlan.h | 47 ExecutionStep(ExecutionPlan* plan, 184 Controller(const ExecutionPlan* plan, const ExecutionBuilder* executionBuilder,
|
D | ModelBuilder.h | 85 uint32_t preference, ExecutionPlan* plan) const;
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 335 ExecutePreference preference, ExecutionPlan* plan) { in partitionTheWork() argument 337 devices, static_cast<uint32_t>(preference), plan); in partitionTheWork() 892 ExecutionPlan plan; in TEST_F() local 893 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, &plan), in TEST_F() 895 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F() 896 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F() 1044 ExecutionPlan plan; in TEST_F() local 1045 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, &plan), in TEST_F() 1047 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F() 1048 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F() [all …]
|
D | TestPartitioningRandom.cpp | 969 const ExecutionPlan& plan = c2->getExecutionPlan(); in TEST_P() local 970 switch (plan.forTest_getKind()) { in TEST_P() 975 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_P() 990 << static_cast<unsigned>(plan.forTest_getKind()); in TEST_P()
|
/frameworks/compile/libbcc/tools/bcc/ |
D | Main.cpp | 171 std::string plan = optList[i]; in extractSourcesAndSlots() local 172 unsigned found = plan.find(':'); in extractSourcesAndSlots() 174 std::string name = plan.substr(0, found); in extractSourcesAndSlots() 178 std::istringstream iss(plan.substr(found + 1)); in extractSourcesAndSlots()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1909 final SubscriptionPlan plan = getPrimarySubscriptionPlanLocked(subId); local 1910 if (plan == null) continue; 1913 final long limitBytes = plan.getDataLimitBytes(); 1924 final Range<ZonedDateTime> cycle = plan.cycleIterator().next(); 2048 final SubscriptionPlan plan = plans[0]; in updateDefaultMobilePolicyAL() local 2049 policy.cycleRule = plan.getCycleRule(); in updateDefaultMobilePolicyAL() 2050 final long planLimitBytes = plan.getDataLimitBytes(); in updateDefaultMobilePolicyAL() 2059 switch (plan.getDataLimitBehavior()) { in updateDefaultMobilePolicyAL() 2222 final SubscriptionPlan plan = builder.build(); in readPolicyAL() local 2224 SubscriptionPlan.class, mSubscriptionPlans.get(subId), plan)); in readPolicyAL() [all …]
|
D | NetworkStatsService.java | 683 SubscriptionPlan plan = null; in resolveSubscriptionPlan() local 689 plan = LocalServices.getService(NetworkPolicyManagerInternal.class) in resolveSubscriptionPlan() 694 if (LOGD) Slog.d(TAG, "Resolved to plan " + plan); in resolveSubscriptionPlan() 696 return plan; in resolveSubscriptionPlan()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 1031 final SubscriptionPlan plan = buildMonthlyDataPlan( in testNotificationWarningLimitSnooze() local 1033 mService.setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan }, in testNotificationWarningLimitSnooze() 1136 final SubscriptionPlan plan = buildMonthlyDataPlan( in testNotificationRapid() local 1138 mService.setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan }, in testNotificationRapid() 1547 final SubscriptionPlan plan = buildMonthlyDataPlan( in testOpportunisticQuota() local 1550 mService.setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan}, in testOpportunisticQuota() 1568 final SubscriptionPlan plan = buildMonthlyDataPlan( in testOpportunisticQuota() local 1571 mService.setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan}, in testOpportunisticQuota() 1585 final SubscriptionPlan plan = buildMonthlyDataPlan( in testOpportunisticQuota() local 1587 mService.setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan}, in testOpportunisticQuota() [all …]
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 2771 // OPEN: Settings > Wireless > Manage wireless plan dialog 4520 // OPEN: Settings > Data plan usage
|
/frameworks/support/work/integration-tests/testapp/src/main/assets/ |
D | case.txt | 727 plan some fresh opening move, for this gambit won't work. I'll keep 814 each morning and we will plan our campaign." 3199 plan. Black Steve is called in, and I am warned off by eleven o'clock 8440 a plan. We made a club--Leonardo made it--and in the leaden head he
|
D | retn.txt | 1446 timber-yard which had been the scene of the fire. Here's a rough plan 2173 "Don't you think, Mr. Cubitt," said he, at last, "that your best plan 9009 "I must ask you first, Mr. Holmes, to glance at this rough plan, 9713 key. He would not go farther. He furnished me with a plan of the
|
D | mems.txt | 1804 "What is your plan, then?" asked Holmes, as he walked down the dark 8184 went home. The policeman and I agreed that our best plan would be to 9780 plan what we are to do about Moriarty now."
|
D | advs.txt | 613 more, and to think over my plan of campaign. 1049 interfere with your Majesty's plan." 11794 I soon had a pretty good plan of the whole house in my head. There
|
D | lstb.txt | 621 adopted some similar plan."
|