/frameworks/base/core/java/android/app/ |
D | FragmentState.java | 39 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/ |
D | KeyChainSnapshot.java | 167 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 …]
|
D | KeyChainProtectionParams.java | 157 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 …]
|
D | WrappedApplicationKey.java | 67 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/batterysaver/ |
D | FileUpdaterTest.java | 104 private FileUpdaterTestable mInstance; field in FileUpdaterTest 120 mInstance = newInstance(); in setUp() 150 mInstance.writeFiles(values); in testNoWrites() 156 mInstance.restoreDefault(); in testNoWrites() 175 mInstance.writeFiles(values); in testSimpleWrite() 181 mInstance.restoreDefault(); in testSimpleWrite() 202 mInstance.writeFiles(values); in testMultiWrites() 210 mInstance.restoreDefault(); in testMultiWrites() 231 mInstance.writeFiles(values); in testCantReadDefault() 240 mInstance.restoreDefault(); in testCantReadDefault() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ShutdownCheckPointsTest.java | 62 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/ |
D | FuseAppLoop.java | 76 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/ |
D | Singleton.java | 35 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/ |
D | BluetoothGattDescriptor.java | 105 protected int mInstance; field in BluetoothGattDescriptor 162 mInstance = instance; in initDescriptor() 174 out.writeInt(mInstance); in writeToParcel() 191 mInstance = in.readInt(); in BluetoothGattDescriptor() 233 return mInstance; in getInstanceId() 242 mInstance = instanceId; in setInstanceId()
|
D | BluetoothGattCharacteristic.java | 187 protected int mInstance; field in BluetoothGattCharacteristic 274 mInstance = instanceId; in initCharacteristic() 296 out.writeInt(mInstance); in writeToParcel() 317 mInstance = in.readInt(); in BluetoothGattCharacteristic() 408 return mInstance; in getInstanceId() 417 mInstance = instanceId; in setInstanceId()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | CallOrderStateMachineHelper.h | 104 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/ |
D | DdmHandleProfiling.java | 43 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()
|
D | DdmHandleExit.java | 34 private static DdmHandleExit mInstance = new DdmHandleExit(); field in DdmHandleExit 44 DdmServer.registerHandler(CHUNK_EXIT, mInstance); in register()
|
D | DdmHandleHeap.java | 32 private static DdmHandleHeap mInstance = new DdmHandleHeap(); field in DdmHandleHeap 42 DdmServer.registerHandler(CHUNK_HPGC, mInstance); in register()
|
D | DdmHandleNativeHeap.java | 32 private static DdmHandleNativeHeap mInstance = new DdmHandleNativeHeap(); field in DdmHandleNativeHeap 42 DdmServer.registerHandler(CHUNK_NHGT, mInstance); in register()
|
D | DdmHandleHello.java | 42 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/ |
D | HardwareActivityRecognitionProxy.java | 57 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/ |
D | RilMessageDecoder.java | 50 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/ |
D | DebugEGLImageTracker.cpp | 28 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/ |
D | InputMethodSubtypeArray.java | 60 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/ |
D | Choreographer_Delegate.java | 34 …private static final AtomicReference<Choreographer> mInstance = new AtomicReference<Choreographer>… field in Choreographer_Delegate 40 if (mInstance.get() == null) { in getInstance() 41 mInstance.compareAndSet(null, Choreographer.getInstance_Original()); in getInstance() 44 return mInstance.get(); in getInstance()
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsHALWrapper.java | 345 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/ |
D | Tracer.java | 97 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/ |
D | BufLog.cpp | 36 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/ |
D | VulkanManager.cpp | 73 #define GET_INST_PROC(F) m##F = (PFN_vk##F)vkGetInstanceProcAddr(mInstance, "vk" #F) 97 if (mInstance != VK_NULL_HANDLE) { in ~VulkanManager() 98 mDestroyInstance(mInstance, nullptr); in ~VulkanManager() 104 mInstance = VK_NULL_HANDLE; in ~VulkanManager() 162 err = mCreateInstance(&instance_create, nullptr, &mInstance); in setupDevice() 175 LOG_ALWAYS_FATAL_IF(mEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in setupDevice() 180 err = mEnumeratePhysicalDevices(mInstance, &gpuCount, &mPhysicalDevice); in setupDevice() 227 grExtensions.init(sSkiaGetProp, mInstance, mPhysicalDevice, mInstanceExtensions.size(), in setupDevice() 367 backendContext.fInstance = mInstance; in createContext() 382 .instance = mInstance, in getVkFunctorInitParams()
|