/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/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/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/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/com/android/server/ |
D | BootReceiver.java | 564 public static int fixFsckFsStat(String partition, int statOrg, String[] lines, in fixFsckFsStat() argument 591 Slog.i(TAG, "fs_stat, partition:" + partition + " found tree optimization:" in fixFsckFsStat() 599 Slog.i(TAG, "fs_stat, partition:" + partition + " found quota warning:" in fixFsckFsStat() 611 Slog.i(TAG, "fs_stat, partition:" + partition + " found timestamp adjustment:" in fixFsckFsStat() 630 Slog.i(TAG, "fs_stat, partition:" + partition + " fix:" + otherFixLine); in fixFsckFsStat() 634 partition); in fixFsckFsStat() 637 Slog.i(TAG, "fs_stat, partition:" + partition + " fix ignored"); in fixFsckFsStat() 646 String partition = match.group(1); in handleFsckFsStat() local 651 Slog.w(TAG, "cannot parse fs_stat: partition:" + partition + " stat:" + match.group(2)); in handleFsckFsStat() 654 stat = fixFsckFsStat(partition, stat, lines, startLineNumber, endLineNumber); in handleFsckFsStat() [all …]
|
/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/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() 354 if (entry.partition == Partition::UNKNOWN) { in postprocess() 355 entry.partition = getPartition(entry.serverPid); in postprocess() 413 Partition partition = resolvePartition(entry.partition, fqInstance); in addEntryWithInstance() local 415 if (partition == Partition::UNKNOWN) { in addEntryWithInstance() 421 if (partition != mVintfPartition) { in addEntryWithInstance() 809 .partition = toPartition(manifest->type()), in fetchManifestHals()
|
D | TableEntry.h | 88 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/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 145 private boolean hasRestrictedNetworkPermission(String partition, int targetSdkVersion, int uid, in hasRestrictedNetworkPermission() argument 147 final PackageInfo packageInfo = buildPackageInfo(partition, uid, MOCK_USER1); in hasRestrictedNetworkPermission() 154 private static PackageInfo packageInfoWithPartition(String partition) { in packageInfoWithPartition() argument 158 switch (partition) { in packageInfoWithPartition() 173 private static PackageInfo buildPackageInfo(String partition, int uid, int userId) { in buildPackageInfo() argument 174 final PackageInfo pkgInfo = packageInfoWithPartition(partition); in buildPackageInfo()
|
/frameworks/base/tests/SurfaceComposition/ |
D | Android.bp | 18 // When built, explicitly put it in the data partition.
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | CommandLineOptions.cpp | 83 const auto pivot = std::partition(options_.begin(), options_.end(), [](const Option& opt) { in Parse()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 82 const std::string& partition) { in SetThreadPolicy() argument 91 error = dvrSetCpuPartition(0, partition.c_str()); in SetThreadPolicy() 96 partition.c_str(), gettid(), strerror(-error)); in SetThreadPolicy()
|
/frameworks/ml/nn/extensions/ |
D | README.md | 17 Apps and native binaries located on the `/system` partition can't use vendor
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 56 # File on cache partition was deleted
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.cpp | 218 std::partition(Values.begin()+CstStart, Values.begin()+CstEnd, in OptimizeConstants()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 218 std::partition(Values.begin()+CstStart, Values.begin()+CstEnd, in OptimizeConstants()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 218 std::partition(Values.begin()+CstStart, Values.begin()+CstEnd, in OptimizeConstants()
|
/frameworks/ml/nn/tools/test_generator/ |
D | test_generator.py | 196 left, sep, right = shape.partition('{') 197 real_shape, sep, right = right.partition('}') 205 left, sep, scale = scale.partition(',')
|