/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ |
D | TestApis.kt | 60 fun users(): Users = Users.sInstance 64 fun packages(): Packages = Packages.sInstance 72 fun permissions(): Permissions = Permissions.sInstance 76 fun context(): Context = Context.sInstance 84 fun systemProperties(): SystemProperties = SystemProperties.sInstance 89 fun activities(): Activities = Activities.sInstance 97 fun device(): Device = Device.sInstance 102 fun location(): Locations = Locations.sInstance 112 fun bluetooth(): Bluetooth = Bluetooth.sInstance 121 fun inputMethods(): InputMethods = InputMethods.sInstance [all …]
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/activity/ |
D | SingleUseActivity.java | 28 private static @Nullable SingleUseActivity sInstance; field in SingleUseActivity 31 return sInstance; in getInstance() 37 if (sInstance != null) { in onCreate() 38 Log.wtf(TAG, "instance already set onCreate(): " + sInstance); in onCreate() 40 sInstance = this; in onCreate() 45 if (this != sInstance) { in onDestroy() 48 sInstance = null; in onDestroy()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | SecondaryConditionProviderService.java | 21 private static PollableConditionProviderService sInstance = null; field in SecondaryConditionProviderService 29 return sInstance; in getInstance() 35 sInstance = this; in onConnected() 40 sInstance = null; in onDestroy()
|
D | LegacyConditionProviderService.java | 22 private static PollableConditionProviderService sInstance = null; field in LegacyConditionProviderService 30 return sInstance; in getInstance() 36 sInstance = this; in onConnected() 41 sInstance = null; in onDestroy()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MyDrawable.java | 34 private static MyDrawable sInstance; field in MyDrawable 39 if (sInstance != null) { in MyDrawable() 42 sInstance = this; in MyDrawable() 47 if (sInstance != null && sAutofilledBounds == null) { in draw() 80 sInstance = null; in initStatus() 86 sInstance = null; in clearStatus()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | OutOfProcessLoginActivity.java | 37 private static OutOfProcessLoginActivity sInstance; field in OutOfProcessLoginActivity 48 sInstance = this; in onCreate() 93 sInstance = null; in onDestroy() 127 Log.v(TAG, "Finishing " + sInstance); in finishIt() 128 if (sInstance != null) { in finishIt() 129 sInstance.finish(); in finishIt() 134 return sInstance != null; in hasInstance()
|
D | SecondActivity.java | 37 private static SecondActivity sInstance; field in SecondActivity 44 sInstance = this; in SecondActivity() 62 sInstance = null; in onDestroy() 66 if (sInstance != null) { in finishIt() 67 sInstance.finish(); in finishIt()
|
D | ViewActionActivity.java | 35 private static ViewActionActivity sInstance; field in ViewActionActivity 49 sInstance = this; in ViewActionActivity() 82 sInstance = null; in onDestroy() 101 if (sInstance != null) { in finishIt() 102 sInstance.finish(); in finishIt()
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | NotAlwaysSyncableSyncService.java | 25 private static SyncAdapter sInstance; field in NotAlwaysSyncableSyncService 29 if (sInstance == null) { in getInstance() 30 sInstance = new SyncAdapter(context.getApplicationContext(), false); in getInstance() 34 return sInstance; in getInstance()
|
D | AlwaysSyncableSyncService.java | 25 private static SyncAdapter sInstance; field in AlwaysSyncableSyncService 29 if (sInstance == null) { in getInstance() 30 sInstance = new SyncAdapter(context.getApplicationContext(), false); in getInstance() 34 return sInstance; in getInstance()
|
/cts/tests/quicksettings/src/android/quicksettings/cts/ |
D | CurrentTestState.java | 70 private static AtomicReference<TestTileService> sInstance = new AtomicReference<>(); field in CurrentTestState 76 sInstance.set(null); in reset() 83 return sInstance.get(); in getCurrentInstance() 87 CurrentTestState.sInstance.set(instance); in setCurrentInstance() 91 return sInstance.get() != null; in isListening()
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | CarTaskViewControllerTest.java | 131 if (EmbeddedTestActivity1.sInstance != null) { in tearDown() 132 EmbeddedTestActivity1.sInstance.finishAndRemoveTask(); in tearDown() 133 EmbeddedTestActivity1.sInstance.waitForDestroyed(); in tearDown() 134 EmbeddedTestActivity1.sInstance = null; in tearDown() 136 if (EmbeddedTestActivity2.sInstance != null) { in tearDown() 137 EmbeddedTestActivity2.sInstance.finishAndRemoveTask(); in tearDown() 138 EmbeddedTestActivity2.sInstance.waitForDestroyed(); in tearDown() 139 EmbeddedTestActivity2.sInstance = null; in tearDown() 185 assertThat(EmbeddedTestActivity1.sInstance.getUserId()) in createMultipleControlledRemoteCarTaskView_startsTheTask() 193 assertThat(EmbeddedTestActivity2.sInstance.getUserId()) in createMultipleControlledRemoteCarTaskView_startsTheTask() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ |
D | TestGbaConfig.java | 33 private static TestGbaConfig sInstance; field in TestGbaConfig 39 if (sInstance == null) { in getInstance() 40 sInstance = new TestGbaConfig(); in getInstance() 42 return sInstance; in getInstance()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | NestedShellPermission.java | 30 private static NestedShellPermission sInstance; field in NestedShellPermission 37 if (sInstance == null) { in getInstance() 38 sInstance = new NestedShellPermission(); in getInstance() 40 return sInstance; in getInstance()
|
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/ |
D | PermissionsTransferCompanionService.java | 22 static CompanionDeviceService sInstance; field in PermissionsTransferCompanionService 26 sInstance = this; in onCreate() 32 sInstance = null; in onDestroy()
|
/cts/tests/tests/appenumeration/app/target/src/android/appenumeration/testapp/ |
D | MockSyncAdapterService.java | 31 private static SyncAdapter sInstance; field in MockSyncAdapterService 35 if (sInstance == null) { in onBind() 36 sInstance = new SyncAdapter(getApplicationContext()); in onBind() 38 return sInstance.getSyncAdapterBinder(); in onBind()
|
D | MockAuthenticatorService.java | 31 private static Authenticator sInstance; field in MockAuthenticatorService 35 if (sInstance == null) { in onBind() 36 sInstance = new Authenticator(getApplicationContext()); in onBind() 38 return sInstance.getIBinder(); in onBind()
|
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/ |
D | MyActivity.java | 25 private static volatile MyActivity sInstance; field in MyActivity 28 return sInstance; in getInstance() 36 sInstance = this; in onCreate() 49 sInstance = null; in onDestroy()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicyResources.java | 29 public static final DevicePolicyResources sInstance = new DevicePolicyResources(); field in DevicePolicyResources 39 return DevicePolicyDrawableResources.sInstance; in drawables() 46 return DevicePolicyStringResources.sInstance; in strings()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStoreAudioTestHelper.java | 85 private static Audio1 sInstance = new Audio1(); field in MediaStoreAudioTestHelper.Audio1 88 return sInstance; in getInstance() 146 private static Audio2 sInstance = new Audio2(); field in MediaStoreAudioTestHelper.Audio2 149 return sInstance; in getInstance() 208 private static Audio3 sInstance = new Audio3(); field in MediaStoreAudioTestHelper.Audio3 211 return sInstance; in getInstance() 226 private static Audio4 sInstance = new Audio4(); field in MediaStoreAudioTestHelper.Audio4 229 return sInstance; in getInstance() 244 private static Audio5 sInstance = new Audio5(); field in MediaStoreAudioTestHelper.Audio5 247 return sInstance; in getInstance() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/inprocime/ |
D | InProcIme.java | 29 private static AtomicReference<InProcIme> sInstance = new AtomicReference<>(); field in InProcIme 35 sInstance.compareAndSet(null, this); in onCreate() 42 sInstance.compareAndSet(this, null); in onDestroy() 48 return sInstance.get(); in getInstance()
|
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/ |
D | MyActivity.java | 25 private static volatile MyActivity sInstance; field in MyActivity 28 return sInstance; in getInstance() 36 sInstance = this; in onCreate()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaSession2Service.java | 41 private static StubMediaSession2Service sInstance; field in StubMediaSession2Service 53 return sInstance; in getInstance() 67 sInstance = this; in onCreate() 81 sInstance = null; in onDestroy() 92 sInstance = null; in onUpdateNotification()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestAcsClient.java | 35 private static TestAcsClient sInstance; field in TestAcsClient 40 if (sInstance == null) { in getInstance() 41 sInstance = new TestAcsClient(); in getInstance() 43 return sInstance; in getInstance()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | CarTestUtil.java | 44 private static CarTestUtil sInstance; field in CarTestUtil 57 if (sInstance == null) { in getInstance() 58 sInstance = new CarTestUtil(); in getInstance() 60 return sInstance; in getInstance()
|