Searched refs:TileService (Results 1 – 25 of 28) sorted by relevance
12
53 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()
92 public class TileService extends Service { class398 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();
30 import android.service.quicksettings.TileService152 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()
27 import android.service.quicksettings.TileService
69 android.service.quicksettings.TileService.META_DATA_TOGGLEABLE_TILE, in createServiceInfo()73 android.service.quicksettings.TileService.META_DATA_ACTIVE_TILE, in createServiceInfo()
21 import android.service.quicksettings.TileService;27 public class NekoTile extends TileService implements PrefsListener {
24 import android.service.quicksettings.TileService171 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()
31 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);
20 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()
40 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()
28 import android.service.quicksettings.TileService117 private val INTENT = Intent(TileService.ACTION_QS_TILE) in getInstalledTilesComponents()
29 import android.service.quicksettings.TileService142 assertThat(intent.action).isEqualTo(TileService.ACTION_QS_TILE_PREFERENCES) in longClickOpensResolvedIntent()151 assertThat(intent.getIntExtra(TileService.EXTRA_STATE, Int.MAX_VALUE)) in longClickOpensResolvedIntent()
184 ## Third party tiles (TileService)188 subclassing [`TileService`](/core/java/android/service/quicksettings/TileService.java) and210 #### TileService subsubsection263 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 its296 that receives all calls from current `TileService` components and dispatches them to SystemUI or the300 the `TileService` with the `ComponentName` and verifies that the call comes from the right UID to303 As this class is the only one that's aware of every `TileService` that's currently bound, it is also[all …]
29 import android.service.quicksettings.TileService;70 pw.println(String.valueOf(TileService.isQuickSettingsSupported())); in onCommand()
80 import android.service.quicksettings.TileService;1991 Intent intent = new Intent(TileService.ACTION_QS_TILE); in isComponentValidTileService()
20 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()
29 import android.service.quicksettings.TileService in <lambda>()276 private val INTENT = Intent(TileService.ACTION_QS_TILE) in <lambda>()
72 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()
28 import android.service.quicksettings.TileService;208 new Intent(TileService.ACTION_QS_TILE), 0, mUserTracker.getUserId()); in addPackageTiles()
7130 android.service.quicksettings.TileService$27131 android.service.quicksettings.TileService$H7132 android.service.quicksettings.TileService
29534 Landroid/service/quicksettings/TileService$2;29535 Landroid/service/quicksettings/TileService$H;29536 Landroid/service/quicksettings/TileService;
3182 public class TileService extends android.app.Service {
7134 android.service.quicksettings.TileService$27135 android.service.quicksettings.TileService$H7136 android.service.quicksettings.TileService
49558 Landroid/service/quicksettings/TileService$H;->MSG_START_LISTENING:I49559 Landroid/service/quicksettings/TileService$H;->MSG_START_SUCCESS:I49560 Landroid/service/quicksettings/TileService$H;->MSG_STOP_LISTENING:I49561 Landroid/service/quicksettings/TileService$H;->MSG_TILE_ADDED:I49562 Landroid/service/quicksettings/TileService$H;->MSG_TILE_CLICKED:I49563 Landroid/service/quicksettings/TileService$H;->MSG_TILE_REMOVED:I49564 Landroid/service/quicksettings/TileService$H;->MSG_UNLOCK_COMPLETE:I49565 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 …]
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...