Searched defs:partition (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/libs/vr/libperformance/
H A Dperformance_client.cpp23 const std::string& partition) {
28 InvokeRemoteMethod<PerformanceRPC::SetCpuPartition>(task_id, partition));
31 int PerformanceClient::SetCpuPartition(pid_t task_id, const char* partition) { argument
37 task_id, WrapString(partition)));
116 extern "C" int dvrSetCpuPartition(pid_t task_id, const char* partition) { argument
119 return client->SetCpuPartition(task_id, partition);
142 extern "C" int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size) { argument
145 return client->GetCpuPartition(task_id, partition, size);
22 SetCpuPartition(pid_t task_id, const std::string& partition) argument
/frameworks/native/cmds/lshal/libprocpartition/
H A Dprocpartition.cpp76 std::string partition = (backslash != std::string::npos) ? path.substr(1, backslash - 1) : path; local
78 return parsePartition(partition);
102 Partition partition = getPartitionFromExe(pid); local
103 if (partition == Partition::UNKNOWN) {
104 partition = getPartitionFromCmdline(pid);
106 return partition;
/frameworks/native/services/vr/performanced/
H A Dperformance_service_tests.cpp65 // Test setting the the partition for the current task.
72 // Test setting the partition for one of our tasks.
103 // Test setting the partition for a task that doesn't belong to us.
107 // Test setting the partition to one that doesn't exist.
111 // Set the test back to the root partition.
155 // Set the test back to the root partition.
221 char partition[PATH_MAX + 1]; local
226 error = dvrGetCpuPartition(0, partition, sizeof(partition));
228 EXPECT_EQ("/", std::string(partition));
[all...]
H A Dperformance_service.cpp303 Message& message, pid_t task_id, const std::string& partition) {
315 auto target_set = cpuset_.Lookup(partition);
302 OnSetCpuPartition( Message& message, pid_t task_id, const std::string& partition) argument
/frameworks/ex/common/tests/src/com/android/common/widget/
H A DCompositeCursorAdapterTest.java47 protected View newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) { argument
52 protected void bindHeaderView(View view, int partition, Cursor cursor) { argument
53 mRequests.append(partition + (cursor == null ? "" : cursor.getColumnNames()[0])
64 protected void bindView(View v, int partition, Cursor cursor, int position) { argument
66 fail("Invalid position:" + partition + " " + cursor.getColumnNames()[0] + " "
70 mRequests.append(partition + cursor.getColumnNames()[0] + "["
/frameworks/base/core/java/com/android/server/
H A DBootReceiver.java553 * @param partition partition name
561 public static int fixFsckFsStat(String partition, int statOrg, String[] lines, argument
588 Slog.i(TAG, "fs_stat, partition:" + partition + " found tree optimization:"
596 Slog.i(TAG, "fs_stat, partition:" + partition + " found quota warning:"
608 Slog.i(TAG, "fs_stat, partition:" + partition + " found timestamp adjustment:"
627 Slog.i(TAG, "fs_stat, partition
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java84 * Registers a partition. The cursor for that partition can be set later.
92 public void addPartition(Partition partition) { argument
93 mPartitions.add(partition);
98 public void addPartition(int location, Partition partition) { argument
99 mPartitions.add(location, partition);
121 for (Partition partition : mPartitions) {
122 partition.cursor = null;
132 for (Partition partition : mPartitions) {
133 Cursor cursor = partition
194 hasHeader(int partition) argument
209 getCursor(int partition) argument
216 changeCursor(int partition, Cursor cursor) argument
234 isPartitionEmpty(int partition) argument
279 getPositionForPartition(int partition) argument
306 getItemViewType(int partition, int position) argument
368 getHeaderView(int partition, Cursor cursor, View convertView, ViewGroup parent) argument
380 newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) argument
388 bindHeaderView(View view, int partition, Cursor cursor) argument
394 getView(int partition, Cursor cursor, int position, View convertView, ViewGroup parent) argument
410 newView(Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument
417 bindView(View v, int partition, Cursor cursor, int position) argument
519 isEnabled(int partition, int position) argument
[all...]
/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java94 * Model object for a {@link Directory} row. There is a partition in the
309 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex);
310 return partition.loading ? 1 : 0;
316 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex);
317 if (partition.loading) {
325 protected void bindView(View v, int partition, Cursor cursor, int position) { argument
326 DirectoryPartition directoryPartition = (DirectoryPartition)getPartition(partition);
381 DirectoryPartition partition = new DirectoryPartition();
382 partition.directoryId = id;
383 partition
528 removeDuplicatesAndTruncate(int partition, Cursor cursor) argument
554 hasDuplicates(Cursor cursor, int partition) argument
[all...]
/frameworks/native/cmds/lshal/
H A DListCommand.cpp97 Partition partition = android::procpartition::getPartition(pid); local
98 mPartitions.emplace(pid, partition);
99 return partition;
249 entry.partition = getPartition(entry.serverPid);
324 Partition partition = resolvePartition(entry.partition, fqName);
326 if (partition == Partition::UNKNOWN) {
327 err() << "Warning: Cannot guess the partition of instance " << fqInstanceName
332 if (partition != mVintfPartition) {
333 continue; // strip out instances that is in a different partition
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp77 const std::string& partition) {
86 error = dvrSetCpuPartition(0, partition.c_str());
91 partition.c_str(), gettid(), strerror(-error));
76 SetThreadPolicy(const std::string& scheduler_class, const std::string& partition) argument
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 357 milliseconds