Home
last modified time | relevance | path

Searched refs:TileService (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/service/quicksettings/
DTileServiceTest.java53 private TileService mTileService;
68 mTileService = new TileService(); in setUp()
74 intent.putExtra(TileService.EXTRA_SERVICE, mIQSService); in testErrorRetrievingTile_nullBinding()
75 intent.putExtra(TileService.EXTRA_TOKEN, mTileToken); in testErrorRetrievingTile_nullBinding()
86 intent.putExtra(TileService.EXTRA_SERVICE, mIQSService); in testNullTile_doesntSendStartSuccessful()
87 intent.putExtra(TileService.EXTRA_TOKEN, mTileToken); in testNullTile_doesntSendStartSuccessful()
100 intent.putExtra(TileService.EXTRA_SERVICE, mIQSService); in testBindSuccessful()
101 intent.putExtra(TileService.EXTRA_TOKEN, mTileToken); in testBindSuccessful()
/frameworks/base/core/java/android/service/quicksettings/
DTileService.java92 public class TileService extends Service { class
398 String name = TileService.this.getClass().getSimpleName(); in onBind()
455 mTileServiceName = TileService.this.getClass().getSimpleName();
467 TileService.this.onTileAdded();
473 TileService.this.onStopListening();
475 TileService.this.onTileRemoved();
481 TileService.this.onStopListening();
488 TileService.this.onStartListening();
494 TileService.this.onClick();
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileUserActionInteractor.kt30 import android.service.quicksettings.TileService
152 Intent(TileService.ACTION_QS_TILE_PREFERENCES).apply { in longClick()
159 putExtra(TileService.EXTRA_STATE, state) in longClick()
186 Intent(TileService.ACTION_QS_TILE_PREFERENCES).apply { in resolveIntent()
DCustomTileServiceInteractor.kt27 import android.service.quicksettings.TileService
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DFakePackageManagerAdapterFacade.kt69 android.service.quicksettings.TileService.META_DATA_TOGGLEABLE_TILE, in createServiceInfo()
73 android.service.quicksettings.TileService.META_DATA_ACTIVE_TILE, in createServiceInfo()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoTile.java21 import android.service.quicksettings.TileService;
27 public class NekoTile extends TileService implements PrefsListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileRepository.kt24 import android.service.quicksettings.TileService
171 info.metaData?.getBoolean(TileService.META_DATA_ACTIVE_TILE, false) == true in restoreForTheUserIfNeeded()
185 info.metaData?.getBoolean(TileService.META_DATA_TOGGLEABLE_TILE, false) == true in restoreForTheUserIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java31 import android.service.quicksettings.TileService;
85 new Intent(TileService.ACTION_QS_TILE).setComponent(component), in TileServiceManager()
303 Intent queryIntent = new Intent(TileService.ACTION_QS_TILE);
DTileLifecycleManager.java20 import static android.service.quicksettings.TileService.START_ACTIVITY_NEEDS_PENDING_INTENT;
44 import android.service.quicksettings.TileService;
145 mIntent.putExtra(TileService.EXTRA_SERVICE, service.asBinder()); in TileLifecycleManager()
146 mIntent.putExtra(TileService.EXTRA_TOKEN, mToken); in TileLifecycleManager()
193 && info.metaData.getBoolean(TileService.META_DATA_ACTIVE_TILE, false); in isActiveTile()
211 && info.metaData.getBoolean(TileService.META_DATA_TOGGLEABLE_TILE, false); in isToggleableTile()
DCustomTile.java40 import android.service.quicksettings.TileService;
393 Intent i = new Intent(TileService.ACTION_QS_TILE_PREFERENCES); in getLongClickIntent()
398 i.putExtra(TileService.EXTRA_STATE, mTile.getState()); in getLongClickIntent()
408 return result != null ? new Intent(TileService.ACTION_QS_TILE_PREFERENCES) in resolveIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepository.kt28 import android.service.quicksettings.TileService
117 private val INTENT = Intent(TileService.ACTION_QS_TILE) in getInstalledTilesComponents()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileUserActionInteractorTest.kt29 import android.service.quicksettings.TileService
142 assertThat(intent.action).isEqualTo(TileService.ACTION_QS_TILE_PREFERENCES) in longClickOpensResolvedIntent()
151 assertThat(intent.getIntExtra(TileService.EXTRA_STATE, Int.MAX_VALUE)) in longClickOpensResolvedIntent()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md184 ## Third party tiles (TileService)
188 subclassing [`TileService`](/core/java/android/service/quicksettings/TileService.java) and
210 #### TileService subsubsection
263 this `TileService` and match it to the corresponding tile.
272 A `TileService` can be declared as an active tile by adding specific meta-data to its manifest (
273 see [TileService#META_DATA_ACTIVE_TILE](https://developer.android.com/reference/android/service/qui…
275 must request listening status by making a call to `TileService#requestListeningState` with its
296 that receives all calls from current `TileService` components and dispatches them to SystemUI or the
300 the `TileService` with the `ComponentName` and verifies that the call comes from the right UID to
303 As this class is the only one that's aware of every `TileService` that's currently bound, it is also
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarShellCommand.java29 import android.service.quicksettings.TileService;
70 pw.println(String.valueOf(TileService.isQuickSettingsSupported())); in onCommand()
DStatusBarManagerService.java80 import android.service.quicksettings.TileService;
1991 Intent intent = new Intent(TileService.ACTION_QS_TILE); in isComponentValidTileService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java20 import static android.service.quicksettings.TileService.START_ACTIVITY_NEEDS_PENDING_INTENT;
65 import android.service.quicksettings.TileService;
174 defaultServiceInfo.metaData.putBoolean(TileService.META_DATA_ACTIVE_TILE, true); in setPackageEnabled()
175 defaultServiceInfo.metaData.putBoolean(TileService.META_DATA_TOGGLEABLE_TILE, true); in setPackageEnabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepositoryImplTest.kt29 import android.service.quicksettings.TileService in <lambda>()
276 private val INTENT = Intent(TileService.ACTION_QS_TILE) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java72 import android.service.quicksettings.TileService;
355 new Intent(TileService.ACTION_QS_TILE).setComponent(TEST_COMPONENT)); in testValidComponent_fail_noComponentFound()
375 new Intent(TileService.ACTION_QS_TILE).setComponent(TEST_COMPONENT)); in testValidComponent_fail_notEnabled()
397 new Intent(TileService.ACTION_QS_TILE).setComponent(TEST_COMPONENT)); in testValidComponent_fail_noPermission()
421 new Intent(TileService.ACTION_QS_TILE).setComponent(TEST_COMPONENT)); in testValidComponent_fail_notExported()
445 new Intent(TileService.ACTION_QS_TILE).setComponent(TEST_COMPONENT)); in testValidComponent_pass()
1133 new Intent(TileService.ACTION_QS_TILE).setComponent(componentName)); in mockComponentInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java28 import android.service.quicksettings.TileService;
208 new Intent(TileService.ACTION_QS_TILE), 0, mUserTracker.getUserId()); in addPackageTiles()
/frameworks/base/boot/
Dpreloaded-classes7130 android.service.quicksettings.TileService$2
7131 android.service.quicksettings.TileService$H
7132 android.service.quicksettings.TileService
Dboot-image-profile.txt29534 Landroid/service/quicksettings/TileService$2;
29535 Landroid/service/quicksettings/TileService$H;
29536 Landroid/service/quicksettings/TileService;
/frameworks/base/core/api/
Dtest-current.txt3182 public class TileService extends android.app.Service {
/frameworks/base/config/
Dpreloaded-classes7134 android.service.quicksettings.TileService$2
7135 android.service.quicksettings.TileService$H
7136 android.service.quicksettings.TileService
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt49558 Landroid/service/quicksettings/TileService$H;->MSG_START_LISTENING:I
49559 Landroid/service/quicksettings/TileService$H;->MSG_START_SUCCESS:I
49560 Landroid/service/quicksettings/TileService$H;->MSG_STOP_LISTENING:I
49561 Landroid/service/quicksettings/TileService$H;->MSG_TILE_ADDED:I
49562 Landroid/service/quicksettings/TileService$H;->MSG_TILE_CLICKED:I
49563 Landroid/service/quicksettings/TileService$H;->MSG_TILE_REMOVED:I
49564 Landroid/service/quicksettings/TileService$H;->MSG_UNLOCK_COMPLETE:I
49565 Landroid/service/quicksettings/TileService;->ACTION_REQUEST_LISTENING:Ljava/lang/String;
49566 Landroid/service/quicksettings/TileService;->EXTRA_SERVICE:Ljava/lang/String;
49567 Landroid/service/quicksettings/TileService;->EXTRA_STATE:Ljava/lang/String;
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12