/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 41 private final String mClass; field in ComponentName 105 mClass = cls; in ComponentName() 119 mClass = cls; in ComponentName() 132 mClass = cls.getName(); in ComponentName() 136 return new ComponentName(mPackage, mClass); in clone() 150 return mClass; in getClassName() 158 if (mClass.startsWith(mPackage)) { in getShortClassName() 160 int CN = mClass.length(); in getShortClassName() 161 if (CN > PN && mClass.charAt(PN) == '.') { in getShortClassName() 162 return mClass.substring(PN, CN); in getShortClassName() [all …]
|
/frameworks/base/libs/services/src/content/ |
D | ComponentName.cpp | 24 mClass() { in ComponentName() 29 mClass(that.mClass) { in ComponentName() 34 mClass(cls) { in ComponentName() 46 return mClass < that.mClass; in operator <() 63 err = in->readUtf8FromUtf16(&mClass); in readFromParcel() 79 err = out->writeUtf8AsUtf16(mClass); in writeToParcel()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothClass.java | 66 private final int mClass; field in BluetoothClass 71 mClass = classInt; in BluetoothClass() 77 return mClass == ((BluetoothClass) o).mClass; in equals() 84 return mClass; in hashCode() 89 return Integer.toHexString(mClass); in toString() 110 out.writeInt(mClass); in writeToParcel() 142 return ((mClass & Service.BITMASK & service) != 0); in hasService() 270 return (mClass & Device.Major.BITMASK); in getMajorDeviceClass() 283 return (mClass & Device.BITMASK); in getDeviceClass() 300 return mClass; in getClassOfDevice() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameType.java | 110 private final Class<?> mClass; field in FrameType 196 return FrameType.fetchType(mClass, 0); in asSingle() 209 return FrameType.fetchType(mClass, 1); in asArray() 218 return mClass; in getContentClass() 284 && mAccessHints == type.mAccessHints && mClass == type.mClass; in equals() 291 return mElementId ^ mDimensions ^ mAccessHints ^ mClass.hashCode(); in hashCode() 296 String result = elementToString(mElementId, mClass) + "[" + mDimensions + "]"; in toString() 319 return keyValueForType(mElementId, mDimensions, mAccessHints, mClass); in keyString() 338 Class<?> mergedClass = mergeClasses(writer.mClass, reader.mClass); in tryMergeObjectTypes() 339 boolean success = mergedClass != null || writer.mClass == null; in tryMergeObjectTypes() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | PluginInflateContainer.java | 56 private Class<?> mClass; field in PluginInflateContainer 64 mClass = Class.forName(viewType); in PluginInflateContainer() 67 mClass = null; in PluginInflateContainer() 74 if (mClass != null) { in onAttachedToWindow() 75 Dependency.get(PluginManager.class).addPluginListener(this, mClass); in onAttachedToWindow() 82 if (mClass != null) { in onDetachedFromWindow()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | DeviceFilter.java | 48 public final int mClass; field in DeviceFilter 64 mClass = clasz; in DeviceFilter() 75 mClass = device.getDeviceClass(); in DeviceFilter() 146 if (mClass != -1) { in write() 147 serializer.attribute(null, "class", Integer.toString(mClass)); in write() 168 return ((mClass == -1 || clasz == mClass) && in matches() 226 return matches(device.mClass, device.mSubclass, device.mProtocol); in contains() 233 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals() 241 filter.mClass != mClass || in equals() 277 device.getDeviceClass() != mClass || in equals() [all …]
|
D | UsbInterface.java | 42 private final int mClass; field in UsbInterface 58 mClass = Class; in UsbInterface() 103 return mClass; in getInterfaceClass() 154 ",mName=" + mName + ",mClass=" + mClass + in toString() 193 parcel.writeInt(mClass); in writeToParcel()
|
D | UsbDevice.java | 60 private final int mClass; field in UsbDevice 80 mClass = Class; in UsbDevice() 187 return mClass; in getDeviceClass() 291 ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString() 338 parcel.writeInt(mClass); in writeToParcel() 366 private final int mClass; field in UsbDevice.Builder 385 mClass = Class; in Builder() 403 return new UsbDevice(mName, mVendorId, mProductId, mClass, mSubclass, mProtocol, in build()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DelegateManager.java | 115 private final Class<T> mClass; field in DelegateManager 118 mClass = theClass; in DelegateManager() 149 System.err.println("Unknown " + mClass.getSimpleName() + " with int " + in getDelegate() 176 "New " + mClass.getSimpleName() + " " + in addNewDelegate() 193 System.out.println("Removing main Java ref on " + mClass.getSimpleName() + in removeJavaReferenceFor() 228 System.err.println("Unknown " + mClass.getSimpleName() + " with int " + in markAsNativeAllocation()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 39 , mClass(NULL) in AppRuntime() 70 mClass = env->FindClass(slashClassName); in onVmCreated() 71 if (mClass == NULL) { in onVmCreated() 76 mClass = reinterpret_cast<jclass>(env->NewGlobalRef(mClass)); in onVmCreated() 86 ar->callMain(mClassName, mClass, mArgs); in onStarted() 113 jclass mClass; member in android::AppRuntime
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 71 jclass mClass; member 85 jclass mClass; member 102 jclass mClass; member 110 jclass mClass; member 128 jclass mClass; member 134 jclass mClass; member 140 jclass mClass; member 147 jclass mClass; member 190 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in gcIfManyNewRefs() 255 jobject thread = env->CallStaticObjectMethod(gThreadDispatchOffsets.mClass, in report_java_lang_error() [all …]
|
D | android_media_DeviceCallback.cpp | 43 mClass = (jclass)env->NewGlobalRef(clazz); in JNIDeviceCallback() 60 env->DeleteGlobalRef(mClass); in ~JNIDeviceCallback() 72 env->CallStaticVoidMethod(mClass, in onAudioDeviceUpdate()
|
D | android_media_AudioVolumeGroupCallback.cpp | 53 mClass = (jclass)env->NewGlobalRef(clazz); in JNIAudioVolumeGroupCallback() 68 env->DeleteGlobalRef(mClass); in ~JNIAudioVolumeGroupCallback() 78 env->CallStaticVoidMethod(mClass, in onAudioVolumeGroupChanged() 94 env->CallStaticVoidMethod(mClass, in onServiceDied()
|
D | android_view_CompositionSamplingListener.cpp | 40 jclass mClass; member 52 env->CallStaticVoidMethod(gListenerClassInfo.mClass, in onSampleCollected() 126 gListenerClassInfo.mClass = MakeGlobalRefOrDie(env, clazz); in register_android_view_CompositionSamplingListener()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_SerialService.cpp | 33 jclass mClass; member 53 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_SerialService_open() 73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_SerialService()
|
D | com_android_server_UsbHostManager.cpp | 41 jclass mClass; member 139 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbHostManager_openDevice() 171 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_UsbHostManager()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 45 private final Class<T> mClass; field in MarshalQueryableArray.MarshalerArray 53 mClass = (Class<T>)typeReference.getRawType(); in MarshalerArray() 88 arraySize, elementSize, remaining, mClass)); in unmarshal() 112 + mClass); in unmarshal() 115 return mClass.cast(array); in unmarshal()
|
D | MarshalQueryableParcelable.java | 43 private final Class<T> mClass; field in MarshalQueryableParcelable.MarshalerParcelable 51 mClass = (Class<T>)typeReference.getRawType(); in MarshalerParcelable() 54 creatorField = mClass.getDeclaredField(FIELD_CREATOR); in MarshalerParcelable() 150 return mClass.cast(value); in unmarshal()
|
D | MarshalQueryableRange.java | 38 private final Class<? super Range<T>> mClass; field in MarshalQueryableRange.MarshalerRange 48 mClass = typeReference.getRawType(); in MarshalerRange() 68 mConstructor = (Constructor<Range<T>>)mClass.getConstructor( in MarshalerRange()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 310 public String mClass; field in UsageEvents.Event 406 mClass = orig.mClass; in Event() 443 return mClass; in getClassName() 569 ret.mClass = INSTANT_APP_CLASS_NAME; in getObfuscatedIfInstantApp() 723 if (event.mClass != null) { in writeEventToParcel() 724 classIndex = findStringIndex(event.mClass); in writeEventToParcel() 786 eventOut.mClass = mStringPool[classIndex]; in readEventFromParcel() 788 eventOut.mClass = null; in readEventFromParcel()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 111 private final Class<?> mClass; field in ViewRootImplTest.ViewRootImplAccessor.AttachInfoAccessor 116 mClass = ViewRootImpl.class.getClassLoader().loadClass( in AttachInfoAccessor() 121 return (Rect) getField(mAttachInfo, mClass.getDeclaredField("mContentInsets")); in getContentInsets() 125 return (Rect) getField(mAttachInfo, mClass.getDeclaredField("mStableInsets")); in getStableInsets()
|
/frameworks/base/media/jni/ |
D | android_media_MediaHTTPConnection.cpp | 35 : mClass(NULL), in JMediaHTTPConnection() 41 mClass = (jclass)env->NewGlobalRef(clazz); in JMediaHTTPConnection() 60 env->DeleteGlobalRef(mClass); in ~JMediaHTTPConnection() 61 mClass = NULL; in ~JMediaHTTPConnection()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveInstrumentation.java | 35 ComponentName mClass; field in ActiveInstrumentation 87 sb.append(mClass.toShortString()); in toString() 99 pw.print(prefix); pw.print("mClass="); pw.print(mClass); in dump() 131 mClass.writeToProto(proto, ActiveInstrumentationProto.CLASS); in writeToProto()
|
/frameworks/base/libs/services/include/android/content/ |
D | ComponentName.h | 40 const string& getClassName() const { return mClass; } in getClassName() 47 string mClass; variable
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicBuffer.cpp | 62 jclass mClass; member 283 jobject obj = env->NewObject(gGraphicBufferClassInfo.mClass, in createJavaGraphicBuffer() 316 gGraphicBufferClassInfo.mClass = MakeGlobalRefOrDie(env, FindClassOrDie(env, kClassPathName)); in register_android_graphics_GraphicBuffer() 317 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer() 319 gGraphicBufferClassInfo.mConstructorMethodID = env->GetMethodID(gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
|