/frameworks/base/media/java/android/mtp/ |
MtpDevice.java | 141 * @param storageId the storage unit to query 147 public int[] getObjectHandles(int storageId, int format, int objectHandle) { 148 return native_get_object_handles(storageId, format, objectHandle); 222 * @param storageId the ID of the storage unit 225 public MtpStorageInfo getStorageInfo(int storageId) { 226 return native_get_storage_info(storageId); 378 private native MtpStorageInfo native_get_storage_info(int storageId); 379 private native int[] native_get_object_handles(int storageId, int format, int objectHandle);
|
MtpServer.java | 77 private native final void native_remove_storage(int storageId);
|
MtpDatabase.java | 331 int storageId, long size, long modified) { 364 values.put(Files.FileColumns.STORAGE_ID, storageId); 417 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { 421 if (storageID == 0xFFFFFFFF) { 460 whereArgs = new String[] { Integer.toString(storageID) }; 467 whereArgs = new String[] { Integer.toString(storageID), 475 whereArgs = new String[] { Integer.toString(storageID), 483 whereArgs = new String[] { Integer.toString(storageID), 517 private int[] getObjectList(int storageID, int format, int parent) { 520 c = createObjectQuery(storageID, format, parent) [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
Identifier.java | 32 Identifier(int deviceId, int storageId, int objectHandle, String documentId, 35 mStorageId = storageId;
|
MtpRoot.java | 33 int storageId, 39 mStorageId = storageId;
|
MtpManager.java | 139 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) 144 device.getObjectHandles(storageId, 0 /* all format */, parentObjectHandle),
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
MtpManagerTest.java | 118 int storageId = 0; 121 storageId = record.roots[0].mStorageId; 125 assertTrue("Valid storage not found.", storageId != 0); 129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { 146 .setStorageId(storageId)
|
TestMtpManager.java | 52 void setObjectHandles(int deviceId, int storageId, int parentHandle, int[] objectHandles) { 53 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles); 128 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) throws IOException { 129 final String key = pack(deviceId, storageId, parentObjectHandle);
|
DocumentLoaderTest.java | 110 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle)
|
MtpDocumentsProviderTest.java | 74 1 /* storageId */, 112 1 /* storageId */, 136 1 /* storageId */, 181 1 /* storageId */, 197 1 /* storageId */, 254 1 /* storageId */, 366 1 /* storageId */, 619 1 /* storageId */, 689 1 /* storageId */, 711 1 /* storageId */, [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageVolume.java | 124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, 128 mStorageId = storageId;
|
/frameworks/base/media/jni/ |
android_mtp_MtpServer.cpp | 139 jint storageID = env->GetIntField(jstorage, field_MtpStorage_storageId); 150 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, 165 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) 171 MtpStorage* storage = server->getStorage(storageId);
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 337 * @param storageId the ID of the storage unit to query, or zero for all 341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { 350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
MtpDeviceIndexRunnable.java | 158 for (int storageId : mDevice.getStorageIds()) { 169 for (int objectHandle : mDevice.getObjectHandles(storageId, 0, dirHandle)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
MtpHostTestActivity.java | 297 final int storageId = mMtpDevice.getStorageIds()[0]; 299 storageId, /* all format */ 0, /* Just under the root */ -1)) { 307 .setStorageId(storageId)
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpClient.java | 363 * @param storageId the ID of the storage unit to query, or zero for all 367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { 376 int[] handles = device.getObjectHandles(storageId, 0, objectHandle);
|
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 374 MtpStorageInfo* MtpDevice::getStorageInfo(MtpStorageID storageID) { 378 mRequest.setParameter(1, storageID); 385 MtpStorageInfo* info = new MtpStorageInfo(storageID); 394 MtpObjectHandleList* MtpDevice::getObjectHandles(MtpStorageID storageID, 399 mRequest.setParameter(1, storageID); 559 MtpObjectHandle storageId = info->mStorageID; 561 return storageId;
|
/external/libmtp/src/ |
libmtp.h | 848 uint32_t storageId, uint32_t parentId); [all...] |
libmtp.c | 113 uint32_t storageid, 160 uint32_t const storageid, [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | [all...] |
/external/robolectric/v1/lib/main/ |
h2-1.2.147.jar | |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |