Home
last modified time | relevance | path

Searched refs:groupId (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java48 final int groupId = 541; in testGroupId() local
53 final MenuItem item = mMenu.add(groupId, 0, item1Index, "test"); in testGroupId()
55 final MenuItem item2 = mMenu.add(groupId, 0, item2Index, "test2"); in testGroupId()
57 Assert.assertEquals(groupId, item.getGroupId()); in testGroupId()
58 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId()
59 Assert.assertEquals(item1Index, mMenu.findGroupIndex(groupId)); in testGroupId()
60 Assert.assertEquals(item2Index, mMenu.findGroupIndex(groupId, item1Index + 1)); in testGroupId()
110 final int groupId = 1; in testCheckable() local
111 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); in testCheckable()
112 final MenuItem item2 = mMenu.add(groupId, 2, 0, "item2"); in testCheckable()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuWrapperICS.java50 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
51 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, title)); in add()
55 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
56 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); in add()
70 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
71 return getSubMenuWrapper(mWrappedObject.addSubMenu(groupId, itemId, order, title)); in addSubMenu()
75 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
77 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes)); in addSubMenu()
81 public int addIntentOptions(int groupId, int itemId, int order, ComponentName caller, in addIntentOptions() argument
89 .addIntentOptions(groupId, itemId, order, caller, specifics, intent, flags, items); in addIntentOptions()
[all …]
/frameworks/base/services/core/java/com/android/server/fingerprint/
DEnrollClient.java41 IFingerprintServiceReceiver receiver, int userId, int groupId, byte [] cryptoToken, in EnrollClient() argument
43 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner); in EnrollClient()
48 public boolean onEnrollResult(int fingerId, int groupId, int remaining) { in onEnrollResult() argument
49 if (groupId != getGroupId()) { in onEnrollResult()
50 Slog.w(TAG, "groupId != getGroupId(), groupId: " + groupId + in onEnrollResult()
57 return sendEnrollResult(fingerId, groupId, remaining); in onEnrollResult()
63 private boolean sendEnrollResult(int fpId, int groupId, int remaining) { in sendEnrollResult() argument
71 receiver.onEnrollResult(getHalDeviceId(), fpId, groupId, remaining); in sendEnrollResult() local
129 public boolean onRemoved(int fingerId, int groupId, int remaining) { in onRemoved() argument
135 public boolean onEnumerationResult(int fingerId, int groupId, int remaining) { in onEnumerationResult() argument
[all …]
DRemovalClient.java36 IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, in RemovalClient() argument
38 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner); in RemovalClient()
89 private boolean sendRemoved(int fingerId, int groupId, int remaining) { in sendRemoved() argument
93 receiver.onRemoved(getHalDeviceId(), fingerId, groupId, remaining); in sendRemoved() local
102 public boolean onRemoved(int fingerId, int groupId, int remaining) { in onRemoved() argument
111 public boolean onEnrollResult(int fingerId, int groupId, int rem) { in onEnrollResult() argument
117 public boolean onAuthenticated(int fingerId, int groupId) { in onAuthenticated() argument
123 public boolean onEnumerationResult(int fingerId, int groupId, int remaining) { in onEnumerationResult() argument
DEnumerateClient.java33 IFingerprintServiceReceiver receiver, int groupId, int userId, in EnumerateClient() argument
35 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner); in EnumerateClient()
89 public boolean onEnumerationResult(int fingerId, int groupId, int remaining) { in onEnumerationResult() argument
94 receiver.onEnumerated(getHalDeviceId(), fingerId, groupId, remaining); in onEnumerationResult() local
102 public boolean onAuthenticated(int fingerId, int groupId) { in onAuthenticated() argument
108 public boolean onEnrollResult(int fingerId, int groupId, int rem) { in onEnrollResult() argument
114 public boolean onRemoved(int fingerId, int groupId, int remaining) { in onRemoved() argument
DInternalEnumerateClient.java36 IFingerprintServiceReceiver receiver, int groupId, int userId, in InternalEnumerateClient() argument
39 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner); in InternalEnumerateClient()
43 private void handleEnumeratedFingerprint(int fingerId, int groupId, int remaining) { in handleEnumeratedFingerprint() argument
57 Fingerprint fingerprint = new Fingerprint("", groupId, fingerId, getHalDeviceId()); in handleEnumeratedFingerprint()
84 public boolean onEnumerationResult(int fingerId, int groupId, int remaining) { in onEnumerationResult() argument
86 handleEnumeratedFingerprint(fingerId, groupId, remaining); in onEnumerationResult()
DAuthenticationClient.java45 IFingerprintServiceReceiver receiver, int targetUserId, int groupId, long opId, in AuthenticationClient() argument
47 super(context, halDeviceId, token, receiver, targetUserId, groupId, restricted, owner); in AuthenticationClient()
52 public boolean onAuthenticated(int fingerId, int groupId) { in onAuthenticated() argument
66 + ", id=" + fingerId + ", gp=" + groupId + ")"); in onAuthenticated()
69 ? new Fingerprint("" /* TODO */, groupId, fingerId, getHalDeviceId()) in onAuthenticated()
163 public boolean onEnrollResult(int fingerId, int groupId, int remaining) { in onEnrollResult() argument
169 public boolean onRemoved(int fingerId, int groupId, int remaining) { in onRemoved() argument
175 public boolean onEnumerationResult(int fingerId, int groupId, int remaining) { in onEnumerationResult() argument
DFingerprintService.java331 protected void handleEnumerate(long deviceId, int fingerId, int groupId, int remaining) { in handleEnumerate() argument
333 + ", gid=" + groupId in handleEnumerate()
342 client.onEnumerationResult(fingerId, groupId, remaining); in handleEnumerate()
398 protected void handleRemoved(long deviceId, int fingerId, int groupId, int remaining) { in handleRemoved() argument
400 + ", gid=" + groupId in handleRemoved()
405 if (client != null && client.onRemoved(fingerId, groupId, remaining)) { in handleRemoved()
408 if (!hasEnrolledFingerprints(groupId)) { in handleRemoved()
409 updateActiveGroup(groupId, null); in handleRemoved()
419 protected void handleAuthenticated(long deviceId, int fingerId, int groupId, in handleAuthenticated() argument
431 if (client != null && client.onAuthenticated(fingerId, groupId)) { in handleAuthenticated()
[all …]
DClientMonitor.java67 IFingerprintServiceReceiver receiver, int userId, int groupId,boolean restricted, in ClientMonitor() argument
74 mGroupId = groupId; in ClientMonitor()
114 public abstract boolean onEnrollResult(int fingerId, int groupId, int rem); in onEnrollResult() argument
115 public abstract boolean onAuthenticated(int fingerId, int groupId); in onAuthenticated() argument
116 public abstract boolean onRemoved(int fingerId, int groupId, int remaining); in onRemoved() argument
117 public abstract boolean onEnumerationResult(int fingerId, int groupId, int remaining); in onEnumerationResult() argument
DInternalRemovalClient.java27 IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, in InternalRemovalClient() argument
30 super(context, halDeviceId, token, receiver, fingerId, groupId, userId, restricted, owner); in InternalRemovalClient()
DFingerprintsUserState.java71 public void addFingerprint(int fingerId, int groupId) { in addFingerprint() argument
73 mFingerprints.add(new Fingerprint(getUniqueName(), groupId, fingerId, 0)); in addFingerprint()
260 String groupId = parser.getAttributeValue(null, ATTR_GROUP_ID); in parseFingerprintsLocked() local
263 mFingerprints.add(new Fingerprint(name, Integer.parseInt(groupId), in parseFingerprintsLocked()
/frameworks/base/core/java/android/view/
DMenu.java176 public MenuItem add(int groupId, int itemId, int order, CharSequence title); in add() argument
193 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add() argument
235 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu() argument
250 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu() argument
303 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
321 public void removeGroup(int groupId); in removeGroup() argument
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java59 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
63 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
65 groupId, itemId, 0, order, title); in add()
70 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument
79 removeGroup(groupId); in addIntentOptions()
89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions()
110 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu() argument
116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
204 public void removeGroup(int groupId) { in removeGroup() argument
[all …]
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl38 …void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiv… in enroll() argument
45 void remove(IBinder token, int fingerId, int groupId, int userId, in remove() argument
49 void rename(int fingerId, int groupId, String name); in rename() argument
52 List<Fingerprint> getEnrolledFingerprints(int groupId, String opPackageName); in getEnrolledFingerprints() argument
64 boolean hasEnrolledFingerprints(int groupId, String opPackageName); in hasEnrolledFingerprints() argument
DIFingerprintServiceReceiver.aidl27 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); in onEnrollResult() argument
32 void onRemoved(long deviceId, int fingerId, int groupId, int remaining); in onRemoved() argument
33 void onEnumerated(long deviceId, int fingerId, int groupId, int remaining); in onEnumerated() argument
DFingerprintManager.java916 int groupId = fingerprint.getGroupId(); in sendRemovedResult() local
918 if (groupId != reqGroupId) { in sendRemovedResult()
919 Log.w(TAG, "Group id didn't match: " + groupId + " != " + reqGroupId); in sendRemovedResult()
926 private void sendEnumeratedResult(long deviceId, int fingerId, int groupId) { in sendEnumeratedResult() argument
928 mEnumerateCallback.onEnumerate(new Fingerprint(null, groupId, fingerId, deviceId)); in sendEnumeratedResult()
1092 public void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining) {
1094 new Fingerprint(null, groupId, fingerId, deviceId)).sendToTarget();
1118 public void onRemoved(long deviceId, int fingerId, int groupId, int remaining) {
1120 new Fingerprint(null, groupId, fingerId, deviceId)).sendToTarget();
1124 public void onEnumerated(long deviceId, int fingerId, int groupId, int remaining) {
[all …]
DFingerprint.java31 public Fingerprint(CharSequence name, int groupId, int fingerId, long deviceId) { in Fingerprint() argument
33 mGroupId = groupId; in Fingerprint()
/frameworks/base/core/java/android/widget/
DBaseExpandableListAdapter.java80 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument
81 return 0x8000000000000000L | ((groupId & 0x7FFFFFFF) << 32) | (childId & 0xFFFFFFFF); in getCombinedChildId()
95 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument
96 return (groupId & 0x7FFFFFFF) << 32; in getCombinedGroupId()
DExpandableListAdapter.java194 long getCombinedChildId(long groupId, long childId); in getCombinedChildId() argument
208 long getCombinedGroupId(long groupId); in getCombinedGroupId() argument
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp133 static jint nativeEnroll(JNIEnv* env, jobject clazz, jbyteArray token, jint groupId, jint timeout) { in nativeEnroll() argument
134 ALOG(LOG_VERBOSE, LOG_TAG, "nativeEnroll(gid=%d, timeout=%d)\n", groupId, timeout); in nativeEnroll()
142 reinterpret_cast<const hw_auth_token_t*>(tokenData), groupId, timeout); in nativeEnroll()
159 static jint nativeAuthenticate(JNIEnv* env, jobject clazz, jlong sessionId, jint groupId) { in nativeAuthenticate() argument
160 ALOG(LOG_VERBOSE, LOG_TAG, "nativeAuthenticate(sid=%" PRId64 ", gid=%d)\n", sessionId, groupId); in nativeAuthenticate()
161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); in nativeAuthenticate()
171 static jint nativeRemove(JNIEnv* env, jobject clazz, jint fingerId, jint groupId) { in nativeRemove() argument
172 ALOG(LOG_VERBOSE, LOG_TAG, "nativeRemove(fid=%d, gid=%d)\n", fingerId, groupId); in nativeRemove()
175 finger.gid = groupId; in nativeRemove()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DWearableActionDrawerMenu.java71 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
72 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
76 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
151 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
156 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
162 int groupId, in addIntentOptions() argument
174 public void removeGroup(int groupId) { in removeGroup() argument
/frameworks/data-binding/
Dbuild.gradle259 def isBaseLibrary = dep.groupId == 'com.android.databinding' &&
261 def isGradle = dep.groupId == 'com.android.tools.build' &&
263 def isChardet = dep.groupId == 'com.googlecode.juniversalchardet' &&
288 def groupId = findChildByTag(it, "groupId").localText()[0]
290 def isBaseLibrary = groupId == 'com.android.databinding' &&
292 def isGradle = groupId == 'com.android.tools.build' && artifactId == 'gradle'
293 def isChardet = groupId == 'com.googlecode.juniversalchardet' &&
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java166 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument
167 return groupId << 16 | 0x0000FFFF; in getCombinedGroupId()
171 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument
172 return groupId << 16 | childId; in getCombinedChildId()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java491 final int groupId = item.getGroupId(); in flagActionItems() local
492 if (groupId != 0) { in flagActionItems()
493 seenGroups.put(groupId, true); in flagActionItems()
499 final int groupId = item.getGroupId(); in flagActionItems() local
500 final boolean inGroup = seenGroups.get(groupId); in flagActionItems()
533 if (isAction && groupId != 0) { in flagActionItems()
534 seenGroups.put(groupId, true); in flagActionItems()
537 seenGroups.put(groupId, false); in flagActionItems()
540 if (areYouMyGroupie.getGroupId() == groupId) { in flagActionItems()
/frameworks/base/core/java/android/provider/
DMediaStore.java663 long groupId) { in cancelThumbnailRequest() argument
666 .appendQueryParameter("group_id", String.valueOf(groupId)).build(); in cancelThumbnailRequest()
691 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, in getThumbnail() argument
730 .appendQueryParameter("group_id", String.valueOf(groupId)).build(); in getThumbnail()
1121 … public static void cancelThumbnailRequest(ContentResolver cr, long origId, long groupId) { in cancelThumbnailRequest() argument
1122 … InternalThumbnails.cancelThumbnailRequest(cr, origId, EXTERNAL_CONTENT_URI, groupId); in cancelThumbnailRequest()
1137 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, in getThumbnail() argument
1139 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options, in getThumbnail()
2182 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, in getThumbnail() argument
2184 return InternalThumbnails.getThumbnail(cr, origId, groupId, kind, options, in getThumbnail()
[all …]

12