/frameworks/base/core/java/android/telephony/ |
D | SubscriptionPlan.java | 244 private final SubscriptionPlan plan; field in SubscriptionPlan.Builder 248 plan = new SubscriptionPlan(new RecurrenceRule(start, end, period)); in Builder() 309 return plan; in build() 314 plan.title = title; in setTitle() 320 plan.summary = summary; in setSummary() 340 plan.dataLimitBytes = dataLimitBytes; in setDataLimit() 341 plan.dataLimitBehavior = dataLimitBehavior; in setDataLimit() 359 plan.dataUsageBytes = dataUsageBytes; in setDataUsage() 360 plan.dataUsageTime = dataUsageTime; in setDataUsage() 372 plan.networkTypes = Arrays.copyOf(networkTypes, networkTypes.length); in setNetworkTypes() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 798 const std::optional<Deadline>& deadline, ExecutionPlan* plan) { in partitionTheWork() argument 801 static_cast<int32_t>(priority), deadline, plan); in partitionTheWork() 1669 ExecutionPlan plan; in TEST_F() local 1671 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1673 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F() 1674 ASSERT_NE(plan.forTest_simpleGetDevice().get(), nullptr); in TEST_F() 1675 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "V1_3"); in TEST_F() 1708 ExecutionPlan plan; in TEST_F() local 1710 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1712 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F() [all …]
|
D | TestFailingDriver.cpp | 150 const ExecutionPlan& plan = compilationBuilder->forTest_getExecutionPlan(); in TEST_F() local 151 const std::vector<std::shared_ptr<LogicalStep>>& steps = plan.forTest_compoundGetSteps(); in TEST_F() 200 const ExecutionPlan& plan = compilationBuilder->forTest_getExecutionPlan(); in TEST_F() local 201 ASSERT_TRUE(plan.isSimple()); in TEST_F()
|
D | TestPartitioningRandom.cpp | 1190 const ExecutionPlan& plan = c2->getExecutionPlan(); in TEST_P() local 1191 switch (plan.forTest_getKind()) { in TEST_P() 1196 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_P() 1217 << static_cast<unsigned>(plan.forTest_getKind()); in TEST_P()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 307 for (SubscriptionPlan plan : plans) { in testAugmentPlan() 312 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() 316 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan() 344 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan() 358 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan() local 364 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() 368 history = getHistory(collection, plan, TIME_A, TIME_C); i = 0; in testAugmentPlan() 399 history = getHistory(collection, plan, TIME_B - HOUR_IN_MILLIS, in testAugmentPlan() 413 final SubscriptionPlan plan = SubscriptionPlan.Builder in testAugmentPlan() local 419 history = getHistory(emptyCollection, plan, TIME_A, TIME_C); in testAugmentPlan() [all …]
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 155 RecentsTaskLoadPlan plan = new RecentsTaskLoadPlan(mContext); in onTaskStackChangedBackground() local 156 loader.preloadTasks(plan, -1); in onTaskStackChangedBackground() 157 TaskStack stack = plan.getTaskStack(); in onTaskStackChangedBackground() 170 mBackgroundLayoutAlgorithm.update(plan.getTaskStack(), EMPTY_SET, launchState, in onTaskStackChangedBackground() 183 loader.loadTasks(plan, launchOpts); in onTaskStackChangedBackground() 315 RecentsTaskLoadPlan plan = new RecentsTaskLoadPlan(mContext); in onBootCompleted() local 316 loader.preloadTasks(plan, -1); in onBootCompleted() 321 loader.loadTasks(plan, launchOpts); in onBootCompleted() 559 RecentsTaskLoadPlan plan = new RecentsTaskLoadPlan(mContext); 560 loader.preloadTasks(plan, -1); [all …]
|
/frameworks/ml/nn/runtime/ |
D | ExecutionPlan.cpp | 185 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, in ExecutionStep() argument 187 : mPlan(plan), in ExecutionStep() 192 mToken(plan->getCacheToken()) {} in ExecutionStep() 732 ExecutionPlan::Controller::Controller(const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, in Controller() argument 734 : Controller(plan, executionBuilder, burstBuilder, 0, {}, {}, {}, {}, {}, {}) {} in Controller() 737 const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, in Controller() argument 745 : mPlan(plan), in Controller() 1606 ExecutionPlan* plan) const { in partitionTheWork() 1607 uint32_t sourceModelIndex = plan->getSourceModels().addModel(this); in partitionTheWork() 1609 deadline, plan)); in partitionTheWork() [all …]
|
D | ExecutionBuilder.cpp | 479 cpuFallbackPartial(const ExecutionPlan& plan, in cpuFallbackPartial() argument 486 int n1 = plan.fallback(controller, &executor); in cpuFallbackPartial() 498 const ExecutionPlan& plan, in asyncStartComputePartitioned() argument 509 allowFallback &= !plan.isSimpleCpu(); in asyncStartComputePartitioned() 517 int n = plan.next(controller, &executor, &burstController); in asyncStartComputePartitioned() 571 if (!plan.isSimple()) break; in asyncStartComputePartitioned() 579 cpuFallbackPartial(plan, controller); in asyncStartComputePartitioned() 604 if (plan.isSimple()) { in asyncStartComputePartitioned() 628 ExecutionBuilder* executionBuilder, const ExecutionPlan& plan, in startComputeFenced() argument 635 allowFallback &= !plan.isSimpleCpu(); in startComputeFenced() [all …]
|
D | ModelBuilder.h | 131 ExecutionPlan* plan) const; 164 ExecutionPlan* plan) const;
|
D | ExecutionPlan.h | 116 ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, 444 Controller(const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, 447 Controller(const ExecutionPlan* plan, ExecutionBuilder* executionBuilder,
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoader.java | 149 public synchronized void preloadTasks(RecentsTaskLoadPlan plan, int runningTaskId) { in preloadTasks() argument 150 preloadTasks(plan, runningTaskId, ActivityManagerWrapper.getInstance().getCurrentUserId()); in preloadTasks() 154 public synchronized void preloadTasks(RecentsTaskLoadPlan plan, int runningTaskId, in preloadTasks() argument 158 plan.preloadPlan(new PreloadOptions(), this, runningTaskId, currentUserId); in preloadTasks() 165 public synchronized void loadTasks(RecentsTaskLoadPlan plan, Options opts) { in loadTasks() argument 177 plan.executePlan(opts, this); in loadTasks()
|
/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 | 1990 final SubscriptionPlan plan = getPrimarySubscriptionPlanLocked(subId); local 1991 if (plan == null) continue; 1994 final long limitBytes = plan.getDataLimitBytes(); 2005 final Range<ZonedDateTime> cycle = plan.cycleIterator().next(); 2132 final SubscriptionPlan plan = plans[0]; in updateDefaultMobilePolicyAL() local 2133 policy.cycleRule = plan.getCycleRule(); in updateDefaultMobilePolicyAL() 2134 final long planLimitBytes = plan.getDataLimitBytes(); in updateDefaultMobilePolicyAL() 2143 switch (plan.getDataLimitBehavior()) { in updateDefaultMobilePolicyAL() 2307 final SubscriptionPlan plan = builder.build(); in readPolicyAL() local 2309 SubscriptionPlan.class, mSubscriptionPlans.get(subId), plan)); in readPolicyAL() [all …]
|
D | NetworkStatsService.java | 818 SubscriptionPlan plan = null; 824 plan = LocalServices.getService(NetworkPolicyManagerInternal.class) 829 if (LOGD) Slog.d(TAG, "Resolved to plan " + plan); 831 return plan;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 1049 final SubscriptionPlan plan = buildMonthlyDataPlan( 1051 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan }, 1173 final SubscriptionPlan plan = buildMonthlyDataPlan( 1175 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[] { plan }, 1588 final SubscriptionPlan plan = buildMonthlyDataPlan( local 1591 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan}, 1609 final SubscriptionPlan plan = buildMonthlyDataPlan( local 1612 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan}, 1626 final SubscriptionPlan plan = buildMonthlyDataPlan( local 1628 setSubscriptionPlans(TEST_SUB_ID, new SubscriptionPlan[]{plan}, [all …]
|
/frameworks/opt/telephony/proto/src/ |
D | carrierId.proto | 45 // by prepaid v.s. postpaid or even by 4G v.s. 3G plan.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 4059 for (SubscriptionPlan plan : mSubscriptionPlans) { in isNetworkTypeUnmetered() 4061 if (Arrays.stream(plan.getNetworkTypes()).boxed().collect(Collectors.toSet()) in isNetworkTypeUnmetered() 4063 if (!isPlanUnmetered(plan)) { in isNetworkTypeUnmetered() 4070 for (int planNetworkType : plan.getNetworkTypes()) { in isNetworkTypeUnmetered() 4072 return isPlanUnmetered(plan); in isNetworkTypeUnmetered() 4081 private boolean isPlanUnmetered(SubscriptionPlan plan) { in isPlanUnmetered() argument 4082 return plan.getDataLimitBytes() == SubscriptionPlan.BYTES_UNLIMITED in isPlanUnmetered() 4083 && (plan.getDataLimitBehavior() == SubscriptionPlan.LIMIT_BEHAVIOR_UNKNOWN in isPlanUnmetered() 4084 || plan.getDataLimitBehavior() == SubscriptionPlan.LIMIT_BEHAVIOR_THROTTLED); in isPlanUnmetered()
|
/frameworks/base/core/proto/android/app/ |
D | settings_enums.proto | 1650 // OPEN: Settings > Wireless > Manage wireless plan dialog
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 2845 // OPEN: Settings > Wireless > Manage wireless plan dialog 4604 // OPEN: Settings > Data plan usage
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 69461 Landroid/telephony/SubscriptionPlan$Builder;->plan:Landroid/telephony/SubscriptionPlan;
|