/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/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 | 128 OverlayPartition(@NonNull SystemPartition partition) { in OverlayPartition() argument 129 super(partition); in OverlayPartition() 130 this.policy = policyForPartition(partition); in OverlayPartition() 142 private static String policyForPartition(SystemPartition partition) { in policyForPartition() argument 143 switch (partition.type) { in policyForPartition() 157 + partition.getFolder()); in policyForPartition() 179 private ParsingContext(OverlayPartition partition) { in ParsingContext() argument 180 mPartition = partition; in ParsingContext() 195 @NonNull OverlayPartition partition, @Nullable OverlayScanner scanner) { in getConfigurations() 196 if (partition.getOverlayFolder() == null) { in getConfigurations() [all …]
|
D | OverlayConfig.java | 123 final OverlayPartition partition = partitions.get(i); in OverlayConfig() local 126 OverlayConfigParser.getConfigurations(partition, scanner); in OverlayConfig() 148 if (!partition.containsFile(partitionOverlayInfos.get(j).path)) { in OverlayConfig() 160 true /* enabled */, false /* mutable */, partition.policy, p)); in OverlayConfig()
|
/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/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/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/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/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/core/java/android/content/pm/ |
D | PackagePartitions.java | 150 public SystemPartition(@NonNull File rootFolder, @NonNull SystemPartition partition) { in SystemPartition() argument 151 this(rootFolder, partition.type, partition.mPrivAppFolder != null, in SystemPartition() 152 partition.mOverlayFolder != null); in SystemPartition()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BootReceiver.java | 820 public static int fixFsckFsStat(String partition, int statOrg, String[] lines, in fixFsckFsStat() argument 847 Slog.i(TAG, "fs_stat, partition:" + partition + " found tree optimization:" in fixFsckFsStat() 855 Slog.i(TAG, "fs_stat, partition:" + partition + " found quota warning:" in fixFsckFsStat() 867 Slog.i(TAG, "fs_stat, partition:" + partition + " found timestamp adjustment:" in fixFsckFsStat() 886 Slog.i(TAG, "fs_stat, partition:" + partition + " fix:" + otherFixLine); in fixFsckFsStat() 890 partition); in fixFsckFsStat() 893 Slog.i(TAG, "fs_stat, partition:" + partition + " fix ignored"); in fixFsckFsStat() 902 String partition = match.group(1); in handleFsckFsStat() local 907 Slog.w(TAG, "cannot parse fs_stat: partition:" + partition + " stat:" + match.group(2)); in handleFsckFsStat() 910 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 | 115 Partition partition = android::procpartition::getPartition(pid); in getPartition() local 116 mPartitions.emplace(pid, partition); in getPartition() 117 return partition; in getPartition() 270 if (entry.partition == Partition::UNKNOWN) { in postprocess() 271 entry.partition = getPartition(entry.serverPid); in postprocess() 329 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance() local 331 if (partition == Partition::UNKNOWN) { in addEntryWithInstance() 337 if (partition != mVintfPartition) { in addEntryWithInstance() 725 .partition = toPartition(manifest->type()), in fetchManifestHals()
|
D | TableEntry.h | 94 Partition partition{Partition::UNKNOWN};
|
/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/controls/controller/ |
D | AuxiliaryPersistenceWrapper.kt | 95 val (comp, noComp) = favorites.partition { it.componentName == componentName } in getCachedFavoritesAndRemoveFor()
|
/frameworks/base/tests/SurfaceComposition/ |
D | Android.bp | 27 // When built, explicitly put it in the data partition.
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | FloatingContentCoordinator.kt | 273 .partition { rectToAvoid -> rectToAvoid.top < contentRect.top } in <lambda>()
|
/frameworks/base/tools/xmlpersistence/src/main/kotlin/ |
D | Generator.kt | 203 .partition { it is PrimitiveFieldInfo || it is StringFieldInfo } in generateParseClassMethod() 437 .partition { it is PrimitiveFieldInfo || it is StringFieldInfo } in generateSerializeClassMethod()
|