/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
SettingsFragment.java | 85 TvSingletons.getSingletons(getContext()) 130 if (TUNER.isEnabled(getContext())) { 132 TvSingletons.getSingletons(getContext()) 135 if (Utils.isInternalTvInput(getContext(), inputInfo.getId())) { 142 CustomizationManager.getTrickplayMode(getContext()) 157 CommonPreferences.getTrickplaySetting(getContext()) 170 CommonPreferences.setTrickplaySetting(getContext(), setting); 180 report.packageName = report.processName = getContext().getPackageName(); 187 if (Licenses.hasLicenses(getContext())) {
|
/packages/apps/Traceur/src/com/google/android/traceur/ |
SearchProvider.java | 52 Context context = getContext(); 60 ref[COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE] = getContext().getApplicationInfo().packageName; 70 Settings.Global.getInt(getContext().getContentResolver(), 76 Object[] row = new Object[] {getContext().getString(R.string.system_tracing)};
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
InputCustomNameFragment.java | 59 getContext().getDrawable(R.drawable.ic_input_132dp) 66 actions.add(new GuidedAction.Builder(getContext()) 69 actions.add(new GuidedAction.Builder(getContext()) 77 actions.add(new GuidedAction.Builder(getContext())
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
BaseCardViewTest.java | 84 BaseCardView cardView = new BaseCardView(InstrumentationRegistry.getContext()); 85 View main = new View(cardView.getContext()); 88 View info = new View(cardView.getContext()); 131 BaseCardView cardView = new BaseCardView(InstrumentationRegistry.getContext()); 132 View main = new View(cardView.getContext()); 135 View info = new View(cardView.getContext()); 178 BaseCardView cardView = new BaseCardView(InstrumentationRegistry.getContext()); 179 View main = new View(cardView.getContext()); 182 View info = new View(cardView.getContext()); 223 final BaseCardView cardView = new BaseCardView(InstrumentationRegistry.getContext()); [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrConflictFragment.java | 75 new GuidedAction.Builder(getContext()) 79 new GuidedAction.Builder(getContext()) 89 getContext(), getConflicts()); 152 TvSingletons.getSingletons(getContext()) 177 TvInputInfo input = Utils.getTvInputInfoForProgram(getContext(), mProgram); 182 TvSingletons.getSingletons(getContext()) 230 TvSingletons.getSingletons(getContext()) 234 TvInputInfo input = Utils.getTvInputInfoForChannelId(getContext(), mChannel.getId()); 241 TvSingletons.getSingletons(getContext()) 295 ConflictChecker checker = ((MainActivity) getContext()).getDvrConflictChecker() [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
ApplicationDetailFragment.java | 92 mDpm = (DevicePolicyManager) getContext().getSystemService(Context.DEVICE_POLICY_SERVICE); 113 getContext(), 114 getContext().getPackageManager(), 118 items.add(new ApplicationPermissionLineItem(getContext(), mResolveInfo, this)); 119 TextListItem versionItem = new TextListItem(getContext()); 120 versionItem.setTitle(getContext().getString( 129 return getContext().getPackageManager().getApplicationInfo( 139 return getContext().getPackageManager().getPackageInfo( 153 getResources(), getContext().getPackageManager(), mPackageInfo)) { 171 getContext().getPackageManager().setApplicationEnabledSetting [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
Dates.java | 55 private static Context getContext() { 69 return getContext().getResources().getText(R.string.posted_just_now); 101 final Context context = getContext(); 115 final Context context = getContext(); 149 return getContext().getResources().getText( 156 final String format = getContext().getResources().getQuantityString( 162 return DateUtils.formatDateTime(getContext(), time, 179 final Context context = getContext(); 197 final Context context = getContext(); 217 final Context context = getContext(); [all...] |
/packages/services/Telephony/src/com/android/phone/ |
NetworkOperators.java | 86 mEnableNewManualSelectNetworkUI = getContext().getResources().getBoolean( 96 mProgressDialog = new ProgressDialog(getContext()); 116 getContext().getSystemService(Context.TELEPHONY_SERVICE); 145 MetricsLogger.action(getContext(), 210 status = getContext().getResources().getString(R.string.not_allowed); 212 status = getContext().getResources().getString(R.string.connect_later); 233 status = getContext().getResources().getString(R.string.already_auto); 235 status = getContext().getResources().getString(R.string.registration_done); 295 getContext().getResources().getString(R.string.register_automatically)); 306 Intent intent = NetworkSelectSettingActivity.getIntent(getContext(), mPhoneId) [all...] |
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 110 mDbHelper = BlockedNumberDatabaseHelper.getInstance(getContext()); 111 mBackupManager = new BackupManager(getContext()); 136 getContext().getContentResolver().notifyChange(blockedUri, null); 159 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, 207 getContext().getContentResolver().notifyChange(uri, null); 268 cursor.setNotificationUri(getContext().getContentResolver(), uri); 384 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); 402 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); 412 final String inE164 = Utils.getE164Number(getContext(), phoneNumber, null); // may be empty. 446 UserManager userManager = getContext().getSystemService(UserManager.class) [all...] |
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/ |
InstrumentationFailToRunTest.java | 31 Context myContext = getInstrumentation().getContext(); 37 getInstrumentation().getContext().startInstrumentation(appDiffCertInstrumentation,
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
UserRestrictionTest.java | 53 DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class); 54 ComponentName admin = AdminReceiver.getComponentName(getContext());
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
ClearDeviceAdminWithNoProtectionTest.java | 29 final ComponentName cn = new ComponentName(getContext(), 32 final DevicePolicyManager dpm = getContext().getSystemService(DevicePolicyManager.class);
|
/cts/tests/app/src/android/app/cts/ |
FragmentTest.java | 35 assertNotNull(Fragment.instantiate(getContext(), TestFragment.class.getName())); 40 Fragment.instantiate(getContext(), TestNotFragment.class.getName());
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CameraVulkanGpuTest.java | 37 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); 43 loadCameraAndVerifyFrameImport(InstrumentationRegistry.getContext().getAssets());
|
/cts/tests/tests/media/src/android/media/cts/ |
AsyncPlayerTest.java | 32 asyncPlayer.play(getContext(), PLAY_URI, true, AudioManager.STREAM_RING); 41 asyncPlayer.play(getContext(), PLAY_URI, true,
|
/cts/tests/tests/os/src/android/os/cts/ |
ProcessTest.java | 70 mIntent.setPackage(getContext().getPackageName()); 71 getContext().startService(mIntent); 74 secondaryIntent.setPackage(getContext().getPackageName()); 75 getContext().bindService(secondaryIntent, mSecondaryConnection, 91 getContext().stopService(mIntent); 94 getContext().unbindService(mSecondaryConnection); 164 getContext().stopService(mIntent); 195 getContext().stopService(mIntent);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
AppWidgetManagerPermissionTest.java | 35 mAppWidgetManager = AppWidgetManager.getInstance(getContext()); 47 if (!getContext().getPackageManager()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSInitTest.java | 33 RenderScript mRSt = RenderScript.create(getContext()); 37 assertTrue(initTest(this.getContext().getCacheDir().toString()));
|
/cts/tests/tests/telephony/preconditions/app/src/android/telephony/cts/preconditions/app/ |
TelephonyPreparerAppTest.java | 35 PackageManager pm = this.getContext().getPackageManager(); 40 if (!TelephonyHelper.hasPhoneNumber(this.getContext())) {
|
/external/compiler-rt/test/lsan/TestCases/ |
guard-page.c | 36 if (getcontext(&ctx) < 0) 37 die("getcontext", 0);
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
InternalUtil.java | 49 return NativeCrypto.get_ocsp_single_extension(ocspResponse, oid, x509.getContext(), x509, 50 issuerX509.getContext(), issuerX509);
|
/external/llvm/lib/Transforms/Utils/ |
SanitizerStats.cpp | 26 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); 38 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), 39 Type::getInt32Ty(M->getContext()), 78 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); 79 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); 80 Type *VoidTy = Type::getVoidTy(M->getContext()); 97 auto BB = BasicBlock::Create(M->getContext(), "", F);
|
/external/ltp/testcases/kernel/syscalls/ |
Makefile | 28 FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \ 38 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentProviderTest.java | 64 assertThat(provider.getContext(), is(notNullValue())); 68 assertThat(provider.getContext().getContentResolver(), is(notNullValue()));
|
/external/robolectric-shadows/integration_tests/android_support_test/src/test/java/org/robolectric/integration_tests/atsl/ |
InstrumentationRegistryTest.java | 32 assertThat(InstrumentationRegistry.getContext()).isNotNull(); 34 InstrumentationRegistry.getContext().getPackageName());
|