Home
last modified time | relevance | path

Searched refs:identifier (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DPipeManager.java45 ParcelFileDescriptor readDocument(MtpManager model, Identifier identifier) throws IOException { in readDocument() argument
46 final Task task = new ImportFileTask(model, identifier); in readDocument()
51 ParcelFileDescriptor readThumbnail(MtpManager model, Identifier identifier) throws IOException { in readThumbnail() argument
52 final Task task = new GetThumbnailTask(model, identifier); in readThumbnail()
62 Task(MtpManager manager, Identifier identifier) throws IOException { in Task() argument
64 mIdentifier = identifier; in Task()
74 ImportFileTask(MtpManager model, Identifier identifier) throws IOException { in ImportFileTask() argument
75 super(model, identifier); in ImportFileTask()
95 GetThumbnailTask(MtpManager model, Identifier identifier) throws IOException { in GetThumbnailTask() argument
96 super(model, identifier); in GetThumbnailTask()
DMtpFileWriter.java72 final Identifier identifier = database.createIdentifier(mDocumentId); in flush() local
74 manager.getObjectInfo(identifier.mDeviceId, identifier.mObjectHandle); in flush()
77 manager.deleteDocument(identifier.mDeviceId, identifier.mObjectHandle); in flush()
87 identifier.mDeviceId, targetObjectInfo, mCacheFd); in flush()
90 identifier.mDeviceId, newObjectHandle); in flush()
92 database.getParentIdentifier(identifier.mDocumentId); in flush()
94 identifier.mDocumentId, in flush()
95 identifier.mDeviceId, in flush()
DMtpDocumentsProvider.java196 final Identifier identifier = mDatabase.createIdentifier(documentId); in queryDocument() local
197 if (identifier.mDocumentType != MtpDatabaseConstants.DOCUMENT_TYPE_DEVICE) { in queryDocument()
283 final Identifier identifier = mDatabase.createIdentifier(documentId); in openDocument() local
285 openDevice(identifier.mDeviceId); in openDocument()
286 final MtpDeviceRecord device = getDeviceToolkit(identifier.mDeviceId).mDeviceRecord; in openDocument()
306 return getPipeManager(identifier).readDocument(mMtpManager, identifier); in openDocument()
337 final Identifier identifier = mDatabase.createIdentifier(documentId); in openDocumentThumbnail() local
339 openDevice(identifier.mDeviceId); in openDocumentThumbnail()
341 getPipeManager(identifier).readThumbnail(mMtpManager, identifier), in openDocumentThumbnail()
353 final Identifier identifier = mDatabase.createIdentifier(documentId); in deleteDocument() local
[all …]
DDocumentLoader.java126 final Identifier identifier = mDatabase.getUnmappedDocumentsParent(mDevice.deviceId); in getNextTaskOrReleaseBackgroundThread() local
127 if (identifier != null) { in getNextTaskOrReleaseBackgroundThread()
128 final LoaderTask existingTask = mTaskList.findTask(identifier); in getNextTaskOrReleaseBackgroundThread()
134 mMtpManager, mDatabase, mDevice.operationsSupported, identifier); in getNextTaskOrReleaseBackgroundThread()
256 Identifier identifier) { in LoaderTask() argument
258 assert identifier.mDocumentType != MtpDatabaseConstants.DOCUMENT_TYPE_DEVICE; in LoaderTask()
262 mIdentifier = identifier; in LoaderTask()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DInputSource.cpp26 status_t Element<audio_source_t>::setIdentifier(audio_source_t identifier) in setIdentifier() argument
28 if (identifier > AUDIO_SOURCE_MAX && identifier != AUDIO_SOURCE_HOTWORD in setIdentifier()
29 && identifier != AUDIO_SOURCE_FM_TUNER && identifier != AUDIO_SOURCE_ECHO_REFERENCE) { in setIdentifier()
32 mIdentifier = identifier; in setIdentifier()
33 ALOGV("%s: InputSource %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier()
DStream.cpp27 status_t Element<audio_stream_type_t>::setIdentifier(audio_stream_type_t identifier) in setIdentifier() argument
29 if (identifier > AUDIO_STREAM_CNT) { in setIdentifier()
32 mIdentifier = identifier; in setIdentifier()
33 ALOGV("%s: Stream %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier()
DElement.h52 status_t setIdentifier(Key identifier) in setIdentifier() argument
54 mIdentifier = identifier; in setIdentifier()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DPackageData.java30 public static PackageData keyValuePackage(int identifier) { in keyValuePackage() argument
31 return androidPackage(identifier, BackupStatus.KEY_VALUE_BACKUP); in keyValuePackage()
34 public static PackageData fullBackupPackage(int identifier) { in fullBackupPackage() argument
35 return androidPackage(identifier, BackupStatus.FULL_BACKUP); in fullBackupPackage()
39 public static PackageData androidPackage(int identifier) { in androidPackage() argument
40 return androidPackage(identifier, BackupStatus.KEY_VALUE_BACKUP); in androidPackage()
98 private static PackageData androidPackage(int identifier, @BackupStatus int backupStatus) { in androidPackage() argument
101 String packageName = "com.sample.package" + identifier; in androidPackage()
108 Process.FIRST_APPLICATION_UID + identifier); in androidPackage()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp194 const InputDeviceIdentifier& identifier) in Device() argument
199 identifier(identifier), in Device()
337 return device->identifier; in getDeviceIdentifier()
376 device->identifier.name.c_str(), device->fd, errno); in getAbsoluteAxisInfo()
485 device->identifier.name.c_str(), device->fd, errno); in getAbsoluteAxisValue()
666 static std::string generateDescriptor(InputDeviceIdentifier& identifier) { in generateDescriptor() argument
668 rawDescriptor += StringPrintf(":%04x:%04x:", identifier.vendor, identifier.product); in generateDescriptor()
670 if (!identifier.uniqueId.empty()) { in generateDescriptor()
672 rawDescriptor += identifier.uniqueId; in generateDescriptor()
673 } else if (identifier.nonce != 0) { in generateDescriptor()
[all …]
/frameworks/native/libs/input/tests/
DInputDevice_test.cpp26 InputDeviceIdentifier identifier; in TEST() local
27 identifier.name = "test device"; in TEST()
28 ASSERT_EQ(std::string("test_device"), identifier.getCanonicalName()); in TEST()
30 identifier.name = "deviceName-123 version_C!"; in TEST()
31 ASSERT_EQ(std::string("deviceName-123_version_C_"), identifier.getCanonicalName()); in TEST()
/frameworks/base/services/core/java/com/android/server/biometrics/
DRemovalClient.java99 private boolean sendRemoved(BiometricAuthenticator.Identifier identifier, in sendRemoved() argument
103 getListener().onRemoved(identifier, remaining); in sendRemoved()
112 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
113 if (identifier.getBiometricId() != 0) { in onRemoved()
115 identifier.getBiometricId()); in onRemoved()
117 return sendRemoved(identifier, remaining); in onRemoved()
121 public boolean onEnrollResult(BiometricAuthenticator.Identifier identifier, int rem) { in onEnrollResult() argument
127 public boolean onAuthenticated(BiometricAuthenticator.Identifier identifier, in onAuthenticated() argument
134 public boolean onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult() argument
DEnrollClient.java62 public boolean onEnrollResult(BiometricAuthenticator.Identifier identifier, in onEnrollResult() argument
65 mBiometricUtils.addBiometricForUser(getContext(), getTargetUserId(), identifier); in onEnrollResult() local
71 return sendEnrollResult(identifier, remaining); in onEnrollResult()
77 private boolean sendEnrollResult(BiometricAuthenticator.Identifier identifier, in sendEnrollResult() argument
86 listener.onEnrollResult(identifier, remaining); in sendEnrollResult()
140 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
146 public boolean onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult() argument
153 public boolean onAuthenticated(BiometricAuthenticator.Identifier identifier, in onAuthenticated() argument
DBiometricServiceBase.java338 private void handleEnumeratedTemplate(BiometricAuthenticator.Identifier identifier) { in handleEnumeratedTemplate() argument
339 if (identifier == null) { in handleEnumeratedTemplate()
342 Slog.v(getTag(), "handleEnumeratedTemplate: " + identifier.getBiometricId()); in handleEnumeratedTemplate()
345 if (mEnrolledList.get(i).getBiometricId() == identifier.getBiometricId()) { in handleEnumeratedTemplate()
353 if (!matched && identifier.getBiometricId() != 0) { in handleEnumeratedTemplate()
354 mUnknownHALTemplates.add(identifier); in handleEnumeratedTemplate()
367 BiometricAuthenticator.Identifier identifier = mEnrolledList.get(i); in doTemplateCleanup() local
369 + identifier.getBiometricId() + " " in doTemplateCleanup()
370 + identifier.getName()); in doTemplateCleanup()
372 getTargetUserId(), identifier.getBiometricId()); in doTemplateCleanup()
[all …]
DEnumerateClient.java98 public boolean onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult() argument
102 getListener().onEnumerated(identifier, remaining); in onEnumerationResult()
111 public boolean onAuthenticated(BiometricAuthenticator.Identifier identifier, in onAuthenticated() argument
118 public boolean onEnrollResult(BiometricAuthenticator.Identifier identifier, int rem) { in onEnrollResult() argument
124 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
DBiometricUserState.java99 public void addBiometric(T identifier) { in addBiometric() argument
101 mBiometrics.add(identifier); in addBiometric()
122 BiometricAuthenticator.Identifier identifier = mBiometrics.get(i); in renameBiometric() local
123 identifier.setName(name); in renameBiometric()
154 for (T identifier : mBiometrics) { in isUnique()
155 if (identifier.getName().equals(name)) { in isUnique()
DAuthenticationClient.java133 public boolean onAuthenticated(BiometricAuthenticator.Identifier identifier, in onAuthenticated() argument
145 + ", ID:" + identifier.getBiometricId() in onAuthenticated()
178 getHalDeviceId(), identifier, getTargetUserId()); in onAuthenticated() local
282 public boolean onEnrollResult(BiometricAuthenticator.Identifier identifier, in onEnrollResult() argument
289 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
295 public boolean onEnumerationResult(BiometricAuthenticator.Identifier identifier, in onEnumerationResult() argument
DClientMonitor.java139 public abstract boolean onEnrollResult(BiometricAuthenticator.Identifier identifier, in onEnrollResult() argument
141 public abstract boolean onAuthenticated(BiometricAuthenticator.Identifier identifier, in onAuthenticated() argument
143 public abstract boolean onRemoved(BiometricAuthenticator.Identifier identifier, in onRemoved() argument
146 BiometricAuthenticator.Identifier identifier, int remaining); in onEnumerationResult() argument
/frameworks/ml/nn/common/include/
DOperationResolver.h119 #define NN_REGISTER_OPERATION(identifier, operationName, validate, prepare, execute, ...) \ argument
120 const OperationRegistration* register_##identifier() { \
121 static OperationRegistration registration(hal::OperationType::identifier, operationName, \
129 #define NN_REGISTER_OPERATION(identifier, operationName, validate, unused_prepare, unused_execute, \ argument
131 const OperationRegistration* register_##identifier() { \
132 static OperationRegistration registration(hal::OperationType::identifier, operationName, \
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl60 KeyboardLayout[] getKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getKeyboardLayoutsForInputDevice() argument
62 String getCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier); in getCurrentKeyboardLayoutForInputDevice() argument
63 void setCurrentKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice() argument
65 String[] getEnabledKeyboardLayoutsForInputDevice(in InputDeviceIdentifier identifier); in getEnabledKeyboardLayoutsForInputDevice() argument
66 void addKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in addKeyboardLayoutForInputDevice() argument
68 void removeKeyboardLayoutForInputDevice(in InputDeviceIdentifier identifier, in removeKeyboardLayoutForInputDevice() argument
DInputManager.java572 public KeyboardLayout[] getKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice() argument
574 return mIm.getKeyboardLayoutsForInputDevice(identifier); in getKeyboardLayoutsForInputDevice()
610 public String getCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier) { in getCurrentKeyboardLayoutForInputDevice() argument
612 return mIm.getCurrentKeyboardLayoutForInputDevice(identifier); in getCurrentKeyboardLayoutForInputDevice()
631 public void setCurrentKeyboardLayoutForInputDevice(InputDeviceIdentifier identifier, in setCurrentKeyboardLayoutForInputDevice() argument
633 if (identifier == null) { in setCurrentKeyboardLayoutForInputDevice()
641 mIm.setCurrentKeyboardLayoutForInputDevice(identifier, in setCurrentKeyboardLayoutForInputDevice()
656 public String[] getEnabledKeyboardLayoutsForInputDevice(InputDeviceIdentifier identifier) { in getEnabledKeyboardLayoutsForInputDevice() argument
657 if (identifier == null) { in getEnabledKeyboardLayoutsForInputDevice()
662 return mIm.getEnabledKeyboardLayoutsForInputDevice(identifier); in getEnabledKeyboardLayoutsForInputDevice()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1135 final InputDeviceIdentifier identifier) { in getKeyboardLayoutsForInputDevice() argument
1137 getEnabledKeyboardLayoutsForInputDevice(identifier); in getKeyboardLayoutsForInputDevice()
1159 if (layout.getVendorId() == identifier.getVendorId() in getKeyboardLayoutsForInputDevice()
1160 && layout.getProductId() == identifier.getProductId()) { in getKeyboardLayoutsForInputDevice()
1332 private String getLayoutDescriptor(InputDeviceIdentifier identifier) { in getLayoutDescriptor() argument
1333 if (identifier == null || identifier.getDescriptor() == null) { in getLayoutDescriptor()
1337 if (identifier.getVendorId() == 0 && identifier.getProductId() == 0) { in getLayoutDescriptor()
1338 return identifier.getDescriptor(); in getLayoutDescriptor()
1341 bob.append("vendor:").append(identifier.getVendorId()); in getLayoutDescriptor()
1342 bob.append(",product:").append(identifier.getProductId()); in getLayoutDescriptor()
[all …]
/frameworks/rs/tests/lldb/tests/harness/
Dutil_log.py33 def initialise(identifier, level=logging.INFO, print_to_stdout=False, argument
94 .format(identifier)
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java113 String identifier = mCandidateScorer.getIdentifier(); in testExpid() local
114 assertEquals(identifier, in testExpid()
116 WifiNetworkSelector.experimentIdFromIdentifier(identifier)); in testExpid()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceUserState.java75 public void addBiometric(BiometricAuthenticator.Identifier identifier) { in addBiometric() argument
76 if (identifier instanceof Face) { in addBiometric()
77 super.addBiometric(identifier); in addBiometric()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java129 public AuthenticationResult(CryptoObject crypto, Identifier identifier, in AuthenticationResult() argument
132 mIdentifier = identifier; in AuthenticationResult()

12345