Home
last modified time | relevance | path

Searched refs:mClass (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/core/java/android/content/
DComponentName.java41 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/
DComponentName.cpp24 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/
DBluetoothClass.java66 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/
DFrameType.java110 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/
DDeviceFilter.java48 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 …]
DUsbInterface.java42 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()
DUsbDevice.java62 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/
DPluginInflateContainer.java56 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/
DDelegateManager.java115 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/
Dapp_main.cpp39 , 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/
Dandroid_media_DeviceCallback.cpp43 mClass = (jclass)env->NewGlobalRef(clazz); in JNIDeviceCallback()
60 env->DeleteGlobalRef(mClass); in ~JNIDeviceCallback()
72 env->CallStaticVoidMethod(mClass, in onAudioDeviceUpdate()
Dandroid_media_AudioVolumeGroupCallback.cpp53 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()
Dandroid_media_AudioTrackCallback.cpp43 mClass = (jclass)env->NewGlobalRef(clazz); in JNIAudioTrackCallback()
65 env->DeleteGlobalRef(mClass); in ~JNIAudioTrackCallback()
90 env->CallStaticVoidMethod(mClass, mPostEventFromNative, mObject, in onCodecFormatChanged()
Dandroid_util_Binder.cpp73 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 …]
Dandroid_view_CompositionSamplingListener.cpp40 jclass mClass; member
57 env->CallStaticVoidMethod(gListenerClassInfo.mClass, in onSampleCollected()
133 gListenerClassInfo.mClass = MakeGlobalRefOrDie(env, clazz); in register_android_view_CompositionSamplingListener()
Dandroid_graphics_GraphicBuffer.cpp58 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/
Dcom_android_server_SerialService.cpp33 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()
Dcom_android_server_UsbHostManager.cpp41 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/
DMarshalQueryableArray.java45 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()
DMarshalQueryableParcelable.java43 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()
DMarshalQueryableRange.java38 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/
Dandroid_media_MediaHTTPConnection.cpp35 : 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/
DUsageEvents.java378 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/
DActiveInstrumentation.java35 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/
DComponentName.h40 const string& getClassName() const { return mClass; } in getClassName()
47 string mClass; variable

123