/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 384 public int compare(Alarm lhs, Alarm rhs) { 386 if (lhs.priorityClass.priority < rhs.priorityClass.priority) { 388 } else if (lhs.priorityClass.priority > rhs.priorityClass.priority) { 393 if (lhs.whenElapsed < rhs.whenElapsed) { 395 } else if (lhs.whenElapsed > rhs.whenElapsed) { 943 public int compare(FilterStats lhs, FilterStats rhs) { 944 if (lhs.aggregateTime < rhs.aggregateTime) { 946 } else if (lhs.aggregateTime > rhs.aggregateTime) {
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 237 int StringPool::config_sort(void* state, const void* lhs, const void* rhs) 241 const entry& rhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(rhs)]];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 334 private static boolean sameConditionId(Condition lhs, Condition rhs) { argument 335 return lhs == null ? rhs == null : rhs != null && lhs.id.equals(rhs.id);
|
/frameworks/native/cmds/installd/ |
H A D | utils.c | 835 const cache_file_t *rhs = *(const cache_file_t**)rhsP; local 836 return lhs->modTime < rhs->modTime ? -1 : (lhs->modTime > rhs->modTime ? 1 : 0);
|
/frameworks/rs/scriptc/ |
H A D | rs_core_math.rsh | 4482 extern float3 __attribute__((const, overloadable))cross(float3 lhs, float3 rhs); 4491 extern float4 __attribute__((const, overloadable))cross(float4 lhs, float4 rhs); 4536 extern float __attribute__((const, overloadable))distance(float lhs, float rhs); 4545 extern float __attribute__((const, overloadable))distance(float2 lhs, float2 rhs); 4554 extern float __attribute__((const, overloadable))distance(float3 lhs, float3 rhs); 4563 extern float __attribute__((const, overloadable))distance(float4 lhs, float4 rhs); 4572 extern float __attribute__((const, overloadable))dot(float lhs, float rhs); 4581 extern float __attribute__((const, overloadable))dot(float2 lhs, float2 rhs); 4590 extern float __attribute__((const, overloadable))dot(float3 lhs, float3 rhs); 4599 extern float __attribute__((const, overloadable))dot(float4 lhs, float4 rhs); [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsHelper.java | 359 public int compare(BatterySipper lhs, BatterySipper rhs) { 360 if (lhs.mobilemspp < rhs.mobilemspp) { 362 } else if (lhs.mobilemspp > rhs.mobilemspp) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerImpl.java | 458 public int compare(SubscriptionInfo lhs, SubscriptionInfo rhs) { 459 return lhs.getSimSlotIndex() == rhs.getSimSlotIndex() 460 ? lhs.getSubscriptionId() - rhs.getSubscriptionId() 461 : lhs.getSimSlotIndex() - rhs.getSimSlotIndex();
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentService.java | 111 public int compare(Integer lhs, Integer rhs) { 113 int rc = pidCounts.get(rhs);
|
H A D | SyncManager.java | 1400 RegisteredServicesCache.ServiceInfo<SyncAdapterType> rhs) { 1401 return lhs.type.authority.compareTo(rhs.type.authority); 1602 public int compare(AuthoritySyncStats lhs, AuthoritySyncStats rhs) { 1604 int compare = Integer.compare(rhs.times, lhs.times); 1606 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime); 1646 public int compare(AccountSyncStats lhs, AccountSyncStats rhs) { 1648 int compare = Integer.compare(rhs.times, lhs.times); 1650 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 123 public int compare(ItemInfo lhs, ItemInfo rhs) { 124 return lhs.position - rhs.position; 2886 public int compare(View lhs, View rhs) { argument 2888 final LayoutParams rlp = (LayoutParams) rhs.getLayoutParams();
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | TaskPersister.java | 436 public int compare(TaskRecord lhs, TaskRecord rhs) { 437 final long diff = rhs.mLastTimeMoved - lhs.mLastTimeMoved;
|
H A D | ActivityManagerService.java | 3728 public int compare(TaskRecord lhs, TaskRecord rhs) { 3729 return rhs.taskId - lhs.taskId; 13941 public int compare(MemItem lhs, MemItem rhs) { 13942 if (lhs.pss < rhs.pss) { 13944 } else if (lhs.pss > rhs.pss) { 14567 @Override public int compare(ProcessMemInfo lhs, ProcessMemInfo rhs) { 14568 if (lhs.oomAdj != rhs.oomAdj) { 14569 return lhs.oomAdj < rhs.oomAdj ? -1 : 1; 14571 if (lhs.pss != rhs.pss) { 14572 return lhs.pss < rhs [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 598 static int cmp(void const* lhs, void const* rhs) { argument 600 sensors_event_t const* r = static_cast<sensors_event_t const*>(rhs);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 51 * matrix. In matrix notation: result = lhs x rhs. Due to the way 53 * effect as first multiplying by the rhs matrix, then multiplying by 56 * The same float array may be passed for result, lhs, and/or rhs. However, 58 * either the lhs or rhs elements. 65 * @param rhs The float array that holds the right-hand-side matrix. 66 * @param rhsOffset The offset into the rhs array where the rhs is stored. 68 * @throws IllegalArgumentException if result, lhs, or rhs are null, or if 70 * rhsOffset + 16 > rhs.length. 73 float[] lhs, int lhsOffset, float[] rhs, in 72 multiplyMM(float[] result, int resultOffset, float[] lhs, int lhsOffset, float[] rhs, int rhsOffset) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 3341 SurfaceFlinger::LayerVector::LayerVector(const LayerVector& rhs) argument 3342 : SortedVector<sp<Layer> >(rhs) { 3346 const void* rhs) const 3350 const sp<Layer>& r(*reinterpret_cast<const sp<Layer>*>(rhs));
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 626 public int compare(String lhs, String rhs) { argument 629 } else if (rhs == null) { 632 return lhs.compareTo(rhs);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 2567 public int compare(ProcessState lhs, ProcessState rhs) { 2568 if (lhs.mTmpTotalTime < rhs.mTmpTotalTime) { 2570 } else if (lhs.mTmpTotalTime > rhs.mTmpTotalTime) {
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 2896 public int compare(TimerEntry lhs, TimerEntry rhs) { 2898 long rhsTime = rhs.mTime;
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 1638 static bool bitcodereader_order(const User *lhs, const User *rhs) { argument
|