/packages/providers/MediaProvider/src/com/android/providers/media/ |
IMtpService.aidl | 21 void sendObjectAdded(int objectHandle); 22 void sendObjectRemoved(int objectHandle);
|
/frameworks/base/media/java/android/mtp/ |
MtpDevice.java | 155 * @param objectHandle the parent object to query, -1 for the storage root, 159 public int[] getObjectHandles(int storageId, int format, int objectHandle) { 160 return native_get_object_handles(storageId, format, objectHandle); 168 * @param objectHandle handle of the object to read 173 public byte[] getObject(int objectHandle, int objectSize) { 175 return native_get_object(objectHandle, objectSize); 183 * @param objectHandle handle of the object to read 191 public long getPartialObject(int objectHandle, long offset, long size, byte[] buffer) 193 return native_get_partial_object(objectHandle, offset, size, buffer); 205 * @param objectHandle handle of the object to rea [all...] |
/external/tpm2/ |
ReadPublic.c | 27 object = ObjectGet(in->objectHandle); 42 out->name.t.size = ObjectGetName(in->objectHandle, &out->name.t.name); 45 ObjectGetQualifiedName(in->objectHandle, &out->qualifiedName);
|
Certify.c | 51 ObjectGetName(in->objectHandle, 54 ObjectGetQualifiedName(in->objectHandle,
|
ObjectChangeAuth.c | 16 // objectHandle 18 // referenced by objectHandle; or objectHandle is a sequence object. 35 object = ObjectGet(in->objectHandle); 54 ObjectGetQualifiedName(in->objectHandle, &objectQN);
|
EvictControl_fp.h | 14 TPMI_DH_OBJECT objectHandle;
|
Certify_fp.h | 13 TPMI_DH_OBJECT objectHandle;
|
LoadExternal_fp.h | 19 TPM_HANDLE objectHandle;
|
Load_fp.h | 19 TPM_HANDLE objectHandle;
|
ObjectChangeAuth_fp.h | 13 TPMI_DH_OBJECT objectHandle;
|
ReadPublic_fp.h | 12 typedef struct { TPMI_DH_OBJECT objectHandle; } ReadPublic_In;
|
Import.c | 154 TPM_HANDLE objectHandle; 169 &objectHandle); 175 ObjectFlush(objectHandle);
|
CertifyCreation_fp.h | 14 TPMI_DH_OBJECT objectHandle;
|
CreatePrimary_fp.h | 21 TPM_HANDLE objectHandle;
|
Duplicate_fp.h | 13 TPMI_DH_OBJECT objectHandle;
|
CertifyCreation.c | 17 // TPM_RC_TICKET creationTicket does not match objectHandle 38 name.t.size = ObjectGetName(in->objectHandle, &name.t.name);
|
CreatePrimary.c | 97 &out->name, in->primaryHandle, TRUE, &out->objectHandle);
|
EvictControl.c | 41 evictObject = ObjectGet(in->objectHandle); 50 // If objectHandle refers to a persistent object, it should be the same as
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
TestMtpManager.java | 60 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { 61 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); 64 byte[] getImportFileBytes(int deviceId, int objectHandle) { 65 return mImportFileBytes.get(pack(deviceId, objectHandle)); 68 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { 69 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); 72 void setObjectSizeLong(int deviceId, int objectHandle, int format, long value) { 73 mObjectSizeLongs.put(pack(deviceId, objectHandle, format), value); 118 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { 119 final String key = pack(deviceId, objectHandle); [all...] |
DocumentLoaderTest.java | 129 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { 130 if (objectHandle == DocumentLoader.NUM_INITIAL_ENTRIES) { 133 return super.getObjectInfo(deviceId, objectHandle); 191 final int objectHandle = i + 1; 192 childDocuments[i] = objectHandle; 194 .setObjectHandle(objectHandle) 208 void blockDocument(int deviceId, int objectHandle) { 209 blockedDocuments.put(pack(deviceId, objectHandle), new CountDownLatch(1)); 212 void unblockDocument(int deviceId, int objectHandle) { 213 blockedDocuments.get(pack(deviceId, objectHandle)).countDown() [all...] |
MtpManagerTest.java | 143 final int objectHandle = mManager.createDocument( 154 mUsbDevice.getDeviceId(), objectHandle, 0, 5, bytes)); 157 mUsbDevice.getDeviceId(), objectHandle, 6, 100, bytes));
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
MtpManager.java | 130 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { 134 device.getObjectInfo(objectHandle), 135 "Failed to get object info: " + objectHandle); 149 byte[] getObject(int deviceId, int objectHandle, int expectedSize) 154 device.getObject(objectHandle, expectedSize), 159 long getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) 163 return device.getPartialObject(objectHandle, offset, size, buffer); 167 long getPartialObject64(int deviceId, int objectHandle, long offset, long size, byte[] buffer) 171 return device.getPartialObject64(objectHandle, offset, size, buffer); 175 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException [all...] |
Identifier.java | 32 Identifier(int deviceId, int storageId, int objectHandle, String documentId, 36 mObjectHandle = objectHandle;
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 302 * @param objectHandle handle of the object to query 305 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { 310 return device.getObjectInfo(objectHandle); 317 * @param objectHandle handle of the object to delete 320 public boolean deleteObject(String deviceName, int objectHandle) { 325 return device.deleteObject(objectHandle); 338 * @param objectHandle the handle of the parent object to query, or zero for the storage root 341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { 346 if (objectHandle == 0) { 348 objectHandle = 0xFFFFFFFF [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpClient.java | 328 * @param objectHandle handle of the object to query 331 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { 336 return device.getObjectInfo(objectHandle); 343 * @param objectHandle handle of the object to delete 346 public boolean deleteObject(String deviceName, int objectHandle) { 351 return device.deleteObject(objectHandle); 364 * @param objectHandle the handle of the parent object to query, or zero for the storage root 367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { 372 if (objectHandle == 0) { 374 objectHandle = 0xFFFFFFFF [all...] |