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.java166 private KeyChainSnapshot mInstance = new KeyChainSnapshot(); field in KeyChainSnapshot.Builder
175 mInstance.mSnapshotVersion = snapshotVersion; in setSnapshotVersion()
186 mInstance.mMaxAttempts = maxAttempts; in setMaxAttempts()
197 mInstance.mCounterId = counterId; in setCounterId()
208 mInstance.mServerParams = serverParams; in setServerParams()
223 mInstance.mCertPath = RecoveryCertPath.createRecoveryCertPath(certPath); in setTrustedHardwareCertPath()
235 mInstance.mKeyChainProtectionParams = keyChainProtectionParams; in setKeyChainProtectionParams()
247 mInstance.mEntryRecoveryData = entryRecoveryData; in setWrappedApplicationKeys()
259 mInstance.mEncryptedRecoveryKeyBlob = encryptedRecoveryKeyBlob; in setEncryptedRecoveryKeyBlob()
271 Preconditions.checkCollectionElementsNotNull(mInstance.mKeyChainProtectionParams, in build()
[all …]
DKeyChainProtectionParams.java158 private KeyChainProtectionParams mInstance = new KeyChainProtectionParams(); field in KeyChainProtectionParams.Builder
169 mInstance.mUserSecretType = userSecretType; in setUserSecretType()
183 mInstance.mLockScreenUiFormat = lockScreenUiFormat; in setLockScreenUiFormat()
195 mInstance.mKeyDerivationParams = keyDerivationParams; in setKeyDerivationParams()
206 mInstance.mSecret = secret; in setSecret()
220 if (mInstance.mUserSecretType == null) { in build()
221 mInstance.mUserSecretType = TYPE_LOCKSCREEN; in build()
223 Preconditions.checkNotNull(mInstance.mLockScreenUiFormat); in build()
224 Preconditions.checkNotNull(mInstance.mKeyDerivationParams); in build()
225 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 Preconditions.checkNotNull(mInstance.mAlias); in build()
110 Preconditions.checkNotNull(mInstance.mEncryptedKeyMaterial); in build()
111 return mInstance; in build()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DFileUpdaterTest.java103 private FileUpdaterTestable mInstance; field in FileUpdaterTest
119 mInstance = newInstance(); in setUp()
149 mInstance.writeFiles(values); in testNoWrites()
155 mInstance.restoreDefault(); in testNoWrites()
174 mInstance.writeFiles(values); in testSimpleWrite()
180 mInstance.restoreDefault(); in testSimpleWrite()
201 mInstance.writeFiles(values); in testMultiWrites()
209 mInstance.restoreDefault(); in testMultiWrites()
230 mInstance.writeFiles(values); in testCantReadDefault()
239 mInstance.restoreDefault(); in testCantReadDefault()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DFuseAppLoop.java74 private long mInstance; field in FuseAppLoop
82 mInstance = native_new(fd.detachFd()); in FuseAppLoop()
84 native_start(mInstance); in FuseAppLoop()
86 native_delete(mInstance); in FuseAppLoop()
87 mInstance = 0; in FuseAppLoop()
104 if (mInstance == 0) { in registerCallback()
161 if (mInstance != 0) {
162 native_replyLookup(mInstance, unique, inode, fileSize);
171 if (mInstance != 0) {
172 native_replyGetAttr(mInstance, unique, inode, fileSize);
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleHeap.java43 private static DdmHandleHeap mInstance = new DdmHandleHeap(); field in DdmHandleHeap
53 DdmServer.registerHandler(CHUNK_HPIF, mInstance); in register()
54 DdmServer.registerHandler(CHUNK_HPSG, mInstance); in register()
55 DdmServer.registerHandler(CHUNK_HPDU, mInstance); in register()
56 DdmServer.registerHandler(CHUNK_HPDS, mInstance); in register()
57 DdmServer.registerHandler(CHUNK_NHSG, mInstance); in register()
58 DdmServer.registerHandler(CHUNK_HPGC, mInstance); in register()
59 DdmServer.registerHandler(CHUNK_REAE, mInstance); in register()
60 DdmServer.registerHandler(CHUNK_REAQ, mInstance); in register()
61 DdmServer.registerHandler(CHUNK_REAL, mInstance); in register()
DDdmHandleProfiling.java40 private static DdmHandleProfiling mInstance = new DdmHandleProfiling(); field in DdmHandleProfiling
50 DdmServer.registerHandler(CHUNK_MPRS, mInstance); in register()
51 DdmServer.registerHandler(CHUNK_MPRE, mInstance); in register()
52 DdmServer.registerHandler(CHUNK_MPSS, mInstance); in register()
53 DdmServer.registerHandler(CHUNK_MPSE, mInstance); in register()
54 DdmServer.registerHandler(CHUNK_MPRQ, mInstance); in register()
55 DdmServer.registerHandler(CHUNK_SPSS, mInstance); in register()
56 DdmServer.registerHandler(CHUNK_SPSE, mInstance); in register()
DDdmHandleThread.java37 private static DdmHandleThread mInstance = new DdmHandleThread(); field in DdmHandleThread
47 DdmServer.registerHandler(CHUNK_THEN, mInstance); in register()
48 DdmServer.registerHandler(CHUNK_THST, mInstance); in register()
49 DdmServer.registerHandler(CHUNK_STKL, mInstance); in register()
DDdmHandleExit.java32 private static DdmHandleExit mInstance = new DdmHandleExit(); field in DdmHandleExit
42 DdmServer.registerHandler(CHUNK_EXIT, mInstance); in register()
DDdmHandleNativeHeap.java31 private static DdmHandleNativeHeap mInstance = new DdmHandleNativeHeap(); field in DdmHandleNativeHeap
41 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/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/base/core/java/android/bluetooth/
DBluetoothGattDescriptor.java105 protected int mInstance; field in BluetoothGattDescriptor
164 mInstance = instance; in initDescriptor()
176 out.writeInt(mInstance); in writeToParcel()
193 mInstance = in.readInt(); in BluetoothGattDescriptor()
237 return mInstance; in getInstanceId()
246 mInstance = instanceId; in setInstanceId()
DBluetoothGattCharacteristic.java187 protected int mInstance; field in BluetoothGattCharacteristic
275 mInstance = instanceId; in initCharacteristic()
297 out.writeInt(mInstance); in writeToParcel()
318 mInstance = in.readInt(); in BluetoothGattCharacteristic()
410 return mInstance; in getInstanceId()
419 mInstance = instanceId; in setInstanceId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java48 private static RilMessageDecoder[] mInstance = null; field in RilMessageDecoder
65 if (null == mInstance) { in getInstance()
67 mInstance = new RilMessageDecoder[mSimCount]; in getInstance()
69 mInstance[i] = null; in getInstance()
74 if (null == mInstance[slotId]) { in getInstance()
75 mInstance[slotId] = new RilMessageDecoder(caller, fh); in getInstance()
82 return mInstance[slotId]; in getInstance()
215 mInstance = null; in dispose()
/frameworks/base/services/core/java/com/android/server/location/
DActivityRecognitionProxy.java68 private final ActivityRecognitionHardware mInstance; field in ActivityRecognitionProxy
78 mInstance = activityRecognitionHardware; in ActivityRecognitionProxy()
103 if (mInstance != null) { in initializeService()
104 watcher.onInstanceChanged(mInstance); in initializeService()
110 client.onAvailabilityChanged(mIsSupported, mInstance); in initializeService()
/frameworks/native/libs/gui/
DDebugEGLImageTracker.cpp27 std::atomic<DebugEGLImageTracker *> DebugEGLImageTracker::mInstance; member in DebugEGLImageTracker
59 if (mInstance == nullptr) { in getInstance()
65 mInstance = new DebugEGLImageTrackerImpl(); in getInstance()
67 mInstance = new DebugEGLImageTrackerNoOp(); in getInstance()
71 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/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java34 …private static final AtomicReference<Choreographer> mInstance = new AtomicReference<Choreographer>… field in Choreographer_Delegate
38 if (mInstance.get() == null) { in getInstance()
39 mInstance.compareAndSet(null, Choreographer.getInstance_Original()); in getInstance()
42 return mInstance.get(); in getInstance()
/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.cpp57 #define GET_INST_PROC(F) m##F = (PFN_vk##F)vkGetInstanceProcAddr(mInstance, "vk" #F)
71 if (mInstance != VK_NULL_HANDLE) { in destroy()
72 mDestroyInstance(mInstance, nullptr); in destroy()
79 mInstance = VK_NULL_HANDLE; in destroy()
137 err = mCreateInstance(&instance_create, nullptr, &mInstance); in setupDevice()
156 LOG_ALWAYS_FATAL_IF(mEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in setupDevice()
161 err = mEnumeratePhysicalDevices(mInstance, &gpuCount, &mPhysicalDevice); in setupDevice()
219 grExtensions.init(getProc, mInstance, mPhysicalDevice, mInstanceExtensions.size(), in setupDevice()
389 backendContext.fInstance = mInstance; in createContext()
404 .instance = mInstance, in getVkFunctorInitParams()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java40 private static SystemKeyStore mInstance = new SystemKeyStore(); field in SystemKeyStore
45 return mInstance; in getInstance()
/frameworks/native/cmds/flatland/
DMain.cpp378 mInstance(instance), in BenchmarkRunner()
390 float scaleFactor = float(mDesc.runHeights[mInstance]) / in setUp()
393 uint32_t h = mDesc.runHeights[mInstance]; in setUp()
564 const size_t mInstance; member in BenchmarkRunner

12