HomeSort by relevance Sort by last modified time
    Searched refs:mInstance (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/util/
Singleton.java 27 private T mInstance;
33 if (mInstance == null) {
34 mInstance = create();
36 return mInstance;
  /cts/suite/audio_quality/lib/src/
Settings.cpp 20 Settings* Settings::mInstance = NULL;
24 if (mInstance == NULL) {
25 mInstance = new Settings();
27 return mInstance;
32 delete mInstance;
33 mInstance = NULL;
Log.cpp 22 Log* Log::mInstance = NULL;
30 if (!mInstance) {
31 mInstance = new Log();
32 ASSERT_PLAIN(mInstance->init(dirName));
34 return mInstance;
38 delete mInstance;
39 mInstance = NULL;
Report.cpp 24 Report* Report::mInstance = NULL;
28 if (mInstance == NULL) {
29 mInstance = new Report();
30 ASSERT(mInstance->init(dirName));
32 return mInstance;
36 delete mInstance;
37 mInstance = NULL;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
CursorAnchorInfoCompatWrapper.java 119 private final CursorAnchorInfo mInstance;
122 mInstance = info;
127 return mInstance.getSelectionStart();
132 return mInstance.getSelectionEnd();
137 return mInstance.getComposingText();
142 return mInstance.getComposingTextStart();
147 return mInstance.getMatrix();
152 return mInstance.getCharacterBounds(index);
157 return mInstance.getCharacterBoundsFlags(index);
162 return mInstance.getInsertionMarkerBaseline()
    [all...]
  /art/test/076-boolean-put/src/
Main.java 27 private boolean mInstance;
44 mInstance |= true;
  /cts/tests/tests/midi/src/android/midi/cts/
MidiEchoTestService.java 36 private static MidiEchoTestService mInstance;
46 mInstance = this;
56 return mInstance;
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
EventManager.java 9 private static EventManager mInstance;
24 if(mInstance == null) mInstance = new EventManager();
25 return mInstance;
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
Choreographer_Delegate.java 33 static final AtomicReference<Choreographer> mInstance = new AtomicReference<Choreographer>();
37 if (mInstance.get() == null) {
38 mInstance.compareAndSet(null, Choreographer.getInstance_Original());
41 return mInstance.get();
  /platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/
DPadHelper.java 28 private static DPadHelper mInstance;
37 if (mInstance == null) {
38 mInstance = new DPadHelper(instrumentation);
40 return mInstance;
  /platform_testing/tests/functional/launchertests/src/com/android/launcher/functional/
HotseatHelper.java 41 public static HotseatHelper mInstance = null;
49 if (mInstance == null) {
50 mInstance = new HotseatHelper(device, context);
52 return mInstance;
  /frameworks/base/core/java/android/bluetooth/
BluetoothGattDescriptor.java 100 protected int mInstance;
155 mInstance = instance;
168 out.writeInt(mInstance);
185 mInstance = in.readInt();
226 return mInstance;
  /frameworks/base/core/java/android/ddm/
DdmHandleExit.java 32 private static DdmHandleExit mInstance = new DdmHandleExit();
42 DdmServer.registerHandler(CHUNK_EXIT, mInstance);
DdmHandleNativeHeap.java 31 private static DdmHandleNativeHeap mInstance = new DdmHandleNativeHeap();
41 DdmServer.registerHandler(CHUNK_NHGT, mInstance);
DdmHandleProfiling.java 40 private static DdmHandleProfiling mInstance = new DdmHandleProfiling();
50 DdmServer.registerHandler(CHUNK_MPRS, mInstance);
51 DdmServer.registerHandler(CHUNK_MPRE, mInstance);
52 DdmServer.registerHandler(CHUNK_MPSS, mInstance);
53 DdmServer.registerHandler(CHUNK_MPSE, mInstance);
54 DdmServer.registerHandler(CHUNK_MPRQ, mInstance);
55 DdmServer.registerHandler(CHUNK_SPSS, mInstance);
56 DdmServer.registerHandler(CHUNK_SPSE, mInstance);
DdmHandleHeap.java 43 private static DdmHandleHeap mInstance = new DdmHandleHeap();
53 DdmServer.registerHandler(CHUNK_HPIF, mInstance);
54 DdmServer.registerHandler(CHUNK_HPSG, mInstance);
55 DdmServer.registerHandler(CHUNK_HPDU, mInstance);
56 DdmServer.registerHandler(CHUNK_HPDS, mInstance);
57 DdmServer.registerHandler(CHUNK_NHSG, mInstance);
58 DdmServer.registerHandler(CHUNK_HPGC, mInstance);
59 DdmServer.registerHandler(CHUNK_REAE, mInstance);
60 DdmServer.registerHandler(CHUNK_REAQ, mInstance);
61 DdmServer.registerHandler(CHUNK_REAL, mInstance);
    [all...]
DdmHandleThread.java 37 private static DdmHandleThread mInstance = new DdmHandleThread();
47 DdmServer.registerHandler(CHUNK_THEN, mInstance);
48 DdmServer.registerHandler(CHUNK_THST, mInstance);
49 DdmServer.registerHandler(CHUNK_STKL, mInstance);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
RilMessageDecoder.java 45 private static RilMessageDecoder[] mInstance = null;
60 if (null == mInstance) {
62 mInstance = new RilMessageDecoder[mSimCount];
64 mInstance[i] = null;
69 if (null == mInstance[slotId]) {
70 mInstance[slotId] = new RilMessageDecoder(caller, fh);
77 return mInstance[slotId];
208 mInstance = null;
  /cts/suite/audio_quality/lib/include/
Settings.h 38 static Settings* mInstance;
Report.h 56 static Report* mInstance;
  /platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
UiBenchJankTestsHelper.java 41 private static UiBenchJankTestsHelper mInstance;
52 if (mInstance == null) {
53 mInstance = new UiBenchJankTestsHelper(context, device);
55 return mInstance;
  /frameworks/base/services/core/java/com/android/server/location/
ActivityRecognitionProxy.java 40 private final ActivityRecognitionHardware mInstance;
51 mInstance = activityRecognitionHardware;
126 if (mInstance == null) {
133 watcher.onInstanceChanged(mInstance);
145 client.onAvailabilityChanged(mIsSupported, mInstance);
  /frameworks/base/core/java/android/view/inputmethod/
InputMethodSubtypeArray.java 58 mInstance = subtypes.toArray(new InputMethodSubtype[mCount]);
98 final byte[] decompressedData = marshall(mInstance);
134 InputMethodSubtype[] instance = mInstance;
137 instance = mInstance;
150 mInstance = instance;
167 private volatile InputMethodSubtype[] mInstance;
  /packages/apps/UnifiedEmail/src/com/android/mail/analytics/
AnalyticsTimer.java 43 private static final AnalyticsTimer mInstance = new AnalyticsTimer();
48 return mInstance;
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
Tracer.java 97 private static Tracer mInstance = null;
106 if (mInstance == null) {
107 mInstance = new Tracer();
109 return mInstance;

Completed in 2234 milliseconds

1 2 3 4 5