Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/base/services/core/java/com/android/server/camera/
DCameraService.java176 Set<Integer> handles = new HashSet<>(userProfiles.size()); in getEnabledUserHandles() local
179 handles.add(i.id); in getEnabledUserHandles()
182 return handles; in getEnabledUserHandles()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java187 public void setHandles(int handles) { in setHandles() argument
188 mHandles = handles; in setHandles()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList() local
351 if (handles == null) { in getObjectList()
355 int length = handles.length; in getObjectList()
358 MtpObjectInfo info = device.getObjectInfo(handles[i]); in getObjectList()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp220 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); in android_mtp_MtpDevice_get_object_handles() local
221 if (!handles) in android_mtp_MtpDevice_get_object_handles()
224 int length = handles->size(); in android_mtp_MtpDevice_get_object_handles()
227 env->SetIntArrayRegion(array, 0, length, (const jint *)handles->array()); in android_mtp_MtpDevice_get_object_handles()
229 delete handles; in android_mtp_MtpDevice_get_object_handles()
Dandroid_mtp_MtpDatabase.cpp267 jint* handles = env->GetIntArrayElements(array, 0); in getObjectList() local
270 list->push(handles[i]); in getObjectList()
271 env->ReleaseIntArrayElements(array, handles, 0); in getObjectList()
982 jint* handles = env->GetIntArrayElements(array, 0); in getObjectReferences() local
985 list->push(handles[i]); in getObjectReferences()
986 env->ReleaseIntArrayElements(array, handles, 0); in getObjectReferences()
1002 jint* handles = env->GetIntArrayElements(array, 0); in setObjectReferences() local
1004 handles[i] = (*references)[i]; in setObjectReferences()
1005 env->ReleaseIntArrayElements(array, handles, 0); in setObjectReferences()
/frameworks/base/docs/html/training/beam-files/
Dindex.jd37 While the Android Beam file transfer API handles large amounts of data, the Android Beam NDEF
38 transfer API introduced in Android 4.0 (API level 14) handles small amounts of data such as
/frameworks/av/media/mtp/
DMtpServer.cpp581 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles() local
582 mData.putAUInt32(handles); in doGetObjectHandles()
583 delete handles; in doGetObjectHandles()
619 MtpObjectHandleList* handles = mDatabase->getObjectReferences(handle); in doGetObjectReferences() local
620 if (handles) { in doGetObjectReferences()
621 mData.putAUInt32(handles); in doGetObjectReferences()
622 delete handles; in doGetObjectReferences()
/frameworks/base/docs/html/ndk/samples/
Dsample_teapot.jd27 <li>An abstraction layer, {@code GLContext}, that handles certain NDK-specific behaviors.</li>
77 {@code samples/Teapot/src/com/sample/teapot}, under the NDK installation root directory. It handles
139 ndk_helper::GLContext* gl_context_; // handles EGL-related lifecycle.
299 <p>The {@code HandleCmd()} method handles commands posted from the
/frameworks/base/docs/html/guide/topics/text/
Dspell-checker-framework.jd122 handles requests to cancel spell checking,
124 onGetSuggestions()}, which handles a word suggestion request, or
126 onGetSuggestionsMultiple()}, which handles batches of word suggestion requests.
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd74 {@link android.net.Uri} (such as when your activity handles to other kind of "extra" data, instead
76 data your activity handles, such as {@code text/plain} or {@code image/jpeg}.</p>
93 <p>For example, here's an activity with an intent filter that handles the {@link
119 <p>For example, suppose your activity handles both text and images for both the {@link
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt23 WifiStateMachine: Tracks the various states on STA and AP connectivity and handles bring up and shu…
/frameworks/base/docs/html/guide/topics/resources/
Druntime-changes.jd184 avoid the activity restart, then you can declare that your activity handles the configuration change
192 <p>To declare that your activity handles a configuration change, edit the appropriate <a
204 <p>For example, the following manifest code declares an activity that handles both the
233 12 or lower, then your activity always handles this configuration change itself (this configuration
/frameworks/base/docs/html/training/in-app-billing/
Dpurchase-iab-products.jd42 … listener that is notified when the purchase operation has completed and handles the purchase resp…
80 …s a listener that is notified when the query operation has completed and handles the query respons…
110 …tener} that is notified when the consumption operation has completed and handles the consumption r…
/frameworks/base/docs/html/distribute/monetize/
Dsubscriptions.jd22 When users purchase subscriptions in your apps, Google Play handles all
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd58 <dd>A drawing surface that handles compositing of the actual bits against
70 the {@link android.content.ContentProvider} class, which handles content
246 <dd>An object that draws to a rectangular area on the screen and handles
269 Because a widget is fully implemented, it handles measuring and drawing
/frameworks/base/docs/html/guide/topics/connectivity/nfc/
Dindex.jd31 <dd>This document describes how Android handles discovered NFC tags and how it notifies
/frameworks/base/docs/html/guide/topics/ui/controls/
Dcheckbox.jd61 <p>Within the {@link android.app.Activity} that hosts this layout, the following method handles the
Dradiobutton.jd68 <p>Within the {@link android.app.Activity} that hosts this layout, the following method handles the
/frameworks/base/docs/html/google/play/licensing/
Doverview.jd51 client, which handles communication with the Google Play server.</p>
69 handles all of the licensing-related communication with the Google Play licensing service. With
94 license and you have full control over how it handles the response, verifies the
/frameworks/base/docs/html/training/cloudsync/
Dbackupapi.jd159 android.app.backup.FileBackupHelper} handles all the files that you need to back up, and one
160 {@link android.app.backup.SharedPreferencesBackupHelper} handles all the shared
/frameworks/base/docs/html/training/tv/discovery/
Dsearchable.jd40 provider and other vital information for Android TV. You also need an activity that handles the
309 {@link android.content.Intent#ACTION_SEARCH} intent. The activity in your app which handles that
312 activity which handles the {@link android.content.Intent#ACTION_SEARCH} intent like this:
361 details screen, the system launches the activity which handles the {@link android.content.Intent#AC…
/frameworks/base/docs/html/ndk/guides/
Dconcepts.jd192 write a completely native activity. {@link android.app.NativeActivity} handles the communication
214 that you need to create your native activity. Because the main thread of your application handles
220 It spawns another thread, which handles things such as
/frameworks/base/docs/html/training/sharing/
Dshareaction.jd34 bar, handles both the appearance and behavior of that item. In the case of {@link
/frameworks/base/docs/html/training/volley/
Drequest.jd56 <li>{@code ImageLoader}&mdash;a helper class that handles loading and caching images from
158 {@code ImageLoader} (the helper class that handles loading and caching images) is that
/frameworks/base/docs/html/tools/testing/
Dactivity_testing.jd156 can then test that the activity handles multiple calls correctly.
186 Lifecycle events: Test that each of your application's activities handles lifecycle events
195 Intents: Test that each activity correctly handles the intents listed in the intent

123456