/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 309 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); in getItemViewType() local 310 return partition.loading ? 1 : 0; in getItemViewType() 316 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); in newView() local 317 if (partition.loading) { in newView() 325 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView() argument 326 DirectoryPartition directoryPartition = (DirectoryPartition)getPartition(partition); in bindView() 381 DirectoryPartition partition = new DirectoryPartition(); in onDirectoryLoadFinished() local 382 partition.directoryId = id; in onDirectoryLoadFinished() 383 partition.displayName = directoryCursor.getString(DirectoryListQuery.DISPLAY_NAME); in onDirectoryLoadFinished() 384 partition.accountName = directoryCursor.getString(DirectoryListQuery.ACCOUNT_NAME); in onDirectoryLoadFinished() [all …]
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 92 public void addPartition(Partition partition) { in addPartition() argument 93 mPartitions.add(partition); in addPartition() 98 public void addPartition(int location, Partition partition) { in addPartition() argument 99 mPartitions.add(location, partition); in addPartition() 121 for (Partition partition : mPartitions) { in clearPartitions() 122 partition.cursor = null; in clearPartitions() 132 for (Partition partition : mPartitions) { in close() 133 Cursor cursor = partition.cursor; in close() 171 for (Partition partition : mPartitions) { in ensureCacheValid() 172 Cursor cursor = partition.cursor; in ensureCacheValid() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ScanPartition.java | 40 public ScanPartition(@NonNull PackagePartitions.SystemPartition partition) { in ScanPartition() argument 41 super(partition); in ScanPartition() 42 scanFlag = scanFlagForPartition(partition); in ScanPartition() 56 private static int scanFlagForPartition(PackagePartitions.SystemPartition partition) { in scanFlagForPartition() argument 57 switch (partition.type) { in scanFlagForPartition() 72 + partition.getFolder()); in scanFlagForPartition()
|
D | InitAppsHelper.java | 316 final ScanPartition partition = mDirsToScanAsSystem.get(i); in scanSystemDirs() local 317 if (partition.getOverlayFolder() == null) { in scanSystemDirs() 320 scanDirTracedLI(partition.getOverlayFolder(), /* frameworkSplits= */ null, in scanSystemDirs() 321 mSystemParseFlags, mSystemScanFlags | partition.scanFlag, in scanSystemDirs() 335 final ScanPartition partition = mDirsToScanAsSystem.get(i); in scanSystemDirs() local 336 if (partition.getPrivAppFolder() != null) { in scanSystemDirs() 337 scanDirTracedLI(partition.getPrivAppFolder(), /* frameworkSplits= */ null, in scanSystemDirs() 339 mSystemScanFlags | SCAN_AS_PRIVILEGED | partition.scanFlag, in scanSystemDirs() 342 scanDirTracedLI(partition.getAppFolder(), /* frameworkSplits= */ null, in scanSystemDirs() 343 mSystemParseFlags, mSystemScanFlags | partition.scanFlag, in scanSystemDirs()
|
/frameworks/native/libs/vr/libperformance/ |
D | performance_client.cpp | 23 const std::string& partition) { in SetCpuPartition() argument 28 InvokeRemoteMethod<PerformanceRPC::SetCpuPartition>(task_id, partition)); in SetCpuPartition() 31 int PerformanceClient::SetCpuPartition(pid_t task_id, const char* partition) { in SetCpuPartition() argument 37 task_id, WrapString(partition))); in SetCpuPartition() 116 extern "C" int dvrSetCpuPartition(pid_t task_id, const char* partition) { in dvrSetCpuPartition() argument 119 return client->SetCpuPartition(task_id, partition); in dvrSetCpuPartition() 142 extern "C" int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size) { in dvrGetCpuPartition() argument 145 return client->GetCpuPartition(task_id, partition, size); in dvrGetCpuPartition()
|
/frameworks/native/cmds/lshal/libprocpartition/ |
D | procpartition.cpp | 76 std::string partition = (backslash != std::string::npos) ? path.substr(1, backslash - 1) : path; in getPartitionFromRealpath() local 78 return parsePartition(partition); in getPartitionFromRealpath() 102 Partition partition = getPartitionFromExe(pid); in getPartition() local 103 if (partition == Partition::UNKNOWN) { in getPartition() 104 partition = getPartitionFromCmdline(pid); in getPartition() 106 return partition; in getPartition()
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfigParser.java | 131 OverlayPartition(@NonNull SystemPartition partition) { in OverlayPartition() argument 132 super(partition); in OverlayPartition() 133 this.policy = policyForPartition(partition); in OverlayPartition() 145 private static String policyForPartition(SystemPartition partition) { in policyForPartition() argument 146 switch (partition.type) { in policyForPartition() 160 + partition.getFolder()); in policyForPartition() 182 private ParsingContext(OverlayPartition partition) { in ParsingContext() argument 183 mPartition = partition; in ParsingContext() 198 @NonNull OverlayPartition partition, @Nullable OverlayScanner scanner, in getConfigurations() 202 if (partition.getOverlayFolder() != null) { in getConfigurations() [all …]
|
D | OverlayConfig.java | 149 final OverlayPartition partition = partitions.get(i); in OverlayConfig() local 152 OverlayConfigParser.getConfigurations(partition, scanner, in OverlayConfig() 154 activeApexesPerPartition.getOrDefault(partition.type, in OverlayConfig() 173 if (!partition.containsFile(partitionOverlayInfos.get(j) in OverlayConfig() 186 true /* enabled */, false /* mutable */, partition.policy, p)); in OverlayConfig() 340 for (OverlayPartition partition : partitions) { in getActiveApexes() 341 result.put(partition.type, new ArrayList<String>()); in getActiveApexes() 350 for (OverlayPartition partition : partitions) { in getActiveApexes() 351 if (partition.containsPath(info.getPreinstalledModulePath())) { in getActiveApexes() 352 result.get(partition.type).add(info.getModuleName()); in getActiveApexes()
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | HostUtils.kt | 26 internal fun SystemPreparer.pushApk(javaResourceName: String, partition: Partition) = in <lambda>() 27 pushResourceFile(javaResourceName, HostUtils.makePathForApk(javaResourceName, partition) in <lambda>() 31 partition: Partition, in <lambda>() 35 deleteFile(partition.baseAppFolder.resolve(it.removeSuffix(".apk")).toString()) in <lambda>() 99 fun makePathForApk(fileName: String, partition: Partition) = in makePathForApk() 100 makePathForApk(File(fileName), partition) in makePathForApk() 102 fun makePathForApk(file: File, partition: Partition) = in makePathForApk() 103 partition.baseAppFolder in makePathForApk()
|
/frameworks/native/libs/vr/libperformance/include/dvr/ |
D | performance_client_api.h | 37 int dvrSetCpuPartition(pid_t task_id, const char* partition); 67 int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size);
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
D | CompositeCursorAdapterTest.java | 47 … protected View newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) { in newHeaderView() argument 52 protected void bindHeaderView(View view, int partition, Cursor cursor) { in bindHeaderView() argument 53 mRequests.append(partition + (cursor == null ? "" : cursor.getColumnNames()[0]) in bindHeaderView() 64 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView() argument 66 fail("Invalid position:" + partition + " " + cursor.getColumnNames()[0] + " " in bindView() 70 mRequests.append(partition + cursor.getColumnNames()[0] + "[" in bindView()
|
/frameworks/native/services/vr/performanced/ |
D | performance_service_tests.cpp | 221 char partition[PATH_MAX + 1]; in TEST() local 226 error = dvrGetCpuPartition(0, partition, sizeof(partition)); in TEST() 228 EXPECT_EQ("/", std::string(partition)); in TEST() 233 error = dvrGetCpuPartition(0, partition, sizeof(partition)); in TEST() 235 EXPECT_EQ("/application", std::string(partition)); in TEST() 238 error = dvrGetCpuPartition(0, partition, 5); in TEST() 242 error = dvrGetCpuPartition(1, partition, sizeof(partition)); in TEST() 246 error = dvrGetCpuPartition(0, nullptr, sizeof(partition)); in TEST()
|
D | performance_service.h | 36 const std::string& partition);
|
D | performance_service.cpp | 325 Message& message, pid_t task_id, const std::string& partition) { in OnSetCpuPartition() argument 339 auto target_set = cpuset_.Lookup(partition); in OnSetCpuPartition()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackagePartitions.java | 189 public SystemPartition(@NonNull File rootFolder, @NonNull SystemPartition partition) { in SystemPartition() argument 190 this(rootFolder, partition.type, partition.mName, partition.mPrivAppFolder != null, in SystemPartition() 191 partition.mOverlayFolder != null); in SystemPartition()
|
/frameworks/native/libs/vr/libperformance/include/private/dvr/ |
D | performance_client.h | 21 int SetCpuPartition(pid_t task_id, const std::string& partition); 22 int SetCpuPartition(pid_t task_id, const char* partition);
|
/frameworks/base/services/core/java/com/android/server/ |
D | BootReceiver.java | 688 public static int fixFsckFsStat(String partition, int statOrg, String[] lines, in fixFsckFsStat() argument 715 Slog.i(TAG, "fs_stat, partition:" + partition + " found tree optimization:" in fixFsckFsStat() 723 Slog.i(TAG, "fs_stat, partition:" + partition + " found quota warning:" in fixFsckFsStat() 735 Slog.i(TAG, "fs_stat, partition:" + partition + " found timestamp adjustment:" in fixFsckFsStat() 754 Slog.i(TAG, "fs_stat, partition:" + partition + " fix:" + otherFixLine); in fixFsckFsStat() 758 partition); in fixFsckFsStat() 761 Slog.i(TAG, "fs_stat, partition:" + partition + " fix ignored"); in fixFsckFsStat() 770 String partition = match.group(1); in handleFsckFsStat() local 775 Slog.w(TAG, "cannot parse fs_stat: partition:" + partition + " stat:" + match.group(2)); in handleFsckFsStat() 778 stat = fixFsckFsStat(partition, stat, lines, startLineNumber, endLineNumber); in handleFsckFsStat() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTestsBase.java | 261 private String partition; field in OverlayManagerServiceImplTestsBase.FakeDeviceState.PackageBuilder 267 String targetOverlayableName, String partition) { in PackageBuilder() argument 271 this.partition = partition; in PackageBuilder() 291 if (TextUtils.isEmpty(partition)) { in build() 299 path = String.format("%s/%s", partition, type); in build()
|
/frameworks/base/packages/CtsShim/build/ |
D | README | 2 The CTS shim is a package that resides on a device's /system partition in order 7 solution involving a temporarily writable /system partition is implemented.
|
/frameworks/opt/net/wifi/RROOverlaySampleApp/ |
D | Readme.txt | 4 and put the sample app in either system, product or vendor partition of the device.
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 116 Partition partition = android::procpartition::getPartition(pid); in getPartition() local 117 mPartitions.emplace(pid, partition); in getPartition() 118 return partition; in getPartition() 271 if (entry.partition == Partition::UNKNOWN) { in postprocess() 272 entry.partition = getPartition(entry.serverPid); in postprocess() 330 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance() local 332 if (partition == Partition::UNKNOWN) { in addEntryWithInstance() 338 if (partition != mVintfPartition) { in addEntryWithInstance() 725 .partition = toPartition(manifest->type()), in fetchManifestHals()
|
/frameworks/base/native/android/ |
D | libandroid_net.map.txt | 4 # because the same LLNDK library serves for both system and vendor partition
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | DecorProvider.kt | 98 return partition { it.alignedBounds.contains(alignedBound) } in partitionAlignedBound()
|
/frameworks/base/tests/SurfaceComposition/ |
D | Android.bp | 27 // When built, explicitly put it in the data partition.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | AuxiliaryPersistenceWrapper.kt | 97 val (comp, noComp) = favorites.partition { it.componentName == componentName } in getCachedFavoritesAndRemoveFor()
|