Home
last modified time | relevance | path

Searched refs:Uri (Results 1 – 25 of 1909) sorted by relevance

12345678910>>...77

/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java23 import android.net.Uri;
64 public static final Uri AIRPLANE_URI = new Uri.Builder()
74 public static final Uri CONTEXTUAL_ADAPTIVE_SLEEP_URI = new Uri.Builder()
84 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder()
94 public static final Uri BLUETOOTH_URI = new Uri.Builder()
104 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder()
114 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder()
124 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder()
134 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder()
143 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DCustomSliceRegistry.java25 import android.net.Uri;
61 public static final Uri AIRPLANE_URI = new Uri.Builder()
71 public static final Uri BATTERY_FIX_SLICE_URI = new Uri.Builder()
81 public static final Uri BLUETOOTH_URI = new Uri.Builder()
91 public static final Uri BLUETOOTH_DEVICES_SLICE_URI = new Uri.Builder()
101 public static final Uri CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI = new Uri.Builder()
111 public static final Uri CONTEXTUAL_WIFI_SLICE_URI = new Uri.Builder()
121 public static final Uri DATA_USAGE_SLICE_URI = new Uri.Builder()
130 public static final Uri DEVICE_INFO_SLICE_URI = new Uri.Builder()
139 public static final Uri EMERGENCY_INFO_SLICE_URI = new Uri.Builder()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java19 import android.net.Uri;
20 import android.net.Uri.Builder;
84 public static final Uri DEFAULT_BACKGROUND_AVATAR = new Uri.Builder().scheme(SCHEME)
87 private static final Uri BLANK_SIM_INDICATOR_INCOMING_URI = createSimIconUri("",
89 private static final Uri BLANK_SIM_INDICATOR_OUTGOING_URI = createSimIconUri("",
97 public static Uri createAvatarUri(@NonNull final List<ParticipantData> participants) { in createAvatarUri()
106 final ArrayList<Uri> avatarUris = new ArrayList<Uri>(numParticipants); in createAvatarUri()
119 public static Uri joinAvatarUriToGroup(@NonNull final List<Uri> avatarUris) { in joinAvatarUriToGroup()
124 final Uri firstAvatar = avatarUris.get(0); in joinAvatarUriToGroup()
135 final Uri uri = avatarUris.get(i); in joinAvatarUriToGroup()
[all …]
DUriUtil.java22 import android.net.Uri;
65 public static Uri getUriForResourceFile(final String path) { in getUriForResourceFile()
66 return TextUtils.isEmpty(path) ? null : Uri.fromFile(new File(path)); in getUriForResourceFile()
72 public static String getFilePathFromUri(final Uri uri) { in getFilePathFromUri()
82 public static boolean isLocalResourceUri(final Uri uri) { in isLocalResourceUri()
92 public static boolean isBugleAppResource(final Uri uri) { in isBugleAppResource()
97 public static boolean isFileUri(final Uri uri) { in isFileUri()
104 public static Uri getUriForResourceId(final Context context, final int resId) { in getUriForResourceId()
105 return new Uri.Builder() in getUriForResourceId()
115 public static boolean isLocalUri(@NonNull final Uri uri) { in isLocalUri()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSettingsSliceProviderTest.java41 import android.net.Uri;
107 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test");
115 private static final List<Uri> SPECIAL_CASE_PLATFORM_URIS = Arrays.asList(
121 private static final List<Uri> SPECIAL_CASE_OEM_URIS = Arrays.asList(
159 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in testInitialSliceReturned_emptySlice()
169 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in testLoadSlice_returnsSliceFromAccessor()
181 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in loadSlice_registersIntentFilter()
191 final Uri uri = SliceBuilderUtils.getUri(INTENT_PATH, false); in loadSlice_registersBackgroundListener()
245 final Uri blockedUri = new Uri.Builder() in onBindSlice_requestsBlockedSlice_returnsNull()
259 final Uri uri = SliceBuilderUtils.getUri( in getDescendantUris_fullActionUri_returnsSelf()
[all …]
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUriUtils.java28 import android.net.Uri;
59 public static boolean isEmpty(@Nullable Uri uri) { in isEmpty()
100 public static Uri getShortcutIconResourceUri(ShortcutIconResource iconResource) { in getShortcutIconResourceUri()
101 return Uri.parse(SCHEME_SHORTCUT_ICON_RESOURCE + SCHEME_DELIMITER + iconResource.packageName in getShortcutIconResourceUri()
110 public static Uri getAndroidResourceUri(String resourceName) { in getAndroidResourceUri()
111 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + SCHEME_DELIMITER in getAndroidResourceUri()
119 public static boolean isAndroidResourceUri(Uri uri) { in isAndroidResourceUri()
127 public static Uri getAccountImageUri(String accountName) { in getAccountImageUri()
128 Uri uri = Uri.parse(SCHEME_ACCOUNT_IMAGE + SCHEME_DELIMITER + accountName); in getAccountImageUri()
138 public static Uri getAccountImageUri(String accountName, Uri changeNotifyUri) { in getAccountImageUri()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java20 import android.net.Uri;
88 private Contact assertLoadContact(Uri uri) { in assertLoadContact()
99 Contact result = assertLoadContact(Uri.EMPTY); in testEmptyUri()
104 Contact result = assertLoadContact(Uri.parse("content://wtf")); in testInvalidUri()
110 final Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, CONTACT_ID); in testLoadContactWithContactIdUri()
111 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri()
112 final Uri lookupUri = ContentUris.withAppendedId( in testLoadContactWithContactIdUri()
113 Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI, LOOKUP_KEY), in testLoadContactWithContactIdUri()
134 final Uri legacyUri = ContentUris.withAppendedId( in testLoadContactWithOldStyleUri()
135 Uri.parse("content://contacts"), RAW_CONTACT_ID); in testLoadContactWithOldStyleUri()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/
DImsConferenceTest.java29 import android.net.Uri;
81 Uri.parse("tel:6505551212"), in testSinglePartyEmulation()
83 Uri.parse("sip:6505551212@testims.com"), in testSinglePartyEmulation()
87 Uri.parse("tel:6505551213"), in testSinglePartyEmulation()
89 Uri.parse("sip:6505551213@testims.com"), in testSinglePartyEmulation()
132 Uri.parse("tel:6505551212"), in testDisconnectParticipantViaDisconnectState()
134 Uri.parse("sip:6505551212@testims.com"), in testDisconnectParticipantViaDisconnectState()
138 Uri.parse("tel:6505551213"), in testDisconnectParticipantViaDisconnectState()
140 Uri.parse("sip:6505551213@testims.com"), in testDisconnectParticipantViaDisconnectState()
145 Uri.parse("tel:6505551214"), in testDisconnectParticipantViaDisconnectState()
[all …]
DConferenceParticipantConnectionTest.java23 import android.net.Uri;
38 assertUrisEqual(Uri.parse("tel:+16505551212"), in testParticipantParseSimpleTel()
39 getParticipantAddress(Uri.parse("tel:6505551212"), "US")); in testParticipantParseSimpleTel()
44 assertUrisEqual(Uri.parse("tel:+16505551212"), in testParticipantParseTelExtended()
45 getParticipantAddress(Uri.parse("tel:6505551212;phone-context=blah"), "US")); in testParticipantParseTelExtended()
50 assertUrisEqual(Uri.parse("tel:+16505551212"), in testParticipantParseSip()
51 getParticipantAddress(Uri.parse("sip:16505551212;phone-context=blah.com@host.com"), in testParticipantParseSip()
57 assertUrisEqual(Uri.parse("tel:+12125551212"), in testParticipantParseSip2()
58 getParticipantAddress(Uri.parse("sip:+1-212-555-1212@something.com;user=phone"), in testParticipantParseSip2()
64 assertUrisEqual(Uri.parse("tel:+819066570660"), in testParticipantParseTelJp()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCache.java22 import android.net.Uri;
30 public final class PduCache extends AbstractCache<Uri, PduCacheEntry> {
74 private final SparseArray<HashSet<Uri>> mMessageBoxes;
75 private final SimpleArrayMap<Long, HashSet<Uri>> mThreads;
76 private final HashSet<Uri> mUpdating;
79 mMessageBoxes = new SparseArray<HashSet<Uri>>(); in PduCache()
80 mThreads = new SimpleArrayMap<Long, HashSet<Uri>>(); in PduCache()
81 mUpdating = new HashSet<Uri>(); in PduCache()
95 public synchronized boolean put(Uri uri, PduCacheEntry entry) { in put()
97 HashSet<Uri> msgBox = mMessageBoxes.get(msgBoxId); in put()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java25 import android.net.Uri;
64 public static final Uri CONVERSATIONS_URI = Uri.parse(CONTENT_AUTHORITY + CONVERSATIONS_QUERY);
65 static final Uri PARTS_URI = Uri.parse(CONTENT_AUTHORITY + DatabaseHelper.PARTS_TABLE);
70 static final Uri MESSAGES_URI = Uri.parse(CONTENT_AUTHORITY + MESSAGES_QUERY);
72 public static final Uri CONVERSATION_MESSAGES_URI = Uri.parse(CONTENT_AUTHORITY +
82 static final Uri CONVERSATION_PARTICIPANTS_URI = Uri.parse(CONTENT_AUTHORITY +
85 public static final Uri PARTICIPANTS_URI = Uri.parse(CONTENT_AUTHORITY + PARTICIPANTS_QUERY);
90 public static final Uri CONVERSATION_IMAGES_URI = Uri.parse(CONTENT_AUTHORITY +
95 public static final Uri DRAFT_IMAGES_URI = Uri.parse(CONTENT_AUTHORITY +
106 final Uri uri = Uri.parse(CONTENT_AUTHORITY); in notifyEverythingChanged()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java22 import android.net.Uri;
54 private static final Uri URI_CONTACTS_ID_PHOTO =
55 Uri.parse("content://com.android.contacts/contacts/" + CONTACT_ID + "/photo");
56 private static final Uri URI_CONTACTS_ID_DISPLAY_PHOTO = Uri
58 private static final Uri URI_CONTACTS_FILTER =
59 Uri.parse("content://com.android.contacts/contacts/filter/" + CONTACT_NAME);
60 private static final Uri URI_PHONES_FILTER = Uri
62 private static final Uri URI_CALLABLES_FILTER = Uri.parse(
64 private static final Uri URI_EMAILS_FILTER = Uri
66 private static final Uri URI_EMAILS_LOOKUP =
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java27 import android.net.Uri;
81 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleInsert()
94 Uri uri = mResolver.insert(People.CONTENT_URI, values); in testPeopleUpdate()
116 Uri personId = mResolver.insert(People.CONTENT_URI, values); in testPeopleDelete()
152 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testDefaultDisplayName()
158 final Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryOrganization()
167 Uri orgUri1 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization()
174 Uri orgUri2 = mResolver.insert(Organizations.CONTENT_URI, values); in testPrimaryOrganization()
202 Uri personUri = mResolver.insert(People.CONTENT_URI, values); in testPrimaryPhone()
211 Uri phoneUri1 = mResolver.insert(Phones.CONTENT_URI, values); in testPrimaryPhone()
[all …]
DContactsProvider2Test.java34 import android.net.Uri;
162 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
166 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
167 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
179 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
183 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
184 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
195 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
198 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
199 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
[all …]
DBaseContactsProvider2Test.java32 import android.net.Uri;
175 protected Uri setCallerIsSyncAdapter(Uri uri, Account account) { in setCallerIsSyncAdapter()
179 final Uri.Builder builder = uri.buildUpon(); in setCallerIsSyncAdapter()
186 protected int updateItem(Uri uri, long id, String... extras) { in updateItem()
187 Uri itemUri = ContentUris.withAppendedId(uri, id); in updateItem()
191 protected int updateItem(Uri uri, String... extras) { in updateItem()
218 final Uri uri = TestUtil.maybeAddAccountQueryParameters(Groups.CONTENT_URI, account); in createGroup()
240 protected Uri insertOrganization(long rawContactId, ContentValues values) { in insertOrganization()
244 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary) { in insertOrganization()
248 protected Uri insertOrganization(long rawContactId, ContentValues values, boolean primary, in insertOrganization()
[all …]
DVoicemailProviderTest.java25 import android.net.Uri;
96 private Uri voicemailUri() { in voicemailUri()
104 private Uri statusUri() { in statusUri()
111 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testInsert()
124 Uri uri = mResolver.insert(voicemailUri(), values); in testInsertReadMessageIsNotNew()
157 Uri uri = insertVoicemail(); in testFileContent()
175 Uri uri = insertVoicemail(); in testUpdate()
197 final Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); in testUpdateOwnPackageVoicemail_NotDirty()
212 final Uri uri = insertVoicemailForSourcePackage("another-package"); in testUpdateOtherPackageCallLog_NotDirty()
232 final Uri uri = mResolver.insert(voicemailUri(), values); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DStorage.java26 import android.net.Uri;
60 private HashMap<Uri, Uri> sSessionsToContentUris = new HashMap<>();
61 private HashMap<Uri, Uri> sContentUrisToSessions = new HashMap<>();
62 private LruCache<Uri, Bitmap> sSessionsToPlaceholderBitmap =
64 new LruCache<Uri, Bitmap>(20 * 1024 * 1024) {
66 protected int sizeOf(Uri key, Bitmap value) {
70 private HashMap<Uri, Point> sSessionsToSizes = new HashMap<>();
71 private HashMap<Uri, Integer> sSessionsToPlaceholderVersions = new HashMap<>();
100 public Uri addImage(ContentResolver resolver, String title, long date, in addImage()
129 public Uri addImage(ContentResolver resolver, String title, long date, in addImage()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DJobErrorHandlingTest.java22 import android.net.Uri;
37 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecoversFromInvalidUri()
38 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecoversFromInvalidUri()
39 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecoversFromInvalidUri()
52 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecordsInvalidUris()
53 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testRecordsInvalidUris()
54 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testRecordsInvalidUris()
66 Uri invalidUri1 = Uri.parse("content://poodles/chuckleberry/ham"); in testReportsCorrectFailureCount()
67 Uri validUri = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testReportsCorrectFailureCount()
68 Uri invalidUri2 = Uri.parse("content://poodles/chuckleberry/ham"); in testReportsCorrectFailureCount()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java43 import android.net.Uri;
125 Uri handle = Uri.parse("tel:6505551234"); in testSelfManagedCall()
150 Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(voicemailNumber)); in testVoicemailCall()
157 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall()
164 badCallActionHelper(Uri.parse("voicemail:18005551234"), DisconnectCause.OUTGOING_CANCELED); in testVoicemailCallWithBadAction()
170 badCallActionHelper(Uri.parse("tel:6505551234"), DisconnectCause.INVALID_NUMBER); in testTelCallWithBadCallAction()
176 badCallActionHelper(Uri.parse("sip:testuser@testsite.com"), DisconnectCause.INVALID_NUMBER); in testSipCallWithBadCallAction()
179 private void badCallActionHelper(Uri handle, int expectedCode) { in badCallActionHelper()
192 Uri handle = Uri.parse("tel:6505551234"); in testAlreadyDisconnectedCall()
207 Uri handle = Uri.parse("tel:"); in testNoNumberSupplied()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java23 import android.net.Uri;
46 private final Uri mUri;
71 public Query(Uri uri) { in Query()
136 public boolean equals(Uri uri, String[] projection, String selection, in equals()
208 private final Uri mUri;
211 public TypeQuery(Uri uri, String type) { in TypeQuery()
216 public Uri getUri() { in getUri()
229 public boolean equals(Uri uri) { in equals()
235 private final Uri mUri;
237 private final Uri mResultUri;
[all …]
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java21 import android.net.Uri;
59 public boolean isValidEmergencyContact(Context context, Uri phoneUri) {
67 private List<Uri> mEmergencyContacts = new ArrayList<Uri>();
81 boolean isValidEmergencyContact(Context context, Uri phoneUri); in isValidEmergencyContact()
124 Uri phoneUriToRemove = contactPreference.getPhoneUri(); in onRemoveContactPreference()
126 List<Uri> updatedContacts = new ArrayList<Uri>(mEmergencyContacts); in onRemoveContactPreference()
139 public void addNewEmergencyContact(Uri phoneUri) { in addNewEmergencyContact()
148 List<Uri> updatedContacts = new ArrayList<Uri>(mEmergencyContacts); in addNewEmergencyContact()
156 public List<Uri> getEmergencyContacts() { in getEmergencyContacts()
160 public void setEmergencyContacts(List<Uri> emergencyContacts) { in setEmergencyContacts()
[all …]
/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java28 import android.net.Uri;
44 private Set<Uri> mChangedUris;
58 mChangedUris = new HashSet<Uri>(); in onCreate()
76 public abstract Uri insertInTransaction(Uri uri, ContentValues values, in insertInTransaction()
83 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, in updateInTransaction()
90 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, in deleteInTransaction()
97 protected void postNotifyUri(Uri uri) { in postNotifyUri()
103 public boolean isCallerSyncAdapter(Uri uri) { in isCallerSyncAdapter()
116 public Uri insert(Uri uri, ContentValues values) { in insert()
117 Uri result = null; in insert()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java34 import android.net.Uri;
77 final Uri rootsUri = buildRootsUri(mAuthority); in getRoot()
94 public Uri createDocument(Uri parentUri, String mimeType, String name) { in createDocument()
99 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument()
107 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument()
108 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument()
112 public Uri createDocument(RootInfo root, String mimeType, String name) { in createDocument()
116 public Uri createDocumentWithFlags(String documentId, String mimeType, String name, int flags, in createDocumentWithFlags()
127 Uri uri = out.getParcelable(DocumentsContract.EXTRA_URI); in createDocumentWithFlags()
131 public Uri createFolder(Uri parentUri, String name) { in createFolder()
[all …]
/packages/apps/Camera2/src/com/android/camera/session/
DCaptureSessionManager.java21 import android.net.Uri;
38 public void onSessionQueued(Uri mediaUri); in onSessionQueued()
44 public void onSessionUpdated(Uri mediaUri); in onSessionUpdated()
56 public void onSessionDone(Uri mediaUri); in onSessionDone()
59 … public void onSessionFailed(Uri mediaUri, int failureMessageId, boolean removeFromFilmstrip); in onSessionFailed()
62 public void onSessionCanceled(Uri mediaUri); in onSessionCanceled()
65 public void onSessionProgress(Uri mediaUri, int progress); in onSessionProgress()
68 public void onSessionProgressText(Uri mediaUri, int messageId); in onSessionProgressText()
105 public CaptureSession getSession(Uri sessionUri); in getSession()
118 public void putSession(Uri sessionUri, CaptureSession session); in putSession()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java20 import android.net.Uri;
43 private static final Uri[] IPP_URIS = {Uri.parse("ipp://host:631/ipp/print"),
44 Uri.parse("ipp://host:80/ipp/print"), Uri.parse("ipp://host:631/ipp/printer"),
45 Uri.parse("ipp://host:631/ipp"), Uri.parse("ipp://host:631/"),
46 Uri.parse("ipps://host:631/ipp/print"), Uri.parse("ipps://host:443/ipp/print"),
47 Uri.parse("ipps://host:10443/ipp/print")};
96 public void addManualPrinter(Uri printerUri, PrinterAddCallback callback) { in addManualPrinter()
105 Set<Uri> uris = new LinkedHashSet<>(); in addManualPrinter()
106 for (Uri uri : IPP_URIS) { in addManualPrinter()
114 Uri targetUri = uri.buildUpon().scheme(scheme).encodedAuthority(authority).path(path) in addManualPrinter()
[all …]

12345678910>>...77