Searched defs:parentId (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestUtil.java77 static void addTestStorage(MtpDatabase database, String parentId) throws FileNotFoundException { argument
78 database.getMapper().startAddingDocuments(parentId);
79 database.getMapper().putStorageDocuments(parentId, OPERATIONS_SUPPORTED, new MtpRoot[] {
82 database.getMapper().stopAddingDocuments(parentId);
H A DMtpDatabaseTest.java1129 private void addTestStorage(String parentId) throws FileNotFoundException { argument
1130 TestUtil.addTestStorage(mDatabase, parentId);
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DStubMediaBrowserServiceCompatWithDelayedMediaSession.java54 public void onLoadChildren(@NonNull String parentId, argument
H A DMediaBrowserCompatTest.java621 public void onChildrenLoaded(String parentId, List<MediaItem> children) { argument
624 mLastParentId = parentId;
631 public void onChildrenLoaded(String parentId, List<MediaItem> children, Bundle options) { argument
634 mLastParentId = parentId;
H A DMediaBrowserServiceCompatTest.java444 public void onChildrenLoaded(String parentId, List<MediaItem> children) { argument
457 public void onChildrenLoaded(String parentId, List<MediaItem> children, Bundle options) { argument
/frameworks/support/media-compat/api24/android/support/v4/media/
H A DMediaBrowserCompatApi24.java32 public static void subscribe(Object browserObj, String parentId, Bundle options, argument
34 ((MediaBrowser) browserObj).subscribe(parentId, options,
38 public static void unsubscribe(Object browserObj, String parentId, argument
40 ((MediaBrowser) browserObj).unsubscribe(parentId,
45 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options); argument
46 void onError(@NonNull String parentId, @NonNull Bundle options); argument
56 public void onChildrenLoaded(@NonNull String parentId, argument
58 mSubscriptionCallback.onChildrenLoaded(parentId, children, options);
62 public void onError(@NonNull String parentId, @NonNull Bundle options) { argument
63 mSubscriptionCallback.onError(parentId, option
[all...]
H A DMediaBrowserServiceCompatApi24.java49 public static void notifyChildrenChanged(Object serviceObj, String parentId, Bundle options) { argument
50 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId, options);
58 void onLoadChildren(String parentId, ResultWrapper result, Bundle options); argument
102 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result, argument
105 parentId, new ResultWrapper(result), options);
/frameworks/base/core/java/android/view/autofill/
H A DAutofillId.java46 public AutofillId(int parentId, int virtualChildId) { argument
48 mViewId = parentId;
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMapper.java129 * @param parentId Parent document ID.
136 int deviceId, String parentId,
148 parentId,
154 parentId,
158 strings(parentId),
230 * @param parentId Parent document ID.
236 * @throws FileNotFoundException When parentId is not registered in the database.
239 String parentId,
249 getParentOrHaltMapping(parentId);
250 Preconditions.checkState(mInMappingIds.contains(parentId));
135 putChildDocuments( int deviceId, String parentId, int[] operationsSupported, MtpObjectInfo[] documents, long[] documentSizes) argument
238 putDocuments( String parentId, ContentValues[] valuesList, @Nullable ContentValues[] rootExtraValuesList, String selection, String[] args, String[] mappingKeys) argument
318 stopAddingDocuments(@ullable String parentId) argument
369 cancelAddingDocuments(@ullable String parentId) argument
460 getParentOrHaltMapping( @ullable String parentId) argument
[all...]
H A DMtpDatabase.java589 void updateObject(String documentId, int deviceId, String parentId, int[] operationsSupported, argument
592 getObjectDocumentValues(values, deviceId, parentId, operationsSupported, info, size);
816 * @param parentId Parent document ID of the object.
821 ContentValues values, int deviceId, String parentId,
828 values.put(COLUMN_PARENT_DOCUMENT_ID, parentId);
820 getObjectDocumentValues( ContentValues values, int deviceId, String parentId, int[] operationsSupported, MtpObjectInfo info, long size) argument
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DBrowserService.java125 public void onLoadChildren(final String parentId, argument
/frameworks/support/media-compat/api21/android/support/v4/media/
H A DMediaBrowserServiceCompatApi21.java51 public static void notifyChildrenChanged(Object serviceObj, String parentId) { argument
52 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId);
57 void onLoadChildren(String parentId, ResultWrapper<List<Parcel>> result); argument
127 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) { argument
128 mServiceProxy.onLoadChildren(parentId, new ResultWrapper<List<Parcel>>(result));
H A DMediaBrowserCompatApi21.java77 Object browserObj, String parentId, Object subscriptionCallbackObj) {
78 ((MediaBrowser)browserObj).subscribe(parentId,
82 public static void unsubscribe(Object browserObj, String parentId) { argument
83 ((MediaBrowser)browserObj).unsubscribe(parentId);
117 void onChildrenLoaded(@NonNull String parentId, List<?> children); argument
118 void onError(@NonNull String parentId); argument
130 public void onChildrenLoaded(@NonNull String parentId, argument
132 mSubscriptionCallback.onChildrenLoaded(parentId, children);
136 public void onError(@NonNull String parentId) { argument
137 mSubscriptionCallback.onError(parentId);
76 subscribe( Object browserObj, String parentId, Object subscriptionCallbackObj) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewStructure.java307 * @param parentId id of the parent node.
311 public abstract void setAutofillId(@NonNull AutofillId parentId, int virtualId); argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java265 * @param parentId The parent id.
269 public void setParentId(int parentId) { argument
270 mParentId = parentId;
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java591 * @param parentId the parent of the new user, or -1 if the user has no parent. If parentId is
595 public void onUserAdded(int userId, int parentId) { argument
597 mBinder.onUserAdded(userId, parentId);
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java350 * @param parentId The id of the parent media item whose list of children
354 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { argument
355 subscribeInternal(parentId, null, callback);
373 * @param parentId The id of the parent media item whose list of children
380 public void subscribe(@NonNull String parentId, @NonNull Bundle options, argument
385 subscribeInternal(parentId, new Bundle(options), callback);
395 * @param parentId The id of the parent media item whose list of children
398 public void unsubscribe(@NonNull String parentId) { argument
399 unsubscribeInternal(parentId, null);
409 * @param parentId Th
413 unsubscribe(@onNull String parentId, @NonNull SubscriptionCallback callback) argument
474 subscribeInternal(String parentId, Bundle options, SubscriptionCallback callback) argument
507 unsubscribeInternal(String parentId, SubscriptionCallback callback) argument
646 onLoadChildren(final IMediaBrowserServiceCallbacks callback, final String parentId, final ParceledListSlice list, final Bundle options) argument
892 onChildrenLoaded(@onNull String parentId, @NonNull List<MediaItem> children) argument
904 onChildrenLoaded(@onNull String parentId, @NonNull List<MediaItem> children, @NonNull Bundle options) argument
918 onError(@onNull String parentId) argument
933 onError(@onNull String parentId, @NonNull Bundle options) argument
1100 onLoadChildren(String parentId, ParceledListSlice list) argument
1105 onLoadChildrenWithOptions(String parentId, ParceledListSlice list, final Bundle options) argument
[all...]
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java381 * with an empty list. When the given {@code parentId} is invalid, implementations must
386 * @param parentId The id of the parent media item whose children are to be
390 public abstract void onLoadChildren(@NonNull String parentId, argument
404 * with an empty list. When the given {@code parentId} is invalid, implementations must
409 * @param parentId The id of the parent media item whose children are to be
416 public void onLoadChildren(@NonNull String parentId, argument
422 onLoadChildren(parentId, result);
516 * @param parentId The id of the parent media item whose
519 public void notifyChildrenChanged(@NonNull String parentId) { argument
520 notifyChildrenChangedInternal(parentId, nul
534 notifyChildrenChanged(@onNull String parentId, @NonNull Bundle options) argument
541 notifyChildrenChangedInternal(final String parentId, final Bundle options) argument
633 performLoadChildren(final String parentId, final ConnectionRecord connection, final Bundle options) argument
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java235 public void setAutofillId(AutofillId parentId, int virtualId) { argument
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java157 * @param parentId The ID of this TV input's parent input. {@code null} if none exists.
169 HdmiDeviceInfo hdmiDeviceInfo, String parentId, String label, Uri iconUri)
173 .setParentId(parentId)
186 * @param parentId The ID of this TV input's parent input. {@code null} if none exists.
197 HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon)
201 .setParentId(parentId)
262 boolean isConnectedToHdmiSwitch, String parentId, Bundle extras) {
277 mParentId = parentId;
808 * @param parentId The parent ID.
813 public Builder setParentId(String parentId) { argument
168 createTvInputInfo(Context context, ResolveInfo service, HdmiDeviceInfo hdmiDeviceInfo, String parentId, String label, Uri iconUri) argument
196 createTvInputInfo(Context context, ResolveInfo service, HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon) argument
259 TvInputInfo(ResolveInfo service, String id, int type, boolean isHardwareInput, CharSequence label, int labelResId, Icon icon, Icon iconStandby, Icon iconDisconnected, String setupActivity, boolean canRecord, int tunerCount, HdmiDeviceInfo hdmiDeviceInfo, boolean isConnectedToHdmiSwitch, String parentId, Bundle extras) argument
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/
H A DMediaBrowserServiceCompat.java168 void notifyChildrenChanged(final String parentId, final Bundle options); argument
209 public void notifyChildrenChanged(@NonNull final String parentId, final Bundle options) { argument
216 connection.subscriptions.get(parentId);
221 performLoadChildren(parentId, connection, callback.second);
280 public void notifyChildrenChanged(final String parentId, final Bundle options) { argument
282 MediaBrowserServiceCompatApi21.notifyChildrenChanged(mServiceObj, parentId);
290 connection.subscriptions.get(parentId);
295 performLoadChildren(parentId, connection, callback.second);
351 public void onLoadChildren(String parentId, argument
354 = new Result<List<MediaBrowserCompat.MediaItem>>(parentId) {
425 notifyChildrenChanged(final String parentId, final Bundle options) argument
435 onLoadChildren(String parentId, final MediaBrowserServiceCompatApi24.ResultWrapper resultWrapper, Bundle options) argument
1046 onLoadChildren(@onNull String parentId, @NonNull Result<List<MediaBrowserCompat.MediaItem>> result) argument
1072 onLoadChildren(@onNull String parentId, @NonNull Result<List<MediaBrowserCompat.MediaItem>> result, @NonNull Bundle options) argument
1209 notifyChildrenChanged(@onNull String parentId) argument
1227 notifyChildrenChanged(@onNull String parentId, @NonNull Bundle options) argument
1306 performLoadChildren(final String parentId, final ConnectionRecord connection, final Bundle options) argument
[all...]
H A DMediaBrowserCompat.java281 * @param parentId The id of the parent media item whose list of children
285 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { argument
287 if (TextUtils.isEmpty(parentId)) {
288 throw new IllegalArgumentException("parentId is empty");
293 mImpl.subscribe(parentId, null, callback);
311 * @param parentId The id of the parent media item whose list of children
318 public void subscribe(@NonNull String parentId, @NonNull Bundle options, argument
321 if (TextUtils.isEmpty(parentId)) {
322 throw new IllegalArgumentException("parentId is empty");
330 mImpl.subscribe(parentId, option
343 unsubscribe(@onNull String parentId) argument
362 unsubscribe(@onNull String parentId, @NonNull SubscriptionCallback callback) argument
699 onChildrenLoaded(@onNull String parentId, @NonNull List<MediaItem> children) argument
711 onChildrenLoaded(@onNull String parentId, @NonNull List<MediaItem> children, @NonNull Bundle options) argument
724 onError(@onNull String parentId) argument
739 onError(@onNull String parentId, @NonNull Bundle options) argument
751 onChildrenLoaded(@onNull String parentId, List<?> children) argument
774 onError(@onNull String parentId) argument
807 onChildrenLoaded(@onNull String parentId, List<?> children, @NonNull Bundle options) argument
814 onError(@onNull String parentId, @NonNull Bundle options) argument
945 subscribe(@onNull String parentId, Bundle options, @NonNull SubscriptionCallback callback) argument
947 unsubscribe(@onNull String parentId, SubscriptionCallback callback) argument
957 onLoadChildren(Messenger callback, String parentId, List list, Bundle options) argument
1157 subscribe(@onNull String parentId, Bundle options, @NonNull SubscriptionCallback callback) argument
1183 unsubscribe(@onNull String parentId, SubscriptionCallback callback) argument
1369 onLoadChildren(final Messenger callback, final String parentId, final List list, final Bundle options) argument
1648 subscribe(@onNull final String parentId, final Bundle options, @NonNull final SubscriptionCallback callback) argument
1678 unsubscribe(@onNull String parentId, SubscriptionCallback callback) argument
1891 onLoadChildren(Messenger callback, String parentId, List list, Bundle options) argument
1951 subscribe(@onNull String parentId, @NonNull Bundle options, @NonNull SubscriptionCallback callback) argument
1963 unsubscribe(@onNull String parentId, SubscriptionCallback callback) argument
2093 addSubscription(String parentId, IBinder callbackToken, Bundle options, Messenger callbacksMessenger) argument
2103 removeSubscription(String parentId, IBinder callbackToken, Messenger callbacksMessenger) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1728 public void setAutofillId(@NonNull AutofillId parentId, int virtualId) { argument
1729 mNode.mAutofillId = new AutofillId(parentId, virtualId);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java3438 final int parentId = mSecurityPolicy.getProfileParent(userId);
3442 if (parentId != userId) {
3467 userId, parentId);
3572 final int parentId = UserHandle.getCallingUserId();
3573 return isParentOrProfile(parentId, profileId) && isProfileEnabled(profileId);
3577 final int parentId = getGroupParent(userId);
3581 return mUserManager.getEnabledProfileIds(parentId);
3675 private boolean isParentOrProfile(int parentId, int profileId) { argument
3676 if (parentId == profileId) {
3679 return getProfileParent(profileId) == parentId;
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java2366 private UserInfo createUserInternal(String name, int flags, int parentId) { argument
2367 return createUserInternal(name, flags, parentId, null);
2370 private UserInfo createUserInternal(String name, int flags, int parentId, argument
2379 return createUserInternalUnchecked(name, flags, parentId, disallowedPackages);
2382 private UserInfo createUserInternalUnchecked(String name, int flags, int parentId, argument
2404 if (parentId != UserHandle.USER_NULL) {
2406 parent = getUserDataLU(parentId);
2410 if (isManagedProfile && !canAddMoreManagedProfiles(parentId, false)) {
2411 Log.e(LOG_TAG, "Cannot add more managed profiles for user " + parentId);
2425 && (parentId !
[all...]

Completed in 4115 milliseconds