Home
last modified time | relevance | path

Searched refs:mInstance (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/app/
DFragmentState.java39 Fragment mInstance; field in FragmentState
70 if (mInstance == null) { in instantiate()
77 mInstance = container.instantiate(context, mClassName, mArguments); in instantiate()
79 mInstance = Fragment.instantiate(context, mClassName, mArguments); in instantiate()
84 mInstance.mSavedFragmentState = mSavedFragmentState; in instantiate()
86 mInstance.setIndex(mIndex, parent); in instantiate()
87 mInstance.mFromLayout = mFromLayout; in instantiate()
88 mInstance.mRestored = true; in instantiate()
89 mInstance.mFragmentId = mFragmentId; in instantiate()
90 mInstance.mContainerId = mContainerId; in instantiate()
[all …]
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyChainSnapshot.java167 private KeyChainSnapshot mInstance = new KeyChainSnapshot(); field in KeyChainSnapshot.Builder
176 mInstance.mSnapshotVersion = snapshotVersion; in setSnapshotVersion()
187 mInstance.mMaxAttempts = maxAttempts; in setMaxAttempts()
198 mInstance.mCounterId = counterId; in setCounterId()
209 mInstance.mServerParams = serverParams; in setServerParams()
224 mInstance.mCertPath = RecoveryCertPath.createRecoveryCertPath(certPath); in setTrustedHardwareCertPath()
236 mInstance.mKeyChainProtectionParams = keyChainProtectionParams; in setKeyChainProtectionParams()
248 mInstance.mEntryRecoveryData = entryRecoveryData; in setWrappedApplicationKeys()
260 mInstance.mEncryptedRecoveryKeyBlob = encryptedRecoveryKeyBlob; in setEncryptedRecoveryKeyBlob()
272 Preconditions.checkCollectionElementsNotNull(mInstance.mKeyChainProtectionParams, in build()
[all …]
DKeyChainProtectionParams.java157 private KeyChainProtectionParams mInstance = new KeyChainProtectionParams(); field in KeyChainProtectionParams.Builder
168 mInstance.mUserSecretType = userSecretType; in setUserSecretType()
182 mInstance.mLockScreenUiFormat = lockScreenUiFormat; in setLockScreenUiFormat()
194 mInstance.mKeyDerivationParams = keyDerivationParams; in setKeyDerivationParams()
205 mInstance.mSecret = secret; in setSecret()
219 if (mInstance.mUserSecretType == null) { in build()
220 mInstance.mUserSecretType = TYPE_LOCKSCREEN; in build()
222 Objects.requireNonNull(mInstance.mLockScreenUiFormat); in build()
223 Objects.requireNonNull(mInstance.mKeyDerivationParams); in build()
224 if (mInstance.mSecret == null) { in build()
[all …]
DWrappedApplicationKey.java67 private WrappedApplicationKey mInstance = new WrappedApplicationKey(); field in WrappedApplicationKey.Builder
76 mInstance.mAlias = alias; in setAlias()
87 mInstance.mEncryptedKeyMaterial = encryptedKeyMaterial; in setEncryptedKeyMaterial()
98 mInstance.mMetadata = metadata; in setMetadata()
109 Objects.requireNonNull(mInstance.mAlias); in build()
110 Objects.requireNonNull(mInstance.mEncryptedKeyMaterial); in build()
111 return mInstance; in build()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DShutdownCheckPointsTest.java62 private ShutdownCheckPoints mInstance; field in ShutdownCheckPointsTest
69 mInstance = new ShutdownCheckPoints(mTestInjector); in setUp()
75 mInstance.recordCheckPointInternal("reason1"); in testSystemServerEntry()
87 mInstance.recordCheckPointInternal(null); in testSystemServerEntryWithoutReason()
96 mInstance.recordCheckPointInternal(Process.myPid(), "reason1"); in testSystemServiceBinderEntry()
113 mInstance.recordCheckPointInternal(1, "reason1"); in testCallerProcessBinderEntry()
129 mInstance.recordCheckPointInternal(1, "reason1"); in testRemoteExceptionOnBinderEntry()
143 mInstance.recordCheckPointInternal(1, "reason1"); in testUnknownProcessBinderEntry()
157 mInstance.recordCheckPointInternal(1, null); in testBinderEntryWithoutReason()
166 mInstance.recordCheckPointInternal("some.intent", "android", "reason1"); in testSystemServiceIntentEntry()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java76 private long mInstance; field in FuseAppLoop
84 mInstance = native_new(fd.detachFd()); in FuseAppLoop()
86 native_start(mInstance); in FuseAppLoop()
88 native_delete(mInstance); in FuseAppLoop()
89 mInstance = 0; in FuseAppLoop()
106 if (mInstance == 0) { in registerCallback()
163 if (mInstance != 0) {
164 native_replyLookup(mInstance, unique, inode, fileSize);
173 if (mInstance != 0) {
174 native_replyGetAttr(mInstance, unique, inode, fileSize);
[all …]
/frameworks/base/core/java/android/util/
DSingleton.java35 private T mInstance; field in Singleton
42 if (mInstance == null) { in get()
43 mInstance = create(); in get()
45 return mInstance; in get()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DCallOrderStateMachineHelper.h104 helper.mInstance = instance; in make()
118 std::swap(instance, mInstance); in nextState()
122 InstanceType* getInstance() const { return mInstance; } in getInstance()
125 InstanceType* mInstance;
/frameworks/base/core/java/android/ddm/
DDdmHandleProfiling.java43 private static DdmHandleProfiling mInstance = new DdmHandleProfiling(); field in DdmHandleProfiling
53 DdmServer.registerHandler(CHUNK_MPRS, mInstance); in register()
54 DdmServer.registerHandler(CHUNK_MPRE, mInstance); in register()
55 DdmServer.registerHandler(CHUNK_MPSS, mInstance); in register()
56 DdmServer.registerHandler(CHUNK_MPSE, mInstance); in register()
57 DdmServer.registerHandler(CHUNK_MPRQ, mInstance); in register()
58 DdmServer.registerHandler(CHUNK_SPSS, mInstance); in register()
59 DdmServer.registerHandler(CHUNK_SPSE, mInstance); in register()
DDdmHandleExit.java34 private static DdmHandleExit mInstance = new DdmHandleExit(); field in DdmHandleExit
44 DdmServer.registerHandler(CHUNK_EXIT, mInstance); in register()
DDdmHandleHeap.java32 private static DdmHandleHeap mInstance = new DdmHandleHeap(); field in DdmHandleHeap
42 DdmServer.registerHandler(CHUNK_HPGC, mInstance); in register()
DDdmHandleNativeHeap.java32 private static DdmHandleNativeHeap mInstance = new DdmHandleNativeHeap(); field in DdmHandleNativeHeap
42 DdmServer.registerHandler(CHUNK_NHGT, mInstance); in register()
DDdmHandleHello.java42 private static DdmHandleHello mInstance = new DdmHandleHello(); field in DdmHandleHello
56 DdmServer.registerHandler(CHUNK_HELO, mInstance); in register()
57 DdmServer.registerHandler(CHUNK_FEAT, mInstance); in register()
/frameworks/base/services/core/java/com/android/server/location/
DHardwareActivityRecognitionProxy.java57 private final ActivityRecognitionHardware mInstance; field in HardwareActivityRecognitionProxy
64 mInstance = ActivityRecognitionHardware.getInstance(context); in HardwareActivityRecognitionProxy()
66 mInstance = null; in HardwareActivityRecognitionProxy()
96 if (mInstance != null) { in onBind()
97 watcher.onInstanceChanged(mInstance); in onBind()
102 client.onAvailabilityChanged(mIsSupported, mInstance); in onBind()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java50 private static RilMessageDecoder[] mInstance = null; field in RilMessageDecoder
67 if (null == mInstance) { in getInstance()
69 mInstance = new RilMessageDecoder[mSimCount]; in getInstance()
71 mInstance[i] = null; in getInstance()
76 if (null == mInstance[slotId]) { in getInstance()
77 mInstance[slotId] = new RilMessageDecoder(caller, fh, context); in getInstance()
84 return mInstance[slotId]; in getInstance()
217 mInstance = null; in dispose()
/frameworks/native/libs/gui/
DDebugEGLImageTracker.cpp28 std::atomic<DebugEGLImageTracker *> DebugEGLImageTracker::mInstance; member in DebugEGLImageTracker
60 if (mInstance == nullptr) { in getInstance()
63 mInstance = new DebugEGLImageTrackerImpl(); in getInstance()
65 mInstance = new DebugEGLImageTrackerNoOp(); in getInstance()
69 return mInstance; in getInstance()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtypeArray.java60 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]); in InputMethodSubtypeArray()
100 final byte[] decompressedData = marshall(mInstance); in writeToParcel()
136 InputMethodSubtype[] instance = mInstance; in get()
139 instance = mInstance; in get()
152 mInstance = instance; in get()
169 private volatile InputMethodSubtype[] mInstance; field in InputMethodSubtypeArray
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsHALWrapper.java345 private IPowerStats mInstance = null; field in PowerStatsHALWrapper.VintfHalCache
349 if (mInstance == null) { in get()
353 mInstance = IPowerStats.Stub.asInterface(binder); in get()
357 Slog.e(TAG, "Unable to register DeathRecipient for " + mInstance); in get()
361 return mInstance; in get()
367 mInstance = null; in binderDied()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java97 private static Tracer mInstance = null; field in Tracer
106 if (mInstance == null) { in getInstance()
107 mInstance = new Tracer(); in getInstance()
109 return mInstance; in getInstance()
/frameworks/av/services/audioflinger/
DBufLog.cpp36 BufLog *BufLogSingleton::mInstance = NULL; member in BufLogSingleton
39 mInstance = new BufLog(); in initOnce()
48 return mInstance; in instance()
52 return mInstance != NULL; in instanceExists()
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp76 #define GET_INST_PROC(F) m##F = (PFN_vk##F)vkGetInstanceProcAddr(mInstance, "vk" #F)
100 if (mInstance != VK_NULL_HANDLE) { in ~VulkanManager()
101 mDestroyInstance(mInstance, nullptr); in ~VulkanManager()
107 mInstance = VK_NULL_HANDLE; in ~VulkanManager()
165 err = mCreateInstance(&instance_create, nullptr, &mInstance); in setupDevice()
178 LOG_ALWAYS_FATAL_IF(mEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in setupDevice()
183 err = mEnumeratePhysicalDevices(mInstance, &gpuCount, &mPhysicalDevice); in setupDevice()
230 grExtensions.init(sSkiaGetProp, mInstance, mPhysicalDevice, mInstanceExtensions.size(), in setupDevice()
370 backendContext.fInstance = mInstance; in createContext()
385 .instance = mInstance, in getVkFunctorInitParams()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java526 private ILights mInstance = null; field in LightsService.VintfHalCache
530 if (mInstance == null) { in get()
534 mInstance = ILights.Stub.asInterface(binder); in get()
538 Slog.e(TAG, "Unable to register DeathRecipient for " + mInstance); in get()
542 return mInstance; in get()
547 mInstance = null; in binderDied()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java40 private static SystemKeyStore mInstance = new SystemKeyStore(); field in SystemKeyStore
45 return mInstance; in getInstance()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceInjector.java68 private volatile T mInstance = null; field in PackageManagerServiceInjector.Singleton
76 if (mInstance == null) { in get()
77 mInstance = mProducer.produce(injector, packageManagerService); in get()
79 return mInstance; in get()
/frameworks/native/libs/gui/include/gui/
DDebugEGLImageTracker.h38 static std::atomic<DebugEGLImageTracker *> mInstance; variable

12