/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/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() 86 mClass = filter.mClass; in DeviceFilter() 157 if (mClass != -1) { in write() 158 serializer.attribute(null, "class", Integer.toString(mClass)); in write() 179 return ((mClass == -1 || clasz == mClass) && in matches() 237 return matches(device.mClass, device.mSubclass, device.mProtocol); in contains() 244 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals() 252 filter.mClass != 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 | 62 private final int mClass; field in UsbDevice 89 mClass = Class; in UsbDevice() 201 return mClass; in getDeviceClass() 330 + ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol in toString() 390 parcel.writeInt(mClass); in writeToParcel() 423 private final int mClass; field in UsbDevice.Builder 449 mClass = Class; in Builder() 472 return new UsbDevice(mName, mVendorId, mProductId, mClass, mSubclass, mProtocol, in build()
|
/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/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_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_media_AudioTrackCallback.cpp | 43 mClass = (jclass)env->NewGlobalRef(clazz); in JNIAudioTrackCallback() 65 env->DeleteGlobalRef(mClass); in ~JNIAudioTrackCallback() 90 env->CallStaticVoidMethod(mClass, mPostEventFromNative, mObject, in onCodecFormatChanged()
|
D | android_util_Binder.cpp | 73 jclass mClass; member 87 jclass mClass; member 114 jclass mClass; member 132 jclass mClass; member 138 jclass mClass; member 144 jclass mClass; member 151 jclass mClass; member 194 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in gcIfManyNewRefs() 290 jobject thread = env->CallStaticObjectMethod(gThreadDispatchOffsets.mClass, in report_java_lang_error() 316 env->CallStaticIntMethod(gLogOffsets.mClass, gLogOffsets.mLogE, in report_exception() [all …]
|
D | android_view_CompositionSamplingListener.cpp | 40 jclass mClass; member 57 env->CallStaticVoidMethod(gListenerClassInfo.mClass, in onSampleCollected() 133 gListenerClassInfo.mClass = MakeGlobalRefOrDie(env, clazz); in register_android_view_CompositionSamplingListener()
|
D | android_graphics_GraphicBuffer.cpp | 58 jclass mClass; member 258 jobject obj = env->NewObject(gGraphicBufferClassInfo.mClass, in android_graphics_GraphicBuffer_createFromAHardwareBuffer() 304 gGraphicBufferClassInfo.mClass = MakeGlobalRefOrDie(env, FindClassOrDie(env, kClassPathName)); in register_android_graphics_GraphicBuffer() 305 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer() 307 gGraphicBufferClassInfo.mConstructorMethodID = env->GetMethodID(gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
|
/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/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/core/java/android/app/usage/ |
D | UsageEvents.java | 378 public String mClass; field in UsageEvents.Event 534 return mClass; in getClassName() 661 ret.mClass = INSTANT_APP_CLASS_NAME; in getObfuscatedIfInstantApp() 687 mClass = orig.mClass; in copyFrom() 855 if (event.mClass != null) { in writeEventToParcel() 856 classIndex = findStringIndex(event.mClass); in writeEventToParcel() 921 eventOut.mClass = mStringPool[classIndex]; in readEventFromParcel() 923 eventOut.mClass = null; in readEventFromParcel()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveInstrumentation.java | 35 ComponentName mClass; field in ActiveInstrumentation 90 sb.append(mClass.toShortString()); in toString() 102 pw.print(prefix); pw.print("mClass="); pw.print(mClass); in dump() 134 mClass.dumpDebug(proto, ActiveInstrumentationProto.CLASS); in dumpDebug()
|
/frameworks/base/libs/services/include/android/content/ |
D | ComponentName.h | 40 const string& getClassName() const { return mClass; } in getClassName() 47 string mClass; variable
|