Home
last modified time | relevance | path

Searched refs:object1 (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java440 public int compare(AppOpEntry object1, AppOpEntry object2) {
441 if (object1.getSwitchOrder() != object2.getSwitchOrder()) {
442 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1;
444 if (object1.isRunning() != object2.isRunning()) {
446 return object1.isRunning() ? -1 : 1;
448 if (object1.getTime() != object2.getTime()) {
450 return object1.getTime() > object2.getTime() ? -1 : 1;
452 return sCollator.compare(object1.getAppEntry().getLabel(),
463 public int compare(AppOpEntry object1, AppOpEntry object2) {
464 return sCollator.compare(object1.getAppEntry().getLabel(),
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java286 public int compare(AppEntry object1, AppEntry object2) {
287 NotificationsSentState state1 = getNotificationsSentState(object1);
295 return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2);
302 public int compare(AppEntry object1, AppEntry object2) {
303 NotificationsSentState state1 = getNotificationsSentState(object1);
311 return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2);
DRunningState.java733 public int compare(ProcessItem object1, ProcessItem object2) { in compare() argument
734 if (object1.mUserId != object2.mUserId) { in compare()
735 if (object1.mUserId == mMyUserId) return -1; in compare()
737 return object1.mUserId < object2.mUserId ? -1 : 1; in compare()
739 if (object1.mIsStarted != object2.mIsStarted) { in compare()
741 return object1.mIsStarted ? -1 : 1; in compare()
743 if (object1.mIsSystem != object2.mIsSystem) { in compare()
745 return object1.mIsSystem ? 1 : -1; in compare()
747 if (object1.mActiveSince != object2.mActiveSince) { in compare()
750 return (object1.mActiveSince > object2.mActiveSince) ? -1 : 1; in compare()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java292 public int compare(PackageInfo object1, PackageInfo object2) {
293 if (object1.size < object2.size) return 1;
294 if (object1.size > object2.size) return -1;
295 int compareResult = sCollator.compare(object1.label, object2.label);
299 compareResult = sCollator.compare(object1.packageName, object2.packageName);
303 return object1.userId - object2.userId;
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java1741 public int compare(ApplicationsState.AppEntry object1,
1743 int compareResult = sCollator.compare(object1.label, object2.label);
1747 if (object1.info != null && object2.info != null) {
1749 sCollator.compare(object1.info.packageName,
1756 return object1.info.uid - object2.info.uid;
1763 public int compare(ApplicationsState.AppEntry object1, ApplicationsState.AppEntry object2) {
1764 if (object1.size < object2.size) return 1;
1765 if (object1.size > object2.size) return -1;
1766 return ALPHA_COMPARATOR.compare(object1, object2);
1773 public int compare(ApplicationsState.AppEntry object1, ApplicationsState.AppEntry object2) {
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java55 public int compare(DataKind object1, DataKind object2) {
56 return object1.weight - object2.weight;
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java302 public int compare(DataKind object1, DataKind object2) {
303 return object1.weight - object2.weight;
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java418 public int compare(GroupDelta object1, GroupDelta object2) {
419 final Long id1 = object1.getId();
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...