/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RegisteredMediaRouteProvider.java | 67 MediaRouteProviderDescriptor descriptor = getDescriptor(); 68 if (descriptor != null) { 69 List<MediaRouteDescriptor> routes = descriptor.getRoutes(); 250 MediaRouteProviderDescriptor descriptor) { 253 Log.d(TAG, this + ": Descriptor changed, descriptor=" + descriptor); 255 setDescriptor(descriptor); 249 onConnectionDescriptorChanged(Connection connection, MediaRouteProviderDescriptor descriptor) argument
|
/frameworks/base/core/jni/ |
H A D | android_view_InputDevice.cpp | 46 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string()));
|
/frameworks/native/include/binder/ |
H A D | IBinder.h | 70 * @a descriptor. If it does, the base pointer to it is returned, 73 virtual sp<IInterface> queryLocalInterface(const String16& descriptor);
|
/frameworks/native/include/input/ |
H A D | InputDevice.h | 42 // A composite input device descriptor string that uniquely identifies the device 48 String8 descriptor; member in struct:android::InputDeviceIdentifier
|
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHwService.h | 107 sound_trigger_module_descriptor descriptor, 127 struct sound_trigger_module_descriptor descriptor() { return mDescriptor; } function in class:android::SoundTriggerHwService::Module
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Event.java | 80 + ", descriptor=" + Arrays.toString(mDescriptor) 107 public void setDescriptor(byte[] descriptor) { argument 108 mEvent.mDescriptor = descriptor; 135 throw new IllegalStateException("Device registration is missing descriptor"); 173 case "descriptor":
|
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 398 int productId, String descriptor, boolean isExternal, int sources, int keyboardType, 407 mDescriptor = descriptor; 415 mIdentifier = new InputDeviceIdentifier(descriptor, vendorId, productId); 550 * Gets the input device descriptor, which is a stable identifier for an input device. 552 * An input device descriptor uniquely identifies an input device. Its value 557 * same input device descriptor. This might happen in situations where a single 563 * The input device descriptor returned by {@link #getDescriptor} should only be 569 * @return The input device descriptor. 397 InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, int productId, String descriptor, boolean isExternal, int sources, int keyboardType, KeyCharacterMap keyCharacterMap, boolean hasVibrator, boolean hasMicrophone, boolean hasButtonUnderPad) argument
|
/frameworks/base/core/java/android/content/ |
H A D | IContentProvider.java | 74 static final String descriptor = "android.content.IContentProvider"; field in interface:IContentProvider
|
/frameworks/base/cmds/hid/jni/ |
H A D | com_android_commands_hid_Device.cpp | 86 std::unique_ptr<uint8_t[]> descriptor, size_t descriptorSize, 99 ev.u.create.rd_data = descriptor.get(); 85 open(int32_t id, const char* name, int32_t vid, int32_t pid, std::unique_ptr<uint8_t[]> descriptor, size_t descriptorSize, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) argument
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AbstractClassAdapter.java | 50 * Renames a type descriptor, e.g. "Lcom.package.MyClass;" 114 * Renames a method descriptor, i.e. applies renameType to all arguments and to the 249 // The type sometimes turns out to be a type descriptor. We try to detect it and fix. 269 // The owner sometimes turns out to be a type descriptor. We try to detect it and fix. 345 public void visitBaseType(char descriptor) { argument 346 mSv.visitBaseType(descriptor);
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | GroupingListAdapter.java | 280 // the group descriptor immediately preceding the supplied position. 310 long descriptor = mGroupMetadata[firstGroupToCheck]; 311 cursorPosition = (int)(descriptor & GROUP_OFFSET_MASK);
|
/frameworks/support/documents-archive/tests/src/android/support/provider/ |
H A D | DocumentArchiveTest.java | 266 final ParcelFileDescriptor descriptor = mArchive.openDocument( 269 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2On1Adapter.h | 68 hwc2_function_pointer_t doGetFunction(HWC2::FunctionDescriptor descriptor); 71 auto descriptor = static_cast<HWC2::FunctionDescriptor>(intDesc); local 72 return getAdapter(device)->doGetFunction(descriptor); 108 HWC2::Error registerCallback(HWC2::Callback descriptor, 113 auto descriptor = static_cast<HWC2::Callback>(intDesc); local 114 auto error = getAdapter(device)->registerCallback(descriptor,
|
H A D | HWC2On1Adapter.cpp | 179 FunctionDescriptor descriptor) 181 switch (descriptor) { 342 ALOGE("doGetFunction: Unknown function descriptor: %d (%s)", 343 static_cast<int32_t>(descriptor), 344 to_string(descriptor).c_str()); 457 static bool isValid(Callback descriptor) { argument 458 switch (descriptor) { 466 Error HWC2On1Adapter::registerCallback(Callback descriptor, argument 469 if (!isValid(descriptor)) { 473 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor) 178 doGetFunction( FunctionDescriptor descriptor) argument [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 1014 String descriptor) { 1018 if (inputDevice.getDescriptor().equals(descriptor)) { 1102 Slog.w(TAG, "Could not get keyboard layout with descriptor '" 1197 String descriptor = KeyboardLayoutDescriptor.format( 1201 descriptor, label, collection, priority, 1234 * Builds a layout descriptor for the vendor/product. This returns the 1235 * descriptor for ids that aren't useful (such as the default 0, 0). 1239 throw new IllegalArgumentException("identifier and descriptor must not be null"); 1257 // try loading it using the layout descriptor if we have it 1260 // if it doesn't exist fall back to the device descriptor 1013 containsInputDeviceWithDescriptor(InputDevice[] inputDevices, String descriptor) argument 2131 parse(String descriptor) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 600 ParcelFileDescriptor descriptor = taskThumbnail.thumbnailFileDescriptor; 601 if (thumbnail == null && descriptor != null) { 602 thumbnail = BitmapFactory.decodeFileDescriptor(descriptor.getFileDescriptor(), 605 if (descriptor != null) { 607 descriptor.close();
|
/frameworks/wilhelm/src/android/ |
H A D | android_Effect.cpp | 654 effect_descriptor_t descriptor; local 666 res = android::AudioEffect::queryEffect(i, &descriptor); 668 (0 == memcmp(effectId, &descriptor.type, sizeof(effect_uuid_t)))) { 669 SL_LOGV("found effect %d %s", i, descriptor.name); 675 memcpy(fxDescrLoc, &descriptor, sizeof(effect_descriptor_t)); 751 // an error occurred, reset the effect descriptor
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 265 * Gets information about the input device with the specified descriptor. 266 * @param descriptor The input device descriptor. 270 public InputDevice getInputDeviceByDescriptor(String descriptor) { argument 271 if (descriptor == null) { 272 throw new IllegalArgumentException("descriptor must not be null."); 293 if (descriptor.equals(inputDevice.getDescriptor())) { 499 * Gets the keyboard layout with the specified descriptor. 501 * @param keyboardLayoutDescriptor The keyboard layout descriptor, as returned by 520 * Gets the current keyboard layout descriptor fo [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 610 identifier.descriptor = sha1(rawDescriptor); 615 // Compute a device descriptor that uniquely identifies the device. 616 // The descriptor is assumed to be a stable identifier. Its value should not 620 // Ideally, we also want the descriptor to be short and relatively opaque. 627 while(getDeviceByDescriptorLocked(identifier.descriptor) != NULL) { 632 ALOGV("Created descriptor: raw=%s, cooked=%s", rawDescriptor.string(), 633 identifier.descriptor.string()); 692 EventHub::Device* EventHub::getDeviceByDescriptorLocked(String8& descriptor) const { 696 if (descriptor.compare(device->identifier.descriptor) [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 734 // Read all vendor tag definitions into a descriptor 739 ALOGE("%s: Could not generate descriptor from vendor tag operations," 745 // Set the global descriptor to use with camera metadata 1037 // Make a descriptor for the incoming client 1127 // Make descriptor for incoming client 2351 sp<CameraService::BasicClient>>& descriptor) { 2352 auto basicClient = descriptor.getValue(); 2355 notifier.noteStartCamera(descriptor.getKey(), 2362 sp<CameraService::BasicClient>>& descriptor) { 2363 auto basicClient = descriptor 2349 onClientAdded( const resource_policy::ClientDescriptor<String8, sp<CameraService::BasicClient>>& descriptor) argument 2360 onClientRemoved( const resource_policy::ClientDescriptor<String8, sp<CameraService::BasicClient>>& descriptor) argument 2384 auto descriptor = get(id); local [all...] |
/frameworks/av/camera/ |
H A D | VendorTagDescriptor.cpp | 343 sp<VendorTagDescriptor>& descriptor) { 418 descriptor = desc; 437 ALOGE("%s: Could not set vendor tag descriptor, received error %s (%d)." 459 ALOGE("%s: Vendor tag descriptor not initialized.", __FUNCTION__); 468 ALOGE("%s: Vendor tag descriptor not initialized.", __FUNCTION__); 477 ALOGE("%s: Vendor tag descriptor not initialized.", __FUNCTION__); 486 ALOGE("%s: Vendor tag descriptor not initialized.", __FUNCTION__); 495 ALOGE("%s: Vendor tag descriptor not initialized.", __FUNCTION__); 341 createDescriptorFromOps(const vendor_tag_ops_t* vOps, sp<VendorTagDescriptor>& descriptor) argument
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 211 virtual status_t queryEffect(uint32_t index, effect_descriptor_t *descriptor) const; 214 effect_descriptor_t *descriptor) const;
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 175 effect_descriptor_t desc = effects[i]->descriptor(); 208 effect_descriptor_t desc = effects[i]->descriptor();
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 55 * Return the key for this descriptor. 60 * Return the value for this descriptor. 65 * Return the cost for this descriptor. 70 * Return the priority for this descriptor. 75 * Return the owner ID for this descriptor. 80 * Return true if the given key is in this descriptor's conflicting keys list. 85 * Return the set of all conflicting keys for this descriptor. 90 * Set the proirity for this descriptor. 180 void onClientAdded(const ClientDescriptor<KEY, VALUE>& descriptor); 181 void onClientRemoved(const ClientDescriptor<KEY, VALUE>& descriptor); [all...] |
/frameworks/base/core/java/android/os/ |
H A D | MessageQueue.java | 163 * Adds a file descriptor listener to receive notification when file descriptor 166 * If the file descriptor has already been registered, the specified events 168 * It is not possible to set more than one listener per file descriptor. 170 * It is important to always unregister the listener when the file descriptor 174 * @param fd The file descriptor for which a listener will be registered. 180 * @param listener The listener to invoke when file descriptor events occur. 201 * Removes a file descriptor listener. 204 * specified file descriptor. 207 * @param fd The file descriptor whos 865 FileDescriptorRecord(FileDescriptor descriptor, int events, OnFileDescriptorEventListener listener) argument [all...] |