Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/
DComponentName.java43 private final String mClass; field in ComponentName
107 mClass = cls; in ComponentName()
121 mClass = cls; in ComponentName()
134 mClass = cls.getName(); in ComponentName()
138 return new ComponentName(mPackage, mClass); in clone()
152 return mClass; in getClassName()
160 if (mClass.startsWith(mPackage)) { in getShortClassName()
162 int CN = mClass.length(); in getShortClassName()
163 if (CN > PN && mClass.charAt(PN) == '.') { in getShortClassName()
164 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/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.java50 public final int mClass; field in DeviceFilter
69 mClass = clasz; in DeviceFilter()
81 mClass = device.getDeviceClass(); in DeviceFilter()
93 mClass = filter.mClass; in DeviceFilter()
167 if (mClass != -1) { in write()
168 serializer.attribute(null, "class", Integer.toString(mClass)); in write()
192 return ((mClass == -1 || usbClass == mClass) in matches()
259 return matches(device.mClass, device.mSubclass, device.mProtocol); in contains()
266 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
274 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.java57 private Class<ViewProvider> mClass; field in PluginInflateContainer
66 mClass = (Class<ViewProvider>) Class.forName(viewType); in PluginInflateContainer()
69 mClass = null; in PluginInflateContainer()
76 if (mClass != null) { in onAttachedToWindow()
77 Dependency.get(PluginManager.class).addPluginListener(this, mClass); in onAttachedToWindow()
84 if (mClass != null) { in onDetachedFromWindow()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java86 private final Class<T> mClass; field in DelegateManager
89 mClass = theClass; in DelegateManager()
120 System.err.println("Unknown " + mClass.getSimpleName() + " with int " + in getDelegate()
146 "New " + mClass.getSimpleName() + " " + in addNewDelegate()
163 System.out.println("Removing main Java ref on " + mClass.getSimpleName() + in removeJavaReferenceFor()
/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_util_Binder.cpp73 jclass mClass; member
88 jclass mClass; member
116 jclass mClass; member
134 jclass mClass; member
140 jclass mClass; member
146 jclass mClass; member
153 jclass mClass; member
192 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in gcIfManyNewRefs()
288 jobject thread = env->CallStaticObjectMethod(gThreadDispatchOffsets.mClass, in report_java_lang_error()
315 env->CallStaticIntMethod(gLogOffsets.mClass, gLogOffsets.mLogE, in binder_report_exception()
[all …]
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_view_TunnelModeEnabledListener.cpp37 jclass mClass; member
55 env->CallStaticVoidMethod(gListenerClassInfo.mClass, in onTunnelModeEnabledChanged()
123 gListenerClassInfo.mClass = MakeGlobalRefOrDie(env, clazz); in register_android_view_TunnelModeEnabledListener()
Dandroid_view_CompositionSamplingListener.cpp38 jclass mClass; member
55 env->CallStaticVoidMethod(gListenerClassInfo.mClass, in onSampleCollected()
133 gListenerClassInfo.mClass = MakeGlobalRefOrDie(env, clazz); in register_android_view_CompositionSamplingListener()
Dandroid_graphics_GraphicBuffer.cpp58 jclass mClass; member
249 jobject obj = env->NewObject(gGraphicBufferClassInfo.mClass, in android_graphics_GraphicBuffer_createFromAHardwareBuffer()
293 gGraphicBufferClassInfo.mClass = MakeGlobalRefOrDie(env, FindClassOrDie(env, kClassPathName)); in register_android_graphics_GraphicBuffer()
294 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
296 gGraphicBufferClassInfo.mConstructorMethodID = env->GetMethodID(gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
/frameworks/base/services/core/jni/
Dcom_android_server_SerialService.cpp33 jclass mClass; member
54 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_SerialService_open()
74 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_SerialService()
Dcom_android_server_wm_TaskFpsCallbackController.cpp36 jclass mClass; member
52 env->CallStaticVoidMethod(gCallbackClassInfo.mClass, in onFpsReported()
113 gCallbackClassInfo.mClass = MakeGlobalRefOrDie(env, clazz); in register_com_android_server_wm_TaskFpsCallbackController()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java162 public Class mClass; field in BinderCallHeavyHitterWatcher.HeavyHitterContainer
185 this.mClass = other.mClass; in HeavyHitterContainer()
196 return this.mUid == o.mUid && this.mClass == o.mClass && this.mCode == o.mCode in equals()
202 return hashCode(mUid, mClass, mCode); in hashCode()
374 container.mClass = clazz; in onTransaction()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
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()
DMarshalQueryableArray.java104 private final Class<T> mClass;
112 mClass = (Class<T>)typeReference.getRawType();
147 arraySize, elementSize, remaining, mClass));
177 + mClass);
180 return mClass.cast(array);
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/libs/services/include/android/content/
DComponentName.h40 const string& getClassName() const { return mClass; } in getClassName()
47 string mClass; variable
/frameworks/base/services/core/java/com/android/server/am/
DActiveInstrumentation.java35 ComponentName mClass; field in ActiveInstrumentation
99 sb.append(mClass.toShortString()); in toString()
111 pw.print(prefix); pw.print("mClass="); pw.print(mClass); in dump()
145 mClass.dumpDebug(proto, ActiveInstrumentationProto.CLASS); in dumpDebug()

123